W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

validator/htdocs/style base.css,1.27,1.28

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 02 Feb 2009 21:20:21 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LU6DN-0005kH-4T@lionel-hutz.w3.org>

Update of /sources/public/validator/htdocs/style
In directory hutz:/tmp/cvs-serv21656/style

Modified Files:
	base.css 
Log Message:
Addressing http://www.w3.org/Bugs/Public/show_bug.cgi?id=5440 and making the "arrow" image clickable to toggle options.
Cleaning up the javascript used to toggle options a bit in the process, getting rid of one of the ugliest instances of innerHTML there.




Index: base.css
===================================================================
RCS file: /sources/public/validator/htdocs/style/base.css,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- base.css	29 Dec 2008 16:49:06 -0000	1.27
+++ base.css	2 Feb 2009 21:20:19 -0000	1.28
@@ -405,12 +405,14 @@
 
 legend.toggletext {
 	cursor: pointer;
-	padding-left: 0.8em;
-	background: #EAEBEE url(../images/arrow-closed.png) 0 1.2em no-repeat;
+	padding-left: 0.2em;
 }
-
-legend.toggled {
-	background: #EAEBEE url(../images/arrow-open.png) 0 1.4em no-repeat;
+legend.toggletext img {
+    padding-bottom: 2px;
+    
+}
+img.toggled { 
+padding-bottom: 4px;    
 }
 
 p.instructions {
Received on Monday, 2 February 2009 21:20:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT