From 6c8658291f821fc69ba9428a2630ceec6994827a Mon Sep 17 00:00:00 2001 From: EliverLara Date: Wed, 24 Jun 2020 13:43:16 -0500 Subject: [PATCH] Gnome: Improve appearance of tooltips and app-notifications --- gtk-3.0/_colors.scss | 2 +- gtk-3.0/gtk-dark.css | 104 +++++++++++++++--------------- gtk-3.0/gtk.css | 104 +++++++++++++++--------------- gtk-3.0/widgets/_base-states.scss | 2 +- gtk-3.0/widgets/_tooltips.scss | 4 +- 5 files changed, 108 insertions(+), 108 deletions(-) diff --git a/gtk-3.0/_colors.scss b/gtk-3.0/_colors.scss index 366ce8b..7d75dc9 100755 --- a/gtk-3.0/_colors.scss +++ b/gtk-3.0/_colors.scss @@ -59,7 +59,7 @@ $suggested_color: if($variant == 'light', $selected_bg_color, darken($selected_b $osd_fg_color: #fefefe; $osd_text_color: white; -$osd_bg_color: transparentize(#14171a, 0.2); +$osd_bg_color: transparentize(darken($bg_color, 3%), 0.02); $osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5); $osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%); $osd_borders_color: transparentize(black, 0.3); diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 9e131a3..9f12480 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -112,7 +112,7 @@ read if you used those and something break with a version upgrade you're on your .app-notification.frame { padding: 10px; border-radius: 0 0 5px 5px; - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px); background-clip: padding-box; } .app-notification:backdrop, @@ -238,8 +238,8 @@ assistant .sidebar label.highlight { .app-notification, .app-notification.frame, .osd .scale-popup, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd, popover.background.osd, .osd { color: #fefefe; - border: none; - background-color: rgba(20, 23, 26, 0.8); + border: 1px solid #171e27; + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); text-shadow: 0 1px black; @@ -429,7 +429,7 @@ button.osd { outline-color: rgba(254, 254, 254, 0.3); color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -444,7 +444,7 @@ button.osd { button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -457,7 +457,7 @@ button.osd { button.osd:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -468,9 +468,9 @@ button.osd { button.osd:disabled:backdrop, button.osd:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -480,7 +480,7 @@ button.osd { button.osd:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -493,7 +493,7 @@ button.osd { button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -504,7 +504,7 @@ button { button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -521,7 +521,7 @@ button { button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -532,9 +532,9 @@ button { button:disabled:backdrop, .osd button:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -544,7 +544,7 @@ button { button:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -566,7 +566,7 @@ button { button.flat:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -575,9 +575,9 @@ button { .app-notification button.flat:disabled, popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .osd button.flat:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -601,7 +601,7 @@ button { button.flat:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -749,9 +749,9 @@ button.suggested-action { .osd button.suggested-action:disabled:backdrop, .osd button.suggested-action:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -907,9 +907,9 @@ button.destructive-action { .osd button.destructive-action:disabled:backdrop, .osd button.destructive-action:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -1869,9 +1869,9 @@ entry { -gtk-icon-shadow: none; } .osd spinbutton:disabled:not(.vertical), .osd entry:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(43, 46, 49, 0.5); + background-color: rgba(43, 45, 47, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -3459,54 +3459,54 @@ scale { .osd scale slider { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; outline-color: rgba(254, 254, 254, 0.3); border-color: rgba(0, 0, 0, 0.7); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; outline-color: rgba(254, 254, 254, 0.3); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:active { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; - background-color: #14171a; } + background-color: #131618; } .osd scale slider:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; - background-color: #14171a; } + background-color: #131618; } .osd scale slider:backdrop:disabled { - background-color: #14171a; } + background-color: #131618; } scale value { color: alpha(currentColor,0.4); } scale marks { @@ -4201,7 +4201,7 @@ spinbutton:not(.vertical) { box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.5); -gtk-icon-shadow: none; box-shadow: none; } @@ -4245,7 +4245,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -4254,7 +4254,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -4263,16 +4263,16 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:active { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); } .osd spinbutton.vertical button:first-child:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -4280,7 +4280,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -4378,7 +4378,7 @@ toolbar { padding: 13px; border: none; border-radius: 5px; - background-color: rgba(20, 23, 26, 0.8); } + background-color: rgba(19, 22, 24, 0.98); } toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom { border-radius: 0; } toolbar.horizontal separator { @@ -4424,11 +4424,11 @@ searchbar { tooltip { padding: 4px; /* not working */ - border-radius: 5px; + border-radius: 4px; box-shadow: none; text-shadow: 0 1px black; } tooltip.background { - background-color: rgba(0, 0, 0, 0.8); + background-color: #0a0c0d; background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); } tooltip decoration { @@ -6170,7 +6170,7 @@ ConversationListView { #buttonbox_frame button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -6179,7 +6179,7 @@ ConversationListView { #buttonbox_frame button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -6188,16 +6188,16 @@ ConversationListView { #buttonbox_frame button:active, #buttonbox_frame button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); } #buttonbox_frame button:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 9e131a3..9f12480 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -112,7 +112,7 @@ read if you used those and something break with a version upgrade you're on your .app-notification.frame { padding: 10px; border-radius: 0 0 5px 5px; - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px); background-clip: padding-box; } .app-notification:backdrop, @@ -238,8 +238,8 @@ assistant .sidebar label.highlight { .app-notification, .app-notification.frame, .osd .scale-popup, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd, popover.background.osd, .osd { color: #fefefe; - border: none; - background-color: rgba(20, 23, 26, 0.8); + border: 1px solid #171e27; + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); text-shadow: 0 1px black; @@ -429,7 +429,7 @@ button.osd { outline-color: rgba(254, 254, 254, 0.3); color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -444,7 +444,7 @@ button.osd { button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -457,7 +457,7 @@ button.osd { button.osd:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -468,9 +468,9 @@ button.osd { button.osd:disabled:backdrop, button.osd:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -480,7 +480,7 @@ button.osd { button.osd:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -493,7 +493,7 @@ button.osd { button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -504,7 +504,7 @@ button { button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -521,7 +521,7 @@ button { button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -532,9 +532,9 @@ button { button:disabled:backdrop, .osd button:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -544,7 +544,7 @@ button { button:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -566,7 +566,7 @@ button { button.flat:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -575,9 +575,9 @@ button { .app-notification button.flat:disabled, popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .osd button.flat:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -601,7 +601,7 @@ button { button.flat:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -749,9 +749,9 @@ button.suggested-action { .osd button.suggested-action:disabled:backdrop, .osd button.suggested-action:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -907,9 +907,9 @@ button.destructive-action { .osd button.destructive-action:disabled:backdrop, .osd button.destructive-action:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -1869,9 +1869,9 @@ entry { -gtk-icon-shadow: none; } .osd spinbutton:disabled:not(.vertical), .osd entry:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(43, 46, 49, 0.5); + background-color: rgba(43, 45, 47, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -3459,54 +3459,54 @@ scale { .osd scale slider { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; outline-color: rgba(254, 254, 254, 0.3); border-color: rgba(0, 0, 0, 0.7); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; outline-color: rgba(254, 254, 254, 0.3); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:active { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); - background-color: #14171a; } + background-color: #131618; } .osd scale slider:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; - background-color: #14171a; } + background-color: #131618; } .osd scale slider:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; - background-color: #14171a; } + background-color: #131618; } .osd scale slider:backdrop:disabled { - background-color: #14171a; } + background-color: #131618; } scale value { color: alpha(currentColor,0.4); } scale marks { @@ -4201,7 +4201,7 @@ spinbutton:not(.vertical) { box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.5); -gtk-icon-shadow: none; box-shadow: none; } @@ -4245,7 +4245,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -4254,7 +4254,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -4263,16 +4263,16 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:active { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); } .osd spinbutton.vertical button:first-child:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -4280,7 +4280,7 @@ spinbutton.vertical button.down { .osd spinbutton.vertical button:first-child:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(20, 23, 26, 0.8), rgba(20, 23, 26, 0.8)); + background-image: linear-gradient(to bottom, rgba(19, 22, 24, 0.98), rgba(19, 22, 24, 0.98)); background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -4378,7 +4378,7 @@ toolbar { padding: 13px; border: none; border-radius: 5px; - background-color: rgba(20, 23, 26, 0.8); } + background-color: rgba(19, 22, 24, 0.98); } toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom { border-radius: 0; } toolbar.horizontal separator { @@ -4424,11 +4424,11 @@ searchbar { tooltip { padding: 4px; /* not working */ - border-radius: 5px; + border-radius: 4px; box-shadow: none; text-shadow: 0 1px black; } tooltip.background { - background-color: rgba(0, 0, 0, 0.8); + background-color: #0a0c0d; background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); } tooltip decoration { @@ -6170,7 +6170,7 @@ ConversationListView { #buttonbox_frame button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); - background-color: rgba(20, 23, 26, 0.8); + background-color: rgba(19, 22, 24, 0.98); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -6179,7 +6179,7 @@ ConversationListView { #buttonbox_frame button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(47, 54, 61, 0.8), rgba(47, 54, 61, 0.8)); + background-image: linear-gradient(to bottom, rgba(46, 53, 59, 0.98), rgba(46, 53, 59, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; @@ -6188,16 +6188,16 @@ ConversationListView { #buttonbox_frame button:active, #buttonbox_frame button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(33, 38, 43, 0.8), rgba(33, 38, 43, 0.8)); + background-image: linear-gradient(to bottom, rgba(33, 38, 42, 0.98), rgba(33, 38, 42, 0.98)); background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; -gtk-icon-shadow: none; outline-color: rgba(254, 254, 254, 0.3); } #buttonbox_frame button:disabled { - color: #898b8c; + color: #898a8b; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, rgba(43, 46, 49, 0.5), rgba(43, 46, 49, 0.5)); + background-image: linear-gradient(to bottom, rgba(43, 45, 47, 0.5), rgba(43, 45, 47, 0.5)); background-clip: padding-box; box-shadow: none; text-shadow: none; diff --git a/gtk-3.0/widgets/_base-states.scss b/gtk-3.0/widgets/_base-states.scss index 1337c56..d02076d 100644 --- a/gtk-3.0/widgets/_base-states.scss +++ b/gtk-3.0/widgets/_base-states.scss @@ -159,7 +159,7 @@ assistant { %osd, .osd { color: $osd_fg_color; - border: none; + border: 1px solid #171e27; background-color: $osd_bg_color; background-clip: padding-box; outline-color: transparentize($osd_fg_color, 0.7); diff --git a/gtk-3.0/widgets/_tooltips.scss b/gtk-3.0/widgets/_tooltips.scss index 00a4554..7d3c1f6 100644 --- a/gtk-3.0/widgets/_tooltips.scss +++ b/gtk-3.0/widgets/_tooltips.scss @@ -5,7 +5,7 @@ tooltip { &.background { // background-color needs to be set this way otherwise it gets drawn twice // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. - background-color: transparentize(black, 0.2); + background-color: darken($_sidebar_color, 5%); background-clip: padding-box; border: 1px solid $tooltip_borders_color; // this suble border is meant to // not make the tooltip melt with @@ -13,7 +13,7 @@ tooltip { } padding: 4px; /* not working */ - border-radius: 5px; + border-radius: 4px; box-shadow: none; // otherwise it gets inherited by windowframe.csd text-shadow: 0 1px black;