- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 14 Dec 2006 05:54:42 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/style
In directory hutz:/tmp/cvs-serv28869
Modified Files:
base.css results.css
Log Message:
toggle, icon code preview
Index: base.css
===================================================================
RCS file: /sources/public/2002/css-validator/style/base.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- base.css 8 Dec 2006 08:51:51 -0000 1.6
+++ base.css 14 Dec 2006 05:54:40 -0000 1.7
@@ -26,7 +26,7 @@
font-size: 1em; /* setting base font to user's prefered size */
min-width: 50em;
}
-p {
+p, pre {
line-height: 130%;
padding-left: 20px;
}
Index: results.css
===================================================================
RCS file: /sources/public/2002/css-validator/style/results.css,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- results.css 14 Dec 2006 04:39:13 -0000 1.15
+++ results.css 14 Dec 2006 05:54:40 -0000 1.16
@@ -1,7 +1,6 @@
/* ==== CONGRATS ===== */
-#congrats h2, #errors h2, #warnings h2 {
- text-align: center;
+#congrats h2, #errors h2 {
margin: 0;
font-family: "Bitstream Vera Sans", sans-serif;
font-size-adjust: .53;
@@ -19,6 +18,8 @@
#congrats h2 {
background-color: #55B05A;
color: white;
+ text-align: center;
+
}
/* ==== ERRORS ===== */
@@ -30,9 +31,24 @@
/* ==== WARNINGS ===== */
/* id="warnings" - start of the list of warnings */
-#warnings h2 {
- background: #FA9084;
- color: white;
+#warnings h2, #css h2 {
+ color: #005A9C;
+ text-align: left;
+ background: transparent url('../images/arrow-down.gif') 0 10px no-repeat;
+
+}
+
+#warnings h2.closed, #css h2.closed {
+ background: transparent url('../images/arrow-right.gif') 0 10px no-repeat;
+}
+
+#congrats p.toggle { text-indent: 10px;
+ background: transparent url('../images/arrow-down.gif') 15px 0 no-repeat;
+ }
+
+#congrats p.closed{
+ text-indent: 10px;
+ background: transparent url('../images/arrow-right.gif') 15px 0 no-repeat;
}
#warnings table {
@@ -75,14 +91,22 @@
color: #000;
}
+/* ==== example of code for icon ==== */
+pre {
+ margin-left: 30px;
+ padding: 2em;
+ border-left: thin solid #ddd;
+}
/* ==== VALIDATED STYLESHEET ===== */
/* id="css" - to identify the validated style sheet */
#css {}
-#css h2 {
- background-color: #55B05A;
- color: white;
+{
+ background-color: white;
+ color: #005A9C;
+ text-align: left;
+
}
/* class="vAtRule" - block of all atSelector */
Received on Thursday, 14 December 2006 05:54:49 UTC