[gnome-clocks] Remove clocks-list style



commit ed199c76608fda451e8368825eb55f539f47b4c9
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Tue Dec 14 17:08:21 2021 +0100

    Remove clocks-list style
    
    And give new margin values to the alarm setup dialog.

 data/css/gnome-clocks.css        |  4 ----
 data/ui/alarm-face.ui            |  5 ++++-
 data/ui/alarm-setup-dialog.ui    | 12 +++++++-----
 data/ui/stopwatch-face.ui        |  5 ++++-
 data/ui/timer-face.ui            |  5 ++++-
 data/ui/world-face.ui            |  5 ++++-
 data/ui/world-location-dialog.ui |  7 ++++---
 7 files changed, 27 insertions(+), 16 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 7425e799..9f8d7b45 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -9,10 +9,6 @@ window > stack:backdrop {
 
 /* Shared */
 
-.clocks-list {
-       margin: 18px 6px;
-}
-
 .large-button {
        padding: 6px;
 }
diff --git a/data/ui/alarm-face.ui b/data/ui/alarm-face.ui
index 500c0f09..fd5291c4 100644
--- a/data/ui/alarm-face.ui
+++ b/data/ui/alarm-face.ui
@@ -31,9 +31,12 @@
                     <property name="valign">start</property>
                     <property name="selection-mode">none</property>
                     <property name="activate-on-single-click">True</property>
+                    <property name="margin-top">18</property>
+                    <property name="margin-bottom">18</property>
+                    <property name="margin-start">12</property>
+                    <property name="margin-end">12</property>
                     <style>
                       <class name="boxed-list"/>
-                      <class name="clocks-list"/>
                     </style>
                   </object>
                 </child>
diff --git a/data/ui/alarm-setup-dialog.ui b/data/ui/alarm-setup-dialog.ui
index 3325f653..c93c811e 100644
--- a/data/ui/alarm-setup-dialog.ui
+++ b/data/ui/alarm-setup-dialog.ui
@@ -3,8 +3,8 @@
   <template class="ClocksAlarmSetupDialog" parent="GtkDialog">
     <property name="modal">True</property>
     <property name="destroy_with_parent">True</property>
-    <property name="default-height">550</property>
-    <property name="default-width">360</property>
+    <property name="default-width">520</property>
+    <property name="default-height">580</property>
     <property name="title" translatable="yes">New Alarm</property>
     <child internal-child="content_area">
       <object class="GtkBox">
@@ -15,10 +15,14 @@
               <object class="GtkBox">
                 <property name="spacing">12</property>
                 <property name="orientation">vertical</property>
+                <property name="margin-top">18</property>
+                <property name="margin-bottom">18</property>
+                <property name="margin-start">12</property>
+                <property name="margin-end">12</property>
                 <child>
                   <object class="GtkBox" id="time_box">
                     <property name="halign">center</property>
-                    <property name="margin_top">12</property>
+                    <property name="margin-bottom">12</property>
                     <property name="spacing">6</property>
                     <style>
                       <class name="clocks-alarm-setup-time"/>
@@ -114,7 +118,6 @@
                     </child>
                     <style>
                       <class name="boxed-list"/>
-                      <class name="clocks-list"/>
                     </style>
                   </object>
                 </child>
@@ -132,7 +135,6 @@
                     <property name="label" translatable="yes">R_emove Alarm</property>
                     <property name="use-underline">True</property>
                     <property name="halign">center</property>
-                    <property name="margin-bottom">12</property>
                     <signal name="clicked" handler="delete" swapped="no" />
                     <style>
                       <class name="destructive-action"/>
diff --git a/data/ui/stopwatch-face.ui b/data/ui/stopwatch-face.ui
index 623578c9..48b00ee1 100644
--- a/data/ui/stopwatch-face.ui
+++ b/data/ui/stopwatch-face.ui
@@ -131,9 +131,12 @@
                       <object class="GtkListBox" id="laps_list">
                         <property name="valign">start</property>
                         <property name="selection_mode">none</property>
+                        <property name="margin-top">18</property>
+                        <property name="margin-bottom">18</property>
+                        <property name="margin-start">12</property>
+                        <property name="margin-end">12</property>
                         <style>
                           <class name="boxed-list"/>
-                          <class name="clocks-list"/>
                         </style>
                       </object>
                     </child>
diff --git a/data/ui/timer-face.ui b/data/ui/timer-face.ui
index 3aa9c6f1..85634d43 100644
--- a/data/ui/timer-face.ui
+++ b/data/ui/timer-face.ui
@@ -48,9 +48,12 @@
                         <property name="valign">start</property>
                         <property name="selection_mode">none</property>
                         <property name="activate_on_single_click">False</property>
+                        <property name="margin-top">18</property>
+                        <property name="margin-bottom">18</property>
+                        <property name="margin-start">12</property>
+                        <property name="margin-end">12</property>
                         <style>
                           <class name="boxed-list"/>
-                          <class name="clocks-list"/>
                         </style>
                       </object>
                     </child>
diff --git a/data/ui/world-face.ui b/data/ui/world-face.ui
index 3aad098a..204e896a 100644
--- a/data/ui/world-face.ui
+++ b/data/ui/world-face.ui
@@ -30,10 +30,13 @@
                   <object class="GtkListBox" id="listbox">
                     <property name="valign">start</property>
                     <property name="selection-mode">none</property>
+                    <property name="margin-top">18</property>
+                    <property name="margin-bottom">18</property>
+                    <property name="margin-start">12</property>
+                    <property name="margin-end">12</property>
                     <signal name="row-activated" handler="item_activated" swapped="no"/>
                     <style>
                       <class name="boxed-list"/>
-                      <class name="clocks-list"/>
                     </style>
                   </object>
                 </child>
diff --git a/data/ui/world-location-dialog.ui b/data/ui/world-location-dialog.ui
index 94e98537..acf607cd 100644
--- a/data/ui/world-location-dialog.ui
+++ b/data/ui/world-location-dialog.ui
@@ -60,15 +60,16 @@
                 <child>
                   <object class="AdwClamp">
                     <property name="width_request">300</property>
-                    <property name="margin-start">12</property>
-                    <property name="margin-end">12</property>
                     <child>
                       <object class="GtkListBox" id="listbox">
                         <property name="valign">start</property>
                         <property name="selection_mode">none</property>
+                        <property name="margin-top">18</property>
+                        <property name="margin-bottom">18</property>
+                        <property name="margin-start">12</property>
+                        <property name="margin-end">12</property>
                         <signal name="row-activated" handler="item_activated" swapped="no"/>
                         <style>
-                          <class name="clocks-list"/>
                           <class name="boxed-list"/>
                         </style>
                       </object>


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