仿互站小程序
This commit is contained in:
41
vant/badge/index.wxss
Normal file
41
vant/badge/index.wxss
Normal file
@@ -0,0 +1,41 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-badge {
|
||||
display: block;
|
||||
padding: 20px 12px 20px 9px;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
color: #7d7e80;
|
||||
word-break: break-all;
|
||||
background-color: #f8f8f8;
|
||||
border-left: 3px solid transparent;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.van-badge--hover {
|
||||
background-color: #f2f3f5;
|
||||
}
|
||||
|
||||
.van-badge:after {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
.van-badge--active {
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
border-color: #f44;
|
||||
}
|
||||
|
||||
.van-badge--active:after {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
.van-badge--active,.van-badge--active.van-badge--hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.van-badge__text {
|
||||
position: relative;
|
||||
}
|
Reference in New Issue
Block a user