[gtk+/gtk-3-20] Adwaita: explicitelly set label caret-color to currentColor
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] Adwaita: explicitelly set label caret-color to currentColor
- Date: Mon, 30 May 2016 12:23:49 +0000 (UTC)
commit 72ad8b58c548faaf9b9ec73e0bb0b800f3422e04
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon May 30 14:20:33 2016 +0200
Adwaita: explicitelly set label caret-color to currentColor
since it doesn't always inherit 'color' color as it should.
gtk/theme/Adwaita/_common.scss | 2 ++
gtk/theme/Adwaita/gtk-contained-dark.css | 26 ++++++++++++++------------
gtk/theme/Adwaita/gtk-contained.css | 26 ++++++++++++++------------
3 files changed, 30 insertions(+), 24 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index b36a2a1..120d983 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -144,6 +144,8 @@ flowbox {
}
label {
+ caret-color: currentColor; // this shouldn't be needed.
+
&.separator {
@extend .dim-label;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 39d2f1f..152432a 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -90,19 +90,21 @@ flowbox flowboxchild {
flowbox flowboxchild:selected {
outline-offset: -2px; }
-label.separator {
- color: #eeeeec; }
- label.separator:backdrop {
+label {
+ caret-color: currentColor; }
+ label.separator {
+ color: #eeeeec; }
+ label.separator:backdrop {
+ color: #949796; }
+ label selection {
+ background-color: #215d9c;
+ color: #ffffff; }
+ label:disabled {
+ color: #949796; }
+ label:disabled:backdrop {
+ color: #5d6767; }
+ label:backdrop {
color: #949796; }
-label selection {
- background-color: #215d9c;
- color: #ffffff; }
-label:disabled {
- color: #949796; }
- label:disabled:backdrop {
- color: #5d6767; }
-label:backdrop {
- color: #949796; }
.dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
headerbar .subtitle {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 47e1ff9..8e59644 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -90,19 +90,21 @@ flowbox flowboxchild {
flowbox flowboxchild:selected {
outline-offset: -2px; }
-label.separator {
- color: #2e3436; }
- label.separator:backdrop {
+label {
+ caret-color: currentColor; }
+ label.separator {
+ color: #2e3436; }
+ label.separator:backdrop {
+ color: #8b8e8f; }
+ label selection {
+ background-color: #4a90d9;
+ color: #ffffff; }
+ label:disabled {
+ color: #8b8e8f; }
+ label:disabled:backdrop {
+ color: #c3c3c0; }
+ label:backdrop {
color: #8b8e8f; }
-label selection {
- background-color: #4a90d9;
- color: #ffffff; }
-label:disabled {
- color: #8b8e8f; }
- label:disabled:backdrop {
- color: #c3c3c0; }
-label:backdrop {
- color: #8b8e8f; }
.dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
headerbar .subtitle {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]