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= | ||
− | |||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=zul/src/archive/web/js/zul/inp/css/combo.css.dsp |
− | | control= | + | | control=Combobox |
|}} | |}} | ||
=Structure= | =Structure= | ||
− | [[Image: | + | [[Image:Comboitemone.png]] |
− | |||
− | |||
+ | [[Image:Comboitemtwo.png]] | ||
=Events= | =Events= | ||
− | |||
{{Template:Style Guide Event | {{Template:Style Guide Event | ||
− | | | + | |.z-comboitem |
− | |- | + | |-over |
− | |- | + | |-seld |
− | | | + | | |
− | |- | + | |-over-seld |
− | |- | + | |-disd |
− | + | |V | |
− | | | ||
|! | |! | ||
|! | |! | ||
+ | | | ||
|! | |! | ||
|! | |! | ||
Line 36: | Line 33: | ||
=CSS Specification= | =CSS Specification= | ||
− | |||
{{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 /> | ||
+ | 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
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 { |
no default settings |