You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/08/04 03:13:17 UTC

svn commit: r1153715 - in /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5: t5-alerts.css tapestry-console.css

Author: hlship
Date: Thu Aug  4 01:13:16 2011
New Revision: 1153715

URL: http://svn.apache.org/viewvc?rev=1153715&view=rev
Log:
Unify look for Tapestry console and alerts
Endure proper rounding appearance in Firefox and older WebKit browsers

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.css
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.css?rev=1153715&r1=1153714&r2=1153715&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.css (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.css Thu Aug  4 01:13:16 2011
@@ -7,6 +7,8 @@ DIV.t-alert-controls {
     cursor: pointer;
     background: #e8e8e8 url("silk/delete.png") no-repeat;
     border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
     margin-bottom: 5px;
     padding-left: 22px;
     padding-right: 5px;
@@ -17,9 +19,12 @@ DIV.t-alert-control A:hover {
 }
 
 DIV.t-alert-container DIV.t-error {
-    background: #f27674 url("silk/cancel.png") no-repeat !important;
+    background: red url("silk/cancel.png") no-repeat;
     font-weight: bold;
+    color: white;
     border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
     margin-bottom: 5px;
     padding-left: 22px;
 }
@@ -28,15 +33,20 @@ DIV.t-alert-container DIV.t-warn {
     background: #f4da5b url("silk/error.png") no-repeat;
     font-weight: bold;
     border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
     margin-bottom: 5px;
     padding-left: 22px;
 }
 
 DIV.t-alert-container DIV.t-info {
-    background: #8bd3e5 url("silk/information.png") no-repeat;
+    background: green url("silk/information.png") no-repeat;
     border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
     margin-bottom: 5px;
     padding-left: 22px;
+    color: white;
 }
 
 DIV.t-dismiss {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css?rev=1153715&r1=1153714&r2=1153715&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.css Thu Aug  4 01:13:16 2011
@@ -7,29 +7,36 @@ DIV.t-console {
 }
 
 DIV.t-console-entry {
-  font-weight: bold;
-  padding: 0px 2px;
-  cursor: pointer;
-  border-radius: 5px;
-  margin-bottom: 5px;
+    font-weight: bold;
+    padding: 0px 2px;
+    cursor: pointer;
+    border-radius: 5px;
+    -moz-border-radius: 5px;
+    -webkit-border-radius: 5px;
+    margin-bottom: 5px;
+    padding-left: 22px;
 }
 
 DIV.t-console DIV.t-err {
-    background-color: red;
+    background: red url("silk/error.png") no-repeat;
     color: white;
+    padding-left: 22px;
 }
 
 DIV.t-console DIV.t-warn {
-    background-color: yellow;
+    background: #f4da5b url("silk/error.png") no-repeat;
     color: black;
+    padding-left: 22px;
 }
 
 DIV.t-console DIV.t-info {
-    background-color: green;
+    background: green url("silk/information.png") no-repeat;
     color: white;
+    padding-left: 22px;
 }
 
 DIV.t-console DIV.t-debug {
     background-color: silver;
     color: black;
+    padding-left: 22px;
 }