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

54 lines
1.2 KiB
SCSS
Raw Normal View History

2017-12-29 17:05:52 +00:00
$core-progress-bar-height: 5px !default;
core-progress-bar {
padding-right: 55px;
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 {
margin-left: 10px;
2017-12-29 17:05:52 +00:00
line-height: normal;
font-size: 1.4rem;
color: $gray-darker;
right: 0;
2017-12-29 17:05:52 +00:00
top: -6px;
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 {
2017-12-29 17:05:52 +00:00
background-color: $core-color-light;
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;
}
}
}
}