[gnome-shell-sass] theme: use a widgets.scss file for widget import



commit 7bd15c4a2e542ad6071a75b8909bdd3998c3d217
Author: Sam Hewitt <sam snwh org>
Date:   Fri Dec 20 10:45:58 2019 -0500

    theme: use a widgets.scss file for widget import
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

 _common.scss  | 44 +++++---------------------------------------
 _widgets.scss | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 39 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 72315c9..30dd6e4 100644
--- a/_common.scss
+++ b/_common.scss
@@ -63,40 +63,6 @@ stage {
   color: $fg_color;
 }
 
-/* WIDGETS */
-@import 'widgets/app-grid';
-@import 'widgets/app-switcher';
-@import 'widgets/buttons';
-@import 'widgets/calendar';
-@import 'widgets/check-box';
-@import 'widgets/corner-ripple';
-@import 'widgets/dash';
-@import 'widgets/dialogs';
-@import 'widgets/end-session-dialog';
-@import 'widgets/entries';
-@import 'widgets/hotplug';
-@import 'widgets/ibus-popup';
-@import 'widgets/keyboard';
-@import 'widgets/login-dialog';
-@import 'widgets/looking-glass';
-@import 'widgets/message-list';
-@import 'widgets/notifications';
-@import 'widgets/misc';
-@import 'widgets/network-dialog';
-@import 'widgets/osd';
-@import 'widgets/overview';
-@import 'widgets/panel';
-@import 'widgets/popovers';
-@import 'widgets/screen-shield';
-@import 'widgets/scrollbars';
-@import 'widgets/search-entry';
-@import 'widgets/search-results';
-@import 'widgets/slider';
-@import 'widgets/switches';
-@import 'widgets/tiled-previews';
-@import 'widgets/window-picker';
-@import 'widgets/workspace-switcher';
-
 /* Common Stylings */
 
 // Text
@@ -180,7 +146,7 @@ stage {
   border-color: $bubble_borders_color;
   border-style: solid;
   border-width: 0 !important;
-  border-top-width: 1px !important;
+  border-right-width: 1px !important;
   box-shadow:none !important;
 
   &:insensitive { @include button(insensitive);}
@@ -190,16 +156,16 @@ stage {
 
   // radius is 2 pixel less to fit in bubble
   &:first-child {
-    border-right-width: 1px !important;
-    border-radius: 0px 0px 0px $modal_radius - 2px;
+    border-radius: 0 0 0 $modal_radius - 2px;
   }
+
   &:last-child {
     border-right-width: 0 !important;
-    border-radius: 0px 0px $modal_radius - 2px 0px;
+    border-radius: 0 0 $modal_radius - 2px 0;
   }
   
   &:first-child:last-child {
-    border-radius: 0px 0px $modal_radius - 2px $modal_radius - 2px;
+    border-radius: 0 0 $modal_radius - 2px $modal_radius - 2px;
   }
 }
 
diff --git a/_widgets.scss b/_widgets.scss
new file mode 100644
index 0000000..d2552c5
--- /dev/null
+++ b/_widgets.scss
@@ -0,0 +1,39 @@
+//
+// Shell widgets stylesheets are placed in separate .scss files
+// in 'widgets' and imported into the main stylesheet in this file.
+// To create or update a widget for the shell modify the list below.
+//
+
+/* WIDGETS */
+@import 'widgets/app-grid';
+@import 'widgets/app-switcher';
+@import 'widgets/buttons';
+@import 'widgets/calendar';
+@import 'widgets/check-box';
+@import 'widgets/corner-ripple';
+@import 'widgets/dash';
+@import 'widgets/dialogs';
+@import 'widgets/end-session-dialog';
+@import 'widgets/entries';
+@import 'widgets/hotplug';
+@import 'widgets/ibus-popup';
+@import 'widgets/keyboard';
+@import 'widgets/login-dialog';
+@import 'widgets/looking-glass';
+@import 'widgets/message-list';
+@import 'widgets/notifications';
+@import 'widgets/misc';
+@import 'widgets/network-dialog';
+@import 'widgets/osd';
+@import 'widgets/overview';
+@import 'widgets/panel';
+@import 'widgets/popovers';
+@import 'widgets/screen-shield';
+@import 'widgets/scrollbars';
+@import 'widgets/search-entry';
+@import 'widgets/search-results';
+@import 'widgets/slider';
+@import 'widgets/switches';
+@import 'widgets/tiled-previews';
+@import 'widgets/window-picker';
+@import 'widgets/workspace-switcher';
\ No newline at end of file


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