mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
22 lines
540 B
Plaintext
22 lines
540 B
Plaintext
@import '../style/var';
|
|
|
|
.van-info {
|
|
position: absolute;
|
|
right: 0;
|
|
top: -@info-size / 2;
|
|
color: @info-color;
|
|
font-size: @info-font-size;
|
|
font-weight: @info-font-weight;
|
|
font-family: @info-font-family;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
padding: @info-padding;
|
|
min-width: @info-size;
|
|
line-height: @info-size - @info-border-width * 2;
|
|
border: @info-border-width solid @white;
|
|
border-radius: @info-size;
|
|
background-color: @info-background-color;
|
|
transform: translateX(50%);
|
|
transform-origin: 100%;
|
|
}
|