* Progressbar border radius fix. (#449)

pull/456/head
Csaba Jakosa 2016-05-16 18:52:14 +02:00 committed by Dustin Falgout
parent d00b2c371f
commit 6d6ef98d25
1 changed files with 19 additions and 18 deletions

View File

@ -8,24 +8,31 @@
border-radius: $roundness; border-radius: $roundness;
font-size: smaller; font-size: smaller;
color: alpha($fg_color, .6); color: alpha($fg_color, .6);
min-width: 6px;
min-height: 6px;
&.osd { // sizing
min-height: 4px; &.horizontal {
trough,
progress { min-height: 6px; }
} }
&.vertical {
trough,
progress { min-width: 6px; }
}
&.osd { min-height: 4px; }
trough { trough {
border: 1px solid alpha(border_normal($bg_color), .5); border: 1px solid alpha(border_normal($bg_color), .5);
background-color: shade($bg_color, 1.08); background-color: shade($bg_color, 1.08);
background-image: none; background-image: none;
border-radius: $roundness;
} }
progress { progress {
@include linear-gradient($selected_bg_color); @include linear-gradient($selected_bg_color);
border-radius: 0; border-radius: 0;
box-shadow: none;
&.left { &.left {
border-top-left-radius: $roundness; border-top-left-radius: $roundness;
@ -37,11 +44,6 @@
border-bottom-right-radius: $roundness; border-bottom-right-radius: $roundness;
} }
&.left.right { box-shadow: none; }
&.vertical {
@include linear-gradient($selected_bg_color, to right);
&.bottom { &.bottom {
border-bottom-left-radius: $roundness; border-bottom-left-radius: $roundness;
border-bottom-right-radius: $roundness; border-bottom-right-radius: $roundness;
@ -53,7 +55,6 @@
} }
} }
} }
}
levelbar { levelbar {
block { block {