[gnome-themes-standard] scale: fine-mode edge highlight for dark variant
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] scale: fine-mode edge highlight for dark variant
- Date: Tue, 10 Jun 2014 11:54:43 +0000 (UTC)
commit dcfdbd4c716d823c473cf3c206b6592266c335ab
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Jun 10 13:54:10 2014 +0200
scale: fine-mode edge highlight for dark variant
themes/Adwaita/gtk-3.0/_common.scss | 4 ++--
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 4b7c359..75e5ad7 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -1139,9 +1139,9 @@ GtkCheckButton.text-button:selected { background-color: transparent; }
&:backdrop:insensitive { @include button(backdrop-insensitive); }
//FIXME we need a better color for the dark variant
&:active { border: 1px solid darken($selected_borders_color, 3%); }
- &.fine-tune:active { //FIXME: Lapo doesn;t like this
+ &.fine-tune:active { //FIXME: Lapo doesn't like the shrinkage. Bad for touch
border: 4px solid transparent; //margin
- box-shadow: inset 0 2px white,
+ box-shadow: inset 0 2px $borders_edge,
inset 0 0 0 1px darken($selected_borders_color,3%); //border
}
}
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 02dc8bd..e8a5022 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -1393,7 +1393,7 @@ GtkCheckButton.text-button:selected {
border: 1px solid #0c233b; }
.scale.slider.fine-tune:active {
border: 4px solid transparent;
- box-shadow: inset 0 2px white, inset 0 0 0 1px #0c233b; }
+ box-shadow: inset 0 2px rgba(238, 238, 236, 0.1), inset 0 0 0 1px #0c233b; }
.scale.trough {
border-width: 1px;
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]