From 51eea297a25490e22c05fed265f7bbd59c116d16 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 23 Jul 2018 13:51:01 +0200 Subject: submarine: give emoji-picker popup a nicer look --- .../Blue-Submarine/gtk-3.0/other-applications.css | 24 ++++++++++++++++++++++ .../Green-Submarine/gtk-3.0/other-applications.css | 24 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/other-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/other-applications.css index 4def2b5c..f11858b3 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/other-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/other-applications.css @@ -843,3 +843,27 @@ window.background > box.vertical > notebook overlay > scrolledwindow viewport { border-width: 0px; } +/* emoji-picker */ +popover.emoji-picker > box.vertical > scrolledwindow > viewport.frame { + border-radius: 0px; +} + +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section { + color: @theme_dark_fg_color; +} + +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:hover, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus:hover, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus:hover:active { + border-radius: 3px; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + diff --git a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css index e08e28a5..304b9c1f 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css @@ -836,3 +836,27 @@ window.background > box.vertical > notebook overlay > scrolledwindow viewport { border-width: 0px; } +/* emoji-picker */ +popover.emoji-picker > box.vertical > scrolledwindow > viewport.frame { + border-radius: 0px; +} + +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section { + color: @theme_dark_fg_color; +} + +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:hover, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus:hover, +popover.emoji-picker > box.vertical > box.horizontal > button.flat.emoji-section:focus:hover:active { + border-radius: 3px; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + -- cgit v1.2.1