[gnome-shell-sass] theme: Move .world-clocks-button before .weather-button
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme: Move .world-clocks-button before .weather-button
- Date: Thu, 6 Feb 2020 20:54:49 +0000 (UTC)
commit e2ca35a3dee8e5951e5bcafc6378b8b52578ac1b
Author: nana-4 <hnmaigo gmail com>
Date: Thu Feb 6 22:15:19 2020 +0900
theme: Move .world-clocks-button before .weather-button
As per the layout.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957
widgets/_calendar.scss | 79 +++++++++++++++++++++++++-------------------------
1 file changed, 39 insertions(+), 40 deletions(-)
---
diff --git a/widgets/_calendar.scss b/widgets/_calendar.scss
index 79b2784..5f2c8d9 100644
--- a/widgets/_calendar.scss
+++ b/widgets/_calendar.scss
@@ -168,6 +168,45 @@
}
}
+/* World clocks */
+.world-clocks-button {
+ @include notification_bubble;
+ padding: $base_padding * 2;
+
+ .world-clocks-grid {
+ spacing-rows: $base_spacing;
+ spacing-columns: $base_spacing * 2;
+ }
+
+ // title
+ .world-clocks-header {
+ color: desaturate(darken($fg_color,40%), 10%);
+ font-weight: bold;
+ }
+
+ // city label
+ .world-clocks-city {
+ color: $fg_color;
+ @include fontsize($base_font_size);
+ font-weight: normal;
+ }
+
+ // timezone time
+ .world-clocks-time {
+ font-weight: bold;
+ color: $fg_color;
+ font-feature-settings: "lnum";
+ @include fontsize($base_font_size);
+ text-align: right;
+ }
+
+ // timezone offset label
+ .world-clocks-timezone {
+ color: darken($fg_color,20%);
+ font-feature-settings: "tnum";
+ @include fontsize($base_font_size - 1);
+ }
+}
/* Weather */
.weather-button {
@@ -210,43 +249,3 @@
font-weight: bold;
}
}
-
-/* World clocks */
-.world-clocks-button {
- @include notification_bubble;
- padding: $base_padding * 2;
-
- .world-clocks-grid {
- spacing-rows: $base_spacing;
- spacing-columns: $base_spacing * 2;
- }
-
- // title
- .world-clocks-header {
- color: desaturate(darken($fg_color,40%), 10%);
- font-weight: bold;
- }
-
- // city label
- .world-clocks-city {
- color: $fg_color;
- @include fontsize($base_font_size);
- font-weight: normal;
- }
-
- // timezone time
- .world-clocks-time {
- font-weight: bold;
- color: $fg_color;
- font-feature-settings: "lnum";
- @include fontsize($base_font_size);
- text-align: right;
- }
-
- // timezone offset label
- .world-clocks-timezone {
- color: darken($fg_color,20%);
- font-feature-settings: "tnum";
- @include fontsize($base_font_size - 1);
- }
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]