force custom design to override rules from libraries

This commit is contained in:
Skylsmoi 2017-04-20 17:35:12 +02:00
parent 126781bbb5
commit 36225207c0

View File

@ -23,6 +23,29 @@
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 */
#ui-id-1, .ui-autocomplete {
background: white !important;
@ -44,8 +67,8 @@ li.ui-state-focus {
text-decoration: underline;
}
/* the breakpoint "600px" is the width of the 3 btns "library", "home" and "randoml" */
@media (max-width: 600px) {
/* the breakpoint "645px" is the width of the 3 btns "library", "home" and "randoml" */
@media (max-width: 645px) {
.kiwixsearch {
float: none;
margin-top: 5px;