From 87ca1e034f56b2ac15ceddbfeee7eb0fd75da835 Mon Sep 17 00:00:00 2001 From: nana-4 Date: Thu, 6 Feb 2020 22:15:19 +0900 Subject: [PATCH] theme: Move .world-clocks-button before .weather-button As per the layout. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957 --- .../gnome-shell-sass/widgets/_calendar.scss | 79 +++++++++---------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss b/data/theme/gnome-shell-sass/widgets/_calendar.scss index 79b2784fb..5f2c8d9ce 100644 --- a/data/theme/gnome-shell-sass/widgets/_calendar.scss +++ b/data/theme/gnome-shell-sass/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); - } -}