From 8e388d0d131f3486ce5a7fa771e7ffdbd0e7bb35 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 16 Nov 2018 14:26:27 +0000 Subject: [PATCH] Bug 21851: Improve style of sidebar forms This patch makes minor changes to staff client CSS in order to improve the style of forms in sidebars. It adjusts the style of nested fieldsets and gives more room to list items (and the form fields they contain). To test, apply the patch and regenerate the staff client CSS. - View pages with forms in the left-hand sidebar, especially: - Circulation -> Overdues - Tools -> Tags --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index dc72a32..dc866cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -155,7 +155,7 @@ aside { fieldset { &.brief { - margin: 0; + margin-bottom: .5em; padding: .4em .7em; fieldset { @@ -910,7 +910,7 @@ fieldset { label { display: block; font-weight: bold; - padding: .3em 0; + padding-top: .3em; &.inline { display: inline; @@ -921,6 +921,8 @@ fieldset { } li { + margin: .5em 0; + &[aria-disabled="true"] { color: #999; } @@ -1720,15 +1722,19 @@ dd { padding: .4em .7em; fieldset { - margin: 0 .3em; + border-radius: 0; + border-width: 1px; + margin: .5em 0; padding: .5em; legend { + border-width: 1px; font-size: 85%; } } li { + margin: .5em 0; &.checkbox { -- 2.1.4