From 62569a13264a0d0c1896dbef7d0258699f361720 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 14 Oct 2021 12:43:56 +0100 Subject: [PATCH] Bug 29244: Move message inside dialog and remove width This patch moves the message css rules inside the dialog ruleset to clarify their intention and removes the width so it inherits from the dialog class. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit cde0653deb322c749b6d43d1d67ff38b0d573ab6) Signed-off-by: Fridolin Somers --- .../prog/css/src/staff-global.scss | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 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 027f2cae33..ea14550103 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1058,23 +1058,6 @@ div { text-align: justify; } - &.message { - background: linear-gradient(to bottom, #FFFFFF 0%, #F4F6FA 2%, #EAEEF5 23%, #E8EDF6 94%, #CDDBF2 100%); - border: 1px solid #BCBCBC; - text-align: center; - width: 55%; - - ul, - h5 { - padding-left: 25%; - text-align: left; - } - - ul + h4 { - margin-top: .7em; - } - } - &.note { background: linear-gradient(to bottom, #F4F6FA 0%, #E8EDF6 100%); // W3C border: 1px solid #BCBCBC; @@ -1761,6 +1744,22 @@ i { } } + &.message { + background: linear-gradient(to bottom, #FFFFFF 0%, #F4F6FA 2%, #EAEEF5 23%, #E8EDF6 94%, #CDDBF2 100%); + border: 1px solid #BCBCBC; + text-align: center; + + ul, + h5 { + padding-left: 25%; + text-align: left; + } + + ul + h4 { + margin-top: .7em; + } + } + &.alert, &.error { background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%); -- 2.39.5