[gnome-shell/wip/snwh/page-indicator] theme: replace page indicator assets with css
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/page-indicator] theme: replace page indicator assets with css
- Date: Fri, 16 Nov 2018 18:45:22 +0000 (UTC)
commit 6604b613512a580fa710ef015fac89c14e44c9df
Author: Sam Hewitt <sam snwh org>
Date: Fri Nov 16 13:44:52 2018 -0500
theme: replace page indicator assets with css
data/theme/gnome-shell-sass/_common.scss | 14 ++++---
data/theme/page-indicator-active.svg | 71 --------------------------------
data/theme/page-indicator-checked.svg | 67 ------------------------------
data/theme/page-indicator-hover.svg | 67 ------------------------------
data/theme/page-indicator-inactive.svg | 67 ------------------------------
5 files changed, 8 insertions(+), 278 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 06c50d1d9..dffd07d8f 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -1447,15 +1447,17 @@ StScrollBar {
padding: 15px 20px;
.page-indicator-icon {
- width: 18px;
- height: 18px;
- background-image: url(resource:///org/gnome/shell/theme/page-indicator-inactive.svg);
+ width: 12px;
+ height: 12px;
+ background-color: transparent;
+ border: 2px solid rgba(255, 255, 255, 0.4);
+ border-radius:12px;
}
- &:hover .page-indicator-icon { background-image:
url(resource:///org/gnome/shell/theme/page-indicator-hover.svg); }
- &:active .page-indicator-icon { background-image:
url(resource:///org/gnome/shell/theme/page-indicator-active.svg); }
+ &:hover .page-indicator-icon { border-color: white; }
+ &:active .page-indicator-icon { border: none; margin: 2px; background-color:#fff; }
&:checked .page-indicator-icon,
- &:checked:active { background-image: url(resource:///org/gnome/shell/theme/page-indicator-checked.svg); }
+ &:checked:active { background-color: #fff;}
}
.no-frequent-applications-label { @extend %status_text; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]