SF.net SVN: phpwiki:[10811] trunk/themes/default

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10811
          http://sourceforge.net/p/phpwiki/code/10811
Author:   vargenau
Date:     2022-01-03 18:22:21 +0000 (Mon, 03 Jan 2022)
Log Message:
-----------
Put CSS for banners (feedback, warning, error, information) in default/phpwiki-common.css so that they appear in all themes

Modified Paths:
--------------
    trunk/themes/default/phpwiki-common.css
    trunk/themes/default/phpwiki.css

Modified: trunk/themes/default/phpwiki-common.css
===================================================================
--- trunk/themes/default/phpwiki-common.css	2022-01-03 17:15:48 UTC (rev 10810)
+++ trunk/themes/default/phpwiki-common.css	2022-01-03 18:22:21 UTC (rev 10811)
@@ -64,6 +64,35 @@
   font-style: italic;
 }
 
+/* Banners ============================================================ */
+
+.success, .feedback, .warning, .warning_msg, .error, .information {
+    color: black;
+    padding-left: 0.5em;
+    padding-right: 0.5em;
+    border: 1px solid;
+}
+
+.success, .feedback {
+    border-color: green;
+    background-color: #DFF2BF;
+}
+
+.warning_msg, .warning {
+    border-color: orange;
+    background-color: #FEEFB3;
+}
+
+.error {
+    border-color: red;
+    background-color: #FFBABA;
+}
+
+.information {
+    border-color: blue;
+    background-color: #BDE5F8;
+}
+
 /* Alert class ======================================================== */
 
 .dialog {

Modified: trunk/themes/default/phpwiki.css
===================================================================
--- trunk/themes/default/phpwiki.css	2022-01-03 17:15:48 UTC (rev 10810)
+++ trunk/themes/default/phpwiki.css	2022-01-03 18:22:21 UTC (rev 10811)
@@ -563,32 +563,6 @@
     display: none;
 }
 
-.error {
-    color: black;
-    background: #eee;
-    margin-top: 1em;
-    margin-bottom: 1em;
-    padding-left: 0.8em;
-    padding-right: 0.8em;
-    padding-top: 0.8ex;
-    padding-bottom: 0;
-    border: medium solid red;
-    clear: both;
-}
-
-.warning, .warning_msg {
-    color: black;
-    background: #eee;
-    margin-top: 1em;
-    margin-bottom: 1em;
-    padding-left: 0.8em;
-    padding-right: 0.8em;
-    padding-top: 0.8ex;
-    padding-bottom: 0;
-    border: thin solid blue;
-    clear: both;
-}
-
 /* Debug */
 .debug {
     color: black;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.