mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
👌 updates from pr review
This commit is contained in:
parent
ea93a8a195
commit
a22ae3d467
@ -36,12 +36,6 @@
|
|||||||
width: 20em;
|
width: 20em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#kiwixsearchbox {
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#kiwix_serve_taskbar_home_button button {
|
#kiwix_serve_taskbar_home_button button {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
@ -80,15 +74,8 @@
|
|||||||
label[for="button_show_toggle"]:after {
|
label[for="button_show_toggle"]:after {
|
||||||
transition: 0.1s;
|
transition: 0.1s;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 26px;
|
line-height: 21px;
|
||||||
margin-top: 5px;
|
font-size: 30px;
|
||||||
}
|
|
||||||
|
|
||||||
#button_show_toggle~label~.kiwix_button_cont.searching {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
label[for="button_show_toggle"].searching {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
label[for="button_show_toggle"],
|
label[for="button_show_toggle"],
|
||||||
@ -115,21 +102,28 @@ label[for="button_show_toggle"],
|
|||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kiwix #kiwixtoolbar a {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kiwix #kiwixtoolbar #kiwixsearchform input[type='text'] {
|
.kiwix #kiwixtoolbar #kiwixsearchform input[type='text'] {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
|
width: 100%;
|
||||||
height: 26px !important;
|
height: 26px !important;
|
||||||
line-height: 20px !important;
|
line-height: 20px !important;
|
||||||
border: 1px solid #999 !important;
|
border: 1px solid #999 !important;
|
||||||
border-radius: 3px !important;
|
border-radius: 3px !important;
|
||||||
background-color: #fff !important;
|
background-color: #fff !important;
|
||||||
padding: 2px 2px 2px 3px !important;
|
padding: 2px 2px 2px 27px !important;
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label[for=kiwixsearchbox] {
|
||||||
|
z-index: 1;
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
left: 3px;
|
||||||
|
top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Try to fix buggy stuff in jquery-ui autocomplete */
|
/* Try to fix buggy stuff in jquery-ui autocomplete */
|
||||||
#ui-id-1,
|
#ui-id-1,
|
||||||
.ui-autocomplete {
|
.ui-autocomplete {
|
||||||
@ -141,7 +135,6 @@ li.ui-state-focus {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media(min-width:420px) {
|
@media(min-width:420px) {
|
||||||
.kiwix_button_cont {
|
.kiwix_button_cont {
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
@ -156,17 +149,16 @@ li.ui-state-focus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 520px) {
|
|
||||||
.kiwixsearch {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kiwix_button_cont {
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 645px) {
|
@media (max-width: 645px) {
|
||||||
|
|
||||||
|
#button_show_toggle~label~.kiwix_button_cont.searching {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
label[for="button_show_toggle"].searching {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.kiwix_searchform.full_width {
|
.kiwix_searchform.full_width {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
<div class="kiwix_searchform">
|
<div class="kiwix_searchform">
|
||||||
<form class="kiwixsearch" method="GET" action="__ROOT_LOCATION__/search" id="kiwixsearchform">
|
<form class="kiwixsearch" method="GET" action="__ROOT_LOCATION__/search" id="kiwixsearchform">
|
||||||
<input type="hidden" name="content" value="__CONTENT__" />
|
<input type="hidden" name="content" value="__CONTENT__" />
|
||||||
<input autocomplete="off" class="ui-autocomplete-input" id="kiwixsearchbox" name="pattern" type="text" placeholder="🔍" onfocus="this.placeholder = ''" onblur="this.placeholder = '🔍'">
|
<label for="kiwixsearchbox">🔍</label>
|
||||||
|
<input autocomplete="off" class="ui-autocomplete-input" id="kiwixsearchbox" name="pattern" type="text">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<input type="checkbox" id="button_show_toggle">
|
<input type="checkbox" id="button_show_toggle">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user