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; }
&: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);
}

View File

@ -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;
}
}