[gtk+] HighContrast: Improve GtkCalendar drawing



commit 27afd624cdeb0e57dcc58e8d55e4af8d72777b0b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 8 10:02:49 2015 +0200

    HighContrast: Improve GtkCalendar drawing
    
    Make days gray that are not in the current month.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753357

 gtk/theme/HighContrast/_common.scss |    3 +++
 gtk/theme/HighContrast/gtk.css      |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 893d0ef..ef3c22d 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2079,6 +2079,9 @@ GtkCalendar {
       border-bottom-color: mix($backdrop_borders_color,$backdrop_bg_color,50%);
     }
   }
+
+  &:inconsistent, &:inconsistent:backdrop,
+  &.highlight, &.highlight:backdrop { color: gtkalpha(currentColor, 0.55); }
 }
 
 /***********
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 1d4b653..559205d 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -2281,6 +2281,8 @@ GtkCalendar {
     GtkCalendar.header:backdrop {
       background-image: linear-gradient(to bottom, #fff);
       border-bottom-color: #c5c5c5; }
+  GtkCalendar:inconsistent, GtkCalendar:inconsistent:backdrop, GtkCalendar.highlight, 
GtkCalendar.highlight:backdrop {
+    color: alpha(currentColor,0.55); }
 
 /***********
  * Dialogs *


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