Default"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''Default''' mold for '''Textbox'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= =Events= <br /> {{Templa…')
 
 
(9 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/inp/css/input.css.dsp
| control=
+
| control=Textbox
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
 
+
[[Image:Textbox1.jpg ]]
 
 
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-textbox
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|-focus
|-&nbsp;
+
|
|-&nbsp;
+
|-disd
|!
+
|V
|!
+
|
|!
+
|
|!
 
 
|!
 
|!
 +
|
 
|!
 
|!
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
+
|.z-textbox
 +
|Font size and background
 +
|background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0; border: 1px solid #86A4BE; font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal;
 +
|-
 +
|.z-textbox-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-textbox-readonly, .z-textbox-text-disd
 +
|Disabled and read-only
 +
|background: #ECEAE4;
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 04:08, 13 September 2010


This is the Default mold for Textbox.

Source

The CSS source for Textbox from GitHub


Structure

Textbox1.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-textbox -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-textbox Font size and background background: #FFF url(${c:encodeURL('~./zul/img/grid/text-bg.gif')}) repeat-x 0 0; border: 1px solid #86A4BE; font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal;
.z-textbox-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-textbox-readonly, .z-textbox-text-disd Disabled and read-only background: #ECEAE4;



Last Update : 2010/09/13

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