Menuitem in Menupopup"
From Documentation
m (→Structure) |
Jumperchen (talk | contribs) (→Source) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
=Source= | =Source= | ||
− | + | ||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=/zul/src/archive/web/js/zul/menu/css/menu.css.dsp |
− | | control= | + | | control=Menupopup |
|}} | |}} | ||
Line 18: | Line 18: | ||
=Events= | =Events= | ||
− | |||
{{Template:Style Guide Event | {{Template:Style Guide Event | ||
− | | | + | |.z-menu-item |
− | + | |-over | |
− | + | | | |
− | |- | + | | |
− | | | + | | |
− | | | + | |-disd |
− | | | + | |V |
− | | | ||
− | |||
− | | | ||
|! | |! | ||
+ | | | ||
+ | | | ||
+ | | | ||
|! | |! | ||
}} | }} | ||
=CSS Specification= | =CSS Specification= | ||
− | |||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
− | + | |- | |
+ | |.z-menu-popup-cnt .z-menu-item | ||
+ | |The outline of menuitem in menupopup | ||
+ | |line-height:100%; | ||
+ | list-style-image:none !important; | ||
+ | list-style-position:outside !important; | ||
+ | list-style-type:none !important; | ||
+ | margin:0 !important; | ||
+ | display:block; | ||
+ | padding:1px; | ||
+ | cursor:pointer; | ||
+ | |- | ||
+ | |.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt | ||
+ | |The outline of menuitem content | ||
+ | |color:#222222; | ||
+ | display:block; | ||
+ | line-height:16px; | ||
+ | outline-color:-moz-use-text-color; | ||
+ | outline-style:none; | ||
+ | outline-width:0; | ||
+ | padding:3px 21px 3px 3px; | ||
+ | white-space:nowrap; | ||
+ | |- | ||
+ | |.z-menu-popup-cnt .z-menu-item .z-menu-item-img | ||
+ | |The outline of menuitem image | ||
+ | |background-position:center center; | ||
+ | border:0px; | ||
+ | height:16px; | ||
+ | margin-right:9px; | ||
+ | padding:0; | ||
+ | vertical-align:top; | ||
+ | width:16px; | ||
+ | |} | ||
{{ZKStyleGuidePageFooter}} | {{ZKStyleGuidePageFooter}} |
Latest revision as of 03:12, 14 September 2010
This is the Menuitem in Menupopup mold for Menupopup.
Source
The CSS source for Menupopup from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-menu-item | -over | -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-menu-popup-cnt .z-menu-item | The outline of menuitem in menupopup | line-height:100%;
list-style-image:none !important; list-style-position:outside !important; list-style-type:none !important; margin:0 !important; display:block; padding:1px; cursor:pointer; |
.z-menu-popup-cnt .z-menu-item a.z-menu-item-cnt | The outline of menuitem content | color:#222222;
display:block; line-height:16px; outline-color:-moz-use-text-color; outline-style:none; outline-width:0; padding:3px 21px 3px 3px; white-space:nowrap; |
.z-menu-popup-cnt .z-menu-item .z-menu-item-img | The outline of menuitem image | background-position:center center;
border:0px; height:16px; margin-right:9px; padding:0; vertical-align:top; width:16px; |