add a shared CSS class for warnings
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 14 May 2011 15:39:37 +0000 (15:39 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 14 May 2011 15:39:37 +0000 (15:39 +0000)
We already have one for success and error

skins/common/shared.css

index e84901f..d9f9179 100644 (file)
@@ -325,11 +325,15 @@ table.collapsed tr.collapsable {
        color: green;
        font-size: larger;
 }
+.warning {
+       color: yellow;
+       font-size: larger;
+}
 .error {
        color: red;
        font-size: larger;
 }
-.errorbox, .successbox {
+.errorbox, .warningbox, .successbox {
        font-size: larger;
        border: 2px solid;
        padding: .5em 1em;
@@ -341,11 +345,15 @@ table.collapsed tr.collapsable {
        border-color: red;
        background-color: #fff2f2;
 }
+.warningbox {
+       border-color: yellow;
+       background-color: #ffd;
+}
 .successbox {
        border-color: green;
        background-color: #dfd;
 }
-.errorbox h2, .successbox h2 {
+.errorbox h2, .warningbox h2, .successbox h2 {
        font-size: 1em;
        font-weight: bold;
        display: inline;
@@ -677,4 +685,4 @@ th.headerSortDown {
        /* version numbers are always ltr (and otherwise an RLE can be inserted) */
        /* @noflip */
        direction: ltr;
-}
\ No newline at end of file
+}