Skip to content

Commit

Permalink
Error labels insensitive & backdrop states
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Aug 17, 2020
1 parent d65c4e9 commit da9ede7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gtk/src/Plano/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,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 {
Expand Down
4 changes: 4 additions & 0 deletions gtk/src/Plano/gtk-3.0/gtk-alt-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ button label:disabled:backdrop { color: inherit; }

label.error { color: #cc0000; }

label.error:disabled { color: #787979; }

label.error:disabled:backdrop { color: #c3c6c9; }

.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 #c3c6c9; }
Expand Down
4 changes: 4 additions & 0 deletions gtk/src/Plano/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ button label:disabled:backdrop { color: inherit; }

label.error { color: #cc0000; }

label.error:disabled { color: #a3a6a5; }

label.error:disabled:backdrop { color: #566164; }

.dim-label, .titlebar:not(headerbar) .subtitle, headerbar .subtitle, label.separator { opacity: 0.55; text-shadow: none; }

assistant .sidebar { background-color: #232729; border-top: 1px solid #2a2e30; }
Expand Down
4 changes: 4 additions & 0 deletions gtk/src/Plano/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ button label:disabled:backdrop { color: inherit; }

label.error { color: #cc0000; }

label.error:disabled { color: #787979; }

label.error:disabled:backdrop { color: #c3c6c9; }

.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 #c3c6c9; }
Expand Down

0 comments on commit da9ede7

Please sign in to comment.