2011-11-08 16:40:44 +00:00
|
|
|
/* Calendar
|
|
|
|
*
|
|
|
|
* Styling Calendar mainly includes:
|
|
|
|
*
|
|
|
|
* 1. Calendar container
|
|
|
|
* .dijitCalendar - main container
|
|
|
|
* .dijitCalendarHover / .dijitCalendarActive - states e.g. hover,active
|
|
|
|
*
|
|
|
|
* 2. Month
|
|
|
|
* .dijitCalendarMonthContainer
|
|
|
|
* .dijitCalendarMonthLabel
|
|
|
|
* .dijitCalendarDecrease / .dijitCalendarDecrease - icons for switching to previous/next month
|
|
|
|
* .dijitCalendarArrowActive .dijitCalendarDecrease - states e.g. hover,active
|
|
|
|
*
|
|
|
|
* 3. Date
|
|
|
|
* .dijitCalendarDayLabelTemplate - week day column header e.g. S M T W T F S
|
|
|
|
* .dijitCalendarDateTemplate - date label wrapper
|
|
|
|
* .dijitCalendarPreviousMonth .dijitCalendarDateLabel - special labels for previous or next month
|
|
|
|
* .dijitCalendarSelectedDate .dijitCalendarDateLabel - styles for selected date
|
|
|
|
* .dijitCalendarDisabledDate .dijitCalendarDateLabel - styles for disabled date
|
|
|
|
* .dijitCalendarActiveDate .dijitCalendarDateLabel - states e.g. hover,active
|
|
|
|
*
|
|
|
|
* 4. Year
|
|
|
|
* .dijitCalendarYearContainer
|
|
|
|
* .dijitCalendarYearLabel
|
|
|
|
* .dijitCalendarPreviousYear /.dijitCalendarNextYear
|
|
|
|
* .dijitCalendarNextYearHover / .dijitCalendarPreviousYearHover - states e.g. hover,active
|
|
|
|
*
|
|
|
|
* 5. Dropdown Month Menu
|
|
|
|
* .dijitCalendarMonthMenu - menu container
|
|
|
|
* .dijitCalendarMonthMenu .dijitCalendarMonthLabel - month label in menu item
|
|
|
|
* .dijitCalendarMonthMenu .dijitCalendarMonthLabelHover - menu item hover state
|
|
|
|
*/
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitCalendar {
|
2011-11-08 16:40:44 +00:00
|
|
|
border: solid 1px #b5bcc7;
|
|
|
|
background-color: #cfe5fa;
|
|
|
|
background-image: url("images/calendarContainerImages.png");
|
|
|
|
background-position: 0 -448px;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
text-align: center;
|
|
|
|
padding: 6px 5px 3px 5px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitCalendar {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-image: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendar img {
|
2011-11-08 16:40:44 +00:00
|
|
|
border: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitCalendarHover, .claro .dijitCalendarActive {
|
|
|
|
/* treat dijitCalenderActive like hover since there's
|
|
|
|
* no concept of clicking a Calendar as a whole (although you can click things inside the calendar)
|
|
|
|
*/
|
|
|
|
|
|
|
|
background-color: #abd6ff;
|
|
|
|
border: solid 1px #769dc0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarMonthContainer th {
|
2011-11-08 16:40:44 +00:00
|
|
|
text-align: center;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
vertical-align: middle;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarMonthLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
color: #000000;
|
|
|
|
font-size: 1.091em;
|
|
|
|
padding: 0 4px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* next/previous month arrows */
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitCalendarIncrementControl {
|
2011-11-08 16:40:44 +00:00
|
|
|
width: 18px;
|
|
|
|
height: 16px;
|
|
|
|
background-image: url("images/calendarArrows.png");
|
|
|
|
background-repeat: no-repeat;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitCalendarIncrementControl {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-image: url("images/calendarArrows8bit.png");
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarIncrease {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-position: -18px 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarArrowHover .dijitCalendarDecrease {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-position: -36px 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarArrowHover .dijitCalendarIncrease {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-position: -55px 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarArrowActive .dijitCalendarDecrease {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-position: -72px 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarArrowActive .dijitCalendarIncrease {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-position: -91px 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitA11ySideArrow {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* text +/- labels instead of arrow icons, for high contrast mode */
|
|
|
|
|
|
|
|
display: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitDayLabels th {
|
2011-11-08 16:40:44 +00:00
|
|
|
padding: 0 4px 0 4px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarDayLabelTemplate {
|
2011-11-08 16:40:44 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid #b5bcc7;
|
|
|
|
font-size: 0.909em;
|
|
|
|
padding: 0 3px 2px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarDateTemplate {
|
2011-11-08 16:40:44 +00:00
|
|
|
text-align: center;
|
|
|
|
background-color: #ffffff;
|
|
|
|
background-image: url("images/calendarContainerImages.png");
|
|
|
|
background-position: 0 0;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
border-bottom: 1px solid #d3d3d3;
|
|
|
|
padding-top: 0;
|
|
|
|
font-size: 0.909em;
|
|
|
|
font-family: Arial;
|
|
|
|
font-weight: bold;
|
|
|
|
letter-spacing: .05em;
|
|
|
|
text-align: center;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitCalendarDateTemplate {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-image: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitCalendarPreviousMonth, .claro .dijitCalendarNextMonth {
|
|
|
|
background-color: #e9f4fe;
|
|
|
|
background-image: none;
|
|
|
|
border-bottom: solid 1px #d3d3d3;
|
|
|
|
/* todo: redundant with above .dijitCalendarDateTemplate rule */
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarDateTemplate .dijitCalendarDateLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
padding: 3px 5px 3px 4px;
|
|
|
|
border: solid 1px #ffffff;
|
|
|
|
/* intentionally matches background-color, no visible border until hover/selection */
|
|
|
|
|
|
|
|
background-color: rgba(171, 212, 251, 0);
|
|
|
|
/* transparent causes black-flash animation problem on webkit */
|
|
|
|
|
|
|
|
-webkit-transition-property: background-color, border;
|
|
|
|
-moz-transition-property: background-color, border;
|
|
|
|
transition-property: background-color, border;
|
|
|
|
-webkit-transition-duration: 0.35s;
|
|
|
|
-moz-transition-duration: 0.35s;
|
|
|
|
transition-duration: 0.35s;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendarPreviousMonth .dijitCalendarDateLabel, .claro .dijitCalendarNextMonth .dijitCalendarDateLabel {
|
|
|
|
color: #769dc0;
|
|
|
|
border-color: #e9f4fe;
|
|
|
|
/* intentionally matches background-color, no visible border until hover/selection */
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarYearContainer {
|
2011-11-08 16:40:44 +00:00
|
|
|
vertical-align: middle;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarYearControl {
|
2011-11-08 16:40:44 +00:00
|
|
|
padding: 1px 2px 2px 2px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarYearLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
padding: 2px 0 0 0;
|
|
|
|
margin: 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarYearLabel span {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* trying to center next/current/previous year vertically, doesn't work on IE6/7 though */
|
|
|
|
|
|
|
|
vertical-align: middle;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarSelectedYear {
|
2011-11-08 16:40:44 +00:00
|
|
|
padding: 0 3px;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
.claro .dijitCalendarNextYear, .claro .dijitCalendarPreviousYear {
|
|
|
|
padding: 1px 6px 1px 6px;
|
|
|
|
font-size: 0.909em;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarSelectedYear {
|
2011-11-08 16:40:44 +00:00
|
|
|
font-size: 1.091em;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
/* End Normal Calendar Style */
|
|
|
|
/* Hovered Calendar Style */
|
|
|
|
.claro .dijitCalendarHoveredDate .dijitCalendarDateLabel {
|
|
|
|
background-color: #abd6ff;
|
|
|
|
border: solid 1px #769dc0;
|
|
|
|
color: #000000;
|
|
|
|
-webkit-transition-duration: 0.2s;
|
|
|
|
-moz-transition-duration: 0.2s;
|
|
|
|
transition-duration: 0.2s;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendarNextYearHover, .claro .dijitCalendarPreviousYearHover {
|
|
|
|
color: #000000;
|
|
|
|
border: solid 1px #ffffff;
|
|
|
|
padding: 0 5px 0 5px;
|
|
|
|
/* reduced by 1 to make room for border */
|
|
|
|
|
|
|
|
background-color: #e9f4fe;
|
|
|
|
}
|
|
|
|
/* End Hovered Calendar Style */
|
|
|
|
/* Active Calendar Style */
|
|
|
|
.claro .dijitCalendarNextYearActive, .claro .dijitCalendarPreviousYearActive {
|
|
|
|
border: solid 1px #769dc0;
|
|
|
|
padding: 0 5px 0 5px;
|
|
|
|
/* reduced by 1 to make room for border */
|
|
|
|
|
|
|
|
background-color: #cfe5fa;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.claro .dijitCalendarActiveDate .dijitCalendarDateLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-image: url("images/calendarContainerImages.png");
|
|
|
|
background-position: 0 -300px;
|
|
|
|
background-color: #7dbefa;
|
|
|
|
border: solid 1px #ffffff;
|
|
|
|
-webkit-transition-duration: 0.1s;
|
|
|
|
-moz-transition-duration: 0.1s;
|
|
|
|
transition-duration: 0.1s;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitCalendarActiveDate .dijitCalendarDateLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
background-image: none;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* End Active Calendar Style */
|
|
|
|
/* Selected Calendar Style */
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitCalendarSelectedDate .dijitCalendarDateLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
color: #000000;
|
|
|
|
background-color: #abd6ff;
|
|
|
|
border-color: #769dc0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
/* End Selected Calendar Style */
|
|
|
|
/* Disabled Calendar Style*/
|
2010-11-15 07:39:52 +00:00
|
|
|
.claro .dijitCalendarDisabledDate .dijitCalendarDateLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
text-decoration: line-through;
|
|
|
|
/* override hover effects above, hover and click on disabled date should have no effect */
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
border-width: 0;
|
|
|
|
padding: 4px 6px 4px 5px;
|
|
|
|
color: #818181;
|
|
|
|
}
|
|
|
|
/* End Disabled Calendar Style */
|
|
|
|
/* Styling for month DropDownButton */
|
|
|
|
.claro .dijitCalendar .dijitDropDownButton {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendar .dijitButtonText {
|
|
|
|
padding: 1px 0 3px;
|
|
|
|
margin-right: -4px;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendar .dijitDropDownButton .dijitButtonNode {
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
padding: 0 3px 0 2px;
|
|
|
|
border: solid 1px #b5bcc7;
|
|
|
|
-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
|
|
-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
|
|
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
.claro .dijitCalendar .dijitDropDownButtonHover .dijitButtonNode {
|
|
|
|
background-color: #e9f4fe;
|
|
|
|
border: solid 1px #ffffff;
|
|
|
|
}
|
|
|
|
/* Styling for month drop down list */
|
|
|
|
.claro .dijitCalendarMonthMenu {
|
|
|
|
border-color: #769dc0;
|
|
|
|
background-color: #ffffff;
|
|
|
|
text-align: center;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendarMonthMenu .dijitCalendarMonthLabel {
|
|
|
|
border-top: solid 1px #ffffff;
|
|
|
|
/* intentionally invisible until hover */
|
|
|
|
|
|
|
|
border-bottom: solid 1px #ffffff;
|
|
|
|
padding: 2px 0;
|
|
|
|
}
|
|
|
|
.claro .dijitCalendarMonthMenu .dijitCalendarMonthLabelHover {
|
|
|
|
background-color: #abd6ff;
|
|
|
|
border-color: #769dc0;
|
|
|
|
border-width: 1px 0;
|
|
|
|
background-image: url("images/commonHighlight.png");
|
|
|
|
background-repeat: repeat-x;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|