Mercurial > repos > other > Adwaita-Dark-Green
changeset 49:433eecb1f9b5
Fix "busy" headerbar buttons
"Get Busy" is an option in Widget Factory. It disables headerbar buttons.
Removing the include override makes everything go flat/disabled,
regardless of action type
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 10 Apr 2017 14:17:09 +0100 |
parents | ad922cd4c540 |
children | a37b4370a2e5 |
files | gtk-3.20/gtk.css gtk-3.20/gtk.scss |
diffstat | 2 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk-3.20/gtk.css Mon Apr 10 13:49:22 2017 +0100 +++ b/gtk-3.20/gtk.css Mon Apr 10 14:17:09 2017 +0100 @@ -4913,24 +4913,6 @@ background-image: none; border-color: #303030; box-shadow: 0 1px #575757; } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:checked, - headerbar:not(.selection-mode) button:disabled:active, - headerbar:not(.selection-mode) button:disabled:checked, - headerbar:not(.selection-mode) button.suggested-action:disabled:active, - headerbar:not(.selection-mode) button.suggested-action:disabled:checked { - border-color: #242424; - background-image: image(#545454); - box-shadow: inset 0 1px rgba(255, 255, 255, 0); } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button:disabled:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:disabled:checked, - headerbar:not(.selection-mode) button:disabled:active label, - headerbar:not(.selection-mode) button:disabled:active, - headerbar:not(.selection-mode) button:disabled:checked label, - headerbar:not(.selection-mode) button:disabled:checked, - headerbar:not(.selection-mode) button.suggested-action:disabled:active label, - headerbar:not(.selection-mode) button.suggested-action:disabled:active, - headerbar:not(.selection-mode) button.suggested-action:disabled:checked label, - headerbar:not(.selection-mode) button.suggested-action:disabled:checked { - color: #a6a6a6; } .titlebar:not(headerbar) headerbar:not(.selection-mode) button:drop(active), headerbar:not(.selection-mode) button:drop(active) { color: #4e9a06;
--- a/gtk-3.20/gtk.scss Mon Apr 10 13:49:22 2017 +0100 +++ b/gtk-3.20/gtk.scss Mon Apr 10 14:17:09 2017 +0100 @@ -7,7 +7,6 @@ /// TODO: /// * Firefox GTK3 uses dark text on background tabs -/// * Header bar has "Busy" state I've never seen before and it makes Close and Menu buttons turn grey $variant: 'light'; @@ -301,9 +300,6 @@ background-image: none; border-color: $header_button_border; box-shadow: 0 1px $header_button_raised_gradient_color_a; - - &:active, - &:checked { @include button(insensitive-active, $header_button_raised_gradient_color_a, $fg_dark_color); } } &:drop(active) {