GTK3: Remove shadow from stackswitcher buttons on backdrop mode

This commit is contained in:
Daniel Ruiz de Alegría 2021-01-22 21:51:37 +01:00
parent a23f196c01
commit 95df15385f
4 changed files with 26 additions and 0 deletions

View File

@ -5049,6 +5049,14 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, button.flat:hover, button:active, button:checked { headerbar button.toggle:checked, button.flat:hover, button:active, button:checked {
background: #1b1d24; background: #1b1d24;
box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05); }
.titlebar stackswitcher button:backdrop:checked,
.titlebar button.toggle:backdrop:active,
.titlebar button.toggle:backdrop:checked,
headerbar stackswitcher button:backdrop:checked:active,
headerbar stackswitcher button:backdrop:checked,
headerbar button.toggle:backdrop:active,
headerbar button.toggle:backdrop:checked, button.flat:backdrop:hover, button:active:backdrop, button:checked:backdrop {
box-shadow: none; }
button.flat { button.flat {
border-color: transparent; border-color: transparent;

View File

@ -5049,6 +5049,14 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, button.flat:hover, button:active, button:checked { headerbar button.toggle:checked, button.flat:hover, button:active, button:checked {
background: #1b1d24; background: #1b1d24;
box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05); }
.titlebar stackswitcher button:backdrop:checked,
.titlebar button.toggle:backdrop:active,
.titlebar button.toggle:backdrop:checked,
headerbar stackswitcher button:backdrop:checked:active,
headerbar stackswitcher button:backdrop:checked,
headerbar button.toggle:backdrop:active,
headerbar button.toggle:backdrop:checked, button.flat:backdrop:hover, button:active:backdrop, button:checked:backdrop {
box-shadow: none; }
button.flat { button.flat {
border-color: transparent; border-color: transparent;

View File

@ -5071,6 +5071,14 @@ headerbar button.toggle:active,
headerbar button.toggle:checked, button.flat:hover, button:active, button:checked { headerbar button.toggle:checked, button.flat:hover, button:active, button:checked {
background: #f2f2f2; background: #f2f2f2;
box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.1), 0 1px rgba(255, 255, 255, 0.05); } box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.1), 0 1px rgba(255, 255, 255, 0.05); }
.titlebar stackswitcher button:backdrop:checked,
.titlebar button.toggle:backdrop:active,
.titlebar button.toggle:backdrop:checked,
headerbar stackswitcher button:backdrop:checked:active,
headerbar stackswitcher button:backdrop:checked,
headerbar button.toggle:backdrop:active,
headerbar button.toggle:backdrop:checked, button.flat:backdrop:hover, button:active:backdrop, button:checked:backdrop {
box-shadow: none; }
button.flat { button.flat {
border-color: transparent; border-color: transparent;

View File

@ -25,6 +25,8 @@ button {
&:checked, { &:checked, {
background: $dark_fill; background: $dark_fill;
box-shadow: $_widget_inset_shadow; box-shadow: $_widget_inset_shadow;
&:backdrop { box-shadow: none; }
} }
&.flat { &.flat {