2011-11-08 17:40:44 +01:00
|
|
|
/* Time Picker
|
|
|
|
*
|
|
|
|
* Styling the Time Picker consists of the following:
|
|
|
|
*
|
|
|
|
* 1. minor time values
|
|
|
|
* .dijitTimePickerTick - set text color, size, background color of minor values
|
|
|
|
* .dijitTimePickerTickHover - set hover style of minor time values
|
|
|
|
* dijitTimePickerTickSelected - set selected style of minor time values
|
|
|
|
*
|
|
|
|
* 2. major time values - 1:00, 2:00, times on the hour
|
|
|
|
* set text color, size, background color, left/right margins for "zoom" affect
|
|
|
|
* .dijitTimePickerMarkerHover - to set hover style of major time values
|
|
|
|
* .dijitTimePickerMarkerSelected - set selected style of major time values
|
|
|
|
*
|
|
|
|
* 3. up and down arrow buttons
|
|
|
|
* .dijitTimePicker .dijitButtonNode - background-color, border
|
|
|
|
* .dijitTimePicker .dijitUpArrowHover, .dijitTimePicker .dijitDownArrowHover - set background-color for hover state
|
|
|
|
*
|
|
|
|
* Other classes provide the fundamental structure of the TimePicker and should not be modified.
|
|
|
|
*/
|
|
|
|
/* override Button.css */
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitTimePicker .dijitButtonNode {
|
2011-11-08 17:40:44 +01:00
|
|
|
padding: 0 0;
|
|
|
|
-moz-border-radius: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
.claro .dijitTimePicker {
|
|
|
|
border: 1px #b5bcc7 solid;
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
background-color: #fff;
|
|
|
|
/* TODO: useless? Appears to be overridden by settings on individual elements */
|
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitTimePickerItem {
|
|
|
|
/* dijitTimePickerItem refers to both Tick's (minor values like 2:15, 2:30, 2:45) and Marker's (major values like 2PM, 3PM) */
|
|
|
|
|
|
|
|
background-image: url("images/commonHighlight.png");
|
|
|
|
background-position: 0 -1px;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
border-top: solid 1px #b5bcc7;
|
|
|
|
border-bottom: solid 1px #b5bcc7;
|
|
|
|
margin-right: -1px;
|
|
|
|
margin-left: -1px;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
/* to make up for lack of alpha transparency in IE6 */
|
2010-11-15 08:39:52 +01:00
|
|
|
.dj_ie6 .claro .dijitTimePickerItem {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-image: none;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePickerTick {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* minor value */
|
|
|
|
|
|
|
|
color: #818181;
|
|
|
|
background-color: #efefef;
|
|
|
|
font-size: 0.818em;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePickerMarker {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* major value - 1:00, 2:00, times on the hour */
|
|
|
|
|
2012-08-14 16:59:10 +02:00
|
|
|
background-color: #e5f2fe;
|
2011-11-08 17:40:44 +01:00
|
|
|
font-size: 1em;
|
|
|
|
white-space: nowrap;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePickerTickHover,
|
|
|
|
.claro .dijitTimePickerMarkerHover,
|
|
|
|
.claro .dijitTimePickerMarkerSelected,
|
|
|
|
.claro .dijitTimePickerTickSelected {
|
2012-08-14 16:59:10 +02:00
|
|
|
background-color: #7dbdfa;
|
2011-11-08 17:40:44 +01:00
|
|
|
border: solid 1px #b5bcc7;
|
|
|
|
margin-left: -7px;
|
|
|
|
margin-right: -7px;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
.claro .dijitTimePickerMarkerSelected, .claro .dijitTimePickerTickSelected {
|
|
|
|
font-size: 1em;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.dj_ie .claro .dijitTimePickerTickHover,
|
|
|
|
.dj_ie .claro .dijitTimePickerMarkerHover,
|
|
|
|
.dj_ie .claro .dijitTimePickerMarkerSelected,
|
2011-11-08 17:40:44 +01:00
|
|
|
.dj_ie .claro .dijitTimePickerTickSelected {
|
|
|
|
width: 114%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitTimePickerTickHover,
|
|
|
|
.dj_ie6 .claro .dijitTimePickerMarkerHover,
|
|
|
|
.dj_ie6 .claro .dijitTimePickerMarkerSelected,
|
2011-11-08 17:40:44 +01:00
|
|
|
.dj_ie6 .claro .dijitTimePickerTickSelected {
|
|
|
|
position: relative;
|
|
|
|
/* creates widening of element */
|
|
|
|
zoom: 1;
|
|
|
|
/* creates widening of element */
|
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePickerTick .dijitTimePickerItemInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
padding: 1px;
|
|
|
|
margin: 0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePicker .dijitButtonNode {
|
2011-11-08 17:40:44 +01:00
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
border-color: #b5bcc7;
|
|
|
|
background-color: #efefef;
|
|
|
|
background-image: url("images/commonHighlight.png");
|
|
|
|
background-position: 0 -1px;
|
|
|
|
background-repeat: repeat-x;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitTimePicker .dijitButtonNode {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-image: none;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitTimePicker .dijitArrowButtonInner {
|
|
|
|
height: 100%;
|
|
|
|
/* hack claro.button.css */
|
|
|
|
|
|
|
|
background-image: url("form/images/commonFormArrows.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: -140px 45%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitTimePicker .dijitDownArrowButton .dijitArrowButtonInner {
|
|
|
|
background-position: -35px 45%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
/* hover */
|
|
|
|
.claro .dijitTimePicker .dijitUpArrowHover, .claro .dijitTimePicker .dijitDownArrowHover {
|
|
|
|
background-color: #abd6ff;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePicker .dijitUpArrowHover .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: -175px 45%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitTimePicker .dijitDownArrowHover .dijitArrowButtonInner {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: -70px 45%;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|