From 00e358009d52592ad193b5d03be03bcf197460cb Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 7 May 2021 10:12:01 +0800 Subject: [PATCH] Fixed #219 --- src/sass/gnome-shell/common/_app-grid.scss | 2 ++ src/sass/gnome-shell/common/_notifications.scss | 1 + src/sass/gnome-shell/common/_panel.scss | 4 +++- src/sass/gnome-shell/common/_popovers.scss | 1 + src/sass/gnome-shell/widgets-3-28/_window-picker.scss | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/sass/gnome-shell/common/_app-grid.scss b/src/sass/gnome-shell/common/_app-grid.scss index f88ac79..083c0b1 100644 --- a/src/sass/gnome-shell/common/_app-grid.scss +++ b/src/sass/gnome-shell/common/_app-grid.scss @@ -4,6 +4,8 @@ .show-apps, .app-well-app, %app-well-app { + @include font(body-1); + & .overview-icon { color: $light_alt_fg_color; border-radius: $wm_radius; diff --git a/src/sass/gnome-shell/common/_notifications.scss b/src/sass/gnome-shell/common/_notifications.scss index db11750..99d7775 100644 --- a/src/sass/gnome-shell/common/_notifications.scss +++ b/src/sass/gnome-shell/common/_notifications.scss @@ -12,6 +12,7 @@ border: none; text-shadow: none; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25); + @include font(body-1); &:hover { background-color: rgba($menu_bg, 1); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25); } &:focus { background-color: $menu_bg; } diff --git a/src/sass/gnome-shell/common/_panel.scss b/src/sass/gnome-shell/common/_panel.scss index a65e623..3ec4e40 100644 --- a/src/sass/gnome-shell/common/_panel.scss +++ b/src/sass/gnome-shell/common/_panel.scss @@ -12,6 +12,7 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95)); color: $panel_fg; font-feature-settings: "tnum"; transition-duration: 250ms; + @include font(body-1); // transparent panel on lock & login screens &:overview, @@ -100,6 +101,8 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95)); } &.clock-display { + StLabel { padding: 0 2px; } + .clock { // transition-duration: 150ms; border: none; @@ -116,7 +119,6 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95)); // we want to exclude the do-not-disturb indicator from the background &.clock-display { box-shadow: none; - StLabel { padding: 0 2px; } .clock { box-shadow: none; diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index e292690..683f85a 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -20,6 +20,7 @@ $popop_menuitem_radius: $wm_radius - 4px; color: $alt_fg_color; padding: 0 0 !important; font-weight: normal; + @include font(body-1); .popup-menu-content { padding: 6px 0 !important; diff --git a/src/sass/gnome-shell/widgets-3-28/_window-picker.scss b/src/sass/gnome-shell/widgets-3-28/_window-picker.scss index 662d5a3..6eb9572 100644 --- a/src/sass/gnome-shell/widgets-3-28/_window-picker.scss +++ b/src/sass/gnome-shell/widgets-3-28/_window-picker.scss @@ -15,7 +15,7 @@ padding: 4px 8px; border: none; font-weight: normal; - @include font(body); + @include font(body-1); } .window-clone-border {