From acd4fb16a7f5e61bff702ecc6297f766d1e1ecf4 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. --- .../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.20.1