[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1538] trunk/UI/menu



Revision: 1538
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1538&view=rev
Author:   einhverfr
Date:     2007-09-07 16:01:31 -0700 (Fri, 07 Sep 2007)

Log Message:
-----------
Making the menu more CSS-friendly

Modified Paths:
--------------
    trunk/UI/menu/expanding.css
    trunk/UI/menu/expanding.html

Modified: trunk/UI/menu/expanding.css
===================================================================
--- trunk/UI/menu/expanding.css	2007-09-07 22:49:42 UTC (rev 1537)
+++ trunk/UI/menu/expanding.css	2007-09-07 23:01:31 UTC (rev 1538)
@@ -2,10 +2,10 @@
 	display: none;
 }
 
-A.Menu::before {
+A.Menu_Closed::before {
 	content: '+';
 }
 
-A.Expanded::before {
+A.Menu_Open::before {
 	content: '-';
 }

Modified: trunk/UI/menu/expanding.html
===================================================================
--- trunk/UI/menu/expanding.html	2007-09-07 22:49:42 UTC (rev 1537)
+++ trunk/UI/menu/expanding.html	2007-09-07 23:01:31 UTC (rev 1538)
@@ -6,8 +6,8 @@
 	<meta http-equiv="Pragma" content="no-cache" />
 	<meta http-equiv="Expires" content="-1" />
 	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+	<link rel="stylesheet" href="UI/menu/expanding.css" type="text/css" title="LedgerSMB stylesheet" />
 	<link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
-	<link rel="stylesheet" href="UI/menu/expanding.css" type="text/css" title="LedgerSMB stylesheet" />
 
 	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 
@@ -68,14 +68,14 @@
 					onclick="return SwitchMenu('<?lsmb item.id ?>')"
 				<?lsmb END ?>
 				class = "<?lsmb IF (item.menu && item.open)
-					?>Expanded<?lsmb ELSIF item.menu
-					?>Menu<?lsmb
-					ELSE ?>Item<?lsmb END ?>"
+					?>Menu_Open<?lsmb ELSIF item.menu
+					?>Menu_Closed<?lsmb
+					ELSE ?>Menu_Item<?lsmb END ?>"
 				id = "a_<?lsmb item.id ?>"
 				><?lsmb text(item.label) ?></a>
 		</div>
 		<?lsmb IF item.menu ?>
-			<div id="sub_<?lsmb item.id ?>" class=submenu
+			<div id="sub_<?lsmb item.id ?>" class="submenu"
 			<?lsmb IF item.open ?>
 				style="display: block"
 			<?lsmb END ?>>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.