Default (overlapped, highlighted, and modal)"
m |
Jumperchen (talk | contribs) (→Source) |
||
Line 7: | Line 7: | ||
=Source= | =Source= | ||
{{CSSSource | {{CSSSource | ||
− | | url= | + | | url=zul/src/archive/web/js/zul/wnd/css/window.css.dsp |
− | | control= | + | | control=Window |
|}} | |}} | ||
Revision as of 03:59, 13 September 2010
This is the Default (overlapped, highlighted, and modal) mold for Window.
Source
The CSS source for Window from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-window-overlapped,
.z-window-modal, .z-window-highlight |
|||||
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-window-*-close
.z-window-*-max .z-window-*-maxd .z-window-*-mid |
-over | ||||
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-window-overlapped-tl | Top Left | background: transparent no-repeat 0 top;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-corner.png')}); margin-right: 5px; height: 5px; font-size: 0; line-height: 0; zoom: 1; |
.z-window-overlapped-tr | Top Right | background: transparent no-repeat right -10px;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-corner.png')}); position: relative; height: 5px; margin-right: -5px; font-size: 0; line-height:0; zoom: 1; |
.z-window-overlapped-header | The color and font size of the header | overflow: hidden; zoom: 1; color: #222222; padding-bottom: 4px;
font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal; |
.z-window-overlapped-hl | The left background of header | background: transparent no-repeat 0 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-hl.png')}); padding-left: 6px; zoom: 1; |
.z-window-overlapped-hr | The right background of header | background: transparent no-repeat right 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-hr.png')}); padding-right: 6px; zoom: 1; |
.z-window-overlapped-hm | The middle background of header | background: transparent repeat-x 0 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-hm.png')}); overflow: hidden; zoom: 1; |
.z-window-overlapped-cnt | The content of the window | margin: 0;
padding: 4px; background: white; overflow: hidden; zoom: 1; |
.z-window-overlapped-cnt-noborder | The content of the window without border | margin: 0;
padding: 2px; background: white; border: 0; overflow: hidden; zoom: 1; |
.z-window-overlapped-cl | Center left | background: transparent repeat-y 0 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-clr.png')}); padding-left: 6px; zoom: 1; |
.z-window-overlapped-cr | Center right | background: transparent repeat-y right 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-clr.png')}); padding-right: 6px; zoom: 1; |
.z-window-overlapped-cm | Center middle | padding: 0;
margin: 0; border: 1px solid #0B5CA0; background: #5EABDB; |
.z-window-overlapped-bl | Bottom left | background: transparent no-repeat 0 -5px;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-corner.png')}); height: 5px; margin-right: 5px; zoom: 1; |
.z-window-overlapped-br | Bottom right | background: transparent no-repeat right bottom;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-ol-corner.png')}); position: relative; height: 5px; margin-right: -5px; font-size: 0; line-height:0; zoom: 1; |
.z-window-overlapped-icon | The background image of the tool | background: transparent no-repeat 0 0;
background-image : url(${c:encodeURL('~./zul/img/wnd/ol-btn.gif')}); height: 16px; width: 16px; overflow: hidden; float: right; cursor: pointer; margin-left: 2px; |
.z-window-overlapped-min | The minimize button | background-position: 0 0; |
.z-window-overlapped-max | The maximize button | background-position: 0 -16px; |
.z-window-overlapped-close | The close button | background-position: 0 -48px; |