Fix lag when linked buttons gets active

This commit is contained in:
EliverLara
2019-09-17 12:05:39 -05:00
parent 67ba839e55
commit 77f69f70e3
3 changed files with 17 additions and 3 deletions

View File

@@ -80,11 +80,13 @@
color:transparent; color:transparent;
} }
widget > .text-button:last-child, widget > .text-button:last-child,
widget > .text-button:last-child:active,
widget > .text-button:last-child:checked,
button:active, button:checked { button:active, button:checked {
@include button(active-header); @include button(active-header);
&:backdrop{ &:backdrop{
&, label{ &, label{
color: darken(rgb(250, 250, 250), 4%); color: darken(rgb(255, 255, 255), 4%);
} }
} }
} }

View File

@@ -5649,15 +5649,21 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled
color: transparent; } color: transparent; }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked,
.nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked { .nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked {
border-radius: 23px; border-radius: 23px;
background: linear-gradient(to right, #eee90a, #f7b922); background: linear-gradient(to right, #eee90a, #f7b922);
box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98); box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98);
color: #fafafa; } color: #fafafa; }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop label, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop label,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active:backdrop,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active:backdrop label,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked:backdrop,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked:backdrop label,
.nautilus-window .titlebar .path-bar-box button:active:backdrop, .nautilus-window .titlebar .path-bar-box button:active:backdrop,
.nautilus-window .titlebar .path-bar-box button:active:backdrop label, .nautilus-window .titlebar .path-bar-box button:checked:backdrop, .nautilus-window .titlebar .path-bar-box button:checked:backdrop label { .nautilus-window .titlebar .path-bar-box button:active:backdrop label, .nautilus-window .titlebar .path-bar-box button:checked:backdrop, .nautilus-window .titlebar .path-bar-box button:checked:backdrop label {
color: #f0f0f0; } color: whitesmoke; }
.nautilus-window .titlebar .linked:not(.path-bar) button:active, .nautilus-window .titlebar .linked:not(.path-bar) button:checked, .nautilus-window .titlebar .linked:not(.path-bar) button:active:backdrop, .nautilus-window .titlebar .linked:not(.path-bar) button:checked:backdrop { .nautilus-window .titlebar .linked:not(.path-bar) button:active, .nautilus-window .titlebar .linked:not(.path-bar) button:checked, .nautilus-window .titlebar .linked:not(.path-bar) button:active:backdrop, .nautilus-window .titlebar .linked:not(.path-bar) button:checked:backdrop {
background: transparent; background: transparent;

View File

@@ -5674,15 +5674,21 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled
color: transparent; } color: transparent; }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked,
.nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked { .nautilus-window .titlebar .path-bar-box button:active, .nautilus-window .titlebar .path-bar-box button:checked {
border-radius: 23px; border-radius: 23px;
background: linear-gradient(to right, #eee90a, #f7b922); background: linear-gradient(to right, #eee90a, #f7b922);
box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98); box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98);
color: #fafafa; } color: #fafafa; }
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop label, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop, .nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:backdrop label,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active:backdrop,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:active:backdrop label,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked:backdrop,
.nautilus-window .titlebar .path-bar-box widget > .text-button:last-child:checked:backdrop label,
.nautilus-window .titlebar .path-bar-box button:active:backdrop, .nautilus-window .titlebar .path-bar-box button:active:backdrop,
.nautilus-window .titlebar .path-bar-box button:active:backdrop label, .nautilus-window .titlebar .path-bar-box button:checked:backdrop, .nautilus-window .titlebar .path-bar-box button:checked:backdrop label { .nautilus-window .titlebar .path-bar-box button:active:backdrop label, .nautilus-window .titlebar .path-bar-box button:checked:backdrop, .nautilus-window .titlebar .path-bar-box button:checked:backdrop label {
color: #f0f0f0; } color: whitesmoke; }
.nautilus-window .titlebar .linked:not(.path-bar) button:active, .nautilus-window .titlebar .linked:not(.path-bar) button:checked, .nautilus-window .titlebar .linked:not(.path-bar) button:active:backdrop, .nautilus-window .titlebar .linked:not(.path-bar) button:checked:backdrop { .nautilus-window .titlebar .linked:not(.path-bar) button:active, .nautilus-window .titlebar .linked:not(.path-bar) button:checked, .nautilus-window .titlebar .linked:not(.path-bar) button:active:backdrop, .nautilus-window .titlebar .linked:not(.path-bar) button:checked:backdrop {
background: transparent; background: transparent;