[gnome-shell/wip/snwh/sass-cleanup] theme: refinements to the popovers



commit 214a854dfe39f5cfe4e42c137ee6ed68629db771
Author: Sam Hewitt <sam snwh org>
Date:   Thu Dec 5 14:54:29 2019 -0500

    theme: refinements to the popovers

 data/theme/gnome-shell-sass/widgets/_calendar.scss     |  3 ++-
 data/theme/gnome-shell-sass/widgets/_message-list.scss |  2 +-
 data/theme/gnome-shell-sass/widgets/_popovers.scss     | 16 +++++++---------
 data/theme/gnome-shell-sass/widgets/_slider.scss       |  2 +-
 4 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss 
b/data/theme/gnome-shell-sass/widgets/_calendar.scss
index 75b3b725a2..6e86490a72 100644
--- a/data/theme/gnome-shell-sass/widgets/_calendar.scss
+++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss
@@ -11,7 +11,8 @@
        spacing: 0;
        border: 0 solid $bubble_borders_color;
        padding: $base_padding + $base_margin;
-       padding-bottom: 3em;
+       padding-bottom: 3em; // account for the notifications clear button
+       padding-top:0;
 
        &:ltr { border-left-width: 1px; }
        &:rtl { border-right-width: 1px; }
diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss 
b/data/theme/gnome-shell-sass/widgets/_message-list.scss
index fbcec05adf..48c38ac634 100644
--- a/data/theme/gnome-shell-sass/widgets/_message-list.scss
+++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss
@@ -4,7 +4,7 @@
 // main list
 .message-list {
        width: 31.5em;
-       padding: $base_padding * 2;
+       padding: 0 $base_padding * 2;
 }
 
 .message-list-sections {
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss 
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index 1492dda6e4..ad084596df 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -1,14 +1,16 @@
 /* Popovers/Menus */
 
+$popover_arrow_height: 12px;
+
 //.the popover itself
 .popup-menu-boxpointer,
 .candidate-popup-boxpointer {
        -arrow-border-radius: $base_border_radius+4;
        -arrow-background-color: $bg_color;
        -arrow-border-width: 1px;
-       -arrow-border-color: $borders_color;
-       -arrow-base: 24px;
-       -arrow-rise: 11px;
+       -arrow-border-color: lighten($osd_outer_borders_color, 4%);
+       -arrow-base: $popover_arrow_height * 2;
+       -arrow-rise: $popover_arrow_height;
        -arrow-box-shadow: 0 1px 3px rgba(0,0,0,0.5); // dreaming bugzilla #689995
 }
 
@@ -72,14 +74,10 @@
        border-top: 1px solid transparentize($borders_color, 0.2);
        border-bottom: 1px solid transparentize($borders_color, 0.2);
 
-       .popup-menu-item {
-               &:hover {
-                       background-color: darken($bg_color, 7%);
-               }
-       }
+       .popup-menu-item:hover {background-color: darken($bg_color, 7%);}
 }
 
-// container for check marks, etc.
+// container for radio and check boxes
 .popup-menu-ornament {
        text-align: right;
        width: 1.2em;
diff --git a/data/theme/gnome-shell-sass/widgets/_slider.scss 
b/data/theme/gnome-shell-sass/widgets/_slider.scss
index 4c67b64ddc..f6e2eb7fc5 100644
--- a/data/theme/gnome-shell-sass/widgets/_slider.scss
+++ b/data/theme/gnome-shell-sass/widgets/_slider.scss
@@ -6,7 +6,7 @@ $slider_size: 15px;
        height: $slider_size;
        // slider trough
        -barlevel-height: 3px; // has to be an odd number
-       -barlevel-background-color: lighten($borders_color, 5%); //background of the trough
+       -barlevel-background-color: $borders_color; //background of the trough
        -barlevel-border-width: 1px; 
        -barlevel-border-color: $borders_color; // trough border color
        // fill style


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