Mercurial > repos > other > Adwaita-Dark-Green
comparison gtk-3.20/gtk.scss @ 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 |
comparison
equal
deleted
inserted
replaced
48:ad922cd4c540 | 49:433eecb1f9b5 |
---|---|
5 // - if you need to inverse a color function use the @if directive to match for dark $variant | 5 // - if you need to inverse a color function use the @if directive to match for dark $variant |
6 | 6 |
7 | 7 |
8 /// TODO: | 8 /// TODO: |
9 /// * Firefox GTK3 uses dark text on background tabs | 9 /// * Firefox GTK3 uses dark text on background tabs |
10 /// * Header bar has "Busy" state I've never seen before and it makes Close and Menu buttons turn grey | |
11 | 10 |
12 | 11 |
13 $variant: 'light'; | 12 $variant: 'light'; |
14 | 13 |
15 // Import the default colours | 14 // Import the default colours |
299 color: $insensitive_dark_fg_color; | 298 color: $insensitive_dark_fg_color; |
300 background-color: $bg_dark_color; | 299 background-color: $bg_dark_color; |
301 background-image: none; | 300 background-image: none; |
302 border-color: $header_button_border; | 301 border-color: $header_button_border; |
303 box-shadow: 0 1px $header_button_raised_gradient_color_a; | 302 box-shadow: 0 1px $header_button_raised_gradient_color_a; |
304 | |
305 &:active, | |
306 &:checked { @include button(insensitive-active, $header_button_raised_gradient_color_a, $fg_dark_color); } | |
307 } | 303 } |
308 | 304 |
309 &:drop(active) { | 305 &:drop(active) { |
310 color: $drop_target_color; | 306 color: $drop_target_color; |
311 border-color: $drop_target_color; | 307 border-color: $drop_target_color; |