[gnome-shell/wip/snwh/sass-cleanup] theme: fix typo in panel radius



commit 68343c63fd15c7ddb7922d3c6505c4252caff40a
Author: Sam Hewitt <sam snwh org>
Date:   Wed Dec 18 15:56:32 2019 -0500

    theme: fix typo in panel radius

 data/theme/gnome-shell-sass/_common.scss        |  6 +++---
 data/theme/gnome-shell-sass/widgets/_panel.scss | 13 ++++++-------
 2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 12c887abdd..bb80f9ab25 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -55,8 +55,8 @@ $base_font_size: 11;
 $text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2));
 
 // icons
-// $base_icon_size: 1.09em;
-$base_icon_size: 16px;
+$base_icon_size: 1.09em;
+// $base_icon_size: 16px;
 
 // Stage
 stage {
@@ -65,7 +65,6 @@ stage {
 }
 
 /* WIDGETS */
-@import 'widgets/panel';
 @import 'widgets/app-grid';
 @import 'widgets/app-switcher';
 @import 'widgets/buttons';
@@ -87,6 +86,7 @@ stage {
 @import 'widgets/network-dialog';
 @import 'widgets/osd';
 @import 'widgets/overview';
+@import 'widgets/panel';
 @import 'widgets/popovers';
 @import 'widgets/screen-shield';
 @import 'widgets/scrollbars';
diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss
index cdf88c1a19..b55d449309 100644
--- a/data/theme/gnome-shell-sass/widgets/_panel.scss
+++ b/data/theme/gnome-shell-sass/widgets/_panel.scss
@@ -18,6 +18,11 @@ $panel_height: 1.86em;
   &.login-screen,
   &.lock-screen {
     background-color: transparent;
+    .panel-corner {
+      -panel_corner_radius: 0;
+      -panel-corner-background-color: transparent;
+      -panel-corner-border-color: transparent;
+    }
   }
 }
 
@@ -28,7 +33,7 @@ $panel_height: 1.86em;
 
 // the rounded outset corners
 .panel-corner {
-  -panel_corner_radius: $panel_corner_radius;
+  -panel-corner-radius: $panel_corner_radius;
   -panel-corner-background-color: $panel_bg_color;
   -panel-corner-border-width: 2px;
   -panel-corner-border-color: transparent;
@@ -36,12 +41,6 @@ $panel_height: 1.86em;
   &:active, &:overview, &:focus {
     -panel-corner-border-color: lighten($selected_bg_color,5%);
   }
-
-  &.lock-screen, &.login-screen, &.unlock-screen {
-    -panel_corner_radius: 0;
-    -panel-corner-background-color: transparent;
-    -panel-corner-border-color: transparent;
-  }
 }
 
 // panel menus


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