diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-07 23:01:31 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-07 23:01:31 +0000 |
commit | 67402a0a2586623b120d48ae6b7165d0740b2cdd (patch) | |
tree | 8bfb7ac2a4e8025d6326cee331f4a88bb6d0a27a /UI/menu | |
parent | 71eae324748107fbcdd116b88ec0da8b76a62280 (diff) |
Making the menu more CSS-friendly
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1538 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/menu')
-rw-r--r-- | UI/menu/expanding.css | 4 | ||||
-rw-r--r-- | UI/menu/expanding.html | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/UI/menu/expanding.css b/UI/menu/expanding.css index b19670bd..9696413e 100644 --- a/UI/menu/expanding.css +++ b/UI/menu/expanding.css @@ -2,10 +2,10 @@ div.submenu { display: none; } -A.Menu::before { +A.Menu_Closed::before { content: '+'; } -A.Expanded::before { +A.Menu_Open::before { content: '-'; } diff --git a/UI/menu/expanding.html b/UI/menu/expanding.html index 2ea03149..3e48b721 100644 --- a/UI/menu/expanding.html +++ b/UI/menu/expanding.html @@ -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="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" /> <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" /> <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 ?>> |