From 3399e1a8effcb713186dd486cc2a0561adc8467f Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 19 May 2023 15:41:25 +0000 Subject: [PATCH] Bug 27378: Fix missing bootstrap button classes This patch restores the background colour to buttons in the intranet where bootstrap classes were being overidden with a default of #fff. The colour of the the "More Information" button in the cookies bar and the "Accept selected non-essential cookies" button in the cookies modal have been changed slightly to comply with accessibility colour contrasts. --- .../intranet-tmpl/prog/css/src/staff-global.scss | 11 +++++++++++ .../prog/en/includes/intranet-bottom.inc | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) 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 9f576aae56..047e01ccd8 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2947,6 +2947,17 @@ button, } } + &.btn-info { + color: #fff; + background-color: #194EA3; + border-color: #0B439D; + } + + &.btn-success { + background-color: #419641; + border-color: #398339; + } + &.btn-danger { background-color: #CC3333; border-color: #9B2323; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc index f6f42a7021..7540b5a36b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc @@ -124,7 +124,7 @@ [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %] - + [% END %] -- 2.37.1 (Apple Git-137.1)