[gnome-shell-sass] style: Theme pagination arrows as per mockups
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] style: Theme pagination arrows as per mockups
- Date: Wed, 10 Aug 2022 17:53:48 +0000 (UTC)
commit 765a65a3d33b829f79b8f3cceb41ee5001c005a5
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>
widgets/_app-grid.scss | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/widgets/_app-grid.scss b/widgets/_app-grid.scss
index 6add597..abea753 100644
--- a/widgets/_app-grid.scss
+++ b/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]