Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elgg system messages based on Twitter Bootstrap
.elgg-system-messages {
position: absolute; top: 0; left: 10px; right: 10px;
padding: 0;
max-width: none;
}
/* some styles borrowed from Twitter Bootstrap */
.elgg-message {
background: #D9EDF7;
color: #3A87AD;
border: 1px solid #BCE8F1;
font-weight: bold;
display: block;
padding: 8px 35px 8px 14px;
margin-bottom: 10px;
cursor: pointer;
opacity: 0.9;
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.elgg-state-success {
background: #DFF0D8;
border-color: #D6E9C6;
color: #468847;
}
.elgg-state-error {
background: #F2DEDE;
border-color: #EED3D7;
color: #B94A48;
}
.elgg-state-notice {
background: #FCF8E3;
border-color: #FBEED5;
color: #C09853;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.