forked from AuroraMiddleware/gtk
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:
parent
653251f69e
commit
72513972d7
@ -206,7 +206,11 @@ label {
|
||||
selection { @extend %selected_items_backdrop; }
|
||||
}
|
||||
|
||||
&.error { color: $error_color; }
|
||||
&.error {
|
||||
color: $error_color;
|
||||
&:disabled { color: transparentize($error_color,0.5); }
|
||||
&:disabled:backdrop { color: transparentize($error_color,0.6); }
|
||||
}
|
||||
}
|
||||
|
||||
.dim-label {
|
||||
|
@ -59,6 +59,10 @@ button label:disabled:backdrop { color: inherit; }
|
||||
|
||||
label.error { color: #cc0000; }
|
||||
|
||||
label.error:disabled { color: rgba(204, 0, 0, 0.5); }
|
||||
|
||||
label.error:disabled:backdrop { color: rgba(204, 0, 0, 0.4); }
|
||||
|
||||
.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; }
|
||||
|
@ -59,6 +59,10 @@ button label:disabled:backdrop { color: inherit; }
|
||||
|
||||
label.error { color: #cc0000; }
|
||||
|
||||
label.error:disabled { color: rgba(204, 0, 0, 0.5); }
|
||||
|
||||
label.error:disabled:backdrop { color: rgba(204, 0, 0, 0.4); }
|
||||
|
||||
.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; }
|
||||
|
Loading…
Reference in New Issue
Block a user