You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/07/20 13:07:07 UTC
svn commit: r965804 - in /myfaces/tobago/trunk/tobago-theme:
tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/
tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html...
Author: lofwyr
Date: Tue Jul 20 11:07:06 2010
New Revision: 965804
URL: http://svn.apache.org/viewvc?rev=965804&view=rev
Log:
TOBAGO-897: Components with a FacesMessage severity warn/info/fatal should render a special css-style, especially for labels.
adding styles
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/style.css
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/style.css?rev=965804&r1=965803&r2=965804&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/style.css (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/style/style.css Tue Jul 20 11:07:06 2010
@@ -100,6 +100,22 @@ label.tobago-label {
background: #e6e6e6;
}
+label.tobago-label-markup-fatal {
+ color: #FF00FF;
+}
+
+label.tobago-label-markup-error {
+ color: #FF0000;
+}
+
+label.tobago-label-markup-warn {
+ color: #FFA500;
+}
+
+label.tobago-label-markup-info {
+ color: #000000;
+}
+
/* in ---------------------------------------------------------------------- */
.tobago-in {
@@ -157,12 +173,6 @@ li.tobago-menu-selected {
border-color: #000000;
}
-/* messages ----------------------------------------------------------------- */
-
-.tobago-messages {
- font: 14px arial, helvetica, sans-serif;
-}
-
/* page --------------------------------------------------------------------- */
.tobago-page {
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css?rev=965804&r1=965803&r2=965804&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css Tue Jul 20 11:07:06 2010
@@ -303,6 +303,22 @@ label.tobago-label-inline {
padding-left: 0;
}
+label.tobago-label-markup-fatal {
+ color: #FF00FF;
+}
+
+label.tobago-label-markup-error {
+ color: #FF0000;
+}
+
+label.tobago-label-markup-warn {
+ color: #FFA500;
+}
+
+label.tobago-label-markup-info {
+ color: #000000;
+}
+
/* MenuBar, Menu, etc. ------------------------------------------------------------------ */
.tobago-menuBar, .tobago-menuBar a:link, .tobago-menuBar a:visited, .tobago-menuBar a:active,
@@ -414,10 +430,21 @@ iframe.tobago-menu-ie6bugfix {
/* messages --------------------------------------------------- */
.tobago-messages {
- color: #FF0000;
white-space: nowrap;
}
+.tobago-messages-item-markup-fatal {
+ color: #FF00FF;
+}
+
+.tobago-messages-item-markup-error {
+ color: #FF0000;
+}
+
+.tobago-messages-item-markup-warn {
+ color: #FFA500;
+}
+
.tobago-messages-item-markup-info {
color: #000000;
}
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css?rev=965804&r1=965803&r2=965804&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css Tue Jul 20 11:07:06 2010
@@ -229,11 +229,24 @@ label.tobago-label-inline {
padding-left: 0;
}
+label.tobago-label-markup-fatal {
+ background: url(../image/label-error-bg.gif) no-repeat bottom left;
+ color: #FF00FF;
+}
+
label.tobago-label-markup-error {
background: url(../image/label-error-bg.gif) no-repeat bottom left;
color: #FF0000;
}
+label.tobago-label-markup-warn {
+ color: #FFA500;
+}
+
+label.tobago-label-markup-info {
+ color: #000000;
+}
+
/* link -------------------------------------------------------- */
.tobago-link {