[gnome-themes-standard/wip/sass] scale: bring back the sub optimal precise mode.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/sass] scale: bring back the sub optimal precise mode.
- Date: Wed, 28 May 2014 18:58:46 +0000 (UTC)
commit e9634a2bfac52d0131bd7a83f0962a50e1ef384d
Author: Jakub Steiner <jimmac gmail com>
Date: Wed May 28 20:56:22 2014 +0200
scale: bring back the sub optimal precise mode.
- we can figure out something better later
themes/Adwaita/gtk-3.0/_common.scss | 10 +++++-----
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 3 +++
themes/Adwaita/gtk-3.0/gtk-contained.css | 3 +++
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index ce5e7d1..6892259 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -778,11 +778,11 @@ GtkSwitch {
}
&:backdrop:insensitive { @include button(backdrop-insensitive); }
&:active { border: 1px solid darken($selected_bg_color,33%); }
- //&.fine-tune:active { WHAT SHALL WE DO HERE?
- // border: 4px solid transparent; //margin
- // box-shadow: inset 0 2px white,
- // inset 0 0 0 1px $selected_bg_color; //border
- //}
+ &.fine-tune:active { //FIXME: Lapo doesn;t like this
+ border: 4px solid transparent; //margin
+ box-shadow: inset 0 2px white,
+ inset 0 0 0 1px darken($selected_bg_color,33%); //border
+ }
}
&.trough {
border-width: 1px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index b4cc5ec..262f442 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -917,6 +917,9 @@ GtkSwitch {
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
.scale.slider:active {
border: 1px solid #040a11; }
+ .scale.slider.fine-tune:active {
+ border: 4px solid transparent;
+ box-shadow: inset 0 2px white, inset 0 0 0 1px #040a11; }
.scale.trough {
border-width: 1px;
border-style: solid;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index ca223d2..0a80103 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -917,6 +917,9 @@ GtkSwitch {
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
.scale.slider:active {
border: 1px solid #153d65; }
+ .scale.slider.fine-tune:active {
+ border: 4px solid transparent;
+ box-shadow: inset 0 2px white, inset 0 0 0 1px #153d65; }
.scale.trough {
border-width: 1px;
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]