mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
60 lines
1023 B
CSS
60 lines
1023 B
CSS
@import "./mixins/ellipsis.css";
|
|
@import "./mixins/clearfix.css";
|
|
@import './common/var.css';
|
|
|
|
.van-deep-select {
|
|
user-select: none;
|
|
position: relative;
|
|
@mixin clearfix;
|
|
|
|
&__nav {
|
|
width: 143px;
|
|
/*float: left;*/
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
overflow: scroll;
|
|
background-color: $c-white;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
&__nitem {
|
|
line-height: 44px;
|
|
padding: 0 15px;
|
|
background-color: $c-white;
|
|
@mixin multi-ellipsis 1;
|
|
|
|
&--active {
|
|
background-color: $c-background;
|
|
}
|
|
}
|
|
|
|
&__content {
|
|
padding: 0 15px;
|
|
margin-left: 143px;
|
|
overflow: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
&__item {
|
|
position: relative;
|
|
line-height: 44px;
|
|
padding-left: 5px;
|
|
padding-right: 18px;
|
|
@mixin multi-ellipsis 1;
|
|
|
|
&--active {
|
|
color: $button-danger-background-color;
|
|
}
|
|
}
|
|
|
|
&__selected {
|
|
float: right;
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
}
|