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