Default"

From Documentation
 
Line 36: Line 36:
 
=CSS Specification=
 
=CSS Specification=
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
|tr.z-list-item, tr.z-list-item a,
+
|tr.z-listitem, tr.z-listitem a,
  
tr.z-list-item a:visited
+
tr.z-listitem a:visited
 
 
 
|Font size of listitem
 
|Font size of listitem
Line 44: Line 44:
 
|font-size: ${fontSizeM}; font-weight: normal; color: black; text-decoration: none;
 
|font-size: ${fontSizeM}; font-weight: normal; color: black; text-decoration: none;
 
|-
 
|-
|tr.z-list-item td.z-list-item-focus
+
|tr.z-listitem td.z-listitem-focus
 
 
 
|Background of focused event
 
|Background of focused event
Line 50: Line 50:
 
|background-image: url(${c:encodeURL('~./zul/img/focusd.png')}); background-repeat: no-repeat;
 
|background-image: url(${c:encodeURL('~./zul/img/focusd.png')}); background-repeat: no-repeat;
 
|-
 
|-
|tr.z-list-item-seld
+
|tr.z-listitem-seld
 
 
 
|Background of selected event
 
|Background of selected event
Line 56: Line 56:
 
|background: #b3c8e8; border: 1px solid #6f97d2;
 
|background: #b3c8e8; border: 1px solid #6f97d2;
 
|-
 
|-
|tr.z-list-item-over
+
|tr.z-listitem-over
 
 
 
|Background of hovered event
 
|Background of hovered event
Line 62: Line 62:
 
|background: #dae7f6;
 
|background: #dae7f6;
 
|-
 
|-
|tr.z-list-item-over-seld
+
|tr.z-listitem-over-seld
 
 
 
|Background of hovered and selected event
 
|Background of hovered and selected event
Line 68: Line 68:
 
|background: #6eadff;
 
|background: #6eadff;
 
|-
 
|-
|div.z-list-cell-cnt
+
|div.z-listcell-cnt
  
 
|Font size of listcell
 
|Font size of listcell

Latest revision as of 11:47, 13 September 2010


This is the Default mold for Listitem.

Source

The CSS source for Listitem from GitHub


Structure

Listbox1.jpg

Listitem1.jpg

Events

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

.z-listcell

-over -seld -focus -over-seld -disd
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
tr.z-listitem, tr.z-listitem a,

tr.z-listitem a:visited

Font size of listitem font-size: ${fontSizeM}; font-weight: normal; color: black; text-decoration: none;
tr.z-listitem td.z-listitem-focus Background of focused event background-image: url(${c:encodeURL('~./zul/img/focusd.png')}); background-repeat: no-repeat;
tr.z-listitem-seld Background of selected event background: #b3c8e8; border: 1px solid #6f97d2;
tr.z-listitem-over Background of hovered event background: #dae7f6;
tr.z-listitem-over-seld Background of hovered and selected event background: #6eadff;
div.z-listcell-cnt Font size of listcell border: 0; margin: 0; padding: 0; font-family: ${fontFamilyC};

font-size: ${fontSizeM}; font-weight: normal;



Last Update : 2010/09/13

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