[gnome-themes-standard] Improve calendars styling



commit edf91985f060d1c5e1dfe4a43e401f3fe15ebc6e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jan 19 04:44:59 2011 +0100

    Improve calendars styling

 themes/Adwaita/gtk-3.0/gtk.css |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index a05b3bf..06bff89 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -480,15 +480,38 @@ GtkIconView {
     border-radius: 0;
 }
 
-GtkScrolledWindow.frame {
+/* Calendars */
+GtkCalendar.view {
+    border-radius: 3;
     border-style: solid;
-    border-color: darker (@bg_color);
     border-width: 1;
+    padding: 2;
+}
+
+GtkCalendar.header {
     border-radius: 0;
-    padding: 0;
+    background-image: -gtk-gradient (linear,
+                                     left top,
+                                     left bottom,
+                                     from (#f7f7f7),
+                                     to (#d3d3d3));
+    border-width: 0;
 }
 
-.cell {
+GtkCalendar.button {
+    background-image: -gtk-gradient (linear,
+                                     left top,
+                                     left bottom,
+                                     from (rgba (0, 0, 0, 0)),
+                                     to (rgba (0, 0, 0, 0)));
+}
+
+.highlight,
+GtkCalendar.highlight {
+    background-color: @selected_bg_color;
+    color: @selected_fg_color;
+    border-radius: 0;
+    padding: 0;
     border-width: 0;
 }
 



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