From 8ea892365fae305c31a9b22a805c851970b2d483 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 5 Feb 2025 17:08:43 +0000 Subject: [PATCH] Bug 39043: Style improvement to guided reports controls This patch makes some markup and CSS changes to improve the style of controls in the build guided report process. To test, apply the patch and rebuild the staff interface CSS. - Go to Reports -> Create guided report - In each step of the process, confirm that navigation buttons are styled with Font Awesome arrow icons. - In step 3, confirm that the "Add" and "Delete" buttons are well-styled and aligned well between the two selection boxes. Sponsored-by: Athens County Public Libraries Signed-off-by: Brendan Gallagher --- .../prog/css/src/staff-global.scss | 16 +- .../modules/reports/guided_reports_start.tt | 144 ++++++++++-------- 2 files changed, 82 insertions(+), 78 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 d8a1d8aca3..4fdf595b71 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1432,20 +1432,6 @@ dd { display: inline-block; } -#addColumn, -#delColumn { - background-color: transparent; - border: none; - box-shadow: none; - color: $green-text-color; - font-size: 100%; - padding: .3em; - - &:hover { - text-decoration: underline; - } -} - .patronviews { border-right: 1px solid #000; border-top: 1px solid #000; @@ -4912,4 +4898,4 @@ div .suggestion_note { display: block; } } -} +} \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 55afc39ff0..53d77d6c13 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -74,31 +74,54 @@ [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/codemirror/codemirror.min.css") | $raw %] - +[% FILTER collapse %] + +[% END %] [% Asset.css("css/reports.css") | $raw %] [% Asset.css("lib/d3c3/c3.min.css") | $raw %] @@ -525,7 +548,7 @@
- +
[% END # /build1 %] @@ -553,8 +576,8 @@
- - + +
[% END # /IF (build2 ) %] @@ -571,43 +594,38 @@
-
-
-
- -
-
-
- -
+
+
+
- - -
- +
+ + +
+
+
-
- - + +
@@ -700,8 +718,8 @@
- - + +
[% END # /IF ( build4 ) %] @@ -740,8 +758,8 @@
- - + +
[% END # /IF ( build5 ) %] -- 2.39.5