From bae854e1d069b0695a2581b0044868c4533d6e3c Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 10 Aug 2015 14:22:22 +0200 Subject: Gtk+-3.18 submarine themes: style popover suggested-action button --- .../Blue-Submarine/gtk-3.0/gtk-widgets.css | 26 ++++++++++++++++++++++ .../Green-Submarine/gtk-3.0/gtk-widgets.css | 26 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index 86877f76..c12e6c8d 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -5256,6 +5256,32 @@ GtkModelButton.button:selected, border-radius: 0 6px 6px 0; } +.popover .button.default.text-button.suggested-action { + background-image: none; + color: @theme_fg_dark_color; + text-shadow: none; + border-width: 0; + border-color: transparent; + border-radius: 5px; +} + +.popover .button.default.text-button.suggested-action:hover { + 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))); + background-color: shade (@theme_bg_dark_color, 1.2); + color: shade (@theme_selected_bg_color, 1.3); + text-shadow: none; + border-width: 0; + border-color: transparent; + border-radius: 5px; + 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); +} + .entry.cursor-handle, .cursor-handle { background-color: transparent; diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index 515de826..25e73e2d 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -5241,6 +5241,32 @@ GtkModelButton.button:selected, border-radius: 0 6px 6px 0; } +.popover .button.default.text-button.suggested-action { + background-image: none; + color: @theme_fg_dark_color; + text-shadow: none; + border-width: 0; + border-color: transparent; + border-radius: 5px; +} + +.popover .button.default.text-button.suggested-action:hover { + 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))); + background-color: shade (@theme_bg_dark_color, 1.2); + color: shade (@theme_selected_bg_color, 1.3); + text-shadow: none; + border-width: 0; + border-color: transparent; + border-radius: 5px; + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); +} + .entry.cursor-handle, .cursor-handle { background-color: transparent; -- cgit v1.2.1