improve layout for MicroArticle
This commit is contained in:
		
							parent
							
								
									44f38115ba
								
							
						
					
					
						commit
						4ad6f59abf
					
				
					 2 changed files with 21 additions and 10 deletions
				
			
		|  | @ -509,6 +509,14 @@ div.comment { | |||
|     color: #666666; | ||||
| } | ||||
| 
 | ||||
| /* microart */ | ||||
| 
 | ||||
| .micropart { | ||||
|     background-color: #f7f7f7; | ||||
|     padding: 0 5px 0 5px; | ||||
|     margin: 5px 0 5px 0; | ||||
| } | ||||
| 
 | ||||
| /* calendar, work items */ | ||||
| 
 | ||||
| .today { | ||||
|  |  | |||
|  | @ -3,8 +3,7 @@ | |||
| 
 | ||||
| 
 | ||||
| <div metal:define-macro="main" | ||||
|      tal:define="data item/data" | ||||
|      class="microart"> | ||||
|      tal:define="data item/data"> | ||||
|   <metal:block use-macro="view/concept_macros/concepttitle_only" /> | ||||
|   <div class="description" | ||||
|        tal:define="description description|item/renderedDescription" | ||||
|  | @ -12,14 +11,18 @@ | |||
|     <span tal:content="structure description">Description</span> | ||||
|   </div> | ||||
|   <div class="text"> | ||||
|     <div class="span-6 last" | ||||
|           tal:content="structure item/story" /> | ||||
|     <div class="span-2" | ||||
|          tal:content="structure item/insight" /> | ||||
|     <div class="span-2" | ||||
|           tal:content="structure item/consequences" /> | ||||
|     <div class="span-2 last" | ||||
|           tal:content="structure item/followUps" /></div><br clear="both" /> | ||||
|     <div class="span-6 last micropart"> | ||||
|       <h4 i18n:translate="">Story</h4> | ||||
|       <div tal:content="structure item/story" /></div> | ||||
|     <div class="span-6 last micropart"> | ||||
|       <h4 i18n:translate="">Insight</h4> | ||||
|       <div tal:content="structure item/insight" /></div> | ||||
|     <div class="span-6 last micropart"> | ||||
|       <h4 i18n:translate="">Consequences</h4> | ||||
|       <div tal:content="structure item/consequences" /></div> | ||||
|     <div class="span-6 last micropart"> | ||||
|       <h4 i18n:translate="">Follow-up Questions</h4> | ||||
|       <div tal:content="structure item/followUps" /></div><br clear="both" /></div> | ||||
|     <metal:block use-macro="view/comment_macros/comments" /> | ||||
| </div> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue