From cc37566374a4118ea78d0fb559bbf5cf19c12dba Mon Sep 17 00:00:00 2001 From: Vladyslav Hroshev Date: Tue, 26 Mar 2024 11:04:45 +0200 Subject: [PATCH] Add border-radius to page-indicator-icon and user-icon Remove unnecessary CSS rules from user-widget-label --- theme/gnome-shell_css/apps.css | 1 + theme/gnome-shell_css/loginlock.css | 7 ------- theme/gnome-shell_css/osd.css | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/theme/gnome-shell_css/apps.css b/theme/gnome-shell_css/apps.css index 5036a41..92f0b93 100644 --- a/theme/gnome-shell_css/apps.css +++ b/theme/gnome-shell_css/apps.css @@ -127,6 +127,7 @@ .page-indicator .page-indicator-icon { + border-radius: 99px; background-color: TEXT-SECONDARY-COLOR; } diff --git a/theme/gnome-shell_css/loginlock.css b/theme/gnome-shell_css/loginlock.css index 74da88d..fdf4b51 100644 --- a/theme/gnome-shell_css/loginlock.css +++ b/theme/gnome-shell_css/loginlock.css @@ -169,11 +169,4 @@ /* User widget */ .user-widget .user-widget-label { color: TEXT-PRIMARY-COLOR; -} - -.user-widget.horizontal .user-icon StIcon, -.user-widget.vertical .user-icon StIcon { - color: TEXT-PRIMARY-COLOR; - background-color: ACCENT-DISABLED-COLOR; - box-shadow: inset 0 0 0 1px BORDER-SHADOW; } \ No newline at end of file diff --git a/theme/gnome-shell_css/osd.css b/theme/gnome-shell_css/osd.css index 7412066..665e570 100644 --- a/theme/gnome-shell_css/osd.css +++ b/theme/gnome-shell_css/osd.css @@ -67,6 +67,13 @@ /* user avatar */ +.user-icon { + border-radius: 999px; + color: TEXT-PRIMARY-COLOR; + background-color: ACCENT-DISABLED-COLOR; + box-shadow: inset 0 0 0 1px BORDER-MENU-SHADOW; +} + .user-icon.user-avatar { box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25); }