From d56dfa66656feb53cc27682bfe48d0f56b2872dd Mon Sep 17 00:00:00 2001 From: "Laryn - CEDC.org" Date: Tue, 29 May 2018 10:58:45 -0500 Subject: [PATCH] Update Backdrop styles slightly Works better with stock and works with Shoreditch enabled as well. --- css/backdrop.css | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/css/backdrop.css b/css/backdrop.css index 0b718bd206..e06417ecbb 100644 --- a/css/backdrop.css +++ b/css/backdrop.css @@ -1,15 +1,30 @@ /* Styles specific to Backdrop CMS */ /* Make status messages work with Backdrop styles */ -.crm-container .messages.status { +.crm-container :not(.crm-footer) .messages.status { background-color: #E9EEBC; padding: 0.9em 0.625em 1em 3.438em; border: none; } +.crm-container :not(.crm-footer) .messages.status .crm-i { + font-size: 1.5rem; + color: #fff; + background-color: #CFDE56; + position: absolute; + padding: .4rem; + left: 0; + top: 0; + box-sizing: border-box; +} + @media only screen and (min-width:34em) { - .crm-container .messages.status { + .crm-container :not(.crm-footer) .messages.status { padding-left: 4.375em; } + + .crm-container :not(.crm-footer) .messages.status .crm-i { + font-size: 1.75rem; + padding: .5rem; + } } - -- 2.25.1