[libadwaita/wip/exalm/lists-style: 12/17] stylesheet: Fix mix() usage in list.content styles




commit 970b29aac900f3b3031dc6903781c55cd146d366
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue May 18 00:32:38 2021 +0500

    stylesheet: Fix mix() usage in list.content styles
    
    Make nested row style work properly.

 src/stylesheet/widgets/_lists.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_lists.scss b/src/stylesheet/widgets/_lists.scss
index 55e87381..822bda98 100644
--- a/src/stylesheet/widgets/_lists.scss
+++ b/src/stylesheet/widgets/_lists.scss
@@ -227,11 +227,11 @@ listview.content {
   list.nested > row:not(:active) {
     &:not(:hover):not(:selected),
     &:hover:not(.activatable):not(:selected) {
-      background-color: mix($bg_color, $base_color, 0.5);
+      background-color: mix($bg_color, $base_color, 50%);
     }
 
     &:hover.activatable:not(:selected) {
-      background-color: mix($fg_color, $base_color, 0.95);
+      background-color: mix($fg_color, $base_color, 5%);
     }
   }
 
@@ -246,7 +246,7 @@ listview.content {
 
     &:not(.expander):not(:active):hover.activatable:not(:selected),
     &.expander row.header:not(:active):hover.activatable:not(:selected) {
-      background-color: mix($fg_color, $base_color, 0.95);
+      background-color: mix($fg_color, $base_color, 5%);
     }
 
     &,


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