The mix command doesn't accept percent

pull/161/head
progandy 2014-10-20 10:40:41 +02:00
parent cd54212f23
commit bc367f6471
2 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,7 @@
&:selected { @extend %selected_items; } &:selected { @extend %selected_items; }
&:insensitive, &: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; } &:insensitive { -gtk-image-effect: dim; }
@ -103,7 +103,7 @@
&:insensitive { &:insensitive {
background-color: shade(shade($bg_color, 0.95), 1.05); 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; } &:selected { @extend %selected_items; }
@ -122,7 +122,7 @@ GtkLabel {
&:selected { @extend %selected_items; } &:selected { @extend %selected_items; }
&:insensitive { color: mix($fg_color, $bg_color, 50%); } &:insensitive { color: mix($fg_color, $bg_color, 0.50); }
} }
.dim-label { .dim-label {
@ -156,7 +156,7 @@ GtkAssistant {
GtkLabel { GtkLabel {
padding: $spacing ($spacing * 2); 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 { GtkTextView {
/* this will get overridden by .view, needed by gedit line numbers */ /* 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);
} }

View File

@ -83,7 +83,7 @@
padding: $spacing; padding: $spacing;
border: none; border: none;
background: 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 { &:hover, &:hover:focus {
background: none; background: none;
@ -98,7 +98,7 @@
&:backdrop { &:backdrop {
background-image: none; 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; icon-shadow: none;
} }
} }