sass: use relative values for user-icon

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2242
This commit is contained in:
Sam Hewitt 2020-02-25 16:36:25 +00:00 committed by Florian Müllner
parent 89ca5e71d4
commit 967a6ae44d

View File

@ -20,20 +20,22 @@
}
.user-widget.vertical .user-icon {
icon-size: 128px;
icon-size: $base_icon_size * 6; // 128px
& StIcon {
padding: 18px 20px 22px 20px;
width: 88px; height: 88px;
padding: $base_padding * 3 + 2px; // 20px
padding-top: $base_padding * 3; // 18 px
padding-bottom: $base_padding * 3 + 4px; // 22px
width: $base_icon_size * 5.5; height: $base_icon_size * 5.5; // 88px;
}
}
.user-widget.horizontal .user-icon {
icon-size: 64px;
icon-size: $base_icon_size * 4; // 64px
& StIcon {
padding: 9px 10px 11px 10px;
width: 44px; height: 44px;
padding: $base_padding * 2 ; // 12px
width: $base_icon_size * 2.5; height: $base_icon_size * 2.5; // 40px;
}
}