[gtk/gtk-3-24: 1/2] HighContrast: Add missing color to entry
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] HighContrast: Add missing color to entry
- Date: Wed, 27 Nov 2019 12:46:47 +0000 (UTC)
commit 7564e43a6ac2d02db013d547c0d60655f6c71353
Author: nana-4 <hnmaigo gmail com>
Date: Wed Nov 27 20:58:15 2019 +0900
HighContrast: Add missing color to entry
So entries don't inherit color from the parent element anymore.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1646
gtk/theme/HighContrast/_drawing.scss | 1 +
gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++--
gtk/theme/HighContrast/gtk-contained.css | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_drawing.scss b/gtk/theme/HighContrast/_drawing.scss
index 4113208096..f306ed1d8c 100644
--- a/gtk/theme/HighContrast/_drawing.scss
+++ b/gtk/theme/HighContrast/_drawing.scss
@@ -56,6 +56,7 @@
$_entry_edge: none;
@if $t==normal {
+ color: $fg_color;
border-color: $borders_color;
@include _shadows(inset 0 2px 2px -2px mix(black, $base_color, 50%),
$_entry_edge);
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 6de03a6936..597ceb9a36 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -80,7 +80,7 @@ spinner:checked { opacity: 1; animation: spin 1s linear infinite; }
spinner:checked:disabled { opacity: 0.5; }
/**************** Text Entries * */
-spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: 1px
solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color:
transparent; border-style: solid; background-image: linear-gradient(to bottom, #090909, #111 90%);
border-color: gray; box-shadow: inset 0 2px 2px -2px #090909; }
+spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: 1px
solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color:
transparent; border-style: solid; background-image: linear-gradient(to bottom, #090909, #111 90%); color:
#fff; border-color: gray; box-shadow: inset 0 2px 2px -2px #090909; }
spinbutton:not(.vertical) image.left, entry image.left { padding-left: 0; padding-right: 6px; }
@@ -1132,7 +1132,7 @@ progressbar progress.osd { border-width: 0; border-radius: 0; }
progressbar trough.empty progress { all: unset; }
/************* Level Bar * */
-levelbar trough { padding: 2px; border-radius: 3px; background-color: transparent; border-style: solid;
background-image: linear-gradient(to bottom, #090909, #111 90%); border-color: gray; box-shadow: inset 0 2px
2px -2px #090909; }
+levelbar trough { padding: 2px; border-radius: 3px; background-color: transparent; border-style: solid;
background-image: linear-gradient(to bottom, #090909, #111 90%); color: #fff; border-color: gray; box-shadow:
inset 0 2px 2px -2px #090909; }
levelbar trough:backdrop { background-color: transparent; border-style: solid; background-image:
linear-gradient(to bottom, #090909, #111 90%); color: #fff; background-image: linear-gradient(to bottom,
#111, #111); box-shadow: 0 1px rgba(255, 255, 255, 0); }
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index ee52a5884f..9d7960f29f 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -80,7 +80,7 @@ spinner:checked { opacity: 1; animation: spin 1s linear infinite; }
spinner:checked:disabled { opacity: 0.5; }
/**************** Text Entries * */
-spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: 1px
solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color:
transparent; border-style: solid; background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%);
border-color: gray; box-shadow: inset 0 2px 2px -2px gray; }
+spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: 1px
solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color:
transparent; border-style: solid; background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%); color:
#000; border-color: gray; box-shadow: inset 0 2px 2px -2px gray; }
spinbutton:not(.vertical) image.left, entry image.left { padding-left: 0; padding-right: 6px; }
@@ -1138,7 +1138,7 @@ progressbar progress.osd { border-width: 0; border-radius: 0; }
progressbar trough.empty progress { all: unset; }
/************* Level Bar * */
-levelbar trough { padding: 2px; border-radius: 3px; background-color: transparent; border-style: solid;
background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%); border-color: gray; box-shadow: inset 0 2px
2px -2px gray; }
+levelbar trough { padding: 2px; border-radius: 3px; background-color: transparent; border-style: solid;
background-image: linear-gradient(to bottom, #f7f7f7, #fff 90%); color: #000; border-color: gray; box-shadow:
inset 0 2px 2px -2px gray; }
levelbar trough:backdrop { background-color: transparent; border-style: solid; background-image:
linear-gradient(to bottom, #f7f7f7, #fff 90%); color: #000; background-image: linear-gradient(to bottom,
#fff, #fff); box-shadow: 0 1px rgba(255, 255, 255, 0); }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]