diff options
author | raveit65 <[email protected]> | 2018-03-04 15:16:26 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-09 17:04:38 +0200 |
commit | bf6370214bb7af2d144ad50e11bac2f8d7fc9642 (patch) | |
tree | c42626ed00f4a69f08ea0942dc00b890365a3664 /desktop-themes/Menta | |
parent | 24b369bc4f9eaebfd0dc26fe43afc92d2a38010d (diff) | |
download | mate-themes-bf6370214bb7af2d144ad50e11bac2f8d7fc9642.tar.bz2 mate-themes-bf6370214bb7af2d144ad50e11bac2f8d7fc9642.tar.xz |
Menta themes: add images for backdrop state
to gtk-widgets-backgrounds
Diffstat (limited to 'desktop-themes/Menta')
-rw-r--r-- | desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css | 90 |
1 files changed, 74 insertions, 16 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css index c67fb3a4..898541bd 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css @@ -95,9 +95,12 @@ toolbar.primary-toolbar button:hover { /* Insensitive button background */ button:disabled, toolbar combobox button.combo:disabled, -toolbar .raised button:disabled { - background-image: none; - background-color: @insensitive_bg_color; +toolbar .raised button:disabled, +button:disabled:backdrop, +toolbar combobox button.combo:disabled:backdrop, +toolbar .raised button:disabled:backdrop { + background-image: none; + background-color: @insensitive_bg_color; } /* Pushed + Insensitive button background */ @@ -111,15 +114,26 @@ toolbar combobox button.combo:checked:disabled { background-color: transparent; } +button:backdrop, +combobox button.combo:backdrop, +toolbar .raised button:backdrop, +toolbar combobox button.combo:backdrop, +toolbar.primary-toolbar .linked button:backdrop, +toolbar.primary-toolbar .raised button:backdrop { + background-image: linear-gradient(to bottom, + @button_gradient_backdrop_color_a, + @button_gradient_backdrop_color_b); + background-color: transparent; +} + /* Entry background */ entry, -toolbar.primary-toolbar combobox entry.combo, -levelbar trough { - background-image: linear-gradient(to bottom, - @entry_background_a, - @entry_background_b); - box-shadow: inset 0 1px @entry_inset, - inset 0 2px alpha(@entry_inset, 0.4); +toolbar.primary-toolbar combobox entry.combo { + background-image: linear-gradient(to bottom, + @entry_background_a, + @entry_background_b); + box-shadow: inset 0 1px @entry_inset, + inset 0 2px alpha(@entry_inset, 0.4); } /* Entry pushed button background */ @@ -140,8 +154,7 @@ treeview header button { box-shadow: inset 0 2px 0 0 alpha(@borders, 0.3); } -/* ie. yumex-dnf */ -stack treeview header button { +treeview header button { background-image: linear-gradient(to bottom, shade(@theme_bg_color, 1.18), shade(@theme_bg_color, 1.1)); @@ -169,10 +182,22 @@ treeview header button:hover:active { /* Insensitive entry background */ entry:disabled, combobox button.combo:disabled, -levelbar trough:disabled { - background-color: @insensitive_bg_color; - background-image: none; - box-shadow: none; +levelbar trough:disabled, +entry:disabled:backdrop, +combobox button.combo:disabled:backdrop, +levelbar trough:disabled:backdrop { + background-color: @insensitive_bg_color; + background-image: none; + box-shadow: none; +} + +/* unfocused entry background */ +entry:backdrop, +toolbar.primary-toolbar combobox entry.combo:backdrop { + background-image: linear-gradient(to bottom, + shade (@backdrop_selected_color, 1.02), + shade (@backdrop_color, 1.02)); + color: @theme_unfocused_fg_color; } /* Primary and inline toolbars background */ @@ -257,3 +282,36 @@ progressbar.vertical progress { @progressbar_background_a, @progressbar_background_b); } + +progressbar:backdrop progress, +row progressbar:backdrop progress, +row:selected progressbar:backdrop progress { + background-image: linear-gradient(to left top, + alpha (@progressbar_pattern, 0.25), + alpha (@progressbar_pattern, 0.25) 25%, + transparent 25%, + transparent 50%, + alpha (@progressbar_pattern, 0.25) 50%, + alpha (@progressbar_pattern, 0.25) 75%, + transparent 75%, + transparent), + linear-gradient(to bottom, + shade (@backdrop_color, 0.8), + shade (@backdrop_selected_color, 0.8)); +} + +progressbar.vertical:backdrop progress { + background-image: linear-gradient(to right top, + alpha (@progressbar_pattern, 0.25), + alpha (@progressbar_pattern, 0.25) 25%, + transparent 25%, + transparent 50%, + alpha (@progressbar_pattern, 0.25) 50%, + alpha (@progressbar_pattern, 0.25) 75%, + transparent 75%, + transparent), + linear-gradient(to right, + shade (@backdrop_color, 0.8), + shade (@backdrop_selected_color, 0.8)); +} + |