From c22dac63834a55c9c994f1de0c96b7c1b7bc2461 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 28 Oct 2022 08:53:08 +0100 Subject: [PATCH] Bug 32022: (follow-up) Ensure action background takes presidence The action class sets the background to transparent, but because it's often used in conjunction with the fieldset which includes the card mixin the background rule was getting overridden to white. Test plan 1. Consider the same cases as the original patch 2. Confirm that the last test now shows the buttons outside of the card but nicely spaced to clearly belong to it. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss index b669a9ea1c..aa2e870101 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_mixins.scss @@ -42,7 +42,7 @@ $nav-menu-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s @mixin card { margin-bottom: 1rem; padding: 1rem; - &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) { + &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary):not(.action) { background-color: white; } } -- 2.20.1