vant-weapp/packages/area/index.less
2018-09-28 15:18:24 +08:00

70 lines
1.1 KiB
Plaintext

@import '../common/style/var.less';
.van-picker {
-webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */
position: relative;
overflow: hidden;
background-color: @white;
user-select: none;
&__toolbar {
display: flex;
justify-content: space-between;
height: 40px;
font-size: 16px;
line-height: 40px;
}
&__cancel,
&__confirm {
padding: 0 15px;
color: @blue;
&:active {
background-color: @active-color;
}
}
&__title {
max-width: 50%;
text-align: center;
}
&__columns {
position: relative;
}
&__loading {
display: flex;
z-index: 4;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
align-items: center;
justify-content: center;
background-color: rgba(255, 255, 255, .9);
}
&-column {
flex: 1;
overflow: hidden;
font-size: 16px;
text-align: center;
&__item {
padding: 0 5px;
color: @gray-dark;
&--selected {
color: @black;
}
&--disabled {
opacity: .3;
}
}
}
}