Skip to content

Commit

Permalink
Merge pull request #12227 from laryn/patch-1
Browse files Browse the repository at this point in the history
Backdrop - update styles for status messages
  • Loading branch information
colemanw authored May 29, 2018
2 parents 3832b5e + d56dfa6 commit 823270c
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions css/backdrop.css
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 823270c

Please sign in to comment.