vant/packages/vant-css/src/tree-select.css
neverland f2c61bdb4e
[improvement] optimize single line ellipsis (#334)
* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo

* [Doc] translate theme & demo pages

* [Doc] add Internationalization document

* [bugfix] remove unnecessary props

* [fix] optimize clickoutside

* [new feature] optimize find-parent

* [new feature]: change document title accordinng to language

* [new feature] Pagination code review

* [improvement] adjust icon-font unicode

* [improvement] Icon spinner color inherit

* [improvement] icon default width

* [bugfix] DateTimePicker validate date props

* [bugfix] Tab item text ellipsis

* [improvement] optimize single line ellipsis
2017-11-21 20:56:34 +08:00

59 lines
984 B
CSS

@import "./mixins/ellipsis.css";
@import "./mixins/clearfix.css";
@import './common/var.css';
.van-tree-select {
user-select: none;
position: relative;
@mixin clearfix;
&__nav {
width: 143px;
position: absolute;
left: 0;
top: 0;
bottom: 0;
overflow: scroll;
background-color: $white;
-webkit-overflow-scrolling: touch;
}
&__nitem {
line-height: 44px;
padding: 0 15px;
background-color: $white;
@mixin ellipsis;
&--active {
background-color: $background-color;
}
}
&__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 ellipsis;
&--active {
color: $button-danger-background-color;
}
}
&__selected {
float: right;
position: absolute;
right: 0;
top: 0;
bottom: 0;
}
}