diff options
Diffstat (limited to 'searx/static/themes/oscar/less/pointhi')
-rw-r--r-- | searx/static/themes/oscar/less/pointhi/advanced.less | 23 | ||||
-rw-r--r-- | searx/static/themes/oscar/less/pointhi/search.less | 16 |
2 files changed, 22 insertions, 17 deletions
diff --git a/searx/static/themes/oscar/less/pointhi/advanced.less b/searx/static/themes/oscar/less/pointhi/advanced.less index a83af4866..826438292 100644 --- a/searx/static/themes/oscar/less/pointhi/advanced.less +++ b/searx/static/themes/oscar/less/pointhi/advanced.less @@ -1,7 +1,8 @@ #advanced-search-container { - display:none; - text-align:center; - margin-bottom:1rem; + display: none; + text-align: center; + margin-bottom: 1rem; + clear: both; label, .input-group-addon { font-size: 1.3rem; @@ -11,7 +12,6 @@ border-right: none; color: #333; padding-bottom: 0.8rem; - padding-top: 0.8rem; padding-left: 1.2rem; padding-right: 1.2rem; } @@ -19,14 +19,14 @@ label:last-child, .input-group-addon:last-child { border-right: #DDD 1px solid; } - + input[type="radio"] { display: none; } - - input[type="radio"]:checked + label{ + + input[type="radio"]:checked + label { color: black; - font-weight:bold; + font-weight: bold; background-color: #EEE; } } @@ -36,10 +36,11 @@ } #check-advanced:checked ~ #advanced-search-container { - display:block; + display: block; } .advanced { - margin-top:1rem; - text-align:right; + padding: 0; + margin-top: 0.3rem; + text-align: right; } diff --git a/searx/static/themes/oscar/less/pointhi/search.less b/searx/static/themes/oscar/less/pointhi/search.less index d12b69d31..cea67998f 100644 --- a/searx/static/themes/oscar/less/pointhi/search.less +++ b/searx/static/themes/oscar/less/pointhi/search.less @@ -1,19 +1,23 @@ .search_categories, #categories { text-transform: capitalize; - margin-bottom:1.5rem; - margin-top:1.5rem; + margin-bottom: 1.5rem; + margin-top: 1.5rem; + display: flex; + flex-wrap: wrap; + align-content: stretch; label, .input-group-addon { + flex-grow: 1; + flex-basis: auto; font-size: 1.3rem; - font-weight:normal; + font-weight: normal; background-color: white; border: #DDD 1px solid; border-right: none; color: #333; padding-bottom: 0.8rem; padding-top: 0.8rem; - padding-left: 1.2rem; - padding-right: 1.2rem; + text-align: center; } label:last-child, .input-group-addon:last-child { @@ -22,7 +26,7 @@ input[type="checkbox"]:checked + label{ color: black; - font-weight:bold; + font-weight: bold; background-color: #EEE; } } |