[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/demo/menu/ Added sub
menu hint.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 1 15:19:38 EST 2005
Log message for revision 29372:
Added sub menu hint.
Changed:
U Zope3/trunk/src/zope/app/demo/menu/configure.zcml
U Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt
U Zope3/trunk/src/zope/app/demo/menu/menudemo.css
A Zope3/trunk/src/zope/app/demo/menu/submenuhint.png
-=-
Modified: Zope3/trunk/src/zope/app/demo/menu/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/demo/menu/configure.zcml 2005-03-01 19:57:39 UTC (rev 29371)
+++ Zope3/trunk/src/zope/app/demo/menu/configure.zcml 2005-03-01 20:19:38 UTC (rev 29372)
@@ -65,6 +65,9 @@
name="editpaste.png"
image="editpaste.png" />
+ <browser:resource
+ name="submenuhint.png"
+ image="submenuhint.png" />
<!-- Menus -->
Modified: Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt 2005-03-01 19:57:39 UTC (rev 29371)
+++ Zope3/trunk/src/zope/app/demo/menu/menu_macros.pt 2005-03-01 20:19:38 UTC (rev 29372)
@@ -4,6 +4,9 @@
tal:attributes="src menuitem/icon" />
<span tal:content="menuitem/title" />
+
+ <img class="submenuhint" src="/++resource++submenuhint.png"
+ tal:condition="menuitem/submenu"/>
</metal:block>
<metal:block define-macro="menuitem">
Modified: Zope3/trunk/src/zope/app/demo/menu/menudemo.css
===================================================================
--- Zope3/trunk/src/zope/app/demo/menu/menudemo.css 2005-03-01 19:57:39 UTC (rev 29371)
+++ Zope3/trunk/src/zope/app/demo/menu/menudemo.css 2005-03-01 20:19:38 UTC (rev 29372)
@@ -10,7 +10,6 @@
}
img.itemicon {
- //float: left;
vertical-align: bottom;
}
@@ -70,7 +69,7 @@
ul.topmenu {
width: 4em; /* Changes spacing between menus */
- float: left;
+ float: left; /* allows all top menu entries to be aligned horizontally */
}
ul.topmenu ul {
@@ -97,3 +96,12 @@
top: 1.5em;
left: -1px;
}
+
+img.submenuhint {
+ float: right;
+ vertical-align: bottom;
+}
+
+ul.topmenu > li img.submenuhint {
+ display: none;
+}
\ No newline at end of file
Added: Zope3/trunk/src/zope/app/demo/menu/submenuhint.png
===================================================================
(Binary files differ)
Property changes on: Zope3/trunk/src/zope/app/demo/menu/submenuhint.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the Zope3-Checkins
mailing list