improvement of menu presentation (CSS)
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1531 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
a197a53e93
commit
788de68cb6
3 changed files with 15 additions and 7 deletions
|
@ -6,12 +6,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
a[href]:hover {
|
a[href]:hover {
|
||||||
background-color: #f0f0ff;
|
background-color: #f8f8ff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.box div.body div.even {
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
|
||||||
.even a[href]:hover {
|
.even a[href]:hover {
|
||||||
background-color: #ebebe2;
|
background-color: #f4f4f4;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +71,13 @@ pre {
|
||||||
border-bottom: None;
|
border-bottom: None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.menu-1, div.menu-2 {
|
||||||
|
border-top: 1px solid #eeeeee;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.box div.body div.menu-3 {
|
.box div.body div.menu-3 {
|
||||||
|
border-top: none;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -208,15 +208,14 @@
|
||||||
<metal:actions define-macro="actions">
|
<metal:actions define-macro="actions">
|
||||||
<tal:actions define="dummy view/registerDojo;
|
<tal:actions define="dummy view/registerDojo;
|
||||||
url view/virtualTargetUrl">
|
url view/virtualTargetUrl">
|
||||||
<div class="menu-2">
|
<div>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
onclick="objectDialog('create', 'create_object.html'); return false;"
|
onclick="objectDialog('create', 'create_object.html'); return false;"
|
||||||
tal:attributes="onclick string:objectDialog('create', '$url/create_object.html');; return false;;">
|
tal:attributes="onclick string:objectDialog('create', '$url/create_object.html');; return false;;">
|
||||||
Create Resource...
|
Create Resource...
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-2"
|
<div tal:condition="view/hasEditableTarget">
|
||||||
tal:condition="view/hasEditableTarget">
|
|
||||||
<a href="#"
|
<a href="#"
|
||||||
onclick="objectDialog('edit', 'edit_object.html'); return false;"
|
onclick="objectDialog('edit', 'edit_object.html'); return false;"
|
||||||
tal:attributes="onclick string:objectDialog('edit', '$url/edit_object.html');; return false;;">
|
tal:attributes="onclick string:objectDialog('edit', '$url/edit_object.html');; return false;;">
|
||||||
|
|
|
@ -65,8 +65,7 @@
|
||||||
|
|
||||||
|
|
||||||
<metal:actions define-macro="related">
|
<metal:actions define-macro="related">
|
||||||
<div class="menu-2"
|
<div tal:repeat="concept macro/info/relatedConcepts">
|
||||||
tal:repeat="concept macro/info/relatedConcepts">
|
|
||||||
<a href="#"
|
<a href="#"
|
||||||
tal:attributes="href string:${view/url}/.target${concept/uniqueId}">
|
tal:attributes="href string:${view/url}/.target${concept/uniqueId}">
|
||||||
<span tal:replace="concept/title">Concept</span>
|
<span tal:replace="concept/title">Concept</span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue