vant-weapp/packages/info/index.less
2019-03-20 20:18:16 +08:00

23 lines
575 B
Plaintext

@import '../common/style/var.less';
.van-info {
position: absolute;
top: -@info-size / 2;
right: 0;
min-width: @info-size;
padding: @info-padding;
font-family: @info-font-family;
font-size: @info-font-size;
font-weight: @info-font-weight;
line-height: @info-size - @info-border-width * 2;
color: @info-color;
text-align: center;
white-space: nowrap;
background-color: @info-background-color;
border: @info-border-width solid @white;
border-radius: @info-size;
transform: translateX(50%);
box-sizing: border-box;
transform-origin: 100%;
}