[gnome-clocks/bilelmoussaoui/clean] CSS: remove unused classes



commit 0f0128057c1abdd2dd1c85a3e4c1021228f871c9
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Apr 4 12:59:37 2020 +0200

    CSS: remove unused classes

 data/css/gnome-clocks.css              | 121 +++++++--------------------------
 data/css/gnome-clocks.highcontrast.css |  30 --------
 2 files changed, 25 insertions(+), 126 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index eea6023..97247ff 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -19,25 +19,9 @@ label.destructive-action {
     margin: 18px 6px;
 }
 
-
-/* content view */
-
-.tile {
-    padding: 12px;
-    background-color: transparent;
-}
-
-.tile .tile-label {
-    font-size: 32pt;
-}
-
-.tile .name-label {
-    padding-top: 0.5em;
-}
-
-.tile .name-icon {
-    padding-top: 0.5em;
-    padding-right: 8px;
+.pill-button {
+    border-radius: 9999px;
+    -gtk-outline-radius: 9999px;
 }
 
 /* alarms */
@@ -90,69 +74,18 @@ row.snoozing {
     font-size: 32pt;
 }
 
-.clocks-spinbutton {
-    font-size: 48pt;
-}
+/* Timer Panel */
 
 .clocks-timer-label {
     font-size: 48pt;
 }
 
-.clocks-analog-frame.trough {
-    color: mix(@theme_fg_color, @theme_bg_color, 0.85);
-}
-
-.clocks-analog-frame.progress {
-    color: mix(@theme_fg_color, @theme_bg_color, 0.5);
-}
-
-.clocks-analog-frame.progress-fast {
-    color: @theme_fg_color;
-}
-
-.clocks-laps-panel:dir(ltr) {
-    border-image: linear-gradient(to bottom,
-                                  mix(@borders,@theme_bg_color,0.5),
-                                  mix(@borders,@theme_bg_color,0.5))
-                  0 0 0 1 / 20px 0px 20px 1px stretch;
-}
-
-.clocks-laps-panel:dir(rtl) {
-    border-image: linear-gradient(to bottom,
-                                  mix(@borders,@theme_bg_color,0.5),
-                                  mix(@borders,@theme_bg_color,0.5))
-                  0 1 0 0 / 20px 1px 20px 0px stretch;
-}
-
-.clocks-laps-panel list,
-.clocks-laps-panel row {
-    background-color: transparent;
-}
-
-.clocks-laps-panel row {
-    padding-left: 20px;
-    padding-right: 20px;
-    font-size: 14pt;
-    border-image: linear-gradient(to bottom,
-                                  mix(@borders,@theme_bg_color,0.5),
-                                  mix(@borders,@theme_bg_color,0.5))
-                  0 0 1 0 / 0 20px 1px 20px stretch;
-}
-
-.clocks-laps-panel row:last-child {
-    border-image: none;
-    border-color: transparent;
-}
-
-.clocks-laps-panel .lap-time {
-    font-weight: bold;
-    padding-right: 20px;
+.clocks-spinbutton {
+    font-size: 48pt;
 }
 
-/* Timer Panel */
 /* disguise insensitive spinbuttons as normal labels */
 
-
 spinbutton.clocks-timer-label,
 spinbutton.clocks-timer-label button,
 spinbutton.clocks-timer-label entry {
@@ -170,18 +103,18 @@ spinbutton.clocks-timer-label button {
     color: transparent;
 }
 .timer-panel .small-button {
-  padding: 5px 9px
+       padding: 5px 9px
 }
 .timer-panel .large-button {
-  padding: 12px 16px;
+       padding: 12px 16px;
 }
 .timer-panel .timer-header {
-  font-size: 20pt;
-  font-weight: 700;
+       font-size: 20pt;
+       font-weight: 700;
 }
 .timer-countdown {
-  font-size: 40pt;
-  color: #9E9DA1;
+       font-size: 40pt;
+       color: #9E9DA1;
 }
 
 @keyframes clocks-blink {
@@ -190,15 +123,16 @@ spinbutton.clocks-timer-label button {
 }
 
 .timer-countdown.timer-paused {
-  color: #9E9DA1;
-  animation-name: clocks-blink;
-  animation-iteration-count: infinite;
-  animation-timing-function: cubic-bezier(1.0,0,0,1.0);
-  animation-duration: 1s;
+       color: #9E9DA1;
+       animation-name: clocks-blink;
+       animation-iteration-count: infinite;
+       animation-timing-function: cubic-bezier(1.0,0,0,1.0);
+       animation-duration: 1s;
 }
 .timer-countdown.timer-running {
-  color: #428be5;
+       color: #428be5;
 }
+
 /* Stopwatch Panel */
 .stopwatch-panel .large-button {
     padding: 6px 32px;
@@ -246,11 +180,6 @@ spinbutton.clocks-timer-label button {
     color: black;
 }
 
-.pill-button {
-    border-radius: 9999px;
-    -gtk-outline-radius: 9999px;
-}
-
 /* World */
 
 .clock-title {
@@ -273,26 +202,26 @@ spinbutton.clocks-timer-label button {
 }
 
 .none .clock-time {
-  background: #f6f5f4;
+       background: #f6f5f4;
 }
 
 .night .clock-time {
-  background: #a0a2b7;
+       background: #a0a2b7;
 }
 
 .astro .clock-time {
-  background: #c6adaa;
+       background: #c6adaa;
 }
 
 .naut .clock-time {
-  background: #ecb89c;
+       background: #ecb89c;
 }
 
 .civil .clock-time {
-  background: #FAE189;
+       background: #FAE189;
 }
 
 .day .clock-time {
-  background: #fcf7b0;
+       background: #fcf7b0;
 }
 
diff --git a/data/css/gnome-clocks.highcontrast.css b/data/css/gnome-clocks.highcontrast.css
index 3f9fc2d..9bff5f4 100644
--- a/data/css/gnome-clocks.highcontrast.css
+++ b/data/css/gnome-clocks.highcontrast.css
@@ -19,36 +19,6 @@ row.snoozing {
     font-weight: bold;
 }
 
-.alarm-tile,
-.alarm-tile:backdrop,
-.tile.prelight .alarm-tile,
-.tile.prelight .alarm-tile:backdrop {
-    color: @theme_fg_color;
-    text-shadow: none;
-    background-image: none;
-    background-color: @theme_bg_color;
-    border: 2px solid rgb(141, 141, 141);
-}
-
-.active .alarm-tile,
-.active .alarm-tile:backdrop,
-.tile.prelight .active .alarm-tile,
-.tile.prelight .active .alarm-tile:backdrop {
-    color: @theme_selected_fg_color;
-    background-image: none;
-    background-color: @theme_selected_bg_color;
-}
-
-.snoozing .alarm-tile,
-.snoozing .alarm-tile:backdrop,
-.tile.prelight .snoozing .alarm-tile,
-.tile.prelight .snoozing .alarm-tile:backdrop {
-    color: @theme_fg_color;
-    text-shadow: none;
-    background-image: none;
-    background-color: @warning_color;
-}
-
 /* World */
 
 .clock-time {


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