diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-09-22 23:51:07 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-09-22 23:51:07 +0200 |
commit | bee7b497a300622f5ba2b619817f5c89c29ae871 (patch) | |
tree | 525c3d85020cedd88663a4bb4a0e18c54500044b /searx/static/themes/legacy/less/search.less | |
parent | aaf5d506e51197603922d7b9d259c0f4e498f62b (diff) | |
download | searxng-bee7b497a300622f5ba2b619817f5c89c29ae871.tar.gz searxng-bee7b497a300622f5ba2b619817f5c89c29ae871.zip |
[mod] rename "default" theme to "legacy"
Diffstat (limited to 'searx/static/themes/legacy/less/search.less')
-rw-r--r-- | searx/static/themes/legacy/less/search.less | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/searx/static/themes/legacy/less/search.less b/searx/static/themes/legacy/less/search.less new file mode 100644 index 000000000..d285ca734 --- /dev/null +++ b/searx/static/themes/legacy/less/search.less @@ -0,0 +1,68 @@ +/* + * searx, A privacy-respecting, hackable metasearch engine + */ + +.search { + padding: 0; + margin: 0; + .checkbox_container label { + font-size: 0.9em; + border-bottom: 2px solid @color-categories-item-border-unselected; + } + + .checkbox_container label:hover { + border-bottom: 2px solid @color-categories-item-border-unselected-hover; + } + + .checkbox_container input[type="checkbox"]:checked + label { + border-bottom: 2px solid @color-categories-item-border-selected; + } +} + +#search_wrapper { + position: relative; + width: @results-width; + 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; +} + +@media screen and (max-width: @results-width) { + #search_wrapper { + width: 90%; + clear:both; + overflow: hidden + } +} |