[nautilus/wip/antoniof/view-item-state-styling: 5/5] css: Dim empty view page




commit d4d3902dbdf21ab84e13b7f04be3e0afc69d2be6
Author: António Fernandes <antoniof gnome org>
Date:   Thu Aug 4 20:10:12 2022 +0100

    css: Dim empty view page
    
    Before adopting AdwStatusPage, we used to apply a 50% opacity on the
    icon and the text font was light.
    
    Now there is 100% opacity and bold font which is too intense in a view.
    
    So, make it 50% opacity.

 src/resources/css/Adwaita.css | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 712916674..f787a197f 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -1,7 +1,3 @@
-.nautilus-empty-state-icon {
-    opacity: 0.50;
-}
-
 /* Toolbar */
 
 /* Here we use the .button background-image colors from Adwaita, but ligthen them,
@@ -259,6 +255,10 @@
   filter: drop-shadow(0px 1px 1px rgba(0,0,0,0.3));
 }
 
+.view statuspage {
+  opacity: 0.50;
+}
+
 .view .cut {
   opacity: 0.55;
 }


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