From 732acf8b314fe3ac33993857ecd5c5a36487f906 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 5 Jun 2016 14:50:36 +0200 Subject: GTK+-3.20 Submarine themes: adjust spinbuttons and OSD spinbuttons in colorchooser --- .../Blue-Submarine/gtk-3.0/gtk-widgets.css | 80 +++++++++++++-------- .../Green-Submarine/gtk-3.0/gtk-widgets.css | 82 +++++++++++++--------- 2 files changed, 99 insertions(+), 63 deletions(-) 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 70182005..98c1eb89 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -3104,7 +3104,7 @@ spinbutton.vertical:focus { } spinbutton.horizontal > entry { - padding: 6px 10px 6px 3px; + padding: 5px 10px 5px 3px; box-shadow: none; border-radius: 3px 0px 0px 3px; border-style: none; @@ -5167,17 +5167,63 @@ progressbar .osd { } /* ie. colorchooser */ +.osd.popover { + background-image: none; + background-color: alpha(shade(#3D3E40, 0.85), 0.35); + border: 1px solid black; + box-shadow: none; + color: @theme_selected_fg_color; +} + +.osd.popover > grid { + text-shadow: 1px 1px alpha (#000000, 0.8); +} + +.osd.popover toolbar { + background-image: none; + background-color: transparent; + border: none; + box-shadow: none; +} + +.osd.popover button { + text-shadow: none; + -gtk-icon-shadow: 0 -1px @osd_text_shadow; +} + +.osd.popover button:checked { + box-shadow: none; +} + +.osd.popover button:disabled { + color: alpha(@theme_selected_fg_color, 0.4); +} + +.osd.popover > grid > spinbutton { + text-shadow: none; + color: @theme_fg_color; +} + .osd.popover spinbutton entry, .osd.popover spinbutton entry:focus, +.osd.popover spinbutton entry:backdrop { + border-width: 1px; + border-style: none; + border-radius: 0px; + box-shadow: none; + padding: 5px 10px 5px 3px; +} + .osd.popover spinbutton button, -.osd.popover spinbutton button:focus { +.osd.popover spinbutton button:focus +.osd.popover spinbutton button:backdrop { min-width: 16px; min-height: 16px; border-width: 1px; border-style: none; border-radius: 0px; box-shadow: none; - padding: 8px; + padding: 5px; } .osd.popover spinbutton button:hover { @@ -5252,34 +5298,6 @@ popover separator { border: 0; } -popover.osd { - background-image: none; - background-color: alpha(shade(#3D3E40, 0.85), 0.75); - border: 1px solid black; - box-shadow: none; - color: @theme_selected_fg_color; -} - -popover.osd toolbar { - background-image: none; - background-color: transparent; - border: none; - box-shadow: none; -} - -popover.osd button { - text-shadow: none; - -gtk-icon-shadow: 0 -1px @osd_text_shadow; -} - -popover.osd button:checked { - box-shadow: none; -} - -popover.osd button:disabled { - color: alpha(@theme_selected_fg_color, 0.4); -} - popover.background.scale-popup button.flat.image-button:disabled { background-image: none; 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 d5e77f8b..1696aada 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -3106,7 +3106,7 @@ spinbutton.vertical:focus { } spinbutton.horizontal > entry { - padding: 6px 10px 6px 3px; + padding: 5px 10px 5px 3px; box-shadow: none; border-radius: 3px 0px 0px 3px; border-style: none; @@ -3152,7 +3152,7 @@ spinbutton > button:disabled { min-height: 10px; min-width: 10px; border-radius: 0px; - padding: 0px 5px; + padding: 5px; box-shadow: none; border-style: solid; border-color: @button_border; @@ -5167,17 +5167,63 @@ progressbar .osd { } /* ie. colorchooser */ +.osd.popover { + background-image: none; + background-color: alpha(shade(#3D3E40, 0.85), 0.35); + border: 1px solid black; + box-shadow: none; + color: @theme_selected_fg_color; +} + +.osd.popover > grid { + text-shadow: 1px 1px alpha (#000000, 0.8); +} + +.osd.popover toolbar { + background-image: none; + background-color: transparent; + border: none; + box-shadow: none; +} + +.osd.popover button { + text-shadow: none; + -gtk-icon-shadow: 0 -1px @osd_text_shadow; +} + +.osd.popover button:checked { + box-shadow: none; +} + +.osd.popover button:disabled { + color: alpha(@theme_selected_fg_color, 0.4); +} + +.osd.popover > grid > spinbutton { + text-shadow: none; + color: @theme_fg_color; +} + .osd.popover spinbutton entry, .osd.popover spinbutton entry:focus, +.osd.popover spinbutton entry:backdrop { + border-width: 1px; + border-style: none; + border-radius: 0px; + box-shadow: none; + padding: 5px 10px 5px 3px; +} + .osd.popover spinbutton button, -.osd.popover spinbutton button:focus { +.osd.popover spinbutton button:focus +.osd.popover spinbutton button:backdrop { min-width: 16px; min-height: 16px; border-width: 1px; border-style: none; border-radius: 0px; box-shadow: none; - padding: 8px; + padding: 5px; } .osd.popover spinbutton button:hover { @@ -5246,34 +5292,6 @@ popover separator { border: 0; } -popover.osd { - background-image: none; - background-color: alpha(shade(#3D3E40, 0.85), 0.75); - border: 1px solid black; - box-shadow: none; - color: @theme_selected_fg_color; -} - -popover.osd toolbar { - background-image: none; - background-color: transparent; - border: none; - box-shadow: none; -} - -popover.osd button { - text-shadow: none; - -gtk-icon-shadow: 0 -1px @osd_text_shadow; -} - -popover.osd button:checked { - box-shadow: none; -} - -popover.osd button:disabled { - color: alpha(@theme_selected_fg_color, 0.4); -} - popover.background.scale-popup button.flat.image-button:disabled { background-image: none; background-color: transparent; -- cgit v1.2.1