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