[gnome-shell] style: Theme pagination arrows as per mockups
- From: Robert Mader <rmader src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] style: Theme pagination arrows as per mockups
- Date: Wed, 10 Aug 2022 15:28:51 +0000 (UTC)
commit ca9a19dfbe4b89cd299528406e1df84e64e2ea87
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jun 28 13:19:55 2022 -0300
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
data/theme/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 6add597ea2..abea753353 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));}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]