diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-25 05:42:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 05:42:11 +0000 |
commit | a059c59cea0e1c1232822ab66e7c7780efbe0cbf (patch) | |
tree | 038ddf324ca36443090a56297ea7593fde148b05 /searx/static/themes/oscar/less | |
parent | 1db37a0cc3622ce791851ebeb3db814c0a1f0c61 (diff) | |
parent | ccb1fe11d7d728ab00d32f7626f8f8321befe2ea (diff) | |
download | searxng-a059c59cea0e1c1232822ab66e7c7780efbe0cbf.tar.gz searxng-a059c59cea0e1c1232822ab66e7c7780efbe0cbf.zip |
Merge branch 'master' into about-opensearch
Diffstat (limited to 'searx/static/themes/oscar/less')
-rw-r--r-- | searx/static/themes/oscar/less/logicodev/onoff.less | 21 | ||||
-rw-r--r-- | searx/static/themes/oscar/less/logicodev/search.less | 12 |
2 files changed, 30 insertions, 3 deletions
diff --git a/searx/static/themes/oscar/less/logicodev/onoff.less b/searx/static/themes/oscar/less/logicodev/onoff.less index f47189216..fbd2983eb 100644 --- a/searx/static/themes/oscar/less/logicodev/onoff.less +++ b/searx/static/themes/oscar/less/logicodev/onoff.less @@ -9,7 +9,21 @@ -ms-user-select: none; } .onoffswitch-checkbox { - display: none; + opacity: 0; + position: absolute; +} +.onoffswitch-checkbox:before { + content: ""; + display: inline-block; + width: 16px; + height: 16px; + margin-right: 10px; + position: absolute; + left: 0; + bottom: 1px; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 0px; } .onoffswitch-label { display: block; @@ -44,7 +58,7 @@ top: 0; bottom: 0; right: 0px; - border: 2px solid #FFFFFF !important; + border: 2px solid #FFFFFF; border-radius: 50px !important; transition: all 0.3s ease-in 0s; } @@ -55,3 +69,6 @@ right: 71px; background-color: #A1A1A1; } +.onoffswitch-checkbox:focus + .onoffswitch-label .onoffswitch-switch { + border: 3px solid #444444; +} diff --git a/searx/static/themes/oscar/less/logicodev/search.less b/searx/static/themes/oscar/less/logicodev/search.less index d65e30563..ff94bfefb 100644 --- a/searx/static/themes/oscar/less/logicodev/search.less +++ b/searx/static/themes/oscar/less/logicodev/search.less @@ -77,4 +77,14 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb .search-margin { margin-bottom: 0.6em; -}
\ No newline at end of file +} + +.visually-hidden { + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + white-space: nowrap; /* added line */ +} |