Default (Horizontal)"

From Documentation
m
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
+
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/tab/css/tabbox.css.dsp
| control=
+
| control=Tabbox
 
|}}
 
|}}
  
Line 18: Line 18:
  
 
=Events=
 
=Events=
<br />
+
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
 
|.z-tabbox
 
|.z-tabbox
Line 35: Line 35:
  
 
=CSS Specification=
 
=CSS Specification=
<br />
+
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
|.z-tabbox
 
|.z-tabbox
Line 49: Line 49:
 
[[Image:Tabs-hor1.jpg]]
 
[[Image:Tabs-hor1.jpg]]
 
=Events=
 
=Events=
<br />
+
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
 
|.z-tabs
 
|.z-tabs
Line 84: Line 84:
 
}}
 
}}
 
=CSS Specification=
 
=CSS Specification=
<br />
+
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
|-
 
|-
Line 150: Line 150:
 
z-index: 25;
 
z-index: 25;
 
|}
 
|}
{{ZKStyleGuidePageFooter}}
+
 
 
=Tab=
 
=Tab=
 
=Structure=
 
=Structure=
Line 159: Line 159:
  
 
=Events=
 
=Events=
<br />
+
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
 
|.z-tab
 
|.z-tab
Line 176: Line 176:
  
 
=CSS Specification=
 
=CSS Specification=
<br />
+
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
|-
 
|-
Line 246: Line 246:
 
filter: alpha(opacity=80);
 
filter: alpha(opacity=80);
 
zoom: 1;
 
zoom: 1;
 +
|}
 +
 +
=Tabpanels and Tabpanel=
 +
=Structure=
 +
[[Image:Tabbox-hor1.jpg]]
 +
 +
[[Image:Tabpanels-hor1.jpg]]
 +
 +
 +
=Events=
 +
 +
{{Template:Style Guide Event
 +
|.z-tabpanels,
 +
.z-tabpanel
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|V
 +
|
 +
|
 +
|
 +
|
 +
|
 +
}}
 +
 +
=CSS Specification=
 +
 +
{{Template:ZK Style Guide CSS}}
 +
|-
 +
|.z-tabpanel
 +
|The tabpanel
 +
|padding: 5px;
 +
zoom: 1;
 +
|-
 +
|.z-tabpanel-cnt
 +
|The content of tabpanel
 +
|height: 100%;
 
|}
 
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 01:51, 13 September 2010

Default (Horizontal)



This is the Default (Horizontal) mold for Tabbox.

Source

The CSS source for Tabbox from GitHub


Structure

Tabbox-hor1.jpg

Tabbox-hoz2.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tabbox
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-tabbox Overflow overflow: hidden; visibility: hidden;


Tabs

Structure

Tabbox-hor1.jpg

Tabs-hor1.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tabs
Supported: V

Note: An exclamation mark(!) means that the action effect is done by CSS background , not CSS background-position


CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tabs-right-scroll,

.z-tabs-left-scroll

:hover
Supported: 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-tabs The tabs overflow: hidden;

background: transparent none repeat scroll 0 0; border: 0; padding: 0; margin: 0; position: relative;

.z-tabs-cnt The tabs' background background: #C7E3F3 repeat-x scroll 0 top;

background-image: url(${c:encodeURL('~./zul/img/tab/tabs-bg.png')}); border-bottom: 1px solid #7EAAC6; padding-left: 5px; padding-top: 1px; list-style-image: none; list-style-position: outside; list-style-type: none; display: block; margin: 0; zoom: 1;

.z-tabs-header-scroll The space for scroll button margin-left: 18px;

margin-right: 18px;

.z-tabs-header The whole tabs width: 100%;

margin: 0px; position: relative; overflow: hidden; zoom: 1;

.z-tabs-left-scroll Scroll left button left: 0;

top: 0; width: 18px; height: 64px;

background: transparent no-repeat scroll 0 -1px; background-image: url(${c:encodeURL('~./zul/img/tab/scroll-l.png')}); border-bottom: 1px solid #8DB2E3; cursor: pointer; position: absolute; z-index: 25;

.z-tabs-right-scroll Scroll right button right: 0;

top: 0; width: 18px; height: 64px; background: transparent no-repeat scroll -18px -1px; background-image: url(${c:encodeURL('~./zul/img/tab/scroll-r.png')}); border-bottom: 1px solid #8DB2E3; cursor: pointer; position: absolute; z-index: 25;

Tab

Structure

Tabbox-hor1.jpg

Tab-hor1.jpg


Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tab :hover -seld -disd-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-tab-hl Left of tab position: relative;

padding-left: 10px; background: transparent no-repeat 0 -128px; background-image: url(${c:encodeURL('~./zul/img/tab/tab-corner.png')}); outline: none; cursor: pointer;

.z-tab-hr Right of tab background: transparent no-repeat scroll right -128px;

background-image: url(${c:encodeURL('~./zul/img/tab/tab-corner.png')}); padding-right: 10px; display: block;

.z-tab-hm Middle of tab padding-left: 2px;

padding-right: 1px; overflow: hidden; cursor: pointer; background: transparent repeat-x scroll 0 -128px; background-image: url(${c:encodeURL('~./zul/img/tab/tab-hm.png')});

.z-tab .z-tab-text Color and font of tab color: #416AA3;

cursor: pointer; font-style: normal; font-family: ${fontFamilyT}; font-size: ${fontSizeM}; font-size-adjust: none; padding:4px 0 4px; white-space: nowrap;

.z-tab-seld .z-tab-text Color and font of tab when it's choiced color: #0F3B82;

cursor: default; font-weight: bold; font-style: normal; font-family: ${fontFamilyT}; font-size: ${fontSizeM}; white-space: nowrap; padding:4px 0 5px;

.z-tab-hm-close The space when tab is closable padding-right: 10px;
z-tab-close The close button background and size background-image: url(${c:encodeURL('~./zul/img/tab/tab-close.gif')});

background-repeat: no-repeat;

cursor: pointer; display: block; width: 11px; height: 12px; position: absolute; right: 3px; top: 3px; z-index: 15; opacity: .8; filter: alpha(opacity=80); zoom: 1;

Tabpanels and Tabpanel

Structure

Tabbox-hor1.jpg

Tabpanels-hor1.jpg


Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-tabpanels,

.z-tabpanel

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-tabpanel The tabpanel padding: 5px;

zoom: 1;

.z-tabpanel-cnt The content of tabpanel height: 100%;



Last Update : 2010/09/13

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