mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
Merge remote-tracking branch 'main/dev' into dev
This commit is contained in:
51
packages/vant-css/src/deep-select.css
Normal file
51
packages/vant-css/src/deep-select.css
Normal file
@@ -0,0 +1,51 @@
|
||||
@import "./mixins/ellipsis";
|
||||
@import "./mixins/clearfix";
|
||||
@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;
|
||||
}
|
||||
}
|
@@ -6,6 +6,7 @@
|
||||
@import './cell.css';
|
||||
@import './cell-swipe.css';
|
||||
@import './card.css';
|
||||
@import './deep-select.css';
|
||||
@import './dialog.css';
|
||||
@import './field.css';
|
||||
@import './icon.css';
|
||||
|
Reference in New Issue
Block a user