From 18a915f20d94f6fac6c7bec61aac2ab6189a76a8 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 | 14 -- .../modules/reports/guided_reports_start.tt | 144 ++++++++++-------- 2 files changed, 81 insertions(+), 77 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 f8c9cefcd75..98207eab2a0 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1435,20 +1435,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; 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 aeb679955f6..41f29ff9c45 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 @@ -75,31 +75,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 %] @@ -526,7 +549,7 @@
- +
[% END # /build1 %] @@ -554,8 +577,8 @@
- - + +
[% END # /IF (build2 ) %] @@ -572,43 +595,38 @@
-
-
-
- -
-
-
- -
+
+
+
- - -
- +
+ + +
+
+
-
- - + +
@@ -701,8 +719,8 @@
- - + +
[% END # /IF ( build4 ) %] @@ -741,8 +759,8 @@
- - + +
[% END # /IF ( build5 ) %] -- 2.39.5