Default"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''Default''' mold for '''Comboitem'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= Image:Comboitem1.gif …')
 
 
(10 intermediate revisions by 3 users not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/inp/css/combo.css.dsp
| control=
+
| control=Combobox
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
[[Image:Comboitem1.gif]]
+
[[Image:Comboitemone.png]]
 
 
[[Image:Comboitem2.gif]]
 
  
 +
[[Image:Comboitemtwo.png]]
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-comboitem
|-&nbsp;
+
|-over
|-&nbsp;
+
|-seld
|-&nbsp;
+
|
|-&nbsp;
+
|-over-seld
|-&nbsp;
+
|-disd
|!
+
|V
|!
 
 
|!
 
|!
 
|!
 
|!
 +
|
 
|!
 
|!
 
|!
 
|!
Line 36: Line 33:
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|.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:<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.