You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
klhis/hcemr/select/selectInput/selectInput.css

85 lines
1.7 KiB

.selectInput {
bottom: auto !important;
}
.layui-form-danger + .layui-form-selectInput .layui-input, .layui-form-danger:focus {
border-color: #FF5722 !important
}
.layui-form-selectInput .layui-input {
padding-right: 30px;
cursor: pointer
}
.layui-form-selectInput .layui-edge {
position: absolute;
right: 10px;
top: 50%;
margin-top: -3px;
cursor: pointer;
border-width: 6px;
border-top-color: #c2c2c2;
border-top-style: solid;
transition: all .3s;
-webkit-transition: all .3s
}
.layui-form-selectInput dl {
width: 250px;
display: none;
position: absolute;
left: 4px;
top: 32px;
padding: 5px 0;
z-index: 899;
/* min-width: 100%; */
border: 1px solid #d2d2d2;
max-height: 300px;
overflow-y: auto;
background-color: #fff;
border-radius: 2px;
box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
box-sizing: border-box;
}
.layui-form-selectInput dl dd, .layui-form-selectInput dl dt {
width: 230px;
padding: 0 10px;
line-height: 36px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-sizing: border-box;
}
.layui-form-selectInput dl dt {
font-size: 12px;
color: #999
}
.layui-form-selectInput dl dd {
cursor: pointer
}
.layui-form-selectInput dl dd:hover {
background-color: #f2f2f2;
-webkit-transition: .5s all;
transition: .5s all
}
.layui-form-selectInput .layui-select-group dd {
padding-left: 20px
}
.layui-form-selectInput dl dd.layui-select-tips {
padding-left: 10px !important;
color: #999
}
.layui-form-selectInput dl dd.layui-this {
background-color: #5FB878;
color: #fff
}
.layui-form-checkbox, .layui-form-selectInput dl dd.layui-disabled {
background-color: #fff
}