tazpanel rev 368
Add submenu support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 17:06:07 2013 +0200 (2013-06-30) |
parents | 6e181d55abdc |
children | 63efec6f5791 |
files | styles/default/style.css |
line diff
1.1 --- a/styles/default/style.css Sun Jun 30 09:56:45 2013 +0200 1.2 +++ b/styles/default/style.css Sun Jun 30 17:06:07 2013 +0200 1.3 @@ -87,6 +87,7 @@ 1.4 } 1.5 #menu li:hover li { 1.6 float: none; 1.7 + position: relative; 1.8 } 1.9 #menu li:hover li a { 1.10 background-color: #f1efeb; 1.11 @@ -100,6 +101,16 @@ 1.12 /* border: 1px solid #c1baad; */ 1.13 } 1.14 1.15 +/* submenus */ 1.16 +#menu li:hover li ul { 1.17 + display: none; 1.18 + position: absolute; 1.19 + left: 180px; 1.20 + top: 0px; 1.21 +} 1.22 +#menu li:hover li:hover ul { 1.23 + display: block; 1.24 +} 1.25 1.26 #icons { margin: 3px 8px; float: right; } 1.27 #icons img { padding: 0; }