[gnome-shell/wip/jimmac/default-avatar-tweak: 7/7] theme: default avatar should remain being a pill



commit 6c6c89c63470b5dd9c24914ba471a119dca2ac66
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 13 15:03:30 2020 +0100

    theme: default avatar should remain being a pill
    
    - force size due to the necessary whitespace/padding being added to the dimensions
    - use osd FG color for background as it's $variant independednt
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/996

 data/theme/gnome-shell-sass/widgets/_misc.scss | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_misc.scss b/data/theme/gnome-shell-sass/widgets/_misc.scss
index 3871673499..8f7e8d8248 100644
--- a/data/theme/gnome-shell-sass/widgets/_misc.scss
+++ b/data/theme/gnome-shell-sass/widgets/_misc.scss
@@ -35,6 +35,13 @@
   &:hover {
     color: lighten($osd_fg_color,30%);
   }
+
+  & StIcon {
+    background-color: transparentize($osd_fg_color,0.95);
+    padding: 18px 20px 22px 20px;
+    width: 88px; height: 88px;
+    border-radius: 99px;
+  }
 }
 
 .user-widget.vertical .user-icon {


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