From 36225207c0fc50c3825e5bf5f938f66519c95039 Mon Sep 17 00:00:00 2001 From: Skylsmoi Date: Thu, 20 Apr 2017 17:35:12 +0200 Subject: [PATCH] force custom design to override rules from libraries --- static/server/taskbar.css | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/static/server/taskbar.css b/static/server/taskbar.css index 8071d26..abe6c75 100644 --- a/static/server/taskbar.css +++ b/static/server/taskbar.css @@ -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;