2016-06-07 19:09:47 +02:00
|
|
|
@import "{design}/app"
|
|
|
|
|
|
|
|
|
|
$circleSize = 46px
|
|
|
|
|
|
|
|
|
|
.radialProgress
|
2016-08-03 16:22:37 +02:00
|
|
|
position: relative
|
2016-06-07 19:09:47 +02:00
|
|
|
height: $circleSize
|
|
|
|
|
width: $circleSize
|
2016-08-03 16:22:37 +02:00
|
|
|
vendorize(box-shadow, 0 0 1em black)
|
2016-06-07 19:09:47 +02:00
|
|
|
border-radius: 100%
|
|
|
|
|
|
|
|
|
|
#svg circle
|
|
|
|
|
stroke-dashoffset: 0
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('stroke', '$uiBorderColorDark')
|
2016-06-07 19:09:47 +02:00
|
|
|
stroke-width: 3px
|
2016-08-03 16:22:37 +02:00
|
|
|
vendorize(transition, stroke-dashoffset 1s linear)
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
#svg #bar
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('stroke', '$activeColor')
|
2016-08-03 16:22:37 +02:00
|
|
|
vendorize(transform, rotate(270deg))
|
|
|
|
|
vendorize(transform-origin, center center)
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
.progressText
|
2016-06-10 20:05:33 +02:00
|
|
|
position: absolute
|
|
|
|
|
width: $circleSize
|
|
|
|
|
height: $circleSize
|
|
|
|
|
line-height: $circleSize
|
|
|
|
|
font-weight: 700
|
|
|
|
|
font-size: 17px
|
|
|
|
|
text-align: center
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('color', '$activeColor')
|
2016-06-10 20:05:33 +02:00
|
|
|
top: 0
|
2016-06-07 19:09:47 +02:00
|
|
|
|
|
|
|
|
svg
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('fill', '$activeColor')
|
2016-07-20 14:39:40 +02:00
|
|
|
left: 50%
|
|
|
|
|
position: absolute
|
2016-08-23 19:24:51 +02:00
|
|
|
theme('stroke', '$activeColor')
|
2016-07-20 14:39:40 +02:00
|
|
|
top: 50%
|
|
|
|
|
transform(translateX(-50%) translateY(-50%))
|
|
|
|
|
|
|
|
|
|
&.locked
|
|
|
|
|
width: 16px
|
|
|
|
|
height: 21px
|
|
|
|
|
|
|
|
|
|
&.complete
|
|
|
|
|
width: 27px
|
|
|
|
|
height: 27px
|