2011-11-08 17:40:44 +01:00
|
|
|
/* RadioButton
|
|
|
|
*
|
|
|
|
* Styling RadioButton mainly includes:
|
|
|
|
*
|
|
|
|
* 1. Containers
|
|
|
|
* .dijitRadio|.dijitRadioIcon - for border, padding, width|height and background image
|
|
|
|
*
|
|
|
|
* 2. RadioButton within ToggleButton
|
|
|
|
* .dijitToggleButton|.dijitToggleButtonChecked .* - for background image
|
|
|
|
*
|
|
|
|
* 3. Checked state
|
|
|
|
* .dijitRadioChecked - for checked background-color|image
|
|
|
|
* .dijitToggleButtonChecked - for border, background-color|image, display and width|height
|
|
|
|
*
|
|
|
|
* 4. Hover state
|
|
|
|
* .dijitRadioHover|.dijitRadioCheckedHover - for background image
|
|
|
|
*
|
|
|
|
* 5. Disabled state
|
|
|
|
* .dijitRadioDisabled|.dijitRadioCheckedDisabled - for background image
|
|
|
|
*/
|
|
|
|
.claro .dijitToggleButton .dijitRadio, .claro .dijitToggleButton .dijitRadioIcon {
|
|
|
|
background-image: url('images/checkboxRadioButtonStates.png');
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.dj_ie6 .claro .dijitToggleButton .dijitRadio, .dj_ie6 .claro .dijitToggleButton .dijitRadioIcon {
|
|
|
|
background-image: url('images/checkboxAndRadioButtons_IE6.png');
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitRadio, .claro .dijitRadioIcon {
|
|
|
|
/* inside a toggle button */
|
|
|
|
|
|
|
|
background-image: url('images/checkboxRadioButtonStates.png');
|
|
|
|
/* checkbox sprite image */
|
|
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
margin: 0 2px 0 0;
|
|
|
|
padding: 0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.dj_ie6 .claro .dijitRadio, .dj_ie6 .claro .dijitRadioIcon {
|
|
|
|
/* inside a toggle button */
|
|
|
|
|
|
|
|
background-image: url('images/checkboxAndRadioButtons_IE6.png');
|
|
|
|
/* checkbox sprite image */
|
|
|
|
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitRadio {
|
|
|
|
/* unselected */
|
|
|
|
|
|
|
|
background-position: -105px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitToggleButton .dijitRadioIcon {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* unselected */
|
|
|
|
|
|
|
|
background-position: -107px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitRadioDisabled {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* unselected and disabled */
|
|
|
|
|
|
|
|
background-position: -165px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitRadioHover {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* hovering over an unselected enabled radio button */
|
|
|
|
|
|
|
|
background-position: -135px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitRadioChecked {
|
|
|
|
background-position: -90px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitToggleButtonChecked .dijitRadioIcon {
|
2011-11-08 17:40:44 +01:00
|
|
|
background-position: -92px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
2011-11-08 17:40:44 +01:00
|
|
|
.claro .dijitRadioCheckedHover {
|
|
|
|
background-position: -120px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitRadioCheckedDisabled {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* selected but disabled */
|
|
|
|
|
|
|
|
background-position: -150px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|