whoogle-search/app/static/css/themes/whoogle-search.css
Alexandar Mechev 72a006ccfb
More tweaks to css..
delegating search-bar style to .css
2020-10-18 12:39:01 +02:00

52 lines
996 B
CSS

.autocomplete {
position: relative;
display: inline-block;
width: 100%;
}
.autocomplete-items {
position: absolute;
border: 1px solid #d4d4d4;
border-bottom: none;
border-top: none;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/
top: 100%;
left: 0;
right: 0;
}
.autocomplete-items div {
padding: 10px;
cursor: pointer;
background-color: #fff;
border-bottom: 1px solid #d4d4d4;
}
body.dark * div#search-bar-autocomplete-list div{
padding: 10px;
cursor: pointer;
color: #ddd;
background-color: #000;
border-bottom: 1px solid #fff;
}
body.dark * div#search-bar-autocomplete-list div:hover {
background-color: #222;
}
body.dark * #search-bar {
width: 100%;
border: 3px solid #e9e9e9;
color: #fff;
}
.autocomplete-items div:hover {
background-color: #e9e9e9;
}
.autocomplete-active {
background-color: #685e79 !important;
color: #ffffff;
}