diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less index a3f6db9ae..a09735c5e 100644 --- a/searx/static/themes/simple/src/less/definitions.less +++ b/searx/static/themes/simple/src/less/definitions.less @@ -93,7 +93,7 @@ --color-toolkit-select-border-hover: #bbb; --color-toolkit-checkbox-onoff-background: #ddd; --color-toolkit-checkbox-onoff-label-background: #3050ff; - --color-toolkit-checkbox-onoff-checked-background: #ddd; + --color-toolkit-checkbox-onoff-checked-background: #aaa; --color-toolkit-checkbox-label-background: #fff; --color-toolkit-checkbox-label-border: #ddd; --color-toolkit-checkbox-input-border: #3050ff; diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 2a273d49d..2c08c5d31 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -140,6 +140,16 @@ article.result-images[data-vim-selected] { } } +article[data-vim-selected].category-videos, +article[data-vim-selected].category-news, +article[data-vim-selected].category-map, +article[data-vim-selected].category-music, +article[data-vim-selected].category-files, +article[data-vim-selected].category-social { + border: 1px solid var(--color-result-vim-arrow); + .rounded-corners; +} + .result { margin: @results-margin 0; padding: @result-padding; @@ -237,6 +247,17 @@ article.result-images[data-vim-selected] { } } +.category-videos, +.category-news, +.category-map, +.category-music, +.category-files, +.category-social { + border: 1px solid var(--color-result-border); + margin: 1rem 0; + .rounded-corners; +} + .category-social .image { width: auto !important; min-width: 48px; @@ -273,7 +294,7 @@ article.result-images[data-vim-selected] { padding: 0; position: relative; max-height: 200px; - border: none; + border: none !important; img { float: inherit; @@ -666,10 +687,6 @@ article.result-images[data-vim-selected] { "urls" "pagination"; } - - article[data-vim-selected]::before { - left: calc(((100% - @results-width) / 2) - 20px); - } } #main_results div#results.only_template_images { @@ -703,12 +720,7 @@ article.result-images[data-vim-selected] { @media screen and (max-width: @phone) { #main_results div#results { grid-template-columns: 100%; - margin: 2rem 0 0 0; - } - - article[data-vim-selected]::before { - display: none; - content: ""; + margin: 2rem @results-tablet-offset 0 @results-tablet-offset; } #linkto_preferences { @@ -718,10 +730,6 @@ article.result-images[data-vim-selected] { right: 0; } - #sidebar { - margin: 0 5px 2px 5px; - } - #results { margin: 0; padding: 0; @@ -731,10 +739,14 @@ article.result-images[data-vim-selected] { margin: 2rem 1rem 0 1rem !important; } + article[data-vim-selected] { + border: 1px solid var(--color-result-vim-arrow); .rounded-corners; } + .result { border: 1px solid var(--color-result-border); + margin: 1rem 0; .rounded-corners; }