[gnome-shell/wip/snwh/style-updates] theme: saner padding in the calendar
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/style-updates] theme: saner padding in the calendar
- Date: Thu, 30 Dec 2021 18:58:22 +0000 (UTC)
commit 348af11089b3b32cb0a180b53370209b91311726
Author: Sam Hewitt <sam snwh org>
Date: Thu Dec 30 15:15:49 2021 -0330
theme: saner padding in the calendar
data/theme/gnome-shell-sass/widgets/_calendar.scss | 19 ++++++-------------
.../theme/gnome-shell-sass/widgets/_message-list.scss | 12 ++++++++----
data/theme/gnome-shell-sass/widgets/_panel.scss | 12 ++++++++++++
3 files changed, 26 insertions(+), 17 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss
b/data/theme/gnome-shell-sass/widgets/_calendar.scss
index b8ad8e59b6..d985610293 100644
--- a/data/theme/gnome-shell-sass/widgets/_calendar.scss
+++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss
@@ -1,14 +1,5 @@
/* Date/Time Menu */
-.clock-display-box {
- spacing: 2px;
-
- .clock {
- padding-left: $base_padding * 2;
- padding-right: $base_padding * 2;
- }
-}
-
// overall menu
#calendarArea {
padding:0;
@@ -17,11 +8,13 @@
// Calendar menu side column
.datemenu-calendar-column {
spacing: $base_spacing;
- border: 0 solid $bubble_borders_color;
- padding: 0 $base_padding * 2;
+ border: none;
+ border-style: solid;
+ border-color: $borders_color;
+ padding: 0;
- &:ltr {margin-right: $base_margin * 2; border-left-width: 1px; }
- &:rtl {margin-left: $base_margin * 2; border-right-width: 1px; }
+ &:ltr {margin-right: 0; margin-left: $base_margin; padding-left: $base_padding; border-left-width: 1px; }
+ &:rtl {margin-left: 0; margin-right: $base_margin; padding-right: $base_padding; border-right-width: 1px; }
.datemenu-displays-section {
}
diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss
b/data/theme/gnome-shell-sass/widgets/_message-list.scss
index bb9239f494..f77d81d98f 100644
--- a/data/theme/gnome-shell-sass/widgets/_message-list.scss
+++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss
@@ -3,15 +3,19 @@
// main list
.message-list {
- width: 31.5em;
- padding: 0 $base_padding * 2;
+ width: 32em;
+ padding: 0;
.message-list-placeholder { spacing: 12px; }
}
.message-list-sections {
spacing: $base_spacing;
- margin: 0 $base_margin * 4; // to account for scrollbar
+ margin: 0;
+
+ // to account for scrollbar
+ &:ltr {margin-right: $base_margin * 4; }
+ &:rtl {margin-left: $base_margin * 4;}
}
.message-list-section,
@@ -32,7 +36,7 @@
// its color when focusing.
border-width: 2px;
border-color: transparent;
- border-radius: 99px;
+ border-radius: 32px;
border-style: solid;
&:focus {
diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss
index 042a53fd3b..ad63e24ba0 100644
--- a/data/theme/gnome-shell-sass/widgets/_panel.scss
+++ b/data/theme/gnome-shell-sass/widgets/_panel.scss
@@ -173,3 +173,15 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
padding: 0 $base_padding;
spacing: $base_spacing;
}
+
+
+// Clock
+
+.clock-display-box {
+ spacing: 2px;
+
+ .clock {
+ padding-left: $base_padding * 2;
+ padding-right: $base_padding * 2;
+ }
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]