Adwaita: error labels insensitive & backdrop states

- address colored labels for the two states

See https://gitlab.gnome.org/GNOME/gtk/-/issues/3063#note_891618
This commit is contained in:
Jakub Steiner 2020-08-17 09:57:31 +02:00
parent 653251f69e
commit 629431ba0e
3 changed files with 13 additions and 1 deletions

View File

@ -206,7 +206,11 @@ label {
selection { @extend %selected_items_backdrop; }
}
&.error { color: $error_color; }
&.error {
color: $error_color;
&:disabled { color: $insensitive_fg_color; }
&:disabled:backdrop { color: $backdrop_insensitive_color; }
}
}
.dim-label {

View File

@ -59,6 +59,10 @@ button label:disabled:backdrop { color: inherit; }
label.error { color: #cc0000; }
label.error:disabled { color: #919190; }
label.error:disabled:backdrop { color: #5b5b5b; }
.dim-label, .titlebar:not(headerbar) .subtitle, headerbar .subtitle, label.separator { opacity: 0.55; text-shadow: none; }
assistant .sidebar { background-color: #2d2d2d; border-top: 1px solid #1b1b1b; }

View File

@ -59,6 +59,10 @@ button label:disabled:backdrop { color: inherit; }
label.error { color: #cc0000; }
label.error:disabled { color: #929595; }
label.error:disabled:backdrop { color: #d4cfca; }
.dim-label, .titlebar:not(headerbar) .subtitle, headerbar .subtitle, label.separator { opacity: 0.55; text-shadow: none; }
assistant .sidebar { background-color: #ffffff; border-top: 1px solid #cdc7c2; }