forked from Ponysearch/Ponysearch
[fix] make "Advanced settings" openable and usable with keyboard - #350
This commit is contained in:
parent
ec48447361
commit
cc164abdfc
6 changed files with 9 additions and 9 deletions
|
@ -435,8 +435,8 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-bottom: #01d7d4 5px solid;
|
border-bottom: #01d7d4 5px solid;
|
||||||
}
|
}
|
||||||
#check-advanced {
|
#check-advanced:focus + label {
|
||||||
display: none;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
#check-advanced:checked ~ #advanced-search-container {
|
#check-advanced:checked ~ #advanced-search-container {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -408,8 +408,8 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-bottom: #01d7d4 5px solid;
|
border-bottom: #01d7d4 5px solid;
|
||||||
}
|
}
|
||||||
#check-advanced {
|
#check-advanced:focus + label {
|
||||||
display: none;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
#check-advanced:checked ~ #advanced-search-container {
|
#check-advanced:checked ~ #advanced-search-container {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -31,8 +31,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#check-advanced {
|
#check-advanced:focus + label {
|
||||||
display: none;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#check-advanced:checked ~ #advanced-search-container {
|
#check-advanced:checked ~ #advanced-search-container {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<input type="checkbox" name="advanced_search" id="check-advanced" {% if advanced_search %} checked="checked"{% endif %}>
|
<input type="checkbox" name="advanced_search" class="visually-hidden" id="check-advanced" {% if advanced_search %} checked="checked"{% endif %}>
|
||||||
<label for="check-advanced">{{- "" -}}
|
<label for="check-advanced">{{- "" -}}
|
||||||
<span class="glyphicon glyphicon-cog"></span>
|
<span class="glyphicon glyphicon-cog"></span>
|
||||||
{{- _('Advanced settings') -}}
|
{{- _('Advanced settings') -}}
|
||||||
|
|
Loading…
Reference in a new issue