[gnome-clocks/wip/analogstopwatchtimer] Use different css classes for the time labels



commit 630c06c53e79766763c6e2e3572b8f907ccc07ae
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Aug 16 18:11:31 2013 +0200

    Use different css classes for the time labels
    
    This gives us more freedom in each panel

 data/css/gnome-clocks.css |   12 +++++++++---
 data/ui/alarm.ui          |    2 +-
 data/ui/stopwatch.ui      |    2 +-
 data/ui/timer.ui          |    6 +++---
 data/ui/world.ui          |    6 +++---
 5 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index da88079..0fb109a 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -98,11 +98,12 @@
     background-image: none;
 }
 
-.clocks-time-label {
-    font-size: 48px;
+.clocks-standalone-label,
+.clocks-ringing-label {
+    font-size: 64px;
 }
 
-.clocks-secondary-time-label {
+.clocks-secondary-standalone-label {
     font-size: 18px;
 }
 
@@ -118,6 +119,11 @@
     font-size: 48px;
 }
 
+.clocks-stopwatch-label,
+.clocks-timer-label {
+    font-size: 48px;
+}
+
 .clocks-go {
     background-image: linear-gradient(to bottom,
                                       @clocks_go_color_a,
diff --git a/data/ui/alarm.ui b/data/ui/alarm.ui
index ec66be8..213374e 100644
--- a/data/ui/alarm.ui
+++ b/data/ui/alarm.ui
@@ -56,7 +56,7 @@
         <property name="halign">center</property>
         <property name="valign">center</property>
         <style>
-          <class name="clocks-time-label"/>
+          <class name="clocks-ringing-label"/>
         </style>
       </object>
       <packing>
diff --git a/data/ui/stopwatch.ui b/data/ui/stopwatch.ui
index 1ce7bb4..767995b 100644
--- a/data/ui/stopwatch.ui
+++ b/data/ui/stopwatch.ui
@@ -27,7 +27,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <style>
-                  <class name="clocks-time-label"/>
+                  <class name="clocks-stopwatch-label"/>
                 </style>
               </object>
               <packing>
diff --git a/data/ui/timer.ui b/data/ui/timer.ui
index 75f7c6d..c1b0ae5 100644
--- a/data/ui/timer.ui
+++ b/data/ui/timer.ui
@@ -81,7 +81,7 @@
                 <property name="can_focus">False</property>
                 <property name="label">∶</property>
                 <style>
-                  <class name="clocks-time-label"/>
+                  <class name="clocks-timer-label"/>
                 </style>
               </object>
               <packing>
@@ -120,7 +120,7 @@
                 <property name="can_focus">False</property>
                 <property name="label">∶</property>
                 <style>
-                  <class name="clocks-time-label"/>
+                  <class name="clocks-timer-label"/>
                 </style>
               </object>
               <packing>
@@ -219,7 +219,7 @@
             <property name="halign">center</property>
             <property name="valign">center</property>
             <style>
-              <class name="clocks-time-label"/>
+              <class name="clocks-timer-label"/>
             </style>
           </object>
           <packing>
diff --git a/data/ui/world.ui b/data/ui/world.ui
index a681911..b05dd78 100644
--- a/data/ui/world.ui
+++ b/data/ui/world.ui
@@ -72,7 +72,7 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <style>
-              <class name="clocks-time-label"/>
+              <class name="clocks-standalone-label"/>
             </style>
           </object>
           <packing>
@@ -87,7 +87,7 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <style>
-              <class name="clocks-secondary-time-label"/>
+              <class name="clocks-secondary-standalone-label"/>
             </style>
           </object>
           <packing>
@@ -113,7 +113,7 @@
         <property name="margin_bottom">24</property>
         <property name="column_spacing">12</property>
         <style>
-          <class name="clocks-secondary-time-label"/>
+          <class name="clocks-secondary-standalone-label"/>
         </style>
         <child>
           <object class="GtkLabel" id="label3">


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