From 81bea17aefb26859f825b9293c7c99192874806e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 8 Nov 2011 20:40:44 +0400 Subject: upgrade Dojo to 1.6.1 --- lib/dijit/themes/tundra/Calendar.css | 69 ++++++++++++++++++++++++++++-------- 1 file changed, 55 insertions(+), 14 deletions(-) (limited to 'lib/dijit/themes/tundra/Calendar.css') diff --git a/lib/dijit/themes/tundra/Calendar.css b/lib/dijit/themes/tundra/Calendar.css index 19d8bf76a..5fef68ee1 100644 --- a/lib/dijit/themes/tundra/Calendar.css +++ b/lib/dijit/themes/tundra/Calendar.css @@ -1,6 +1,7 @@ +/* Calendar*/ .tundra .dijitCalendarIncrementControl { - + /* next/prev month buttons */ width:15px; height:15px; background-image: url("images/spriteRoundedIconsSmall.png"); @@ -10,15 +11,18 @@ font-size:.1em; background-image: url("images/spriteRoundedIconsSmall.gif"); } + .tundra .dijitA11ySideArrow { display: none; } + .tundra .dijitCalendarDecrease { background-position: top left; } .tundra .dijitCalendarIncrease { background-position: -30px top; } + .tundra .dijitCalendarContainer { font-size: 100%; border-spacing: 0; @@ -26,8 +30,9 @@ border: 1px solid #ccc; margin: 0; } + .tundra .dijitCalendarMonthContainer th { - + /* month header cell */ background:#d3d3d3 url("images/titleBar.png") repeat-x top; padding-top:.3em; padding-bottom:.2em; @@ -37,82 +42,118 @@ padding-top:.2em; padding-bottom:.1em; } + .tundra .dijitCalendarDayLabelTemplate { - + /* day of week labels */ background:white url("images/calendarDayLabel.png") repeat-x bottom; font-weight:normal; padding-top:.15em; - padding-bottom:0em; + padding-bottom:0; border-top: 1px solid #eeeeee; color:#293a4b; text-align:center; } + .tundra .dijitCalendarBodyContainer { border-bottom: 1px solid #eeeeee; } + .tundra .dijitCalendarMonthLabel { color:#293a4b; font-weight: bold; + padding: 0 4px; } + .tundra .dijitCalendarDateTemplate { - + /* style for each day cell */ font-size: 0.9em; font-weight: bold; text-align: center; padding: 0.3em 0.3em 0.05em 0.3em; letter-spacing: 1px; } + .dj_ie .tundra .dijitCalendarDateTemplate { padding: 0.1em .33em 0.02em .33em; } + .tundra .dijitCalendarPreviousMonth, .tundra .dijitCalendarNextMonth { - + /* days that are part of the previous or next month */ color:#999999; background-color:#f8f8f8; } + .tundra .dijitCalendarCurrentMonth { - + /* days that are part of this month */ background-color: white; } + .tundra .dijitCalendarCurrentDate { - + /* cell for today's date */ text-decoration:underline; font-weight:bold; } + .tundra .dijitCalendarHoveredDate { background-color: #e2ebf2; } + .tundra .dijitCalendarDisabledDate { text-decoration: line-through; - background-color: white; + background-color: white; /* override hover effects above, hover and click on disabled date should have no effect */ } + .tundra .dijitCalendarSelectedDate { - + /* cell for the selected date */ background-color:#bbc4d0 !important; color:black !important; } .tundra .dijitCalendarYearContainer { - + /* footer of the table that contains the year display/selector */ background:white url("images/calendarYearLabel.png") repeat-x bottom; border-top:1px solid #ccc; } + .tundra .dijitCalendarYearLabel { - + /* container for all of 3 year labels */ margin:0; padding:0.4em 0 0.25em 0; text-align:center; } + .tundra .dijitCalendarSelectedYear { - + /* label for selected year */ color:black; padding:0.2em; padding-bottom:0.1em; background-color:#bbc4d0 !important; } + .tundra .dijitCalendarNextYear, .tundra .dijitCalendarPreviousYear { - + /* label for next/prev years */ color:black !important; font-weight:normal; } + +/* Styling for month DropDownButton */ + +.tundra .dijitCalendar .dijitDropDownButton { + margin: 0; +} +.tundra .dijitCalendar .dijitButtonText { + padding: 0; +} +.tundra .dijitCalendar .dijitDropDownButton .dijitButtonNode { + background-color: transparent; + background-image: none; + padding: 0; +} + +/* Styling for month drop down list */ + +.tundra .dijitCalendarMonthMenu .dijitCalendarMonthLabelHover { + background-color: #3559ac; + color:#fff; +} \ No newline at end of file -- cgit v1.2.3