Menuitem in Menubar"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''Menuitem in Menubar''' mold for '''Menubar'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= =Events= <br…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
+
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=/zul/src/archive/web/js/zul/menu/css/menu.css.dsp
| control=
+
| control=Menuitem
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
 +
[[Image:Menuitem-in-menubar1.jpg]]
 +
 +
[[Image:Menuitem-in-menubar2.jpg]]
  
 +
[[Image:Menuitem-in-menubar3.jpg]]
  
 +
[[Image:Menuitem-in-menubar4.jpg]]
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-menu-item
|-&nbsp;
+
|-btn-over
|-&nbsp;
+
|-btn-seld
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|-disd
|!
+
|V
|!
+
|V
|!
+
|V
|!
+
|
|!
+
|
 
|!
 
|!
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|.z-menubar-hor .z-menu-item
 +
|Vertical align
 +
|vertical-align: middle;
 +
|-
 +
|.z-menubar-hor .z-menu-item
 +
|Font size
 +
| -adjust:none;
 +
font-stretch:normal;
 +
font-style:normal;
 +
font-variant:normal;
 +
font-weight:normal;
 +
line-height:normal;
 +
white-space:nowrap;
 +
font-family: ${fontFamilyT};
 +
font-size: ${fontSizeMS};
 +
|-
 +
|.z-menubar-hor .z-menu-item-btn
 +
|Font size
 +
| -adjust:none;
 +
font-stretch:normal;
 +
font-style:normal;
 +
font-variant:normal;
 +
font-weight:normal;
 +
line-height:normal;
 +
white-space:nowrap;
 +
font-family: ${fontFamilyT};
 +
font-size: ${fontSizeMS};
 +
|-
 +
|.z-menu-item-body-text-img .z-menu-item-inner-m .z-menu-item-btn
 +
|Padding of menuitem button with text and image
 +
|padding-left:18px;
 +
|-
 +
|.z-menu-item-body-img .z-menu-item-inner-m .z-menu-item-btn
 +
|Padding of menuitem button with image
 +
|padding-left:12px;
 +
padding-right:0px;
 +
|-
 +
|.z-menubar-hor .z-menu-item-body .z-menu-item-inner-l
 +
|Size of button left
 +
|font-size:1px;
 +
height:21px;
 +
line-height:1px;
 +
width:3px;
 +
|-
 +
|.z-menubar-hor .z-menu-item-body .z-menu-item-inner-r
 +
|Size of button right
 +
|font-size:1px;
 +
height:21px;
 +
line-height:1px;
 +
width:3px;
 +
|}
  
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 07:10, 16 September 2010


This is the Menuitem in Menubar mold for Menubar.

Source

The CSS source for Menuitem from GitHub


Structure

Menuitem-in-menubar1.jpg

Menuitem-in-menubar2.jpg

Menuitem-in-menubar3.jpg

Menuitem-in-menubar4.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-menu-item -btn-over -btn-seld -disd
Supported: V V 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-menubar-hor .z-menu-item Vertical align vertical-align: middle;
.z-menubar-hor .z-menu-item Font size -adjust:none;

font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; line-height:normal; white-space:nowrap; font-family: ${fontFamilyT}; font-size: ${fontSizeMS};

.z-menubar-hor .z-menu-item-btn Font size -adjust:none;

font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; line-height:normal; white-space:nowrap; font-family: ${fontFamilyT}; font-size: ${fontSizeMS};

.z-menu-item-body-text-img .z-menu-item-inner-m .z-menu-item-btn Padding of menuitem button with text and image padding-left:18px;
.z-menu-item-body-img .z-menu-item-inner-m .z-menu-item-btn Padding of menuitem button with image padding-left:12px;

padding-right:0px;

.z-menubar-hor .z-menu-item-body .z-menu-item-inner-l Size of button left font-size:1px;

height:21px; line-height:1px; width:3px;

.z-menubar-hor .z-menu-item-body .z-menu-item-inner-r Size of button right font-size:1px;

height:21px; line-height:1px; width:3px;



Last Update : 2010/09/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.