* Progressbar style fix and update.

pull/303/head
Megax 2016-03-26 17:19:29 +01:00
parent 76883d2422
commit 4e1027adeb
1 changed files with 38 additions and 17 deletions

View File

@ -127,29 +127,50 @@
background-image: none; background-image: none;
} }
.progressbar, .progressbar {
.progressbar:selected,
.progressbar:selected:focus {
@include linear-gradient($selected_bg_color); @include linear-gradient($selected_bg_color);
border: 1px solid mix($selected_bg_color, $selected_fg_color, .2); border: 1px solid border_normal($selected_bg_color);
&:selected {
&:focus, & {
@include linear-gradient($selected_bg_color);
border: 1px solid border_focus($selected_bg_color);
color: $selected_fg_color;
}
&:backdrop { }
}
&:insensitive {
&:insensitive {
@include linear-gradient($bg_color);
border-color: border_insensitive($bg_color);
}
}
&:backdrop {
@include linear-gradient($bg_color);
border-color: border_insensitive($bg_color);
}
} }
.trough, .trough {
.trough:selected,
.trough:selected:focus {
background-color: mix($bg_color, $base_color, .5); background-color: mix($bg_color, $base_color, .5);
border: 1px solid $bg_color; border: 1px solid border_normal($base_color);
}
.progressbar:insensitive, &:selected {
.progressbar:insensitive:insensitive { &:focus, & {
@include linear-gradient($bg_color); background-color: $base_color;
border-color: $bg_color; border: 1px solid border_focus($bg_color);
} color: $text_color;
}
}
.trough:insensitive, &:insensitive {
.trough:insensitive:insensitive { &:insensitive {
background-color: $base_color; background-color: $base_color;
}
}
} }
} }
} }