Default (embedded)"
m (→Events) |
|||
Line 60: | Line 60: | ||
<br /> | <br /> | ||
{{Template:ZK Style Guide CSS}} | {{Template:ZK Style Guide CSS}} | ||
+ | |.z-window-embedded-tl | ||
+ | |Top Left | ||
+ | |background: transparent no-repeat 0 top; | ||
+ | background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-corner.png')}); | ||
+ | margin-right: 5px; | ||
+ | height: 5px; | ||
+ | font-size: 0; | ||
+ | line-height: 0; | ||
+ | zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-tr | ||
+ | |Top Right | ||
+ | |background: transparent no-repeat right -10px; | ||
+ | background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-corner.png')}); | ||
+ | position: relative; | ||
+ | height: 5px; | ||
+ | margin-right: -5px; | ||
+ | font-size: 0; | ||
+ | line-height:0; | ||
+ | zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-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-embedded-hl | ||
+ | |The left background of header | ||
+ | |background: transparent no-repeat 0 0; | ||
+ | background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hl.png')}); | ||
+ | padding-left: 6px; | ||
+ | zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-hr | ||
+ | |The right background of header | ||
+ | |background: transparent no-repeat right 0; | ||
+ | background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hr.png')}); | ||
+ | padding-right: 6px; | ||
+ | zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-hm | ||
+ | |The middle background of header | ||
+ | |background: transparent repeat-x 0 0; | ||
+ | background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hm.png')}); | ||
+ | overflow: hidden; | ||
+ | zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-cnt | ||
+ | |The content of the window | ||
+ | |margin: 0; | ||
+ | padding: 3px; | ||
+ | border: 1px solid #538BA2; | ||
+ | |- | ||
+ | |.z-window-embedded-cnt-noborder | ||
+ | |The content of the window without border | ||
+ | |border: 0;overflow: hidden;zoom: 1; | ||
+ | |- | ||
+ | |.z-window-embedded-icon | ||
+ | |The background image of the tool | ||
+ | |background: transparent no-repeat 0 0; | ||
+ | background-image : url(${c:encodeURL('~./zul/img/wnd/ebd-btn.gif')}); | ||
+ | |||
+ | height: 16px; | ||
+ | width: 16px; | ||
+ | overflow: hidden; | ||
+ | float: right; | ||
+ | cursor: pointer; | ||
+ | margin-left: 2px; | ||
+ | |- | ||
+ | |.z-window-embedded-min | ||
+ | |The minimize button | ||
+ | |background-position: 0 0; | ||
+ | |- | ||
+ | |.z-window-embedded-max | ||
+ | |The maximize button | ||
+ | |background-position: 0 -16px; | ||
+ | |- | ||
+ | |.z-window-embedded-close | ||
+ | |The close button | ||
+ | |background-position: 0 -48px; | ||
+ | |} | ||
{{ZKStyleGuidePageFooter}} | {{ZKStyleGuidePageFooter}} |
Revision as of 07:32, 9 September 2010
This is the Default (embedded) mold for Window.
Source
The CSS source for from GitHub
Structure
Events
CSS\Action | Normal (Open) | Hover | Click, Select, and Drag. | Focus | Focus and Hover | Disable |
Naming: | .z-window-embedded | |||||
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-embedded-close
.z-window-embedded-max .z-window-embedded-maxd .z-window-embedded-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-embedded-tl | Top Left | background: transparent no-repeat 0 top;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-corner.png')}); margin-right: 5px; height: 5px; font-size: 0; line-height: 0; zoom: 1; |
.z-window-embedded-tr | Top Right | background: transparent no-repeat right -10px;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-corner.png')}); position: relative; height: 5px; margin-right: -5px; font-size: 0; line-height:0; zoom: 1; |
.z-window-embedded-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-embedded-hl | The left background of header | background: transparent no-repeat 0 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hl.png')}); padding-left: 6px; zoom: 1; |
.z-window-embedded-hr | The right background of header | background: transparent no-repeat right 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hr.png')}); padding-right: 6px; zoom: 1; |
.z-window-embedded-hm | The middle background of header | background: transparent repeat-x 0 0;
background-image: url(${c:encodeURL('~./zul/img/wnd/wnd-hm.png')}); overflow: hidden; zoom: 1; |
.z-window-embedded-cnt | The content of the window | margin: 0;
padding: 3px; border: 1px solid #538BA2; |
.z-window-embedded-cnt-noborder | The content of the window without border | border: 0;overflow: hidden;zoom: 1; |
.z-window-embedded-icon | The background image of the tool | background: transparent no-repeat 0 0;
background-image : url(${c:encodeURL('~./zul/img/wnd/ebd-btn.gif')}); height: 16px; width: 16px; overflow: hidden; float: right; cursor: pointer; margin-left: 2px; |
.z-window-embedded-min | The minimize button | background-position: 0 0; |
.z-window-embedded-max | The maximize button | background-position: 0 -16px; |
.z-window-embedded-close | The close button | background-position: 0 -48px; |