[gnome-shell/wip/snwh/theme-refactor: 20/34] theme: adjust padding in calendar popover



commit d50e06dcceed0cdab2992d5ffab84642e8289f3b
Author: Sam Hewitt <sam snwh org>
Date:   Thu Dec 19 10:48:32 2019 -0500

    theme: adjust padding in calendar popover
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

 .gitignore                                             | 1 +
 data/theme/gnome-shell-high-contrast.css               | 8 +++++---
 data/theme/gnome-shell-high-contrast.css.map           | 7 -------
 data/theme/gnome-shell-sass/widgets/_calendar.scss     | 7 +++----
 data/theme/gnome-shell-sass/widgets/_message-list.scss | 4 ++--
 data/theme/gnome-shell.css                             | 8 +++++---
 data/theme/gnome-shell.css.map                         | 7 -------
 7 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a23ea6b7b..98cd44361a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ data/org.gnome.shell.gschema.valid
 data/org.gnome.Shell.PortalHelper.desktop
 data/org.gnome.Shell.PortalHelper.service
 data/theme/.sass-cache
+data/theme/*.css.map
 docs/reference/*/*.args
 docs/reference/*/*.bak
 docs/reference/*/*.hierarchy
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css
index 6ce6a3115e..b4adb8c075 100644
--- a/data/theme/gnome-shell-high-contrast.css
+++ b/data/theme/gnome-shell-high-contrast.css
@@ -197,12 +197,14 @@ stage {
 .datemenu-calendar-column {
   spacing: 0;
   border: 0 solid black;
-  padding: 10px;
+  padding: 12px;
   padding-bottom: 3em;
   padding-top: 0; }
   .datemenu-calendar-column:ltr {
+    margin-right: 8px;
     border-left-width: 1px; }
   .datemenu-calendar-column:rtl {
+    margin-left: 8px;
     border-right-width: 1px; }
   .datemenu-calendar-column .datemenu-today-button {
     padding: 9px;
@@ -1282,7 +1284,7 @@ StEntry {
   padding: 0 12px; }
 
 .message-list-sections {
-  margin: 0;
+  margin: 4px;
   spacing: 6px; }
 
 .message-list-section,
@@ -1295,7 +1297,7 @@ StEntry {
   padding: 0; }
 
 .message-list-clear-button {
-  margin: 4px; }
+  margin: 4px 8px; }
 
 .message .message-title {
   color: #fff;
diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss 
b/data/theme/gnome-shell-sass/widgets/_calendar.scss
index 20d68a22da..c19743713e 100644
--- a/data/theme/gnome-shell-sass/widgets/_calendar.scss
+++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss
@@ -10,13 +10,12 @@
 .datemenu-calendar-column {
   spacing: 0;
   border: 0 solid $bubble_borders_color;
-  padding: $base_padding + $base_margin;
+  padding: $base_padding * 2;
   padding-bottom: 3em; // account for the notifications clear button
   padding-top:0;
 
-  &:ltr { border-left-width: 1px; }
-  &:rtl { border-right-width: 1px; }
-
+  &:ltr {margin-right: $base_margin * 2; border-left-width: 1px; }
+  &:rtl {margin-left: $base_margin * 2; border-right-width: 1px; }
 
   // today button (the date)
   .datemenu-today-button {
diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss 
b/data/theme/gnome-shell-sass/widgets/_message-list.scss
index 9edc7b145e..97ad5e6955 100644
--- a/data/theme/gnome-shell-sass/widgets/_message-list.scss
+++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss
@@ -8,7 +8,7 @@
 }
 
 .message-list-sections {
-  margin:0;
+  margin:$base_margin;
   spacing: $base_spacing;
 }
 
@@ -24,7 +24,7 @@
 
 // clear button
 .message-list-clear-button {
-  margin:$base_margin;
+  margin:$base_margin $base_margin*2;
   .button {
     @extend %button;
   }
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index f9195fbe4e..e309eca5b1 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -197,12 +197,14 @@ stage {
 .datemenu-calendar-column {
   spacing: 0;
   border: 0 solid #2d2d2d;
-  padding: 10px;
+  padding: 12px;
   padding-bottom: 3em;
   padding-top: 0; }
   .datemenu-calendar-column:ltr {
+    margin-right: 8px;
     border-left-width: 1px; }
   .datemenu-calendar-column:rtl {
+    margin-left: 8px;
     border-right-width: 1px; }
   .datemenu-calendar-column .datemenu-today-button {
     padding: 9px;
@@ -1285,7 +1287,7 @@ StEntry {
   padding: 0 12px; }
 
 .message-list-sections {
-  margin: 0;
+  margin: 4px;
   spacing: 6px; }
 
 .message-list-section,
@@ -1298,7 +1300,7 @@ StEntry {
   padding: 0; }
 
 .message-list-clear-button {
-  margin: 4px; }
+  margin: 4px 8px; }
 
 .message .message-title {
   color: #eeeeec;


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