[gnome-calendar] year-view: popover eye candy



commit 489100ad9446dfd52bfb83b4f0e3b2ddb4e8223c
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Tue Jan 27 17:25:39 2015 -0500

    year-view: popover eye candy

 data/theme/gtk-styles.css |   19 ++++++++++++++-----
 data/ui/year-view.ui      |    1 -
 2 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index dd08bfa..4e01023 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -152,19 +152,28 @@ GcalYearView GtkButton {
 
 GtkPopover.popover-sidebar {
     background-color: @theme_bg_color;
+    padding: 0;
+}
+
+GtkPopover.popover-sidebar GtkBox {
+    border-top-left-radius: 6px;
+    border-top-right-radius: 6px;
+}
+
+GtkPopover.popover-sidebar GtkListBox {
+    border-radius: 6px;
 }
 
 GtkPopover.popover-sidebar GtkScrolledWindow {
-    border-bottom-width: 0;
+    border-width: 0;
 }
 
 GtkPopover.popover-sidebar GtkButton {
+    border-radius: 6px;
     border-top-left-radius: 0;
     border-top-right-radius: 0;
-}
-
-GtkPopover.popover-sidebar GtkBox {
-  border-width: 1px 1px 0 1px;
+    border-style: solid none none;
+    box-shadow: none;
 }
 
 GcalEventWidget {
diff --git a/data/ui/year-view.ui b/data/ui/year-view.ui
index 582c784..fdf0ac0 100644
--- a/data/ui/year-view.ui
+++ b/data/ui/year-view.ui
@@ -109,7 +109,6 @@
   </template>
   <object class="GtkPopover" id="popover">
     <property name="relative_to">navigator</property>
-    <property name="border_width">6</property>
     <style>
       <class name="popover-sidebar" />
     </style>


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