mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 03:52:35 -04:00
Merge pull request #24 from Skylsmoi/336/fix_display_taskbar_save
336/fix display taskbar save
This commit is contained in:
commit
e26244687d
@ -19,9 +19,38 @@
|
|||||||
width: 20em;
|
width: 20em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kiwixsearch {
|
.kiwix .kiwix_centered {
|
||||||
|
max-width: 55.8em;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.kiwix .kiwix_button_wrapper {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.kiwix .kiwix_searchform {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
.kiwix #kiwixtoolbar button,
|
||||||
|
.kiwix #kiwixtoolbar #kiwixsearchform input[type="submit"] {
|
||||||
|
margin-right: 5px;
|
||||||
|
padding: 0 6px;
|
||||||
|
border: 1px solid #999;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #ededed;
|
||||||
|
font-weight: normal;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.kiwix #kiwixtoolbar a {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.kiwix #kiwixtoolbar a > button {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.kiwix #kiwixtoolbar #kiwixsearchform input {
|
||||||
|
border: 1px solid #999;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 2px 2px 2px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Try to fix buggy stuff in jquery-ui autocomplete */
|
/* Try to fix buggy stuff in jquery-ui autocomplete */
|
||||||
#ui-id-1, .ui-autocomplete {
|
#ui-id-1, .ui-autocomplete {
|
||||||
@ -44,14 +73,14 @@ li.ui-state-focus {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the breakpoint "600px" is the width of the 3 btns "library", "home" and "randoml" */
|
/* the breakpoint "645px" is the width of the 3 btns "library", "home" and "randoml" */
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 645px) {
|
||||||
.kiwixsearch {
|
.kiwixsearch {
|
||||||
float: none;
|
float: none;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
#kiwixsearchbox {
|
#kiwixsearchbox {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
}
|
}
|
||||||
#kiwixsearchform input[type="submit"] {
|
#kiwixsearchform input[type="submit"] {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
@ -2,14 +2,20 @@
|
|||||||
<link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
|
<link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
|
||||||
<span class="kiwix">
|
<span class="kiwix">
|
||||||
<span id="kiwixtoolbar" class="ui-widget-header">
|
<span id="kiwixtoolbar" class="ui-widget-header">
|
||||||
<a href="/"><button>Library</button></a>
|
<div class="kiwix_centered">
|
||||||
<a href="/__CONTENT__/"><button>Home</button></a>
|
<div class="kiwix_button_wrapper">
|
||||||
<a href="/random?content=__CONTENT__"><button>Random</button></a>
|
<a href="/"><button>Library</button></a>
|
||||||
<form class="kiwixsearch" method="GET" action="/search" id="kiwixsearchform">
|
<a href="/__CONTENT__/"><button>Home</button></a>
|
||||||
<input type="hidden" name="content" value="__CONTENT__" />
|
<a href="/random?content=__CONTENT__"><button>Random</button></a>
|
||||||
<input autocomplete="off" class="ui-autocomplete-input" id="kiwixsearchbox" name="pattern" type="text">
|
</div>
|
||||||
<input type="submit" value="Search">
|
<div class="kiwix_searchform">
|
||||||
</form>
|
<form class="kiwixsearch" method="GET" action="/search" id="kiwixsearchform">
|
||||||
|
<input type="hidden" name="content" value="__CONTENT__" />
|
||||||
|
<input autocomplete="off" class="ui-autocomplete-input" id="kiwixsearchbox" name="pattern" type="text">
|
||||||
|
<input type="submit" value="Search">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<div class='height_separator'></div>
|
<div style="display: block; height: 5em;"></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user