forked from mirrors/Scribe.js
57 lines
915 B
CSS
57 lines
915 B
CSS
/* AUTOCOMPLETE */
|
|
|
|
.autocomplete{
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.autocomplete input{
|
|
font-size: 10px;
|
|
width: 100%;
|
|
padding: 8px;
|
|
background: #222;
|
|
border: 1px solid #2C2C2C;
|
|
color: #FFF;
|
|
font-family: "Open Sans";
|
|
transition: background 250ms;
|
|
}
|
|
|
|
.autocomplete ul{
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
border-left: 1px solid #888;
|
|
border-right: 1px solid #888;
|
|
border-bottom: 1px solid #888;
|
|
z-index: 1;
|
|
}
|
|
|
|
.autocomplete li{
|
|
text-align: left;
|
|
list-style:none;
|
|
width: 100%;
|
|
padding: 7px;
|
|
background: #333;
|
|
font-family: "Open Sans";
|
|
font-size: 10px;
|
|
color: #FFF;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.autocomplete li.active{
|
|
width: 100%;
|
|
background-color: #4bf;
|
|
}
|
|
|
|
.autocomplete .highlight {
|
|
background-color: #E2E2E2;
|
|
}
|
|
|
|
.autocomplete li.active .highlight {
|
|
background: #666;
|
|
color: #fff;
|
|
}
|
|
.autocomplete input:focus {
|
|
background: #FFF;
|
|
color: #000;
|
|
}
|