# HG changeset patch # User IBBoard # Date 1494356104 -3600 # Node ID 872653c403c49d0d4b8f7c8301bfb980f17151f7 # Parent 342bda5df0afe36f8d353fb8c825f4157b382087 Fix grey disabled "suggest-action" headerbar button when in backdrop diff -r 342bda5df0af -r 872653c403c4 gtk-3.20/gtk.css --- a/gtk-3.20/gtk.css Sat May 06 15:56:37 2017 +0100 +++ b/gtk-3.20/gtk.css Tue May 09 19:55:04 2017 +0100 @@ -4994,34 +4994,38 @@ headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:active, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:checked label, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:checked { - color: #dee2d9; } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled, + color: #83877e; } + .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, - headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled { - border-color: #828282; - background-image: image(#c6c6c6); - text-shadow: none; - -gtk-icon-shadow: none; - box-shadow: inset 0 1px rgba(255, 255, 255, 0); } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled, - headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label, - headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled, - headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label, - headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled { - color: #a0a0a0; } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked, + headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label { + color: #8d8d8d; + background-color: #3D3D3D; + background-image: none; + border-color: #303030; + box-shadow: none; } + .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:checked, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked, + headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:active, + headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:checked, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active, - headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked { + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:active, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:checked { border-color: #5a7043; background-image: image(#5a7043); box-shadow: inset 0 1px rgba(255, 255, 255, 0); } - .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked label, + .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:active label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:checked label, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:active label, headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled:checked label, + headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:active label, + headerbar:not(.selection-mode) button.suggested-action:backdrop:disabled label:checked label, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:active label, - headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked label { + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled:checked label, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:active label, + headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled label:checked label { color: #94a285; } .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:disabled, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop:disabled, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, diff -r 342bda5df0af -r 872653c403c4 gtk-3.20/gtk.scss --- a/gtk-3.20/gtk.scss Sat May 06 15:56:37 2017 +0100 +++ b/gtk-3.20/gtk.scss Tue May 09 19:55:04 2017 +0100 @@ -10,7 +10,6 @@ /// - https://bugzilla.mozilla.org/show_bug.cgi?id=1268618 /// - Can't fudge this because Synapse uses the background colour and /// seems to create its own gradient from it -/// * Package Updater header bar button goes light grey when in background and activated $variant: 'light'; @@ -337,10 +336,14 @@ @include button(backdrop, $selected_bg_color, white); &:active, - &:checked { @include button(backdrop-active, $selected_bg_color, white); } + &:checked { @include button(backdrop-active, $selected_bg_color, $insensitive_dark_fg_color); } - &:disabled { - @include button(backdrop-insensitive); + &:disabled, &:disabled label { + color: $insensitive_dark_fg_color; + background-color: $bg_dark_color; + background-image: none; + border-color: $header_button_border; + box-shadow: none; &:active, &:checked { @include button(backdrop-insensitive-active, $selected_bg_color, white); }