gnome-shell/data/theme/gnome-shell-sass
Joonas Henriksson 6b9f277081 theme: Define default user-icon sizing in SASS
The default sizing for user-icon style was not defined in the theme,
but it simply used the default Avatar iconSize from UserWidget.js.

This didn't work with the current fallback avatar styling (i.e. when
the avatar icon is not set for an user account, and a symbolic icon
is displayed in its place), as the fallback StIcon was not scaled
to align inside the circle shaped user-icon properly.

Define the user-icon and corrected fallback StIcon sizes in the
stylesheet to correct this. The default 64px user-icon size is based
on default UserWidget.Avatar iconSize. The sizing for the StIcon is
taken from `.user-widget.horizontal .user-icon` styling, which uses
the same base icon-size.

Additionally, the special `.user-widget.horizontal .user-icon`
styling is removed, as it is now redundant.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1490>
2020-12-17 21:46:32 +01:00
..
widgets theme: Define default user-icon sizing in SASS 2020-12-17 21:46:32 +01:00
_colors.scss theme: revert OSD style to be $variant independent 2020-02-13 19:46:29 +00:00
_common.scss theme: Make base icon size font-relative 2020-02-12 19:48:58 +01:00
_drawing.scss *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
_high-contrast-colors.scss theme: base of the refactor 2020-01-09 16:42:57 +01:00
_widgets.scss theme: Move .workspace-thumbnail* into _workspace-thumbnails.scss 2020-02-13 19:46:29 +00:00
COPYING theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
gnome-shell-sass.doap theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
NEWS theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
README.md docs: Clarify where style changes should be done 2018-05-23 19:03:01 +02:00

GNOME Shell Sass

GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions.

Any changes should be done in the GNOME Shell subtree and not the stand-alone gnome-shell-sass repository. They will then be synchronized periodically before releases.

License

GNOME Shell Sass is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.