Default"

From Documentation
Line 37: Line 37:
 
<br />
 
<br />
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|div.z-grid
 +
|Background color
 +
|background: #DAE7F6; border: 1px solid #7F9DB9; overflow: hidden; zoom: 1;
 +
|-
 +
|div.z-grid-header, div.z-grid-header tr, div.z-grid-footer
 +
|Border
 +
|border: 0; overflow: hidden; width: 100%;
 +
|-
 +
|div.z-grid-header tr.z-columns,
  
 +
div.z-grid-header tr.z-auxhead
 +
|Background image of the header
 +
|background-color: #C3E7FB;
 +
background-repeat: repeat-x;
 +
background-image: url(${c:encodeURL('~./zul/img/grid/column-bg.png')});
 +
|-
 +
|div.z-grid-body
 +
|Background color of the body
 +
|background: white; border: 0; overflow: auto; width: 100%;
 +
|-
 +
|div.z-grid-footer
 +
|Background color of the footer
 +
|background: #DAE7F6; border-top: 1px solid #9EB6CE;
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Revision as of 08:18, 8 September 2010


This is the Default mold for Grid.

Source


The CSS source for from GitHub


Structure

Grid1.jpg

Grid2.jpg

Events


CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-grid
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-grid Background color background: #DAE7F6; border: 1px solid #7F9DB9; overflow: hidden; zoom: 1;
div.z-grid-header, div.z-grid-header tr, div.z-grid-footer Border border: 0; overflow: hidden; width: 100%;
div.z-grid-header tr.z-columns,

div.z-grid-header tr.z-auxhead

Background image of the header background-color: #C3E7FB;

background-repeat: repeat-x; background-image: url(${c:encodeURL('~./zul/img/grid/column-bg.png')});

div.z-grid-body Background color of the body background: white; border: 0; overflow: auto; width: 100%;
div.z-grid-footer Background color of the footer background: #DAE7F6; border-top: 1px solid #9EB6CE;



Last Update : 2010/09/08

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