From ca9a19dfbe4b89cd299528406e1df84e64e2ea87 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 28 Jun 2022 13:19:55 -0300 Subject: [PATCH] style: Theme pagination arrows as per mockups The style is essentially a copy of %osd_button, but adapted to style the inner icon instead of the whole button. Part-of: --- .../gnome-shell-sass/widgets/_app-grid.scss | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_app-grid.scss b/data/theme/gnome-shell-sass/widgets/_app-grid.scss index 6add597ea..abea75335 100644 --- a/data/theme/gnome-shell-sass/widgets/_app-grid.scss +++ b/data/theme/gnome-shell-sass/widgets/_app-grid.scss @@ -146,8 +146,16 @@ $app_icon_size: 96px; } } -.page-navigation-arrow > StIcon { - margin: 6px; - width: 24px; - height: 24px; +.page-navigation-arrow { + & > StIcon { + margin: 6px; + padding: 18px; + width: 24px; + height: 24px; + border-radius: 99px; + } + + &:insensitive > StIcon { @include button(undecorated, $osd_fg_color, transparentize($osd_bg_color, 0.5));} + &:hover > StIcon { @include button(hover, $osd_fg_color, transparentize($osd_bg_color, 0.5));} + &:active > StIcon { @include button(active, $osd_fg_color, transparentize($osd_bg_color, 0.5));} }