- From: Karl Dubost via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 13 Dec 2006 08:19:19 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/style
In directory hutz:/tmp/cvs-serv6877
Modified Files:
results.css
Log Message:
Adding CSS rules for warnings
Index: results.css
===================================================================
RCS file: /sources/public/2002/css-validator/style/results.css,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- results.css 13 Dec 2006 01:10:49 -0000 1.10
+++ results.css 13 Dec 2006 08:19:16 -0000 1.11
@@ -1,3 +1,5 @@
+/* ==== CONGRATS ===== */
+
#congrats h2, #errors h2, #warnings h2 {
text-align: center;
margin: 0;
@@ -14,19 +16,59 @@
padding-top: .5em;
padding-bottom: .5em;
}
-#warnings h2 {
- background: #FA9084;
- color: white;
-}
#congrats h2 {
background-color: #55B05A;
color: white;
}
+/* ==== ERRORS ===== */
+
+/* id="errors" - start of the list of errors */
#errors h2 {
background-color: #E82848;
color: white;
}
+/* ==== WARNINGS ===== */
+/* id="warnings" - start of the list of warnings */
+#warnings h2 {
+ background: #FA9084;
+ color: white;
+}
+
+#warnings table {
+ border-top: 1px solid #ccc !important;
+ line-height:120%;
+ }
+
+#warnings td {
+ border-width: 0;
+}
+
+
+tr.warning {
+ padding: 0;}
+
+td.linenumber {
+ border-bottom: 1px solid #ccc !important;
+ background-color: #ddd;
+ text-align:right;
+}
+td.codeContext {
+ border-bottom: 1px solid #ddd !important;
+ background-color: #eee;}
+
+td.level1, td.level2 {
+ padding: 5px 1em;
+ border-bottom: 1px solid #fdd !important;
+}
+.level1 {
+ border-left: 10px solid #FA9084 !important;
+ color: #000;
+}
+.level2 {
+ border-left: 10px solid #FFB1A7 !important;
+ color: #000;
+}
/* id="css" - to identify the validated style sheet */
#css {}
Received on Wednesday, 13 December 2006 08:19:27 UTC