Default"
From Documentation
m (→Structure) |
Jumperchen (talk | contribs) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
__TOC__ | __TOC__ | ||
− | This is the ''' | + | This is the '''Default''' mold for '''Decimalbox'''. |
=Source= | =Source= | ||
− | |||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=zul/src/archive/web/js/zul/inp/css/input.css.dsp |
− | | control= | + | | control=Decimalbox |
|}} | |}} | ||
Line 16: | Line 15: | ||
=Events= | =Events= | ||
− | |||
{{Template:Style Guide Event | {{Template:Style Guide Event | ||
− | | | + | |.z-decimalbox |
− | | | + | | |
− | | | + | | |
− | |- | + | |-focus |
− | | | + | | |
− | |- | + | |-disd |
− | + | |V | |
− | | | + | | |
− | | | + | | |
− | | | ||
|! | |! | ||
+ | | | ||
|! | |! | ||
}} | }} | ||
=CSS Specification= | =CSS Specification= | ||
− | |||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
− | + | |.z- decimalbox | |
+ | |||
+ | |Font size and background | ||
+ | |||
+ | |background: #FFF url(${c:encodeURL('~./zul/img/misc/text-bg.gif')}) repeat-x 0 0; border: 1px solid #7F9DB9; font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; | ||
+ | |- | ||
+ | |.z-decimalbox-text-invalid | ||
+ | |||
+ | |Invalid event | ||
+ | |||
+ | |background: #FFF url(${c:encodeURL('~./zul/img/misc/text-bg-invalid.gif')}) repeat-x 0 0; border: 1px solid #DD7870; | ||
+ | |- | ||
+ | |.z-decimalbox-readonly, .z-decimalbox-text-disd | ||
+ | |||
+ | |Disabled and read-only | ||
+ | |||
+ | |background: #ECEAE4; | ||
+ | |} | ||
{{ZKStyleGuidePageFooter}} | {{ZKStyleGuidePageFooter}} |
Latest revision as of 10:21, 13 September 2010
This is the Default mold for Decimalbox.
Source
The CSS source for Decimalbox from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-decimalbox | -focus | -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- decimalbox | Font size and background | background: #FFF url(${c:encodeURL('~./zul/img/misc/text-bg.gif')}) repeat-x 0 0; border: 1px solid #7F9DB9; font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; |
.z-decimalbox-text-invalid | Invalid event | background: #FFF url(${c:encodeURL('~./zul/img/misc/text-bg-invalid.gif')}) repeat-x 0 0; border: 1px solid #DD7870; |
.z-decimalbox-readonly, .z-decimalbox-text-disd | Disabled and read-only | background: #ECEAE4; |