summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-13 22:59:34 (GMT)
committerAlex Pott2013-06-13 22:59:34 (GMT)
commit95368fcaabb2715e13a42d6d797a587dbacc36f2 (patch)
treecf4b44766e16dd17375f3e58678f668da19143df
parent84d0ea9776d8ebfba17023e8cc2627b66044d244 (diff)
Issue #1986408 followup by ry5n, tim.plunkett, joelpittet | Bojhan: Fixed Message style update.
-rw-r--r--core/includes/theme.inc4
-rw-r--r--core/modules/system/css/system.theme.css6
2 files changed, 5 insertions, 5 deletions
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index 62f2aed..ae8ec15 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -1654,9 +1654,9 @@ function theme_status_messages($variables) {
$output .= '<h2 class="element-invisible">' . $status_heading[$type] . "</h2>\n";
}
if (count($messages) > 1) {
- $output .= " <ul>\n";
+ $output .= " <ul class=\"messages__list\">\n";
foreach ($messages as $message) {
- $output .= ' <li>' . $message . "</li>\n";
+ $output .= ' <li class="messages__item">' . $message . "</li>\n";
}
$output .= " </ul>\n";
}
diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index c67d1a1..19bb45f 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -440,13 +440,13 @@ ul.tabs {
.messages + .messages {
margin-top: 1.538em;
}
-.messages ul {
+.messages__list {
list-style: none;
padding: 0;
margin: 0;
}
-.messages li + li {
- margin-top: .769em;
+.messages__item + .messages__item {
+ margin-top: 0.769em;
}
/* @TODO Separate tables and messages styling */