searxng/searx/static/default/less/search.less

69 lines
1.3 KiB
Text
Raw Normal View History

2014-03-20 12:16:58 +00:00
/*
* searx, A privacy-respecting, hackable metasearch engine
*/
.search {
padding: 0;
margin: 0;
.checkbox_container label {
2014-05-08 23:27:55 +00:00
font-size: 0.9em;
border-bottom: 2px solid @color-categories-item-border-unselected;
2014-03-20 12:16:58 +00:00
}
.checkbox_container label:hover {
2014-05-08 23:27:55 +00:00
border-bottom: 2px solid @color-categories-item-border-unselected-hover;
2014-03-20 12:16:58 +00:00
}
.checkbox_container input[type="checkbox"]:checked + label {
2014-05-08 23:27:55 +00:00
border-bottom: 2px solid @color-categories-item-border-selected;
2014-03-20 12:16:58 +00:00
}
}
#search_wrapper {
position: relative;
2014-05-09 09:49:11 +00:00
width: @results-width;
2014-03-20 12:16:58 +00:00
padding: 10px;
}
.center #search_wrapper {
margin-left: auto;
margin-right: auto;
}
.q {
background: none repeat scroll 0 0 @color-search-background;
border: 1px solid @color-search-border;
color: @color-search-font;
font-size: 16px;
height: 28px;
margin: 0;
outline: medium none;
padding: 2px;
padding-left: 8px;
padding-right: 0px !important;
width: 100%;
z-index: 2;
}
#search_submit {
position: absolute;
top: 13px;
right: 1px;
padding: 0;
border: 0;
background: url('../img/search-icon.png') no-repeat;
background-size: 24px 24px;
opacity: 0.8;
width: 24px;
height: 30px;
font-size: 0;
}
2014-05-08 23:27:55 +00:00
@media screen and (max-width: @results-width) {
2014-03-20 12:16:58 +00:00
#search_wrapper {
width: 90%;
clear:both;
overflow: hidden
}
}