From de5eae0ec73f87c76aa155b73fd2fe608bf75a47 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 9 Mar 2016 19:46:19 +0100 Subject: [PATCH] fix image color in error and warning entries --- common/gtk-3.0/3.20/gtk-dark.css | 4 ++++ common/gtk-3.0/3.20/gtk-darker.css | 4 ++++ common/gtk-3.0/3.20/gtk-solid-dark.css | 4 ++++ common/gtk-3.0/3.20/gtk-solid-darker.css | 4 ++++ common/gtk-3.0/3.20/gtk-solid.css | 4 ++++ common/gtk-3.0/3.20/gtk.css | 4 ++++ common/gtk-3.0/3.20/sass/_common.scss | 2 ++ 7 files changed, 26 insertions(+) diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index c7d01a4..76d3b65 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -191,6 +191,8 @@ entry { color: #ffffff; border-color: #2b2e39; background-image: linear-gradient(to bottom, #ab6441); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -202,6 +204,8 @@ entry { color: #ffffff; border-color: #2b2e39; background-image: linear-gradient(to bottom, #b14342); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index a8cd2fb..3105645 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -190,6 +190,8 @@ entry { color: #ffffff; border-color: #F27835; background-image: linear-gradient(to bottom, #f7ae86); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -201,6 +203,8 @@ entry { color: #ffffff; border-color: #FC4138; background-image: linear-gradient(to bottom, #fd8d88); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index a1d6b6c..fe9e4c5 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -191,6 +191,8 @@ entry { color: #ffffff; border-color: #2b2e39; background-image: linear-gradient(to bottom, #ab6441); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -202,6 +204,8 @@ entry { color: #ffffff; border-color: #2b2e39; background-image: linear-gradient(to bottom, #b14342); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index 86aea17..da77e21 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -190,6 +190,8 @@ entry { color: #ffffff; border-color: #F27835; background-image: linear-gradient(to bottom, #f7ae86); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -201,6 +203,8 @@ entry { color: #ffffff; border-color: #FC4138; background-image: linear-gradient(to bottom, #fd8d88); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index 67498a2..512312a 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -190,6 +190,8 @@ entry { color: #ffffff; border-color: #F27835; background-image: linear-gradient(to bottom, #f7ae86); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -201,6 +203,8 @@ entry { color: #ffffff; border-color: #FC4138; background-image: linear-gradient(to bottom, #fd8d88); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index 0cf9e12..4547d7b 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -190,6 +190,8 @@ entry { color: #ffffff; border-color: #F27835; background-image: linear-gradient(to bottom, #f7ae86); } + entry.warning image { + color: #ffffff; } entry.warning:focus { color: #ffffff; background-image: linear-gradient(to bottom, #F27835); @@ -201,6 +203,8 @@ entry { color: #ffffff; border-color: #FC4138; background-image: linear-gradient(to bottom, #fd8d88); } + entry.error image { + color: #ffffff; } entry.error:focus { color: #ffffff; background-image: linear-gradient(to bottom, #FC4138); diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index a889726..987f6ea 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -253,6 +253,8 @@ entry { border-color: if($variant=='light', $e_color, $entry_border); background-image: linear-gradient(to bottom, mix($e_color, $base_color, 60%)); + image { color: $selected_fg_color; } + &:focus { color: $selected_fg_color; background-image: linear-gradient(to bottom, $e_color);