mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
32 lines
563 B
CSS
32 lines
563 B
CSS
@import './common/var.css';
|
|
|
|
.van-progress {
|
|
height: 4px;
|
|
position: relative;
|
|
border-radius: 4px;
|
|
background: $gray-light;
|
|
|
|
&__portion {
|
|
left: 0;
|
|
height: 100%;
|
|
position: absolute;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
&__pivot {
|
|
top: 50%;
|
|
right: 0;
|
|
min-width: 2em;
|
|
padding: 0 5px;
|
|
font-size: 10px;
|
|
position: absolute;
|
|
line-height: 1.6;
|
|
text-align: center;
|
|
border-radius: 1em;
|
|
word-break: keep-all;
|
|
box-sizing: border-box;
|
|
background-color: $gray-light;
|
|
transform: translate(50%, -50%);
|
|
}
|
|
}
|