[gtk+] Adwaita: rename scale sass templates to be more specific
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: rename scale sass templates to be more specific
- Date: Thu, 3 Dec 2015 10:45:00 +0000 (UTC)
commit 081bdb07c3e1a6ba349f6e97e22794828a4622a0
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Dec 3 11:43:53 2015 +0100
Adwaita: rename scale sass templates to be more specific
gtk/theme/Adwaita/_common.scss | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 85d9c95..d4c1b80 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2153,9 +2153,9 @@ scale {
&.vertical slider { margin: 0 2px; }
- trough { @extend %trough; }
+ trough { @extend %scale_trough; }
- highlight { @extend %highlight; }
+ highlight { @extend %scale_highlight; }
slider {
// FIXME: scale-has-marks-* missing
@@ -2199,7 +2199,7 @@ scale {
}
}
-%trough {
+%scale_trough {
border: 1px solid $borders_color;
border-radius: 3px;
background-color: $dark_fill;
@@ -2236,7 +2236,7 @@ scale {
}
}
-%highlight {
+%scale_highlight {
border: 1px solid $selected_borders_color;
border-radius: 3px;
background-color: $selected_bg_color;
@@ -2279,13 +2279,13 @@ progressbar {
&:backdrop { box-shadow: none; }
trough {
- @extend %trough;
+ @extend %scale_trough;
}
- &:backdrop trough { @extend %trough:backdrop; } // looks like states are not passed to the trough
component here
+ &:backdrop trough { @extend %scale_trough:backdrop; } // looks like states are not passed to the trough
component here
progress {
- @extend %highlight;
+ @extend %scale_highlight;
border-radius: 1.5px;
&.left {
border-top-left-radius: 3px;
@@ -2305,7 +2305,7 @@ progressbar {
}
}
- &:backdrop progress { @extend %highlight:backdrop; } // states not passed here as well
+ &:backdrop progress { @extend %scale_highlight:backdrop; } // states not passed here as well
}
/*************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]