Default"

From Documentation
Line 40: Line 40:
 
|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
+
|.z-calendar-seld
  
|Background of year
+
|Selected background
  
|background: #e9f1f3; border: 1px solid; border-color: #f8fbff #aca899 #aca899 #f8fbff;
+
|background: #CCE0FB;
|-
 
|.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
 
 
 
|Font size of DOW (Day Of Week)
 
 
 
|font-size: ${fontSizeS}; color: #333; font-weight: bold; padding: 1px 2px; background: #e8e8f0; text-align: center;
 
 
|}
 
|}

Revision as of 07:19, 13 September 2010


This is the Default mold for Calendar.

Source

The CSS source for Calendar from GitHub


Structure

Calendar1.PNG Calendar2.PNG Calendar3.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;