[gtk/wip/jimmac/row-transitions-and-spacing] Adwaita: row transitions and spacing




commit a76ee61e9792c7c90b89281f9ecd8830895cd30c
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Dec 9 11:52:49 2020 +0100

    Adwaita: row transitions and spacing
    
    - no fading out of row hovers. Many feel like it's a slow
      refresh rather than intentional effect.
    - give some margin to navigation lists
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3434

 gtk/theme/Adwaita/_common.scss | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ea5df7a045..2fb68a6f8e 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3249,12 +3249,8 @@ list {
 }
 
 row {
-  transition: all 150ms $ease-out-quad;
-
   @include focus-ring();
 
-  &:hover { transition: none; }
-
   &.activatable {
     &.has-open-popup, // this is for indicathing which row generated a popover see 
https://bugzilla.gnome.org/show_bug.cgi?id=754411
 
@@ -3614,7 +3610,7 @@ separator.sidebar {
     min-height: 36px;
     padding: 0 8px;
     border-radius: $menu-margin;
-    margin: 0 $menu-margin;
+    margin: 0 $menu-margin 2px;
 
     &:hover,
     &:focus-visible:focus-within {


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