responsivewebframework
Version:
Jalasoft Foundation Front End Framework ========================================
102 lines (88 loc) • 1.74 kB
text/less
// Search box
.container-searcher-element {
height: 30px;
line-height: 30px;
border-radius: @search-box-border-radius;
background-color: @search-box-color;
border: solid @placeholder-color 1px;
display: table;
font-family: @font-family-Regular;
font-size: @text-box-base-font-size;
}
.search-box {
display: table;
float: left;
}
.ico-searcher-list {
float: left;
margin-left: 8px;
top: 0;
button: 0;
}
.container-searcher-box {
float: left;
}
.ico-exit-searcher {
float: left;
margin-right: 8px;
height: 30px;
line-height: 30px;
}
#searcher-placeholder {
border: 1px solid white;
color: #cbcbcb;
position: absolute;
overflow: hidden;
padding: 0 12px;
}
#searcher-text {
border: 1px solid white;
position: relative;
top: 0;
left:0;
overflow: hidden;
outline: 0;
}
.searcher-container {
display:none;
}
.searchlist {
display:none;
border: 1px @placeholder-color solid;
position: absolute;
background-color: white;
margin-left: 30px;
font-family: @font-family-base-component;
font-size: @text-box-base-font-size;
-webkit-box-shadow: -1px 1px 6px 4px rgba(0,0,0,0.20);
-moz-box-shadow: -1px 1px 6px 4px rgba(0,0,0,0.20);
box-shadow: -1px 1px 6px 4px rgba(0,0,0,0.20);
}
.searcher-item {
width: 100%;
height: 32px;
line-height: 32px;
color: #000000;
}
.searcher-item-text {
padding: 0px 12px 0px 12px;
margin: 0;
}
.searcher-item:hover {
background-color: #c0c0c0;
cursor: pointer;
}
.input-searcher-text {
background-color: transparent;
margin:0 12px;
padding: 0;
border: 0;
outline: @text-area-outline;
}
.input-searcher-text:focus {
border: 0 #fff solid;
}
.ico-exit-searcher {
opacity: 0;
cursor: pointer;
}