Default"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''Default''' mold for '''Tree'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= Image:Tree3.jpg [[Image:…')
 
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/sel/css/tree.css.dsp
| control=
+
| control=Tree
 
|}}
 
|}}
  
Line 19: Line 18:
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-tree
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|!
+
|V
|!
+
|
|!
+
|
|!
+
|
|!
+
|
|!
+
|
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|div.z-tree
 +
|Background color
 +
|background: #DAE7F6; border: 1px solid #7F9DB9; overflow: hidden; zoom: 1;
 +
|-
 +
|div.z-tree-header, div.z-tree-header tr, div.z-tree-footer
 +
|Border
 +
|border: 0; overflow: hidden; width: 100%;
 +
|-
 +
|div.z-tree-body
 +
|Background color of the body
 +
|background: white; border: 0; overflow: auto; width: 100%; position: relative;
 +
|-
 +
|div.z-tree-footer
 +
|Background color of the footer
 +
|background: #DAE7F6; border-top: 1px solid #9EB6CE;
 +
|}
  
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 03:45, 13 September 2010


This is the Default mold for Tree.

Source

The CSS source for Tree from GitHub


Structure

Tree3.jpg

Tree2.jpg


Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tree
Supported: V

Note: An exclamation mark(!) means that the action effect is done by CSS background , not CSS background-position

CSS Specification

Class Name Description Default Values
div.z-tree Background color background: #DAE7F6; border: 1px solid #7F9DB9; overflow: hidden; zoom: 1;
div.z-tree-header, div.z-tree-header tr, div.z-tree-footer Border border: 0; overflow: hidden; width: 100%;
div.z-tree-body Background color of the body background: white; border: 0; overflow: auto; width: 100%; position: relative;
div.z-tree-footer Background color of the footer background: #DAE7F6; border-top: 1px solid #9EB6CE;



Last Update : 2010/09/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.