summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2020-02-20 16:10:36 +0100
committerFlorian Müllner <fmuellner@gnome.org>2020-03-01 02:19:14 +0100
commit0acd665ec135dd272b80b1ffc47cc1ee66621e91 (patch)
tree9746b55995766d2b9dd46c81898967000a6c5766
parent0d25f874758d308a152f281abbe30a6833f4c62a (diff)
downloadgnome-shell-sass-0acd665ec135dd272b80b1ffc47cc1ee66621e91.tar.gz
theme: Fix horizontal default user widget
Commit 6c6c89c63470b5 added a pill around the default avatar, but assumed the sizes from the vertical widget used on the lock screen. In order to fix the horizontal widget on the login screen, move the size-specific bits to the corresponding .horizontal and .vertical sections, and half the sizes for the former (which corelates with the icon sizes). https://gitlab.gnome.org/GNOME/gnome-shell/issues/2242
-rw-r--r--widgets/_misc.scss12
1 files changed, 10 insertions, 2 deletions
diff --git a/widgets/_misc.scss b/widgets/_misc.scss
index 9b5c6c0..f972439 100644
--- a/widgets/_misc.scss
+++ b/widgets/_misc.scss
@@ -15,18 +15,26 @@
& 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 {
icon-size: 128px;
+
+ & StIcon {
+ padding: 18px 20px 22px 20px;
+ width: 88px; height: 88px;
+ }
}
.user-widget.horizontal .user-icon {
icon-size: 64px;
+
+ & StIcon {
+ padding: 9px 10px 11px 10px;
+ width: 44px; height: 44px;
+ }
}
.lightbox { background-color: black; }