Mercurial > repos > other > Adwaita-Dark-Green
comparison gtk-3.20/gtk.scss @ 61:872653c403c4
Fix grey disabled "suggest-action" headerbar button when in backdrop
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 09 May 2017 19:55:04 +0100 |
parents | 342bda5df0af |
children | 0aca06ef7c35 |
comparison
equal
deleted
inserted
replaced
60:342bda5df0af | 61:872653c403c4 |
---|---|
8 /// TODO: | 8 /// TODO: |
9 /// * Firefox GTK3 defaults to grey page background (".background" CSS rule) | 9 /// * Firefox GTK3 defaults to grey page background (".background" CSS rule) |
10 /// - https://bugzilla.mozilla.org/show_bug.cgi?id=1268618 | 10 /// - https://bugzilla.mozilla.org/show_bug.cgi?id=1268618 |
11 /// - Can't fudge this because Synapse uses the background colour and | 11 /// - Can't fudge this because Synapse uses the background colour and |
12 /// seems to create its own gradient from it | 12 /// seems to create its own gradient from it |
13 /// * Package Updater header bar button goes light grey when in background and activated | |
14 | 13 |
15 | 14 |
16 $variant: 'light'; | 15 $variant: 'light'; |
17 | 16 |
18 // Import the default colours | 17 // Import the default colours |
335 &:backdrop, | 334 &:backdrop, |
336 &.flat:backdrop { | 335 &.flat:backdrop { |
337 @include button(backdrop, $selected_bg_color, white); | 336 @include button(backdrop, $selected_bg_color, white); |
338 | 337 |
339 &:active, | 338 &:active, |
340 &:checked { @include button(backdrop-active, $selected_bg_color, white); } | 339 &:checked { @include button(backdrop-active, $selected_bg_color, $insensitive_dark_fg_color); } |
341 | 340 |
342 &:disabled { | 341 &:disabled, &:disabled label { |
343 @include button(backdrop-insensitive); | 342 color: $insensitive_dark_fg_color; |
343 background-color: $bg_dark_color; | |
344 background-image: none; | |
345 border-color: $header_button_border; | |
346 box-shadow: none; | |
344 | 347 |
345 &:active, | 348 &:active, |
346 &:checked { @include button(backdrop-insensitive-active, $selected_bg_color, white); } | 349 &:checked { @include button(backdrop-insensitive-active, $selected_bg_color, white); } |
347 } | 350 } |
348 } | 351 } |