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 {
 | 
			
		||||
    background-color: #f0f0ff;
 | 
			
		||||
    background-color: #f8f8ff;
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.box div.body div.even {
 | 
			
		||||
    background-color: #f4f4f4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.even a[href]:hover {
 | 
			
		||||
    background-color: #ebebe2;
 | 
			
		||||
    background-color: #f4f4f4;
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -67,7 +71,13 @@ pre {
 | 
			
		|||
    border-bottom: None;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.menu-1, div.menu-2 {
 | 
			
		||||
    border-top: 1px solid #eeeeee;
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.box div.body div.menu-3 {
 | 
			
		||||
    border-top: none;
 | 
			
		||||
    padding-left: 1.5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -208,15 +208,14 @@
 | 
			
		|||
<metal:actions define-macro="actions">
 | 
			
		||||
    <tal:actions define="dummy view/registerDojo;
 | 
			
		||||
                         url view/virtualTargetUrl">
 | 
			
		||||
      <div class="menu-2">
 | 
			
		||||
      <div>
 | 
			
		||||
          <a href="#"
 | 
			
		||||
             onclick="objectDialog('create', 'create_object.html'); return false;"
 | 
			
		||||
             tal:attributes="onclick string:objectDialog('create', '$url/create_object.html');; return false;;">
 | 
			
		||||
            Create Resource...
 | 
			
		||||
          </a>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="menu-2"
 | 
			
		||||
           tal:condition="view/hasEditableTarget">
 | 
			
		||||
      <div tal:condition="view/hasEditableTarget">
 | 
			
		||||
          <a href="#"
 | 
			
		||||
             onclick="objectDialog('edit', '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">
 | 
			
		||||
          <div class="menu-2"
 | 
			
		||||
               tal:repeat="concept macro/info/relatedConcepts">
 | 
			
		||||
          <div tal:repeat="concept macro/info/relatedConcepts">
 | 
			
		||||
            <a href="#"
 | 
			
		||||
               tal:attributes="href string:${view/url}/.target${concept/uniqueId}">
 | 
			
		||||
              <span tal:replace="concept/title">Concept</span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue