From f7763f317fdd119cd534422a6302704b37e3493a Mon Sep 17 00:00:00 2001 From: EliverLara Date: Fri, 25 Jan 2019 15:08:31 -0600 Subject: [PATCH] Fix text entry issue --- gtk-3.0/gtk-dark.css | 6 ++++++ gtk-3.0/gtk.css | 6 ++++++ gtk-3.0/widgets/_entries.scss | 1 + 3 files changed, 13 insertions(+) diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index f889582..43cdc36 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -1798,6 +1798,9 @@ entry { box-shadow: none; } spinbutton.error:not(.vertical), entry.error { + color: #C3C7D1; + border-color: rgba(238, 238, 238, 0.1); + background-color: #181b28; color: #e6133e; border-color: #410512; } spinbutton.error:focus:not(.vertical), @@ -1809,6 +1812,9 @@ entry { background-color: #e6133e; } spinbutton.warning:not(.vertical), entry.warning { + color: #C3C7D1; + border-color: rgba(238, 238, 238, 0.1); + background-color: #181b28; color: #cc7500; border-color: #1a0f00; } spinbutton.warning:focus:not(.vertical), diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 5845c0f..93dfad3 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -1805,6 +1805,9 @@ entry { box-shadow: none; } spinbutton.error:not(.vertical), entry.error { + color: #31363D; + border-color: rgba(0, 0, 0, 0.13); + background-color: #ebf0f5; color: #ed254e; border-color: #ed254e; } spinbutton.error:focus:not(.vertical), @@ -1816,6 +1819,9 @@ entry { background-color: #ed254e; } spinbutton.warning:not(.vertical), entry.warning { + color: #31363D; + border-color: rgba(0, 0, 0, 0.13); + background-color: #ebf0f5; color: #ff9200; border-color: #ff9200; } spinbutton.warning:focus:not(.vertical), diff --git a/gtk-3.0/widgets/_entries.scss b/gtk-3.0/widgets/_entries.scss index e5b9bff..f30c017 100644 --- a/gtk-3.0/widgets/_entries.scss +++ b/gtk-3.0/widgets/_entries.scss @@ -53,6 +53,7 @@ entry { @each $e_type, $e_color in (error, $error_color), (warning, $warning_color) { &.#{$e_type} { + @include entry(normal); color: $e_color; border-color: entry_focus_border($e_color);