From: Antoine Musso Date: Sat, 14 May 2011 15:39:37 +0000 (+0000) Subject: add a shared CSS class for warnings X-Git-Tag: 1.31.0-rc.0~30194 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=671dd0cc049107928782340d0901d814ff73472c;p=lhc%2Fweb%2Fwiklou.git add a shared CSS class for warnings We already have one for success and error --- diff --git a/skins/common/shared.css b/skins/common/shared.css index e84901f9b0..d9f91791a7 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -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 +}