Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme

This commit is contained in:
Markus Heiser 2020-06-30 15:37:39 +02:00
commit f14a7add31
38 changed files with 829 additions and 288 deletions

View file

@ -31,8 +31,8 @@
}
}
#check-advanced {
display: none;
#check-advanced:focus + label {
text-decoration: underline;
}
#check-advanced:checked ~ #advanced-search-container {

View file

@ -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;
}

View file

@ -77,4 +77,14 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb
.search-margin {
margin-bottom: 0.6em;
}
}
.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 */
}