[gnome-calendar] search-view: style it to better fit the HIG stardard



commit d5d1d374111865a8152fc5416cab70e7c0499bfb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jan 7 17:22:20 2015 -0200

    search-view: style it to better fit the HIG stardard

 data/theme/gtk-styles.css |   11 ++---------
 data/ui/search-view.ui    |    3 +++
 2 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index fc00d73..a7b07ef 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -93,14 +93,7 @@ GcalEventWidget.color-light:backdrop {
     border-top-right-radius: 0px;
 }
 
-GcalSearchView > GtkViewport {
-  background-color: @theme_bg_color;
+.search-viewport {
+  background-color: @theme_base_color;
 }
 
-.search-list {
-  border-bottom: 0px;
-}
-
-.search-list > GtkListBoxRow {
-  border-bottom: solid 1px @borders;
-}
diff --git a/data/ui/search-view.ui b/data/ui/search-view.ui
index 729ac86..cfb8604 100644
--- a/data/ui/search-view.ui
+++ b/data/ui/search-view.ui
@@ -66,6 +66,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="shadow_type">none</property>
+                <style>
+                  <class name="search-viewport" />
+                </style>
                 <child>
                   <object class="GtkGrid" id="search_grid">
                     <property name="visible">True</property>


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