vant-weapp/zui/quantity/index.wxss
2016-12-19 17:06:08 +08:00

38 lines
753 B
Plaintext

.zui-quantity {
color: #666;
}
.zui-quantity view {
display: inline-block;
line-height: 20px;
padding: 5px 0;
text-align: center;
min-width: 40px;
box-sizing: border-box;
vertical-align: middle;
font-size: 12px;
border: 1rpx solid #999;
}
.zui-quantity .zui-quantity__minus {
border-right: none;
border-radius: 2px 0 0 2px;
}
.zui-quantity .zui-quantity__text {
border: 1rpx solid #999;
display: inline-block;
text-align: center;
vertical-align: middle;
height: 30px;
width: 40px;
font-size: 12px;
line-height: 30px;
}
.zui-quantity .zui-quantity__plus {
border-left: none;
border-radius: 0 2px 2px 0;
}
.zui-quantity .zui-quantity--disabled {
background: #f8f8f8;
color: #bbb;
border-color: #e8e8e8;
}