94 lines
1.7 KiB
CSS
94 lines
1.7 KiB
CSS
.combox-box {
|
|
width: 96%;
|
|
height: 25px;
|
|
border: 1px solid #ccc;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
padding-left: 7px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.combox-box:hover {
|
|
border-color: rgb(0, 185, 122);
|
|
}
|
|
|
|
.combox-box:focus {
|
|
border-color: rgb(0, 185, 122);
|
|
box-shadow: 0px 1px 6px rgba(0, 185, 122, 0.32);
|
|
}
|
|
|
|
.combox-warpper {
|
|
z-index: 101;
|
|
display: none;
|
|
height: 180px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.combox-warpper ul {
|
|
height: calc(100%);
|
|
position: absolute;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
width: 100%;
|
|
outline: none;
|
|
}
|
|
|
|
.combox-warpper .search-check {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
padding: 0px 2px;
|
|
border: 1px solid rgba(211, 223, 225, 1)
|
|
}
|
|
|
|
.combox-warpper.active {
|
|
display: block;
|
|
}
|
|
|
|
.combox-warpper {
|
|
background: rgba(255, 255, 255, 1);
|
|
border: 1px solid rgba(220, 222, 228, 1);
|
|
box-shadow: 0px 2px 4px rgba(0, 28, 41, 0.08);
|
|
}
|
|
|
|
.combox-warpper li {
|
|
cursor: pointer;
|
|
clear: both;
|
|
line-height: 22px;
|
|
white-space: nowrap;
|
|
padding: 2px 4px;
|
|
padding-left: 8px;
|
|
margin: 1px 0;
|
|
}
|
|
.combox-warpper li:hover {
|
|
background: #ededed
|
|
}
|
|
|
|
.combox-warpper li.checked {
|
|
background: #ededed
|
|
}
|
|
|
|
|
|
.check-icon {
|
|
display: inline-block;
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
font-size: inherit;
|
|
text-rendering: auto;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
width: 20px;
|
|
}
|
|
|
|
.check-icon::before {
|
|
content: "\f096";
|
|
}
|
|
.checked .check-icon::before {
|
|
content: "\f14a";
|
|
} |