[gtk+] Adwaita: scale marks visible on the dark variant
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: scale marks visible on the dark variant
- Date: Tue, 23 Jun 2015 17:12:13 +0000 (UTC)
commit ec9a39977a4341feabed2ad6477789217ee39438
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Jun 23 19:11:15 2015 +0200
Adwaita: scale marks visible on the dark variant
gtk/theme/Adwaita/_common.scss | 2 ++
gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++----
gtk/theme/Adwaita/gtk-contained.css | 12 ++++++++----
3 files changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e357171..a31f712 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2326,6 +2326,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
+ color: transparentize($fg_color, 0.7); // marks color
+
@extend %#{$we}_#{$dn};
@each $s,$as in ('',''),
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 84df56b..4ad0c91 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3099,7 +3099,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.scale-has-marks-below {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(238, 238, 236, 0.3); }
.scale.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@@ -3152,7 +3153,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.scale-has-marks-above {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(238, 238, 236, 0.3); }
.scale.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
@@ -3205,7 +3207,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.vertical.scale-has-marks-below {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(238, 238, 236, 0.3); }
.scale.vertical.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@@ -3258,7 +3261,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.vertical.scale-has-marks-above {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(238, 238, 236, 0.3); }
.scale.vertical.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 1afb730..e3b8e2e 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3261,7 +3261,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.scale-has-marks-below {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(46, 52, 54, 0.3); }
.scale.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@@ -3314,7 +3315,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.scale-has-marks-above {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(46, 52, 54, 0.3); }
.scale.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
@@ -3367,7 +3369,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.vertical.scale-has-marks-below {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(46, 52, 54, 0.3); }
.scale.vertical.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@@ -3420,7 +3423,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.scale.vertical.scale-has-marks-above {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
- -GtkRange-trough-border: 2; }
+ -GtkRange-trough-border: 2;
+ color: rgba(46, 52, 54, 0.3); }
.scale.vertical.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]