[gnome-shell/wip/snwh/sass-cleanup] theme: update variable name; include rename popover



commit f9e3f34372d6d2304a2ea86880ac5ff11c9b67b9
Author: Sam Hewitt <sam snwh org>
Date:   Mon Dec 2 10:29:50 2019 -0500

    theme: update variable name; include rename popover

 data/theme/gnome-shell-sass/_common.scss                     |  8 ++++----
 data/theme/gnome-shell-sass/widgets/_dash.scss               |  2 +-
 data/theme/gnome-shell-sass/widgets/_notifications.scss      |  2 +-
 data/theme/gnome-shell-sass/widgets/_popovers.scss           | 11 +++++++++++
 data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss |  2 +-
 5 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 20c80826dc..1fafd93ebc 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -33,7 +33,7 @@ $base_spacing: 6px;
 // border radii
 $base_border_radius: 5px;
 
-$dialog_border_radius:$base_border_radius * 2;
+$modal_radius:$base_border_radius * 2;
 
 // non-standard colors
 $bubble_borders_color: lighten($borders_color, if($variant=='light', 0%, 5%));
@@ -178,15 +178,15 @@ stage {
        &:active { @include button(active, $c:$active_bg_color, $tc:$fg_color); }
 
        &:first-child {
-               border-radius: 0px 0px 0px $dialog_border_radius;
+               border-radius: 0px 0px 0px $modal_radius;
        }
        &:last-child {
                border-right-width: 0px;
-               border-radius: 0px 0px $dialog_border_radius 0px;
+               border-radius: 0px 0px $modal_radius 0px;
        }
        &:first-child:last-child {
                border-right-width: 0px;
-               border-radius: 0px 0px $dialog_border_radius $dialog_border_radius;
+               border-radius: 0px 0px $modal_radius $modal_radius;
        }
 }
 
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index 6b061a1565..354e98c3de 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -1,7 +1,7 @@
 /* Dash */
 
 $dash_placeholder_size: 32px;
-$dash_border_radius: $dialog_border_radius * 1.5;
+$dash_border_radius: $modal_radius * 1.5;
 
 #dash {
        @extend %overview_panel;
diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss 
b/data/theme/gnome-shell-sass/widgets/_notifications.scss
index 1da5342ef4..1a5080deb7 100644
--- a/data/theme/gnome-shell-sass/widgets/_notifications.scss
+++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss
@@ -9,7 +9,7 @@ $notification_banner_width: 34em;
        width: $notification_banner_width;
        font-size: $base_font_size;
        margin: $base_margin;
-       border-radius: $dialog_border_radius;
+       border-radius: $modal_radius;
        border: if($variant == 'light', none, $bubble_borders_color);
        box-shadow: 0 1px 2px rgba(0,0,0,0.7);
 
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss 
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index b663e3e57e..7af413df85 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -82,6 +82,17 @@
 // Desktop background menu
 .background-menu { -boxpointer-gap: $base_margin; -arrow-rise: 0px; }
 
+
+// Rename popup
+.rename-folder-popup {
+       .rename-folder-popup-item {
+               spacing: 6px;
+               &:ltr, &:rtl { padding: 0, 12px; }
+       }
+}
+
+
+
 /* fallback menu
 - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled app menu 
inside the main app window itself rather than the top bar
 */
diff --git a/data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss 
b/data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss
index 59b0f7fbd5..cf5e6af66c 100644
--- a/data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss
+++ b/data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss
@@ -49,7 +49,7 @@
        border-bottom-left-radius:0 !important;
        border-right-width: 0 !important;
        &:rtl { 
-               border-radius: 0 $dialog_border_radius $dialog_border_radius 0; 
+               border-radius: 0 $modal_radius $modal_radius 0; 
                border-left-width: 0 !important;
        }
 


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