Author: fmeschbe
Date: Sat Dec 15 19:53:23 2012
New Revision: 1422330
URL: http://svn.apache.org/viewvc?rev=1422330&view=rev
Log:
FELIX-3816 CSS support for converted note, warning, tip, and info boxes
Added:
felix/site/trunk/content/res/icons/
felix/site/trunk/content/res/icons/check.gif (with props)
felix/site/trunk/content/res/icons/forbidden.gif (with props)
felix/site/trunk/content/res/icons/information.gif (with props)
felix/site/trunk/content/res/icons/warning.gif (with props)
Modified:
felix/site/trunk/content/res/site.css
Added: felix/site/trunk/content/res/icons/check.gif
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/res/icons/check.gif?rev=1422330&view=auto
==============================================================================
Binary file - no diff available.
Propchange: felix/site/trunk/content/res/icons/check.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: felix/site/trunk/content/res/icons/forbidden.gif
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/res/icons/forbidden.gif?rev=1422330&view=auto
==============================================================================
Binary file - no diff available.
Propchange: felix/site/trunk/content/res/icons/forbidden.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: felix/site/trunk/content/res/icons/information.gif
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/res/icons/information.gif?rev=1422330&view=auto
==============================================================================
Binary file - no diff available.
Propchange: felix/site/trunk/content/res/icons/information.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: felix/site/trunk/content/res/icons/warning.gif
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/res/icons/warning.gif?rev=1422330&view=auto
==============================================================================
Binary file - no diff available.
Propchange: felix/site/trunk/content/res/icons/warning.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: felix/site/trunk/content/res/site.css
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/res/site.css?rev=1422330&r1=1422329&r2=1422330&view=diff
==============================================================================
--- felix/site/trunk/content/res/site.css (original)
+++ felix/site/trunk/content/res/site.css Sat Dec 15 19:53:23 2012
@@ -172,24 +172,60 @@ td {
padding: 3px 4px;
}
-.infoMacro {
- background-color: #D8E4F1;
- border: 1px solid #3C78B5;
-}
-
-.noteMacro {
+.note
+{
+/*
background-color: #FFFFCE;
border: 1px solid #F0C000;
+*/
+ border: 1px solid #f0c000;
+ background: #ffffce url('icons/warning.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
}
-.tipMacro {
- background-color: #DDFFDD;
- border: 1px solid #009900;
-}
-
-.warningMacro {
+.warning
+{
+/*
background-color: #FFCCCC;
border: 1px solid #CC0000;
+*/
+ border: 1px solid #f0c000;
+ background: #ffffce url('icons/forbidden.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+.info
+{
+/*
+ background-color: #D8E4F1;
+ border: 1px solid #3C78B5;
+*/
+ border: 1px solid #3c78b5;
+ background: #D8E4F1 url('icons/information.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+.tip
+{
+/*
+ background-color: #DDFFDD;
+ border: 1px solid #009900;
+*/
+ border: 1px solid #090;
+ background: #dfd url('/icons/check.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
}
/** Breadcrump at the top of each page */