master
coral chen 4 years ago
commit 3641107625

@ -1,33 +1,35 @@
.ml-select-box{ .ml-select-box {
position: absolute; position: absolute;
height: 300px; height: 300px;
white-space: nowrap; white-space: nowrap;
z-index: 9999; z-index: 9999;
background: white;
} }
.ml-select-box ul.select-group{ .ml-select-box ul.select-group {
display: inline-block; display: inline-block;
width: 240px; /* width: 240px; */
overflow: auto; overflow: auto;
height: 200px; height: 200px;
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
.ml-select-box ul.select-group li{ .ml-select-box ul.select-group li {
list-style: none; list-style: none;
width: 100%; width: 100%;
display: block; display: block;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
cursor:pointer; cursor: pointer;
background: #fff; background: #fff;
font-size: 14px; font-size: 14px;
padding: 0 5px; padding: 0 5px;
} }
.ml-select-box ul.select-group li:hover,.ml-select-box ul.select-group li.active{ .ml-select-box ul.select-group li:hover,
background: #c0c0c0; .ml-select-box ul.select-group li.active {
font-weight: bold; background: #c0c0c0;
font-weight: bold;
} }
Loading…
Cancel
Save