Adwaita: .entry.error/.entry.warning dark variant love

This commit is contained in:
Lapo Calamandrei 2015-04-22 15:54:04 +02:00
parent 4128ff93dd
commit 5e5cfc62a9
2 changed files with 6 additions and 6 deletions

View File

@ -275,18 +275,18 @@ GtkTextView { // This will get overridden by .view, needed by gedit line numbers
}
}
&.error { // FIXME: dark variant love needed
&.error {
color: $error_color;
border-color: $error_color;
border-color: entry_focus_border($error_color);
&:focus { @include entry(focus, $error_color); }
&:selected, &:selected:focus {
background-color: $error_color;
}
}
&.warning { // FIXME: dark variant love needed
&.warning {
color: $warning_color;
border-color: $warning_color;
border-color: entry_focus_border($warning_color);
&:focus { @include entry(focus, $warning_color); }
&:selected, &:selected:focus {
background-color: $warning_color;

View File

@ -227,7 +227,7 @@ GtkTextView {
border-left-style: solid; }
.entry.error {
color: #cc0000;
border-color: #cc0000; }
border-color: #1a0000; }
.entry.error:focus {
background-color: transparent;
background-image: linear-gradient(to bottom, #1c1f1f, #232525 3px, #292929 90%);
@ -237,7 +237,7 @@ GtkTextView {
background-color: #cc0000; }
.entry.warning {
color: #f57900;
border-color: #f57900; }
border-color: #432100; }
.entry.warning:focus {
background-color: transparent;
background-image: linear-gradient(to bottom, #1c1f1f, #232525 3px, #292929 90%);