From 3f30c8d736ddabea21f1abd3d5ece85a996e924c Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 24 Aug 2015 19:37:32 +0200 Subject: gnome-shell: reset entry box-shadow differently to avoid crashes --- common/gnome-shell/3.14/gnome-shell.css | 80 +++++++++++++++--------------- common/gnome-shell/3.14/sass/_drawing.scss | 9 +++- common/gnome-shell/3.16/gnome-shell.css | 73 ++++++++++++--------------- common/gnome-shell/3.16/sass/_common.scss | 6 --- common/gnome-shell/3.16/sass/_drawing.scss | 9 +++- 5 files changed, 85 insertions(+), 92 deletions(-) (limited to 'common/gnome-shell') diff --git a/common/gnome-shell/3.14/gnome-shell.css b/common/gnome-shell/3.14/gnome-shell.css index 2fbfd7a..6478eb4 100644 --- a/common/gnome-shell/3.14/gnome-shell.css +++ b/common/gnome-shell/3.14/gnome-shell.css @@ -39,37 +39,37 @@ stage { border-radius: 2px; background-gradient-direction: none !important; text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #cfd6e6; } .popup-menu .modal-dialog-button:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .popup-menu .modal-dialog-button:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .popup-menu .modal-dialog-button:hover:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5294E2; background-color: #fbfbfc; border: 1px solid #5294E2; } .popup-menu .modal-dialog-button:active, .popup-menu .modal-dialog-button:active:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; } .popup-menu .modal-dialog-button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: rgba(92, 97, 108, 0.55); border: 1px solid rgba(207, 214, 230, 0.55); background-color: rgba(251, 251, 252, 0.55); } @@ -90,7 +90,7 @@ stage { transition-duration: 0; border-radius: 2px; text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.3); } @@ -99,7 +99,7 @@ stage { .hotplug-resident-eject-button:hover, .modal-dialog-button:hover, .modal-dialog-button-box .button:hover, .notification-button:hover, .notification-icon-button:hover, .hotplug-resident-mount:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid #5294E2; background-color: rgba(0, 0, 0, 0.3); } @@ -113,7 +113,7 @@ stage { .hotplug-resident-eject-button:active, .modal-dialog-button:active, .modal-dialog-button-box .button:active, .notification-button:active, .notification-icon-button:active, .hotplug-resident-mount:active { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } @@ -122,7 +122,7 @@ stage { .hotplug-resident-eject-button:insensitive, .modal-dialog-button:insensitive, .modal-dialog-button-box .button:insensitive, .notification-button:insensitive, .notification-icon-button:insensitive, .hotplug-resident-mount:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #555a62; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.15); } @@ -136,20 +136,20 @@ StEntry { transition-duration: 300ms; border-radius: 20px; background-gradient-direction: none !important; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #5c616c; background-color: #ffffff; - border: 1px solid #cfd6e6; } + border: 1px solid #cfd6e6; + box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1); } StEntry:focus, StEntry:hover { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #5c616c; background-color: #ffffff; - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1); } StEntry:insensitive { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: rgba(92, 97, 108, 0.55); background-color: #fbfbfb; - border-color: 1px solid #e0e4ee; } + border-color: 1px solid #e0e4ee; + box-shadow: inset 0 2px 4px rgba(251, 251, 251, 0.1); } StEntry StIcon.capslock-warning { icon-size: 16px; warning-color: #F27835; @@ -1282,7 +1282,7 @@ StScrollBar { border-color: #5294E2; } .app-view-control:checked { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } @@ -1492,20 +1492,20 @@ StScrollBar { padding-left: 6px; } .summary-source-button .summary-source { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.3); } .summary-source-button:hover .summary-source { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid #5294E2; background-color: rgba(0, 0, 0, 0.3); } .summary-source-button:focus .summary-source, .summary-source-button:selected .summary-source { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } @@ -1561,15 +1561,15 @@ StScrollBar { .notification StEntry { padding: 7px; caret-color: #BAC3CF; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.4); } + border: 1px solid rgba(0, 0, 0, 0.4); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .notification StEntry:focus { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .secondary-icon { icon-size: 1.09em; } @@ -1594,15 +1594,15 @@ StScrollBar { StEntry.chat-response { padding: 7px; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.4); } + border: 1px solid rgba(0, 0, 0, 0.4); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } StEntry.chat-response:focus { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .chat-sent { padding-left: 18pt; @@ -1688,25 +1688,25 @@ StEntry.chat-response { box-shadow: none; background-gradient-direction: none; text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.3); } .keyboard-key:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid #5294E2; background-color: rgba(0, 0, 0, 0.3); } .keyboard-key:active, .keyboard-key:checked { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } .keyboard-key:grayed { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #555a62; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.15); } @@ -1782,25 +1782,25 @@ StEntry.chat-response { padding: 3px 18px; } .login-dialog .modal-dialog-button:default { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #cfd6e6; } .login-dialog .modal-dialog-button:default:hover, .login-dialog .modal-dialog-button:default:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .login-dialog .modal-dialog-button:default:active { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; } .login-dialog .modal-dialog-button:default:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: rgba(92, 97, 108, 0.55); border: 1px solid rgba(207, 214, 230, 0.55); background-color: rgba(251, 251, 252, 0.55); } @@ -2007,15 +2007,15 @@ StEntry.chat-response { .lg-dialog StEntry { selection-background-color: #5294E2; selected-color: #ffffff; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.4); } + border: 1px solid rgba(0, 0, 0, 0.4); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .lg-dialog StEntry:focus { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .lg-dialog .shell-link { color: #2679db; } diff --git a/common/gnome-shell/3.14/sass/_drawing.scss b/common/gnome-shell/3.14/sass/_drawing.scss index 03b9f15..5ab1463 100644 --- a/common/gnome-shell/3.14/sass/_drawing.scss +++ b/common/gnome-shell/3.14/sass/_drawing.scss @@ -15,42 +15,47 @@ // Entries drawing function // //@extend %reset_style; - box-shadow: inset 0 0 transparentize($base_color, 1); @if $t==normal { color: $text_color; background-color: $entry_bg; border: 1px solid $entry_border; + box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.9); } @if $t==focus { color: $fg_color; background-color: $entry_bg; border: 1px solid $selected_bg_color; + box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.9); } @if $t==insensitive { color: $insensitive_fg_color; background-color: mix($entry_bg, $bg_color, 55%); border-color: 1px solid mix($entry_border, $bg_color, 55%); + box-shadow: inset 0 2px 4px transparentize(mix($entry_bg, $bg_color, 55%), 0.9); } @if $t==osd { color: $osd_fg_color; background-color: transparentize(black, 0.8); border: 1px solid transparentize(black, 0.6); + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } @if $t==osd-focus { color: $osd_fg_color; background-color: transparentize(black, 0.8); border: 1px solid $selected_bg_color; + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } @if $t==osd-insensitive { color: $osd_insensitive_fg_color; background-color: transparentize(black, 0.9); border-color: 1px solid transparentize(black, 0.6); + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } } @@ -63,7 +68,7 @@ //@extend %reset_style; text-shadow: 0 1px transparentize($base_color, 1); - box-shadow: inset 0 0 transparentize($base_color, 1); + box-shadow: inset 0 0 black; @if $t==normal { // diff --git a/common/gnome-shell/3.16/gnome-shell.css b/common/gnome-shell/3.16/gnome-shell.css index 5521b5b..4dcd04c 100644 --- a/common/gnome-shell/3.16/gnome-shell.css +++ b/common/gnome-shell/3.16/gnome-shell.css @@ -31,28 +31,28 @@ stage { .notification-banner:hover .notification-button, .notification-banner:focus .notification-button, .hotplug-notification-item { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #cfd6e6; } .button:focus, .notification-banner .notification-button:focus, .hotplug-notification-item:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .button:hover, .notification-banner .notification-button:hover, .hotplug-notification-item:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .button:hover:focus, .notification-banner .notification-button:hover:focus, .hotplug-notification-item:hover:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5294E2; background-color: #fbfbfc; border: 1px solid #5294E2; } @@ -60,27 +60,27 @@ stage { .hotplug-notification-item:active, .button:active:focus, .notification-banner .notification-button:active:focus, .hotplug-notification-item:active:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; } .button:insensitive, .notification-banner .notification-button:insensitive, .hotplug-notification-item:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: rgba(92, 97, 108, 0.55); border: 1px solid rgba(207, 214, 230, 0.55); background-color: rgba(251, 251, 252, 0.55); } .modal-dialog-button-box .button { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.3); } .modal-dialog-button-box .button:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid #5294E2; background-color: rgba(0, 0, 0, 0.3); } @@ -88,13 +88,13 @@ stage { color: #5294E2; } .modal-dialog-button-box .button:active { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } .modal-dialog-button-box .button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #555a62; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.15); } @@ -106,20 +106,20 @@ StEntry { selected-color: #ffffff; transition-duration: 300ms; border-radius: 20px; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #5c616c; background-color: #ffffff; - border: 1px solid #cfd6e6; } + border: 1px solid #cfd6e6; + box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1); } StEntry:focus, StEntry:hover { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #5c616c; background-color: #ffffff; - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1); } StEntry:insensitive { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: rgba(92, 97, 108, 0.55); background-color: #fbfbfb; - border-color: 1px solid #e0e4ee; } + border-color: 1px solid #e0e4ee; + box-shadow: inset 0 2px 4px rgba(251, 251, 251, 0.1); } StEntry StIcon.capslock-warning { icon-size: 16px; warning-color: #F27835; @@ -768,7 +768,7 @@ StScrollBar { .world-clocks-button:focus, .message-list-section-title:hover, .message-list-section-title:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } @@ -776,7 +776,7 @@ StScrollBar { .world-clocks-button:active, .message-list-section-title:active { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; } @@ -1245,7 +1245,7 @@ StScrollBar { border-color: #5294E2; } .app-view-control:checked { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } @@ -1449,17 +1449,6 @@ StScrollBar { padding-left: 0px; padding-right: 4px; } -StEntry.chat-response { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); - color: #5c616c; - background-color: #ffffff; - border: 1px solid #cfd6e6; } - StEntry.chat-response:focus { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); - color: #5c616c; - background-color: #ffffff; - border: 1px solid #5294E2; } - .chat-sent { padding-left: 18pt; color: #5294E2; } @@ -1573,25 +1562,25 @@ StEntry.chat-response { border-radius: 3px; box-shadow: none; text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.3); } .keyboard-key:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #BAC3CF; border: 1px solid #5294E2; background-color: rgba(0, 0, 0, 0.3); } .keyboard-key:active, .keyboard-key:checked { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; border: 1px solid #5294E2; background-color: #5294E2; } .keyboard-key:grayed { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #555a62; border: 1px solid rgba(0, 0, 0, 0.45); background-color: rgba(0, 0, 0, 0.15); } @@ -1667,25 +1656,25 @@ StEntry.chat-response { padding: 3px 18px; } .login-dialog .modal-dialog-button:default { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #cfd6e6; } .login-dialog .modal-dialog-button:default:hover, .login-dialog .modal-dialog-button:default:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; } .login-dialog .modal-dialog-button:default:active { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; } .login-dialog .modal-dialog-button:default:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); - box-shadow: inset 0 0 rgba(255, 255, 255, 0); + box-shadow: inset 0 0 black; color: rgba(92, 97, 108, 0.55); border: 1px solid rgba(207, 214, 230, 0.55); background-color: rgba(251, 251, 252, 0.55); } @@ -1892,15 +1881,15 @@ StEntry.chat-response { .lg-dialog StEntry { selection-background-color: #5294E2; selected-color: #ffffff; - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid rgba(0, 0, 0, 0.4); } + border: 1px solid rgba(0, 0, 0, 0.4); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .lg-dialog StEntry:focus { - box-shadow: inset 0 0 rgba(255, 255, 255, 0); color: #BAC3CF; background-color: rgba(0, 0, 0, 0.2); - border: 1px solid #5294E2; } + border: 1px solid #5294E2; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .lg-dialog .shell-link { color: #2679db; } diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss index a8c8e00..b25bc4c 100644 --- a/common/gnome-shell/3.16/sass/_common.scss +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -1777,12 +1777,6 @@ StScrollBar { &:rtl { padding-left: 0px; padding-right: 4px; } } -StEntry.chat-response { - @include entry(normal); - - &:focus { @include entry(focus); } -} - .chat-sent { padding-left: 18pt; color: $selected_bg_color; diff --git a/common/gnome-shell/3.16/sass/_drawing.scss b/common/gnome-shell/3.16/sass/_drawing.scss index 03b9f15..5ab1463 100644 --- a/common/gnome-shell/3.16/sass/_drawing.scss +++ b/common/gnome-shell/3.16/sass/_drawing.scss @@ -15,42 +15,47 @@ // Entries drawing function // //@extend %reset_style; - box-shadow: inset 0 0 transparentize($base_color, 1); @if $t==normal { color: $text_color; background-color: $entry_bg; border: 1px solid $entry_border; + box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.9); } @if $t==focus { color: $fg_color; background-color: $entry_bg; border: 1px solid $selected_bg_color; + box-shadow: inset 0 2px 4px transparentize($entry_bg, 0.9); } @if $t==insensitive { color: $insensitive_fg_color; background-color: mix($entry_bg, $bg_color, 55%); border-color: 1px solid mix($entry_border, $bg_color, 55%); + box-shadow: inset 0 2px 4px transparentize(mix($entry_bg, $bg_color, 55%), 0.9); } @if $t==osd { color: $osd_fg_color; background-color: transparentize(black, 0.8); border: 1px solid transparentize(black, 0.6); + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } @if $t==osd-focus { color: $osd_fg_color; background-color: transparentize(black, 0.8); border: 1px solid $selected_bg_color; + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } @if $t==osd-insensitive { color: $osd_insensitive_fg_color; background-color: transparentize(black, 0.9); border-color: 1px solid transparentize(black, 0.6); + box-shadow: inset 0 2px 4px transparentize(black, 0.95); } } @@ -63,7 +68,7 @@ //@extend %reset_style; text-shadow: 0 1px transparentize($base_color, 1); - box-shadow: inset 0 0 transparentize($base_color, 1); + box-shadow: inset 0 0 black; @if $t==normal { // -- cgit v1.2.3