GTK3 theme: Change checked button background and inset shadow

This commit is contained in:
Daniel Ruiz de Alegría 2020-02-06 16:57:31 +01:00
parent d8d88016ac
commit 690763efb2
4 changed files with 8 additions and 8 deletions

View File

@ -4700,8 +4700,8 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, headerbar button.toggle:checked,
button:active, button:active,
button:checked { button:checked {
background: image(#040405); background: #1b1d24;
box-shadow: inset 0 3px 3px -2px rgba(0, 0, 0, 0.27); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3); }
switch:hover slider, scale slider:active { switch:hover slider, scale slider:active {
background-image: image(#0f1014); } background-image: image(#0f1014); }

View File

@ -4700,8 +4700,8 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, headerbar button.toggle:checked,
button:active, button:active,
button:checked { button:checked {
background: image(#040405); background: #1b1d24;
box-shadow: inset 0 3px 3px -2px rgba(0, 0, 0, 0.27); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3); }
switch:hover slider, scale slider:active { switch:hover slider, scale slider:active {
background-image: image(#0f1014); } background-image: image(#0f1014); }

View File

@ -4721,8 +4721,8 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, headerbar button.toggle:checked,
button:active, button:active,
button:checked { button:checked {
background: image(#ededed); background: #efefef;
box-shadow: inset 0 3px 3px -2px rgba(0, 0, 0, 0.07); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.1); }
switch:hover slider, scale slider:active { switch:hover slider, scale slider:active {
background-image: image(white); } background-image: image(white); }

View File

@ -9,8 +9,8 @@
%button_active, %button_active,
button:active, button:active,
button:checked, { button:checked, {
background: if($variant == 'light', image(darken($bg_color, 7%)), image(darken($bg_color, 14%))); background: $dark_fill;
box-shadow: inset 0 3px 3px -2px transparentize($shadow_color, 0.03); box-shadow: inset 0 3px 5px -4px $shadow_color;
} }
%slider_active { %slider_active {