[gnome-shell] theme: Don't jump the today button on hover/focus



commit 260cce9d925426d2a4400cae4097d2a2166a1d11
Author: nana-4 <hnmaigo gmail com>
Date:   Sun Jan 12 23:31:36 2020 +0900

    theme: Don't jump the today button on hover/focus
    
    This seemed quite buggy as no other button jumps on hover/focus in the
    theme.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

 data/theme/gnome-shell-sass/widgets/_calendar.scss | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss 
b/data/theme/gnome-shell-sass/widgets/_calendar.scss
index ed2fa5f394..2e2495c5fb 100644
--- a/data/theme/gnome-shell-sass/widgets/_calendar.scss
+++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss
@@ -22,20 +22,13 @@
     padding: $base_padding * 1.5;
     margin: $base_margin;
     border: 1px solid transparent;
-
-    &:focus,
-    &:hover {
-      border-radius:$base_border_radius + 2px;
-      margin-top: $base_margin - 1px;
-      margin-bottom: $base_margin + 1px;
-    }
+    border-radius: $base_border_radius + 2px;
 
     &:hover { @include button(hover);}
     &:focus { @include button(focus);}
 
-    &:active { 
+    &:active {
       @include button(active);
-      margin: $base_margin;
     }
 
     // weekday label


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