- Patch #193482 by xmacinfo, yoroy, james.elliott, Jacine, JohnAlbin, theborg: styling status messages in system.css.

merge-requests/26/head
Dries Buytaert 2010-04-01 14:47:16 +00:00
parent cc515842fa
commit 5c60b7ca37
3 changed files with 15 additions and 36 deletions

View File

@ -64,39 +64,6 @@ thead th {
.breadcrumb {
padding-bottom: .5em
}
.error {
color: #e55;
}
div.error {
border: 1px solid #d77;
}
div.error, tr.error {
background: #fcc;
color: #200;
padding: 2px;
}
.warning {
color: #e09010;
}
div.warning {
border: 1px solid #f0c020;
}
div.warning, table tr.warning {
background: #ffd;
color: #220;
padding: 2px;
}
.ok {
color: #008000;
}
div.ok {
border: 1px solid #00aa00;
}
div.ok, tr.ok {
background: #dfd;
color: #020;
padding: 2px;
}
.item-list .icon {
color: #555;
float: right; /* LTR */

View File

@ -1807,6 +1807,7 @@ function system_init() {
drupal_add_css(drupal_get_path('module', 'system') . '/system.css', array('weight' => CSS_SYSTEM));
drupal_add_css(drupal_get_path('module', 'system') . '/system-behavior.css', array('weight' => CSS_SYSTEM));
drupal_add_css(drupal_get_path('module', 'system') . '/system-menus.css', array('weight' => CSS_SYSTEM));
drupal_add_css(drupal_get_path('module', 'system') . '/system-messages.css', array('weight' => CSS_SYSTEM));
// Ignore slave database servers for this request.

View File

@ -254,7 +254,7 @@ span.submitted, .description, .vertical-tab-button .summary {
padding: .5em 1em;
}
.messages {
div.messages {
margin: .75em 0 .75em;
padding: .1em .5em .15em;
}
@ -1096,7 +1096,7 @@ tr.taxonomy-term-divider-bottom {
/**
* Generic elements.
*/
.messages {
div.messages {
background-color: #fff;
border: 1px solid #b8d3e5;
}
@ -1107,8 +1107,13 @@ tr.taxonomy-term-divider-bottom {
}
div.status {
color: #33a333;
background-color: #fff;
border-color: #c7f2c8;
color: #33a333;
}
div.error {
border: 1px solid #d77;
}
div.error, tr.error {
@ -1116,6 +1121,12 @@ div.error, tr.error {
background-color: #FFCCCC;
}
div.warning {
background-color: #ffd;
border: 1px solid #f0c020;
color: #220;
}
.form-item input.error, .form-item textarea.error {
border: 1px solid #c52020;
color: #363636;