sphere (Vertical)"
From Documentation
m |
m (→Source) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
=Source= | =Source= | ||
− | |||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=zul/src/archive/web/js/zul/inp/css/slider.css.dsp |
− | | control= | + | | control=Slider |
|}} | |}} | ||
Line 20: | Line 19: | ||
=Events= | =Events= | ||
− | |||
{{Template:Style Guide Event | {{Template:Style Guide Event | ||
− | | | + | |.z-slider-sphere-ver |
− | |- | + | | |
− | |- | + | | |
− | |- | + | | |
− | | | + | | |
− | | | + | | |
− | | | + | |V |
− | | | + | | |
− | | | + | | |
− | | | + | | |
− | | | + | | |
− | | | + | | |
+ | |display=none | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{Template:Style Guide Event | ||
+ | |.z-slider-sphere-ver-btn | ||
+ | |-over | ||
+ | |-drag | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |V | ||
+ | |V | ||
+ | |V | ||
+ | | | ||
+ | | | ||
+ | | | ||
}} | }} | ||
=CSS Specification= | =CSS Specification= | ||
− | |||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
+ | |- | ||
+ | |.z-slider-sphere-ver | ||
+ | |The scroll bar | ||
+ | |background:transparent no-repeat scroll left 0; | ||
+ | background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg-ver.png')}); | ||
+ | |||
+ | font-size:0; | ||
+ | width:22px; | ||
+ | line-height:0; | ||
+ | margin-bottom:7px; | ||
+ | zoom:1; | ||
+ | |- | ||
+ | |.z-slider-sphere-ver-center | ||
+ | |The bottom of scroll bar | ||
+ | |background:transparent no-repeat scroll -22px bottom; | ||
+ | background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg-ver.png')}); | ||
+ | |||
+ | font-size:0; | ||
+ | width:22px; | ||
+ | line-height:0; | ||
+ | margin-bottom:-7px; | ||
+ | position:relative; | ||
+ | zoom:1; | ||
+ | |- | ||
+ | |.z-slider-sphere-ver-btn | ||
+ | |The scroll button | ||
+ | |width: 15px; height: 15px; position: absolute; left: 4px; bottom: 0; | ||
+ | |||
+ | background-color : transparent; | ||
+ | background-image : url(${c: encodeURL('~./zul/img/slider/slider-v-circle.png')}); | ||
+ | background-repeat : no-repeat; | ||
+ | background-position : 0 0; | ||
+ | |} | ||
{{ZKStyleGuidePageFooter}} | {{ZKStyleGuidePageFooter}} |
Latest revision as of 08:52, 13 September 2010
This is the sphere (Vertical) mold for Slider.
Source
The CSS source for Slider from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-slider-sphere-ver | |||||
Supported: | V |
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-slider-sphere-ver-btn | -over | -drag | |||
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-slider-sphere-ver | The scroll bar | background:transparent no-repeat scroll left 0;
background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg-ver.png')}); font-size:0; width:22px; line-height:0; margin-bottom:7px; zoom:1; |
.z-slider-sphere-ver-center | The bottom of scroll bar | background:transparent no-repeat scroll -22px bottom;
background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg-ver.png')}); font-size:0; width:22px; line-height:0; margin-bottom:-7px; position:relative; zoom:1; |
.z-slider-sphere-ver-btn | The scroll button | width: 15px; height: 15px; position: absolute; left: 4px; bottom: 0;
background-color : transparent; background-image : url(${c: encodeURL('~./zul/img/slider/slider-v-circle.png')}); background-repeat : no-repeat; background-position : 0 0; |