Fancier password dialog.
[ADDED] Mac: Shadows on labels so they're easier to read in regular mode. [ADDED] Mac: Some "subtle" bling on the password.
This commit is contained in:
parent
9882bf408c
commit
5e1e88bdeb
@ -301,8 +301,7 @@
|
|||||||
if (![[NSPasteboard generalPasteboard] setString:content forType:NSPasteboardTypeString]) {
|
if (![[NSPasteboard generalPasteboard] setString:content forType:NSPasteboardTypeString]) {
|
||||||
wrn(@"Couldn't copy password to pasteboard.");
|
wrn(@"Couldn't copy password to pasteboard.");
|
||||||
return;
|
return;
|
||||||
} else
|
}
|
||||||
dbg(@"Copied: %@", content);
|
|
||||||
|
|
||||||
NSManagedObjectContext *moc = [MPMacAppDelegate managedObjectContextForThreadIfReady];
|
NSManagedObjectContext *moc = [MPMacAppDelegate managedObjectContextForThreadIfReady];
|
||||||
MPElementEntity *activeElement = [self activeElementInContext:moc];
|
MPElementEntity *activeElement = [self activeElementInContext:moc];
|
||||||
|
@ -63,6 +63,14 @@
|
|||||||
<reference key="NSSuperview" ref="1072816887"/>
|
<reference key="NSSuperview" ref="1072816887"/>
|
||||||
<reference key="NSWindow"/>
|
<reference key="NSWindow"/>
|
||||||
<reference key="NSNextKeyView" ref="402376051"/>
|
<reference key="NSNextKeyView" ref="402376051"/>
|
||||||
|
<object class="NSShadow" key="NSViewShadow">
|
||||||
|
<double key="NSShadowVert">1</double>
|
||||||
|
<double key="NSShadowBlurRadius">1</double>
|
||||||
|
<object class="NSColor" key="NSShadowColor" id="546806116">
|
||||||
|
<int key="NSColorSpace">3</int>
|
||||||
|
<bytes key="NSWhite">MCAwLjYAA</bytes>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
<string key="NSReuseIdentifierKey">_NS:1535</string>
|
<string key="NSReuseIdentifierKey">_NS:1535</string>
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
<object class="NSTextFieldCell" key="NSCell" id="406294418">
|
<object class="NSTextFieldCell" key="NSCell" id="406294418">
|
||||||
@ -99,6 +107,14 @@
|
|||||||
<reference key="NSSuperview" ref="1072816887"/>
|
<reference key="NSSuperview" ref="1072816887"/>
|
||||||
<reference key="NSWindow"/>
|
<reference key="NSWindow"/>
|
||||||
<reference key="NSNextKeyView" ref="104294954"/>
|
<reference key="NSNextKeyView" ref="104294954"/>
|
||||||
|
<object class="NSShadow" key="NSViewShadow">
|
||||||
|
<double key="NSShadowVert">1</double>
|
||||||
|
<double key="NSShadowBlurRadius">1</double>
|
||||||
|
<object class="NSColor" key="NSShadowColor" id="227321360">
|
||||||
|
<int key="NSColorSpace">3</int>
|
||||||
|
<bytes key="NSWhite">MCAwLjYAA</bytes>
|
||||||
|
</object>
|
||||||
|
</object>
|
||||||
<string key="NSReuseIdentifierKey">_NS:1505</string>
|
<string key="NSReuseIdentifierKey">_NS:1505</string>
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
<object class="NSTextFieldCell" key="NSCell" id="249851874">
|
<object class="NSTextFieldCell" key="NSCell" id="249851874">
|
||||||
@ -173,7 +189,6 @@
|
|||||||
<reference key="NSWindow"/>
|
<reference key="NSWindow"/>
|
||||||
<reference key="NSNextKeyView" ref="49669222"/>
|
<reference key="NSNextKeyView" ref="49669222"/>
|
||||||
<object class="NSShadow" key="NSViewShadow">
|
<object class="NSShadow" key="NSViewShadow">
|
||||||
<double key="NSShadowHoriz">1</double>
|
|
||||||
<double key="NSShadowVert">1</double>
|
<double key="NSShadowVert">1</double>
|
||||||
<double key="NSShadowBlurRadius">1</double>
|
<double key="NSShadowBlurRadius">1</double>
|
||||||
<object class="NSColor" key="NSShadowColor" id="444840817">
|
<object class="NSColor" key="NSShadowColor" id="444840817">
|
||||||
@ -181,6 +196,17 @@
|
|||||||
<bytes key="NSWhite">MCAwLjYAA</bytes>
|
<bytes key="NSWhite">MCAwLjYAA</bytes>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
<array key="NSViewContentFilters">
|
||||||
|
<object class="CIGaussianBlur">
|
||||||
|
<real value="0.40000000000000002" key="CI_inputRadius"/>
|
||||||
|
<bool key="CIEnabled">YES</bool>
|
||||||
|
</object>
|
||||||
|
<object class="CIBloom">
|
||||||
|
<real value="10" key="CI_inputRadius"/>
|
||||||
|
<real value="0.5" key="CI_inputIntensity"/>
|
||||||
|
<bool key="CIEnabled">YES</bool>
|
||||||
|
</object>
|
||||||
|
</array>
|
||||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
@ -218,6 +244,7 @@
|
|||||||
<string key="NSFrame">{{224, 84}, {32, 32}}</string>
|
<string key="NSFrame">{{224, 84}, {32, 32}}</string>
|
||||||
<reference key="NSSuperview" ref="258451033"/>
|
<reference key="NSSuperview" ref="258451033"/>
|
||||||
<reference key="NSWindow"/>
|
<reference key="NSWindow"/>
|
||||||
|
<reference key="NSNextKeyView"/>
|
||||||
<string key="NSReuseIdentifierKey">_NS:945</string>
|
<string key="NSReuseIdentifierKey">_NS:945</string>
|
||||||
<int key="NSpiFlags">28682</int>
|
<int key="NSpiFlags">28682</int>
|
||||||
<double key="NSMaxValue">100</double>
|
<double key="NSMaxValue">100</double>
|
||||||
@ -833,7 +860,7 @@
|
|||||||
<real value="1" key="181.IBViewIntegration.shadowBlurRadius"/>
|
<real value="1" key="181.IBViewIntegration.shadowBlurRadius"/>
|
||||||
<reference key="181.IBViewIntegration.shadowColor" ref="444840817"/>
|
<reference key="181.IBViewIntegration.shadowColor" ref="444840817"/>
|
||||||
<real value="1" key="181.IBViewIntegration.shadowOffsetHeight"/>
|
<real value="1" key="181.IBViewIntegration.shadowOffsetHeight"/>
|
||||||
<real value="1" key="181.IBViewIntegration.shadowOffsetWidth"/>
|
<real value="0.0" key="181.IBViewIntegration.shadowOffsetWidth"/>
|
||||||
<array class="NSMutableArray" key="182.IBNSViewMetadataConstraints">
|
<array class="NSMutableArray" key="182.IBNSViewMetadataConstraints">
|
||||||
<reference ref="102475933"/>
|
<reference ref="102475933"/>
|
||||||
</array>
|
</array>
|
||||||
@ -845,6 +872,10 @@
|
|||||||
<real value="0.0" key="182.IBViewIntegration.shadowOffsetWidth"/>
|
<real value="0.0" key="182.IBViewIntegration.shadowOffsetWidth"/>
|
||||||
<boolean value="NO" key="183.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints"/>
|
<boolean value="NO" key="183.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints"/>
|
||||||
<string key="183.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="183.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
|
<real value="1" key="183.IBViewIntegration.shadowBlurRadius"/>
|
||||||
|
<reference key="183.IBViewIntegration.shadowColor" ref="227321360"/>
|
||||||
|
<real value="1" key="183.IBViewIntegration.shadowOffsetHeight"/>
|
||||||
|
<real value="0.0" key="183.IBViewIntegration.shadowOffsetWidth"/>
|
||||||
<string key="184.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="184.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<string key="185.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="185.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<string key="186.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="186.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
@ -859,6 +890,10 @@
|
|||||||
<string key="210.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="210.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<boolean value="NO" key="216.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints"/>
|
<boolean value="NO" key="216.IBNSViewMetadataTranslatesAutoresizingMaskIntoConstraints"/>
|
||||||
<string key="216.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="216.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
|
<real value="1" key="216.IBViewIntegration.shadowBlurRadius"/>
|
||||||
|
<reference key="216.IBViewIntegration.shadowColor" ref="546806116"/>
|
||||||
|
<real value="1" key="216.IBViewIntegration.shadowOffsetHeight"/>
|
||||||
|
<real value="0.0" key="216.IBViewIntegration.shadowOffsetWidth"/>
|
||||||
<string key="217.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="217.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<string key="218.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="218.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<string key="219.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="219.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user