diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-24 17:07:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-24 17:07:05 +0000 |
| commit | 34264f0b0aff2a1bc33f64591e2095f4ce17a3e1 (patch) | |
| tree | a9b8ad94dfbc8b8272bbe7d5024dcf73c712b38b /searx/static/themes/oscar/less/logicodev/onoff.less | |
| parent | 4c7b7870044e17167e1f3025bc192a492b908be9 (diff) | |
| parent | a984afd6a32ec3bd5011659362afaf81a4bc787e (diff) | |
Merge branch 'master' into proxify-dataurl
Diffstat (limited to 'searx/static/themes/oscar/less/logicodev/onoff.less')
| -rw-r--r-- | searx/static/themes/oscar/less/logicodev/onoff.less | 21 |
1 files changed, 19 insertions, 2 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; +} |