[gnome-calendar] theme: use different style classes for navbar labels
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] theme: use different style classes for navbar labels
- Date: Thu, 4 Dec 2014 22:45:32 +0000 (UTC)
commit 0856345ace079f2974fb48f52a3227f5a1e11fb5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Dec 2 16:58:42 2014 -0200
theme: use different style classes for navbar labels
data/theme/gtk-styles.css | 13 ++++++++++---
data/ui/nav_bar.ui | 4 ++--
2 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index cd4e853..075a164 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -9,8 +9,15 @@
background-image: none;
}
-.nav-header {
- font: bold 12;
+/* nav-bar labels */
+.start-header {
+ font: bold 18;
+ color: @theme_selected_bg_color;
+ padding: 12px;
+}
+
+.end-header {
+ font: bold 18;
padding: 12px;
}
@@ -56,4 +63,4 @@ GcalEventWidget.color-light {
GcalEventWidget.color-light:backdrop {
color: rgba(0, 0, 0, 0.3);
-}
\ No newline at end of file
+}
diff --git a/data/ui/nav_bar.ui b/data/ui/nav_bar.ui
index d18dba3..67129f7 100644
--- a/data/ui/nav_bar.ui
+++ b/data/ui/nav_bar.ui
@@ -12,7 +12,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<style>
- <class name="nav-header"/>
+ <class name="start-header"/>
</style>
</object>
<packing>
@@ -27,7 +27,7 @@
<property name="halign">end</property>
<property name="hexpand">True</property>
<style>
- <class name="nav-header"/>
+ <class name="end-header"/>
<class name="dim-label"/>
</style>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]