Default"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''Default''' mold for '''Popup'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= =Events= <br /> {{Template…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/wgt/css/popup.css.dsp
| control=
+
| control=Popup
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
 +
[[Image:Popupone.jpg]]
  
 
+
[[Image:Popuptwo.jpg]]
  
 
=Events=
 
=Events=
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-popup
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|!
+
|V
|!
+
|
|!
+
|
|!
+
|
|!
+
|
|!
+
|
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|.z-popup
 +
| Font and border
 +
|position: absolute;
 +
top: 0;
 +
left: 0;
 +
visibility: hidden;
 +
z-index: 88000;
 +
border: 0 none;
 +
font-family: ${fontFamilyC};
 +
font-size: ${fontSizeM};
 +
font-weight: normal;
 +
margin:0;
 +
overflow:hidden;
 +
padding:0;
 +
|-
 +
|.z-popup .z-popup-tl
 +
|Top left
 +
|background:transparent no-repeat scroll 0 top;
 +
background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});
 +
 +
font-size:0;
 +
height:5px;
 +
line-height:0;
 +
margin-right:5px;
 +
zoom:1;
 +
|-
 +
|.z-popup .z-popup-tr
 +
|Top right
 +
|background:transparent no-repeat scroll right -10px;
 +
background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});
 +
 +
font-size:0;
 +
height:5px;
 +
line-height:0;
 +
margin-right:-5px;
 +
position:relative;
 +
zoom:1;
 +
|-
 +
|.z-popup .z-popup-cm
 +
|Center middle
 +
|background: #EDF6FC repeat-x 0 0px;
 +
background-image: url(${c:encodeURL('~./zul/img/popup/pp-cm.png')});
 +
 +
padding:4px 10px;
 +
overflow: hidden;
 +
zoom: 1;
 +
|-
 +
|.z-popup .z-popup-cl
 +
|Center left
 +
|background: transparent  repeat-y 0 0;
 +
background-image: url(${c:encodeURL('~./zul/img/popup/pp-clr.png')});
 +
 +
padding-left: 6px;
 +
overflow: hidden;
 +
zoom: 1;
 +
|-
 +
|.z-popup .z-popup-cr
 +
|Center right
 +
|background: transparent  repeat-y right;
 +
background-image: url(${c:encodeURL('~./zul/img/popup/pp-clr.png')});
 +
padding-right: 6px;
 +
overflow: hidden;
 +
zoom: 1;
 +
|-
 +
|.z-popup .z-popup-bl
 +
|Bottom left
 +
|background:transparent no-repeat scroll 0 -5px;
 +
background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});
 +
 +
height:5px;
 +
margin-right:5px;
 +
zoom: 1;
 +
|-
 +
|.z-popup .z-popup-br
 +
|Bottom right
 +
|background:transparent no-repeat scroll right -15px;
 +
background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});
  
 +
font-size:0;
 +
height:5px;
 +
line-height:0;
 +
margin-right:-5px;
 +
position:relative;
 +
zoom: 1;
 +
|-
 +
|.z-popup .z-popup-cnt
 +
|Color of text
 +
|margin: 0 !important;
 +
line-height: 14px;
 +
color: #444;
 +
padding: 0;
 +
zoom: 1;
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 07:01, 20 September 2010


This is the Default mold for Popup.

Source

The CSS source for Popup from GitHub


Structure

Popupone.jpg

Popuptwo.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-popup
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-popup Font and border position: absolute;

top: 0; left: 0; visibility: hidden; z-index: 88000; border: 0 none; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal; margin:0; overflow:hidden; padding:0;

.z-popup .z-popup-tl Top left background:transparent no-repeat scroll 0 top;

background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});

font-size:0; height:5px; line-height:0; margin-right:5px; zoom:1;

.z-popup .z-popup-tr Top right background:transparent no-repeat scroll right -10px;

background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});

font-size:0; height:5px; line-height:0; margin-right:-5px; position:relative; zoom:1;

.z-popup .z-popup-cm Center middle background: #EDF6FC repeat-x 0 0px;

background-image: url(${c:encodeURL('~./zul/img/popup/pp-cm.png')});

padding:4px 10px; overflow: hidden; zoom: 1;

.z-popup .z-popup-cl Center left background: transparent repeat-y 0 0;

background-image: url(${c:encodeURL('~./zul/img/popup/pp-clr.png')});

padding-left: 6px; overflow: hidden; zoom: 1;

.z-popup .z-popup-cr Center right background: transparent repeat-y right;

background-image: url(${c:encodeURL('~./zul/img/popup/pp-clr.png')}); padding-right: 6px; overflow: hidden; zoom: 1;

.z-popup .z-popup-bl Bottom left background:transparent no-repeat scroll 0 -5px;

background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});

height:5px; margin-right:5px; zoom: 1;

.z-popup .z-popup-br Bottom right background:transparent no-repeat scroll right -15px;

background-image:url(${c:encodeURL('~./zul/img/popup/pp-corner.png')});

font-size:0; height:5px; line-height:0; margin-right:-5px; position:relative; zoom: 1;

.z-popup .z-popup-cnt Color of text margin: 0 !important;

line-height: 14px; color: #444; padding: 0; zoom: 1;



Last Update : 2010/09/20

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