From fa780eae43efcc4b1b4b5a38ea6b437a5318ce6c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Sat, 22 Oct 2022 09:20:20 +0100 Subject: [PATCH] Bug 31765: Add page-section and bg-info classes to 'Notes' This patch adds the page-section and bg-info classes to the 'Notes' section of the patron imports page. As part of this patch, we update the base 'card' mixin to allow background colors to be overwridden with the standard bg-* options available in [bootstrap](https://getbootstrap.com/docs/4.0/utilities/colors/) Test plan 1) Build your CSS in the usual way 2) Confirm the Notes block looks OK on the patron imports tool Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss | 4 +++- .../intranet-tmpl/prog/en/modules/tools/import_borrowers.tt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss index aa901e6969..54a362938f 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss @@ -40,5 +40,7 @@ $nav-menu-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s } @mixin card { - background-color: white; + &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) { + background-color: white; + } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt index 1d1f03c04b..e0b14a8b2c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt @@ -365,7 +365,7 @@ -
+

Notes:

  • The first line in the file must be a header row defining which columns you are supplying in the import file.
  • -- 2.39.5