responsivewebframework
Version:
Jalasoft Foundation Front End Framework ========================================
90 lines (78 loc) • 1.49 kB
text/less
// Combo box
.combo {
display: none;
}
.disabled {
opacity: 0.5;
}
.combo-box-container {
position: relative;
width: 150px;
font-family: @font-family-base-component;
color: @body-color;
font-size: @font-size-base-component;
}
.combo-box {
position: relative;
width: 150px;
height: 30px;
top: -4px;
border: solid @lines-color 1px;
padding-left: 12px;
padding-top: 1px;
line-height: @height-component;
overflow: hidden;
background-color: #ffffff;
color: @placeholder-color;
font-size: @font-family-base-component;
font-style: italic;
}
.combo-box-typing {
color: @body-color;
}
.combo-box-button {
position: absolute;
cursor: pointer;
width: 16px;
height: 16px;
text-align: center;
line-height: 16px;
font-family: jala-icons;
left: 135px;
top: 4px;
z-index: 2;
color: @secondary-color;
}
.combo-box-list {
top: 28px;
position: absolute;
width: 162px;
height: 100px;
background-color: #ffffff;
border: solid @lines-color 1px;
padding-top: 4px;
padding-bottom: 4px;
z-index: 3;
box-shadow: 0 2px 3px rgba(0,0,0,.35);
}
.combo-box-list-active {
display: block ;
}
.combo-box-option {
height: 32px;
width: 138px;
padding-right: 12px;
line-height: 32px;
padding-left: 12px;
cursor: pointer;
}
.combo-box-list-scroll{
width: 150px;
}
.combo-box-option:hover {
background-color: @listbox-hover-color;
}
.combo-box-option-select {
color: @body-color;
font-style: normal;
}