Default"

From Documentation
 
(4 intermediate revisions by 3 users not shown)
Line 12: Line 12:
  
 
=Structure=
 
=Structure=
[[Image:Comboitem1.gif]]
+
[[Image:Comboitemone.png]]
 
 
[[Image:Comboitem2.gif]]
 
  
 +
[[Image:Comboitemtwo.png]]
  
 
=Events=
 
=Events=
Line 35: Line 34:
 
=CSS Specification=
 
=CSS Specification=
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
|.z-combo -item.z-combobox-pp .z-combo-item,
+
|.z-comboitem.z-combobox-pp .z-comboitem,
  
.z-combobox-pp .z-combo-item a,
+
.z-combobox-pp .z-comboitem a,
  
.z-combobox-pp .z-combo-item a:visited
+
.z-combobox-pp .z-comboitem a:visited
 
 
 
|Font size
 
|Font size
Line 48: Line 47:
 
text-decoration: none;
 
text-decoration: none;
 
|-
 
|-
|.z-combobox-pp .z-combo-item-text, .z-combobox-pp .z-combo-item-img
+
|.z-combobox-pp .z-comboitem-text, .z-combobox-pp .z-comboitem-img
 
 
  
Line 56: Line 55:
 
|white-space: nowrap; font-size: ${fontSizeS}; cursor: pointer;
 
|white-space: nowrap; font-size: ${fontSizeS}; cursor: pointer;
 
|-
 
|-
|.z-combobox-pp .z-combo-item-inner, .z-combobox-pp .z-combo-item-cnt
+
|.z-combobox-pp .z-comboitem-inner, .z-combobox-pp .z-comboitem-cnt
 
 
  
Line 63: Line 62:
  
 
|color: #888; font-size: ${fontSizeXS}; padding-left: 6px;
 
|color: #888; font-size: ${fontSizeXS}; padding-left: 6px;
 +
|-
 +
|
 +
  [since 6.0.1]
 +
.z-comboitem .z-combobox--spacer
 +
 +
|Blank space between the Image and Label text for customize easier. Customize example:<br />
 +
.z-comboitem-spacer {<br />
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-right: 30px;<br />
 +
}<br />
 +
|no default settings
 
|}
 
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 07:05, 30 March 2012


This is the Default mold for Comboitem.

Source

The CSS source for Combobox from GitHub


Structure

Comboitemone.png

Comboitemtwo.png

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-comboitem -over -seld -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
.z-comboitem.z-combobox-pp .z-comboitem,

.z-combobox-pp .z-comboitem a,

.z-combobox-pp .z-comboitem a:visited

Font size


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

text-decoration: none;

.z-combobox-pp .z-comboitem-text, .z-combobox-pp .z-comboitem-img


Font size


white-space: nowrap; font-size: ${fontSizeS}; cursor: pointer;
.z-combobox-pp .z-comboitem-inner, .z-combobox-pp .z-comboitem-cnt


Color and font size of Comboitem's description and content


color: #888; font-size: ${fontSizeXS}; padding-left: 6px;
 [since 6.0.1]

.z-comboitem .z-combobox--spacer

Blank space between the Image and Label text for customize easier. Customize example:

.z-comboitem-spacer {
        margin-right: 30px;
}

no default settings



Last Update : 2012/03/30

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