Default"
From Documentation
m (→Events) |
|||
Line 35: | Line 35: | ||
<br /> | <br /> | ||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
+ | |.z-longbox | ||
+ | |||
+ | |Font size and background | ||
+ | |||
+ | |background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0; border: 1px solid #7F9DB9; | ||
+ | font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; | ||
+ | |- | ||
+ | |.z-longbox-text-invalid | ||
+ | |||
+ | |Invalid event | ||
+ | |||
+ | |background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg-invalid.gif')}) repeat-x 0 0; border: 1px solid #DD7870; | ||
+ | |- | ||
+ | |.z-longbox-readonly, | ||
+ | |||
+ | .z-longbox-text-disd | ||
+ | |||
+ | |Disabled and read-only | ||
+ | |||
+ | |background: #ECEAE4; | ||
+ | |} | ||
{{ZKStyleGuidePageFooter}} | {{ZKStyleGuidePageFooter}} |
Revision as of 01:57, 9 September 2010
This is the Default mold for Longbox.
Source
The CSS source for from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-longbox | -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-longbox | Font size and background | background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0; border: 1px solid #7F9DB9;
font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; |
.z-longbox-text-invalid | Invalid event | background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg-invalid.gif')}) repeat-x 0 0; border: 1px solid #DD7870; |
.z-longbox-readonly,
.z-longbox-text-disd |
Disabled and read-only | background: #ECEAE4; |