[gnome-clocks/bilelmoussaoui/redesign-timer: 9/9] Specify large button style per panel



commit 9f6ee3de60d487d1ce86168195efc12e18c86a05
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Fri Jan 31 17:25:34 2020 +0100

    Specify large button style per panel

 data/css/gnome-clocks.css | 8 ++++----
 data/ui/stopwatch.ui      | 3 +++
 data/ui/timer.ui          | 3 +++
 3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 66e7baa..29eae7e 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -197,7 +197,7 @@ window > stack:backdrop {
     font-weight: bold;
     padding-right: 20px;
 }
-
+/* Timer Panel */
 /* disguise insensitive spinbuttons as normal labels */
 spinbutton.clocks-timer-label,
 spinbutton.clocks-timer-label button,
@@ -231,7 +231,7 @@ spinbutton.clocks-timer-label button {
 .round-button {
   border-radius: 9999px;
 }
-.large-button {
+.timer-panel .large-button {
   padding: 12px 18px;
 }
 .timer-countdown {
@@ -243,8 +243,8 @@ spinbutton.clocks-timer-label button {
 .timer-countdown.timer-running {
   color: #428be5;
 }
-/* Stopwatch */
-.large-button {
+/* Stopwatch Panel */
+.stopwatch-panel .large-button {
     padding: 6px 32px;
 }
 .lap-time {
diff --git a/data/ui/stopwatch.ui b/data/ui/stopwatch.ui
index 0d39b31..e5e6ad0 100644
--- a/data/ui/stopwatch.ui
+++ b/data/ui/stopwatch.ui
@@ -253,5 +253,8 @@
         <property name="position">0</property>
       </packing>
     </child>
+    <style>
+      <class name="stopwatch-panel" />
+    </style>
   </template>
 </interface>
diff --git a/data/ui/timer.ui b/data/ui/timer.ui
index c5a3700..f5e7f5a 100644
--- a/data/ui/timer.ui
+++ b/data/ui/timer.ui
@@ -77,5 +77,8 @@
         <property name="position">1</property>
       </packing>
     </child>
+    <style>
+      <class name="timer-panel" />
+    </style>
   </template>
 </interface>


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