From 77f69f70e329920b08760ff1c46ce5a074866b47 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Tue, 17 Sep 2019 12:05:39 -0500 Subject: [PATCH] Fix lag when linked buttons gets active --- gtk-3.0/apps/_gnome.scss | 4 +++- gtk-3.0/gtk-dark.css | 8 +++++++- gtk-3.0/gtk.css | 8 +++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/gtk-3.0/apps/_gnome.scss b/gtk-3.0/apps/_gnome.scss index 1a056c6..ef1e8f5 100755 --- a/gtk-3.0/apps/_gnome.scss +++ b/gtk-3.0/apps/_gnome.scss @@ -80,11 +80,13 @@ color:transparent; } widget > .text-button:last-child, + widget > .text-button:last-child:active, + widget > .text-button:last-child:checked, button:active, button:checked { @include button(active-header); &:backdrop{ &, label{ - color: darken(rgb(250, 250, 250), 4%); + color: darken(rgb(255, 255, 255), 4%); } } } diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 3ade325..a4a92d5 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5649,15 +5649,21 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled color: transparent; } .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 { border-radius: 23px; background: linear-gradient(to right, #eee90a, #f7b922); box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98); 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: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 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 { background: transparent; diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 0fd2002..5f96483 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5674,15 +5674,21 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled color: transparent; } .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 { border-radius: 23px; background: linear-gradient(to right, #eee90a, #f7b922); box-shadow: 0px 2px 4px rgba(247, 185, 34, 0.98); 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: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 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 { background: transparent;