From a44686affe6dce07da47549181457a8beca8ad2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 4 Aug 2020 11:47:18 +0200 Subject: [PATCH] theme/panel: Slightly increase horizontal padding on activities button The activities button doesn't have an icon, which makes its horizontal padding appear a bit smaller than the padding of most other items in the panel. We're going to indicate hover and focus of items in the panel using a pill-shaped background color, which means the padding of those items will get more visible. So give the activities button a special treatment and slightly increase its padding to make sure the new indicator will look good. Part-of: --- data/theme/gnome-shell-sass/widgets/_panel.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss index 56c445a74..1ee17d36a 100644 --- a/data/theme/gnome-shell-sass/widgets/_panel.scss +++ b/data/theme/gnome-shell-sass/widgets/_panel.scss @@ -77,6 +77,10 @@ $panel_height: 1.86em; color: lighten($fg_color, 10%); &:focus, &:hover, &:active { color: lighten($fg_color, 10%); } } + + &#panelActivities { + -natural-hpadding: $base_padding * 3; + } } .panel-button {