From bc367f6471751b68dd68292daf7d4a89fd6d217b Mon Sep 17 00:00:00 2001 From: progandy Date: Mon, 20 Oct 2014 10:40:41 +0200 Subject: [PATCH] The mix command doesn't accept percent --- gtk-3.0/scss/_base.scss | 10 +++++----- gtk-3.0/scss/_toolbar.scss | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk-3.0/scss/_base.scss b/gtk-3.0/scss/_base.scss index 224814b..521af8f 100644 --- a/gtk-3.0/scss/_base.scss +++ b/gtk-3.0/scss/_base.scss @@ -62,7 +62,7 @@ &:selected { @extend %selected_items; } &:insensitive, - &:insensitive:insensitive { color: mix($fg_color, $bg_color, 50%); } + &:insensitive:insensitive { color: mix($fg_color, $bg_color, 0.50); } &:insensitive { -gtk-image-effect: dim; } @@ -103,7 +103,7 @@ &:insensitive { background-color: shade(shade($bg_color, 0.95), 1.05); - color: mix($fg_color, $bg_color, 50%); + color: mix($fg_color, $bg_color, 0.50); } &:selected { @extend %selected_items; } @@ -122,7 +122,7 @@ GtkLabel { &:selected { @extend %selected_items; } - &:insensitive { color: mix($fg_color, $bg_color, 50%); } + &:insensitive { color: mix($fg_color, $bg_color, 0.50); } } .dim-label { @@ -156,7 +156,7 @@ GtkAssistant { GtkLabel { padding: $spacing ($spacing * 2); - &.highlight { background-color: mix($bg_color, $fg_color, 80%); } + &.highlight { background-color: mix($bg_color, $fg_color, 0.80); } } } @@ -165,7 +165,7 @@ GtkAssistant { GtkTextView { /* this will get overridden by .view, needed by gedit line numbers */ - background-color: mix($bg_color, $base_color, 50%); + background-color: mix($bg_color, $base_color, 0.50); } diff --git a/gtk-3.0/scss/_toolbar.scss b/gtk-3.0/scss/_toolbar.scss index fd96a69..491a507 100644 --- a/gtk-3.0/scss/_toolbar.scss +++ b/gtk-3.0/scss/_toolbar.scss @@ -83,7 +83,7 @@ padding: $spacing; border: none; background: none; - color: mix($titlebar_fg_color, $titlebar_bg_color, 90%); + color: mix($titlebar_fg_color, $titlebar_bg_color, 0.90); &:hover, &:hover:focus { background: none; @@ -98,7 +98,7 @@ &:backdrop { background-image: none; - color: mix($titlebar_fg_color, $titlebar_bg_color, 60%); + color: mix($titlebar_fg_color, $titlebar_bg_color, 0.60); icon-shadow: none; } }