Default"
From Documentation
Tmillsclare (talk | contribs) m |
Jimmyshiau (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
=Source= | =Source= | ||
− | |||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=zul/src/archive/web/js/zul/sel/css/listbox.css.dsp |
− | | control= | + | | control=Listheader |
|}} | |}} | ||
Line 18: | Line 17: | ||
=Events= | =Events= | ||
− | |||
{{Template:Style Guide Event | {{Template:Style Guide Event | ||
− | |.z- | + | |.z-listhead, |
− | .z- | + | .z-listheader |
| | | | ||
| | | | ||
Line 37: | Line 35: | ||
=CSS Specification= | =CSS Specification= | ||
− | |||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
− | |div.z-listbox-header tr.z- | + | |div.z-listbox-header tr.z-listhead |
|Background image | |Background image | ||
Line 45: | 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- | + | |div.z-listbox-header th.z-listheader |
|Border and font size | |Border and font size | ||
Line 51: | 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- | + | |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 57: | 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- | + | |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 63: | 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- | + | |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 69: | 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- | + | |div.z-listheader-cnt |
|Font size of the content | |Font size of the content | ||
Line 75: | 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- | + | |div.z-listheader-cnt |
|Overflow | |Overflow |
Latest revision as of 03:19, 17 November 2010
This is the Default mold for Listheader.
Source
The CSS source for Listheader from GitHub
Structure
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-listbox-header 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 |