Default"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''[MOLD NAME]''' mold for '''[ITEM NAME]'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= =Events= <br /> …')
 
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
__TOC__
 
__TOC__
  
This is the '''[MOLD NAME]''' mold for '''[ITEM NAME]'''.
+
This is the '''Default''' mold for '''Toolbar'''.
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/wgt/css/toolbar.css.dsp
| control=
+
| control=Toolbar
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
 +
[[Image:Toolbar1.jpg ]]
  
 +
[[Image:Toolbar2.jpg ]]
  
 +
[[Image:Toolbar3.jpg ]]
 +
 +
[[Image:Toolbar4.jpg ]]
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-toolbar
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|!
+
|V
|!
+
|
|!
+
|
|!
+
|
|!
+
|
|!
+
|
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
+
|.z-toolbar
 +
|Background image
 +
| border-color: #B1CBD5; border-style: solid; border-width: 0 0 1px 0; display: block; padding: 2px; background: #DAF3FF repeat-x 0 center; background-image: url(${c:encodeURL('~./zul/img/common/bar-bg.png')}); position: relative; zoom: 1;
 +
|-
 +
|.z-toolbar-body,
 +
.z-toolbar-body span
 +
|Font size
 +
|font-size: ${fontSizeS};
 +
|-
 +
|.z-toolbar a, .z-toolbar a:visited, .z-toolbar a:hover
 +
|Font size of A tag
 +
|font-family: ${fontFamilyT}; font-size: ${fontSizeS}; font-weight: normal; color: black; background: #D0DEF0; border: 1px solid #D0DEF0; text-decoration: none;
 +
|-
 +
|.z-toolbar-start
 +
|Align to start
 +
|float: left; clear: none;
 +
|-
 +
|.z-toolbar-center
 +
|Align to center
 +
|margin: 0 auto;
 +
|-
 +
|.z-toolbar-end
 +
|Align to end
 +
|float: right; clear: none;
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 07:23, 16 September 2010


This is the Default mold for Toolbar.

Source

The CSS source for Toolbar from GitHub


Structure

Toolbar1.jpg

Toolbar2.jpg

Toolbar3.jpg

Toolbar4.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-toolbar
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-toolbar Background image border-color: #B1CBD5; border-style: solid; border-width: 0 0 1px 0; display: block; padding: 2px; background: #DAF3FF repeat-x 0 center; background-image: url(${c:encodeURL('~./zul/img/common/bar-bg.png')}); position: relative; zoom: 1;
.z-toolbar-body,

.z-toolbar-body span

Font size font-size: ${fontSizeS};
.z-toolbar a, .z-toolbar a:visited, .z-toolbar a:hover Font size of A tag font-family: ${fontFamilyT}; font-size: ${fontSizeS}; font-weight: normal; color: black; background: #D0DEF0; border: 1px solid #D0DEF0; text-decoration: none;
.z-toolbar-start Align to start float: left; clear: none;
.z-toolbar-center Align to center margin: 0 auto;
.z-toolbar-end Align to end float: right; clear: none;



Last Update : 2010/09/16

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