ohif-viewer/Packages/ohif-measurements/client/components/caseProgress/radialProgressBar/radialProgressBar.styl
2017-11-24 13:11:46 -02:00

53 lines
1.0 KiB
Stylus

@import "{ohif:design}/app"
$circleSize = 46px
.radialProgress
position: relative
height: $circleSize
width: $circleSize
vendorize(box-shadow, 0 0 1em black)
border-radius: 100%
#svg circle
stroke-dashoffset: 0
theme('stroke', '$uiBorderColorDark')
stroke-width: 3px
vendorize(transition, stroke-dashoffset 1s linear)
#svg #bar
theme('stroke', '$activeColor')
vendorize(transform, rotate(270deg))
vendorize(transform-origin, center center)
.progressArea
theme('color', '$activeColor')
display: table
font-weight: 700
font-size: 17px
height: $circleSize
line-height: $circleSize
left: 50%
position: absolute
top: 50%
transform(translate(-50%, -50%))
width: $circleSize
&.locked
line-height: 0
&, & svg
height: 21px
width: 16px
&.complete
line-height: 0
&, & svg
height: 27px
width: 27px
svg
theme('fill', '$activeColor')
theme('stroke', '$activeColor')