Vmeda.Online/src/components/progress-bar/progress-bar.scss

53 lines
1.3 KiB
SCSS
Raw Normal View History

2017-12-29 17:05:52 +00:00
$core-progress-bar-height: 5px !default;
core-progress-bar {
2018-08-29 14:42:12 +00:00
@include padding(null, 55px, null, null);
position: relative;
display: block;
2017-12-29 17:05:52 +00:00
@extend .clearfix;
2017-12-29 17:05:52 +00:00
.core-progress-text {
2018-08-29 14:42:12 +00:00
@include margin(null, null, null, 10px);
2017-12-29 17:05:52 +00:00
line-height: normal;
font-size: 1.4rem;
color: $gray-darker;
2018-08-29 14:42:12 +00:00
@include position(-6px, 0, null, null);
position: absolute;
}
progress {
-webkit-appearance: none;
appearance: none;
2017-12-29 17:05:52 +00:00
height: $core-progress-bar-height;
margin: 15px 0;
padding: 0;
display: block;
width: 100%;
.progress-bar-fallback,
&[value]::-webkit-progress-bar {
background-color: $gray-light;
border-radius: 2px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
.progress-bar-fallback span,
&[value]::-webkit-progress-value {
background-color: $core-progressbar-color;
border-radius: 2px;
}
.progress-bar-fallback {
width: 100%;
2017-12-29 17:05:52 +00:00
height: $core-progress-bar-height;
display: block;
position: relative;
span {
2017-12-29 17:05:52 +00:00
height: $core-progress-bar-height;
display: block;
}
}
}
}