From 6219a8ecce462268f5d967922fa302316e46b896 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 10 Sep 2015 22:18:38 +0200 Subject: GTK3 BlackMATE: make popover scale transparent --- desktop-themes/BlackMATE/gtk-3.0/gtk-main.css | 6 ++--- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 34 ++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css index 41b523b5..9ce9b791 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css @@ -97,9 +97,9 @@ @define-color osd_text_shadow alpha(black, 0.75); -@define-color osd_toolbar_bg_a alpha(@osd_base, 0.80); -@define-color osd_toolbar_bg_b alpha(#101010, 0.80); -@define-color osd_toolbar_bg_c alpha(shade(@osd_base, 1.02), 0.80); +@define-color osd_toolbar_bg_a alpha(@osd_base, 0.60); +@define-color osd_toolbar_bg_b alpha(#101010, 0.60); +@define-color osd_toolbar_bg_c alpha(shade(@osd_base, 1.02), 0.60); @define-color osd_button_bg_a alpha(@osd_highlight, 0.16); @define-color osd_button_bg_b alpha(@osd_lowlight, 0.05); diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 9d914342..c891c357 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2008,6 +2008,7 @@ GtkOverlay.osd { .osd.button:checked, .osd.button:active, .osd .button, +.osd .button:hover, .osd .button:checked, .osd .button:active { border-width: 1px; @@ -2036,6 +2037,7 @@ GtkOverlay.osd { .osd .button, .osd .button:prelight, .osd .button:checked, +.osd .button:hover, .osd .button:active { background-color: transparent; } @@ -2125,8 +2127,11 @@ GtkOverlay.osd { -GtkToolbar-button-relief: normal; } -.osd.toolbar .button { - padding: 4px; +.osd.toolbar .button, +.osd.toolbar .linked .button { + background-color: transparent; + border-color: @osd_button_border; + padding: 6px; border-width: 1px 1px; border-radius: 5px; box-shadow: @osd_button_inset; @@ -2188,6 +2193,31 @@ GtkOverlay.osd { background-color: transparent; } +.osd .scale-popup.popover.background { + color: @osd_fg; + text-shadow: none; + border-color: shade (@theme_selected_bg_color, 0.5); + border-radius: 5px; + background-image: linear-gradient(to bottom, + @osd_toolbar_bg_a, + @osd_toolbar_bg_b 63%, + @osd_toolbar_bg_c); + background-color: transparent; +} + +.osd .popover.scale-popup .flat.button.image-button { + background-color: transparent; + border-radius: 4px; + border-width: 1px; + border-color: @osd_button_border; + box-shadow: none; + padding: 2px; +} + +.osd .popover.scale-popup .flat.button.image-button:insensitive { + border-color: alpha (@osd_button_border, 0.0); +} + .osd GtkProgressBar, GtkProgressBar.osd { padding: 0; -- cgit v1.2.1