Skip to content

Instantly share code, notes, and snippets.

@joshuapowell
Created January 26, 2012 02:22
Show Gist options
  • Save joshuapowell/1680547 to your computer and use it in GitHub Desktop.
Save joshuapowell/1680547 to your computer and use it in GitHub Desktop.
LESS: LESS CSS basic console and messages (e.g., error, warning, status) to work with Drupal's HTML class attributes
/**
* Messages
*
*
*/
#console {
border: 0;
font-size: 12px;
margin: 14px 0 0;
.messages {
border: 0;
margin: 0 0 12px;
padding: 1em;
&.error {
background: #fbe3e4;
color: #8a1f11;
a {
color: #8a1f11;
}
}
&.status {
background-color: #e6efc2;
color: #264409;
a {
color: #264409;
}
}
&.warning {
background: #fff6bf;
color: #514721;
a {
color: #514721;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment