Default"

From Documentation
 
(8 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
|url=
+
| url=zul/src/archive/web/js/zul/db/css/calendar.css.dsp
 +
| control=Calendar
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
[[Image:Calendar1.jpg]]
+
[[Image:Calendar1.PNG]]
  
[[Image:Calendar2.jpg]]
+
[[Image:Calendar2.PNG]]
 +
 
 +
[[Image:Calendar3.PNG]]
 +
 
 +
[[Image:Calendar4.PNG]]
  
 
=Events=
 
=Events=
<br />
+
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
 
|.z-calendar
 
|.z-calendar
Line 34: Line 38:
  
 
=CSS Specification=
 
=CSS Specification=
<br />
+
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 
|.z-calendar
 
|.z-calendar
Line 40: Line 44:
 
|Background and font size
 
|Background and font size
  
|background: white; border: 1px solid #7F9DB9; font-family: ${fontFamilyC};font-size: ${fontSizeM}; font-weight: normal;
+
|background: white; border: 1px solid #C5C5C5; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal; width: 215px; padding: 2px;
|-
 
|.z-calendar-calyear
 
 
 
|Background of year
 
 
 
|background: #e9f1f3; border: 1px solid; border-color: #f8fbff #aca899 #aca899 #f8fbff;
 
|-
 
|.z-calendar-calyear td
 
 
 
|Font size of year
 
 
 
|font-size: ${fontSizeM}; font-weight: bold; text-align: center; white-space: nowrap;
 
|-
 
|.z-calendar-calmon td
 
 
 
|Font size of month
 
 
 
|font-size: ${fontSizeS}; color: #35254F; text-align: center; cursor: pointer; text-decoration: none;
 
|-
 
|.z-calendar-calday
 
 
 
|Border of day
 
 
 
|border: 1px solid #ddd;
 
|-
 
|.z-calendar-calday td,
 
.z-calendar-calday td a,
 
 
 
.z-calendar-calday td a:visited
 
 
 
|Font size of day
 
 
 
|font-size: ${fontSizeS}; color: #35254F; text-align: center; cursor: pointer; text-decoration: none;
 
|-
 
|.z-calendar-calday td
 
 
 
|Padding size of day
 
 
 
|padding: 1px 3px;
 
 
|-
 
|-
|.z-calendar-caldow
+
|.z-calendar-seld
  
|Font size of DOW (Day Of Week)
+
|Selected background
  
|font-size: ${fontSizeS}; color: #333; font-weight: bold; padding: 1px 2px; background: #e8e8f0; text-align: center;
+
|background: #CCE0FB;
 
|}
 
|}
 
{{ZKStyleGuidePageFooter}}
 

Latest revision as of 06:38, 16 September 2010


This is the Default mold for Calendar.

Source

The CSS source for Calendar from GitHub


Structure

Calendar1.PNG

Calendar2.PNG

Calendar3.PNG

Calendar4.PNG

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-calendar -over -seld -over-seld -disd
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-calendar Background and font size background: white; border: 1px solid #C5C5C5; font-family: ${fontFamilyC}; font-size: ${fontSizeM}; font-weight: normal; width: 215px; padding: 2px;
.z-calendar-seld Selected background background: #CCE0FB;