[gnome-shell-sass] userWidget: Remove frame around avatar



commit 8d1ee96f2f8df85d13508ac6b64e50e32c886db7
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 5 17:28:41 2019 +0100

    userWidget: Remove frame around avatar
    
    There's a push for round user images, for which the existing square
    frame is a bad match. So remove the frame and enforce the shape.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/811

 _common.scss | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index d5fae21..9dedbdc 100644
--- a/_common.scss
+++ b/_common.scss
@@ -267,8 +267,7 @@ StScrollBar {
   }
 
   .end-session-dialog-logout-icon {
-    //border: 2px solid #8b8b8b;
-    border-radius: 5px;
+    border-radius: 99px;
     width: 48px;
     height: 48px;
     background-size: contain;
@@ -428,7 +427,7 @@ StScrollBar {
   }
 
   .polkit-dialog-user-icon {
-    border-radius: 5px;
+    border-radius: 99px;
     background-size: contain;
     width: 48px;
     height: 48px;
@@ -1757,13 +1756,11 @@ StScrollBar {
 
 /* Auth Dialogs & Screen Shield */
 
-.framed-user-icon {
+.user-icon {
   background-size: contain;
-  border: 2px solid $osd_fg_color;
   color: $osd_fg_color;
-  border-radius: 3px;
+  border-radius: 99px;
   &:hover {
-    border-color: lighten($osd_fg_color,30%);
     color: lighten($osd_fg_color,30%);
   }
 }


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