From dc8afe68d417df7d12e2f6c43111378384013fe4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 18 Oct 2022 17:21:40 +0000 Subject: [PATCH] Bug 31750: Need more padding in cataloguing This patch makes some minor tweaks to the CSS controlling the appearance of the toolbar shown in the basic cataloging editor. To test, apply the patch and go to Cataloging -> New record. - Confirm that the page looks correct, with the toolbar the same width as the main content of the page. - Confirm that the toolbar looks correct when you scroll and the toolbar "floats" Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/css/addbiblio.css | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css index f78064c31d..e167b01127 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -4,10 +4,13 @@ form { div#toolbar { border: 0; + margin-bottom: 0; + padding-top: 5px; } .tab-content { border: 0; + border-radius: 0; padding: 0; } @@ -90,12 +93,17 @@ a.expandfield { margin-bottom : 1em; } -.toptabs .ui-tabs-nav li a { - padding : .2em 1.2em; +.toptabs { + margin-left: -5px; + margin-top: 0; +} + +.toptabs .tab-pane { + padding: 1em; } .tag { - border-bottom: 2px solid #D5E6E9; + border-bottom: 2px solid #E4F2DA; clear: both; padding: .7em 0; } @@ -278,6 +286,7 @@ tbody tr.active td { .toolbar-tabs-container { flex-basis: 100%; + margin-top: .5em; } .toolbar-tabs { @@ -344,10 +353,6 @@ tbody tr.active td { width: 100%; } -.toolbar-tabs li:first-child a { - border-left: 1px solid #EDF4F6; -} - .tag_anchors_list { background-color: #FFF; clear: both; @@ -367,7 +372,7 @@ tbody tr.active td { } .tag_anchors a { - border-right: 1px solid #EDF4F6; + border-right: 1px solid #CCC; display: inline-block; padding: 0 .4em; } -- 2.39.5