diff options
author | Alexandre Flament <alex@al-f.net> | 2021-10-30 20:43:40 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-11-03 09:25:33 +0100 |
commit | 2dcd9a68d6df0765669efb983066d6a7a02089bb (patch) | |
tree | e1030cd0ceaf204ba3712d7185d6e76f456943cc | |
parent | 49db7b20d4d2b62f43855030669c168daa83838a (diff) | |
download | searxng-2dcd9a68d6df0765669efb983066d6a7a02089bb.tar.gz searxng-2dcd9a68d6df0765669efb983066d6a7a02089bb.zip |
[mod] simple theme: adjust button colors in dark version.
buttons:
* previous & next in the result page
* save, restore, & back in the preferences
* back to top
<select> input in Chrom* browsers:
* fix the white text with a white background issue
-rw-r--r-- | searx/static/themes/simple/src/less/definitions.less | 10 | ||||
-rw-r--r-- | searx/static/themes/simple/src/less/style.less | 7 | ||||
-rw-r--r-- | searx/static/themes/simple/src/less/toolkit.less | 4 |
3 files changed, 17 insertions, 4 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less index f574b79ea..7bae27e23 100644 --- a/searx/static/themes/simple/src/less/definitions.less +++ b/searx/static/themes/simple/src/less/definitions.less @@ -22,6 +22,7 @@ --color-sidebar-border: #ddd; --color-sidebar-font: #000; /// BackToTop Colors + --color-backtotop-font: #444; --color-backtotop-border: #ddd; --color-backtotop-background: #fff; --color-backtotop-shadow: #ccc; @@ -124,12 +125,13 @@ --color-sidebar-border: #333; --color-sidebar-font: #fff; /// BackToTop Colors + --color-backtotop-font: #58f; --color-backtotop-border: #333; --color-backtotop-background: #181818; - --color-backtotop-shadow: #444; + --color-backtotop-shadow: #333; /// Button Colors --color-btn-background: #58f; - --color-btn-font: #fff; + --color-btn-font: #222; /// Search Input Colors --color-search-border: #444; --color-search-background: #222; @@ -155,7 +157,7 @@ --color-answer-font: #bbb; // same as --color-base-font --color-answer-background: #181818; // same as --color-header-background: /// Results Colors - --color-result-shadow: #444; + --color-result-shadow: #333; --color-result-border: #333; --color-result-url-font: #fff; --color-result-vim-selected: #181818; @@ -201,7 +203,7 @@ --color-toolkit-checkbox-label-border: #333; --color-toolkit-checkbox-input-border: #58f; --color-toolkit-engine-tooltip-border: #333; - --color-toolkit-engine-tooltip-shadow: #444; + --color-toolkit-engine-tooltip-shadow: #333; --color-toolkit-engine-tooltip-background: #222; --color-toolkit-loader-border: rgba(255, 255, 255, 0.2); --color-toolkit-loader-borderleft: rgba(0, 0, 0, 0); diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 50edf6eab..8fc760aaa 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -563,6 +563,13 @@ article.result-images[data-vim-selected] { margin: 0; padding: 0.7em; } + + a, + a:visited, + a:hover, + a:active { + color: var(--color-backtotop-font); + } } #results.scrolling #backToTop { diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less index 681da43e7..defdd26f9 100644 --- a/searx/static/themes/simple/src/less/toolkit.less +++ b/searx/static/themes/simple/src/less/toolkit.less @@ -338,6 +338,10 @@ select { &:focus { border-bottom: 1px solid var(--color-search-border); } + + option { + background-color: var(--color-base-background); + } } @media (prefers-color-scheme: dark) { |