Default"

From Documentation
Line 36: Line 36:
 
=CSS Specification=
 
=CSS Specification=
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
|div.z-listbox-header tr.z-list-head
+
|div.z-listboxheader tr.z-listhead
 
 
 
|Background image
 
|Background image
Line 42: Line 42:
 
|background-image: url(${c:encodeURL('~./zul/img/grid/s_hd.gif')}); background-color: #C7E5F1;background-repeat: repeat-x;
 
|background-image: url(${c:encodeURL('~./zul/img/grid/s_hd.gif')}); background-color: #C7E5F1;background-repeat: repeat-x;
 
|-
 
|-
|div.z-listbox-header th.z-list-header
+
|div.z-listbox-header th.z-listheader
  
 
|Border and font size
 
|Border and font size
Line 48: Line 48:
 
|overflow: hidden; border: 1px solid; border-color: #DAE7F6 #9EB6CE #9EB6CE #DAE7F6; white-space: nowrap; padding: 2px; font-size: ${fontSizeM}; font-weight: normal;
 
|overflow: hidden; border: 1px solid; border-color: #DAE7F6 #9EB6CE #9EB6CE #DAE7F6; white-space: nowrap; padding: 2px; font-size: ${fontSizeM}; font-weight: normal;
 
|-
 
|-
|div.z-listbox-header th.z-list-header-sort div.z-list-header-cnt
+
|div.z-listbox-header th.z-listheader-sort div.z-listheader-cnt
 
 
 
|Background of the content of the sort
 
|Background of the content of the sort
Line 54: Line 54:
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_hint.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_hint.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|-
 
|-
|div.z-listbox-header th.z-list-header-sort-asc div.z-list-header-cnt
+
|div.z-listbox-header th.z-listheader-sort-asc div.z-listheader-cnt
 
 
 
|Background of the content of the ascendant sort
 
|Background of the content of the ascendant sort
Line 60: Line 60:
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_asc.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_asc.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|-
 
|-
|div.z-listbox-header th.z-list-header-sort-dsc div.z-list-header-cnt
+
|div.z-listbox-header th.z-listheader-sort-dsc div.z-listheader-cnt
 
 
 
|Background of the content of the descendant sort
 
|Background of the content of the descendant sort
Line 66: Line 66:
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_dsc.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_dsc.gif')}); background-position: 99% center; background-repeat: no-repeat;
 
|-
 
|-
|div.z-list-header-cnt
+
|div.z-listheader-cnt
 
 
 
|Font size of the content
 
|Font size of the content
Line 72: Line 72:
 
|border: 0; margin: 0; padding: 0; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal;
 
|border: 0; margin: 0; padding: 0; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal;
 
|-
 
|-
|div.z-list-header-cnt
+
|div.z-listheader-cnt
 
 
 
|Overflow
 
|Overflow

Revision as of 11:28, 13 September 2010


This is the Default mold for Listheader.

Source

The CSS source for Listheader from GitHub


Structure

Listbox1.jpg

Listheader1.jpg

Events

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

.z-listheader

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-listboxheader tr.z-listhead Background image background-image: url(${c:encodeURL('~./zul/img/grid/s_hd.gif')}); background-color: #C7E5F1;background-repeat: repeat-x;
div.z-listbox-header th.z-listheader Border and font size overflow: hidden; border: 1px solid; border-color: #DAE7F6 #9EB6CE #9EB6CE #DAE7F6; white-space: nowrap; padding: 2px; font-size: ${fontSizeM}; font-weight: normal;
div.z-listbox-header th.z-listheader-sort div.z-listheader-cnt Background of the content of the sort cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_hint.gif')}); background-position: 99% center; background-repeat: no-repeat;
div.z-listbox-header th.z-listheader-sort-asc div.z-listheader-cnt Background of the content of the ascendant sort cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_asc.gif')}); background-position: 99% center; background-repeat: no-repeat;
div.z-listbox-header th.z-listheader-sort-dsc div.z-listheader-cnt Background of the content of the descendant sort cursor: pointer; padding-right: 9px; background:transparent url(${c:encodeURL('~./zul/img/sort/v_dsc.gif')}); background-position: 99% center; background-repeat: no-repeat;
div.z-listheader-cnt Font size of the content border: 0; margin: 0; padding: 0; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal;
div.z-listheader-cnt Overflow overflow: hidden



Last Update : 2010/09/13

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