Merge pull request #303 from megax/master

Progressbar style fix and update.
pull/306/head
Satyajit Sahoo 2016-03-27 01:19:37 +05:30
commit dae4da6b7c
1 changed files with 38 additions and 17 deletions

View File

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