[gnome-shell-sass] unlockDialog: Add .critical CSS class to critical notifications



commit cf03b400fa040fbc73739e11ab7ba8717a32ad9e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Feb 5 11:58:57 2020 -0300

    unlockDialog: Add .critical CSS class to critical notifications
    
    As per the latest lock screen mockups, critical notifications must have
    a more prominent, solid color.
    
    Add a .critical style class to critical notification bubbles, and make
    them darker.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

 widgets/_screen-shield.scss | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/widgets/_screen-shield.scss b/widgets/_screen-shield.scss
index a28ef27..2c45589 100644
--- a/widgets/_screen-shield.scss
+++ b/widgets/_screen-shield.scss
@@ -35,6 +35,8 @@
     background-color: transparentize($osd_bg_color,0.5);
     color: $osd_fg_color;
     border-radius: 4px;
+
+    &.critical { background-color: transparentize($osd_bg_color,0.1) }
   }
 }
 


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