[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/demo/menu/menu Some
more small improvements.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 1 14:54:50 EST 2005
Log message for revision 29369:
Some more small improvements.
Changed:
U Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt
U Zope3/trunk/src/zope/app/demo/menu/menudemo.css
-=-
Modified: Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt 2005-03-01 18:53:37 UTC (rev 29368)
+++ Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt 2005-03-01 19:54:50 UTC (rev 29369)
@@ -11,7 +11,6 @@
tal:attributes="href menuitem/action;">
<metal:block use-macro="context/@@menudemo_macros/itemdisplay" />
</a>
-
<ul tal:condition="menuitem/submenu">
<li tal:repeat="subitem menuitem/submenu">
<tal:block define="menuitem subitem">
Modified: Zope3/trunk/src/zope/app/demo/menu/menudemo.css
===================================================================
--- Zope3/trunk/src/zope/app/demo/menu/menudemo.css 2005-03-01 18:53:37 UTC (rev 29368)
+++ Zope3/trunk/src/zope/app/demo/menu/menudemo.css 2005-03-01 19:54:50 UTC (rev 29369)
@@ -10,7 +10,7 @@
}
img.itemicon {
- float: left;
+ //float: left;
vertical-align: bottom;
}
@@ -30,26 +30,20 @@
div.menubar {
background: #EEE;
- padding: 6px;
- padding-left: 10px;
+ margin: 0;
+ padding: 0px 0px 7px 1px;
}
-div.menubar span {
- margin-right: 15px;
-}
-
-
ul {
padding: 0;
margin: 0;
+ background: #EEE;
}
ul li {
list-style-type: none;
position: relative;
margin: 0;
- padding: 2px;
- background: #EEE;
}
ul ul {
@@ -66,12 +60,16 @@
li a {
display: block;
- padding: 1px;
+ padding: 2px;
text-decoration: none;
}
+ul.topmenu li > a {
+ padding: 1px;
+}
+
ul.topmenu {
- width: 6em;
+ width: 4em; /* Changes spacing between menus */
float: left;
}
@@ -79,10 +77,13 @@
border: 1px solid #BBB;
}
-ul.topmenu > li:hover {
+ul.topmenu > li { /* properties of top menu items */
bottom: -2px;
- padding-bottom: 1px;
- padding: 0px;
+ border: 1px solid #EEE;
+}
+
+
+ul.topmenu > li:hover { /* properties of top menu items */
border: 1px solid #BBB;
background: #DDD;
}
@@ -96,5 +97,3 @@
top: 1.5em;
left: -1px;
}
-
-
More information about the Zope3-Checkins
mailing list