Default"

From Documentation
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ZKStyleGuidePageHeader}}
 
{{ZKStyleGuidePageHeader}}
  
This is the '''[MOLD NAME]''' mold for '''[ITEM NAME]'''
+
__TOC__
 +
 
 +
This is the '''Default''' mold for '''Bandbox'''.
  
 
=Source=
 
=Source=
<br />
+
 
*[http://zk1.svn.sourceforge.net/viewvc/zk1/branches/3.5/zul/src/archive/web/zul/css/cmps/combo.css.dsp?view=markup The CSS source of Bandbox from SVN]
+
{{CSSSource
 +
| url=zul/src/archive/web/js/zul/inp/css/combo.css.dsp
 +
| control=Bandbox
 +
|}}
  
 
=Structure=
 
=Structure=
====Overview====
+
 
[[Image:Bandbox1.gif]]
+
[[Image:Bandboxone.png]]
====Specification====
+
 
[[Image:Bandbox2.gif]]
+
[[Image:Bandboxtwo.png]]
  
 
=Events=
 
=Events=
<br />
+
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
 
|.z-bandbox
 
|.z-bandbox
Line 31: Line 36:
  
 
=CSS Specification=
 
=CSS Specification=
<br />
+
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
+
|-
 +
|.z-bandbox
 +
|Font size
 +
|border: 0; padding: 0; margin: 0; white-space: nowrap;
 +
font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; repeat-x;
 +
|-
 +
|.z-bandbox-inp
 +
|Background of input element
 +
|background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0;
 +
border: 1px solid #7F9DB9;
 +
|-
 +
|.z-bandbox-text-invalid
 +
|Background of invalidated
 +
|background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg-invalid.gif')}) repeat-x 0 0;
 +
border: 1px solid #DD7870;
 +
|-
 +
|.z-bandbox-readonly, .z-bandbox-text-disd
 +
|Background of disabled and read only
 +
|background: #ECEAE4;
 +
|-
 +
|.z-bandbox .z-bandbox-btn
 +
|Background of the button image
 +
|background: transparent url(${c:encodeURL('~./zul/img/button/bandbtn.gif')}) no-repeat 0 0;
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 06:35, 20 September 2010


This is the Default mold for Bandbox.

Source

The CSS source for Bandbox from GitHub


Structure

Bandboxone.png

Bandboxtwo.png

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-bandbox -over -btn-clk -focus -btn-over -disd
Supported: V V 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-bandbox Font size border: 0; padding: 0; margin: 0; white-space: nowrap;

font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal; repeat-x;

.z-bandbox-inp Background of input element background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0;

border: 1px solid #7F9DB9;

.z-bandbox-text-invalid Background of invalidated background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg-invalid.gif')}) repeat-x 0 0;

border: 1px solid #DD7870;

.z-bandbox-readonly, .z-bandbox-text-disd Background of disabled and read only background: #ECEAE4;
.z-bandbox .z-bandbox-btn Background of the button image background: transparent url(${c:encodeURL('~./zul/img/button/bandbtn.gif')}) no-repeat 0 0;



Last Update : 2010/09/20

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