changeset 2965:4d60ea3a4ca7

Support for the new css classes generated by add_msg in the themes (done by Frederico Lorenzi).Should not be backported to 1.6 but instead the separate patch from http://code.google.com/p/google-highly-open-participation-moinmoin/issues/detail?id=51 should be used because it contains deprecation logic.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 23 Dec 2007 23:51:55 +0100
parents 49b9e807a51d
children ba14d391c2ba
files wiki/htdocs/classic/css/common.css wiki/htdocs/classic/css/msie.css wiki/htdocs/modern/css/common.css wiki/htdocs/modern/css/msie.css wiki/htdocs/rightsidebar/css/common.css wiki/htdocs/rightsidebar/css/msie.css
diffstat 6 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/classic/css/common.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/classic/css/common.css	Sun Dec 23 23:51:55 2007 +0100
@@ -276,3 +276,12 @@
 div.codearea pre span.DiffChanged {color: #FF7F50;}
 div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
 
+#message .hint {font-style: italic;}
+#message .info {
+    float: none;
+    font-size: 1em;
+    color: black;
+}
+#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
+#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
+#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;)
--- a/wiki/htdocs/classic/css/msie.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/classic/css/msie.css	Sun Dec 23 23:51:55 2007 +0100
@@ -14,6 +14,8 @@
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
 a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
+#message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; }
+#message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; }
 
 #pagetrail li, #pagelocation li {
     border-left: 1px solid #AAA;
--- a/wiki/htdocs/modern/css/common.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/modern/css/common.css	Sun Dec 23 23:51:55 2007 +0100
@@ -458,3 +458,12 @@
 
 /* end MonthCalendar stuff */
 
+#message .hint {font-style: italic;}
+#message .info {
+    float: none;
+    font-size: 1em;
+    color: black;
+}
+#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
+#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
+#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;)
--- a/wiki/htdocs/modern/css/msie.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/modern/css/msie.css	Sun Dec 23 23:51:55 2007 +0100
@@ -14,6 +14,8 @@
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
 a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
+#message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; }
+#message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; }
 
 #pagetrail li, #pagelocation li {
     border-left: 1px solid #AAA;
--- a/wiki/htdocs/rightsidebar/css/common.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/rightsidebar/css/common.css	Sun Dec 23 23:51:55 2007 +0100
@@ -361,4 +361,13 @@
 
 /* end MonthCalendar stuff */
 
+#message .hint {font-style: italic;}
+#message .info {
+    float: none;
+    font-size: 1em;
+    color: black;
+}
+#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
+#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
+#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;)
 
--- a/wiki/htdocs/rightsidebar/css/msie.css	Sun Dec 23 23:50:36 2007 +0100
+++ b/wiki/htdocs/rightsidebar/css/msie.css	Sun Dec 23 23:51:55 2007 +0100
@@ -14,6 +14,8 @@
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
 a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
+#message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; }
+#message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; }
 
 #pagetrail li, #pagelocation li {
     border-left: 1px solid #AAA;