diff options
author | Mate <[email protected]> | 2021-07-18 09:26:40 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-08-02 23:56:01 +0200 |
commit | 58267b14a95fad8079c4f3510b13d8041d10be04 (patch) | |
tree | 49ac425f75a1ee19c6c6aa966080af2205eb156a /desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss | |
parent | edbd5627f4a348c7d525bcdc449fa1777f383210 (diff) | |
download | mate-themes-58267b14a95fad8079c4f3510b13d8041d10be04.tar.bz2 mate-themes-58267b14a95fad8079c4f3510b13d8041d10be04.tar.xz |
headerbar_buttons first try
Diffstat (limited to 'desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss')
-rw-r--r-- | desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss b/desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss new file mode 100644 index 00000000..a613bbb0 --- /dev/null +++ b/desktop-themes/YaruGreen/gtk-3.0/_headerbar_buttons.scss @@ -0,0 +1,39 @@ +$headerbar_button_gradient_a: gtkshade(desaturate($core_color_a, 20%), 1.15); +$headerbar_button_gradient_b: gtkshade(desaturate($core_color_a, 20%), 1.1); +$headerbar_button_gradient_c: gtkshade(desaturate($core_color_a, 20%), 1.08); +$headerbar_button_gradient_d: gtkshade(desaturate($core_color_a, 20%), 1.02); + +$headerbar_button_hover_gradient_a: gtkshade(desaturate($core_color_a, 40%), 1.25); +$headerbar_button_hover_gradient_b: gtkshade(desaturate($core_color_a, 40%), 1.2); +$headerbar_button_hover_gradient_c: gtkshade(desaturate($core_color_a, 40%), 1.19); +$headerbar_button_hover_gradient_d: gtkshade(desaturate($core_color_a, 40%), 1.12); + +$headerbar_button_backdrop_gradient_a: gtkshade(desaturate($core_color_a, 100%), 1.25); +$headerbar_button_backdrop_gradient_b: gtkshade(desaturate($core_color_a, 100%), 1.2); +$headerbar_button_backdrop_gradient_c: gtkshade(desaturate($core_color_a, 100%), 1.18); +$headerbar_button_backdrop_gradient_d: gtkshade(desaturate($core_color_a, 100%), 1.12); + +$headerbar_button_backdrop_hover_gradient_a: gtkshade(desaturate($core_color_a, 100%), 1.3); +$headerbar_button_backdrop_hover_gradient_b: gtkshade(desaturate($core_color_a, 100%), 1.25); +$headerbar_button_backdrop_hover_gradient_c: gtkshade(desaturate($core_color_a, 100%), 1.23); +$headerbar_button_backdrop_hover_gradient_d: gtkshade(desaturate($core_color_a, 100%), 1.17); + + +headerbar { + button { + background-image: linear-gradient(to bottom, $headerbar_button_gradient_a, $headerbar_button_gradient_b 50%, $headerbar_button_gradient_c 50%, $headerbar_button_gradient_d); + border-color: gtkshade(#707662, 0.6); + &:hover { + background-image: linear-gradient(to bottom, $headerbar_button_hover_gradient_a, $headerbar_button_hover_gradient_b 50%, $headerbar_button_hover_gradient_c 50%, $headerbar_button_hover_gradient_d); + border-color: gtkshade(#707662, 0.6); + } + &:backdrop { + background-image: linear-gradient(to bottom, $headerbar_button_backdrop_gradient_a, $headerbar_button_backdrop_gradient_b 50%, $headerbar_button_backdrop_gradient_c 50%, $headerbar_button_backdrop_gradient_d); + } + &:backdrop:hover { + background-image: linear-gradient(to bottom, $headerbar_button_backdrop_hover_gradient_a, $headerbar_button_backdrop_hover_gradient_b 50%, $headerbar_button_backdrop_hover_gradient_c 50%, $headerbar_button_backdrop_hover_gradient_d); + border-color: gtkshade(desaturate(#707662, 100%), 0.7); + } + } +} + |