[gtk+] Adwaita: style GtkLabel.separator



commit c5893e5dc1091c83f6ef44f0b4f926e42a1d73f7
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Aug 29 15:32:45 2014 +0200

    Adwaita: style GtkLabel.separator
    
    Fixes gnome-document search popup titles.

 gtk/resources/theme/Adwaita/_common.scss           |    5 +++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    9 ++++++++-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    9 ++++++++-
 3 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index ee14407..f24c77c 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -131,6 +131,11 @@
 }
 
 GtkLabel {
+  &.separator {
+    color: $fg_color;
+    @extend .dim-label;
+    &:backdrop { color: $backdrop_fg_color; }
+  }
   &:selected,
   &:selected:focus,
   &:selected:hover {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 5bda289..19e1ea3 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -83,12 +83,19 @@
 .overshoot {
   background-color: rgba(33, 93, 156, 0.2); }
 
+GtkLabel.separator, .sidebar GtkLabel.separator:backdrop,
+.sidebar .view GtkLabel.separator:backdrop {
+  color: #eeeeec; }
+  GtkLabel.separator:backdrop, .sidebar GtkLabel.separator:backdrop,
+  .sidebar .view GtkLabel.separator:backdrop {
+    color: #c9cbc9; }
 GtkLabel:insensitive {
   color: #939695; }
   GtkLabel:insensitive:backdrop {
     color: #5d6767; }
 
-.dim-label, .titlebar .subtitle, GtkCalendar.header .subtitle,
+.dim-label, GtkLabel.separator, .sidebar GtkLabel.separator:backdrop,
+.sidebar .view GtkLabel.separator:backdrop, .titlebar .subtitle, GtkCalendar.header .subtitle,
 .header-bar .subtitle {
   opacity: 0.55;
   text-shadow: none; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 223bd64..03c12c2 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -83,12 +83,19 @@
 .overshoot {
   background-color: rgba(74, 144, 217, 0.2); }
 
+GtkLabel.separator, .sidebar GtkLabel.separator:backdrop,
+.sidebar .view GtkLabel.separator:backdrop {
+  color: #2e3436; }
+  GtkLabel.separator:backdrop, .sidebar GtkLabel.separator:backdrop,
+  .sidebar .view GtkLabel.separator:backdrop {
+    color: #54595a; }
 GtkLabel:insensitive {
   color: #8d9091; }
   GtkLabel:insensitive:backdrop {
     color: #c7c7c7; }
 
-.dim-label, .titlebar .subtitle, GtkCalendar.header .subtitle,
+.dim-label, GtkLabel.separator, .sidebar GtkLabel.separator:backdrop,
+.sidebar .view GtkLabel.separator:backdrop, .titlebar .subtitle, GtkCalendar.header .subtitle,
 .header-bar .subtitle {
   opacity: 0.55;
   text-shadow: none; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]