From b82173dce128043a3d504252d5a439a6f975591c 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 --- .../intranet-tmpl/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 ac1a68a940..257e021472 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1108,23 +1108,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; @@ -1849,6 +1832,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.11.0