2011-11-08 17:40:44 +01:00
|
|
|
/* CheckBox
|
|
|
|
*
|
|
|
|
* Styling CheckBox mainly includes:
|
|
|
|
*
|
|
|
|
* 1. Containers
|
|
|
|
* .dijitCheckBox|.dijitCheckBoxIcon - for border, padding, width|height and background image
|
|
|
|
*
|
|
|
|
* 2. CheckBox within ToggleButton
|
|
|
|
* .dijitToggleButton|.dijitToggleButtonChecked .* - for background image
|
|
|
|
*
|
|
|
|
* 3. Checked state
|
|
|
|
* .dijitCheckBoxChecked - for checked background-color|image
|
|
|
|
* .dijitToggleButtonChecked - for border, background-color|image, display and width|height
|
|
|
|
*
|
|
|
|
* 4. Hover state
|
|
|
|
* .dijitCheckBoxHover|.dijitCheckBoxCheckedHover - for background image
|
|
|
|
*
|
|
|
|
* 5. Disabled state
|
|
|
|
* .dijitCheckBoxDisabled|.dijitCheckBoxCheckedDisabled - for background image
|
|
|
|
*/
|
2010-11-15 08:39:52 +01:00
|
|
|
.claro .dijitToggleButton .dijitCheckBoxIcon {
|
2012-08-14 16:59:10 +02:00
|
|
|
background-image: url("../images/checkmarkNoBorder.png");
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.dj_ie6 .claro .dijitToggleButton .dijitCheckBoxIcon {
|
2012-08-14 16:59:10 +02:00
|
|
|
background-image: url("../images/checkmarkNoBorder.gif");
|
2011-11-08 17:40:44 +01:00
|
|
|
}
|
|
|
|
.claro .dijitCheckBox, .claro .dijitCheckBoxIcon {
|
2012-08-14 16:59:10 +02:00
|
|
|
background-image: url("../form/images/checkboxRadioButtonStates.png");
|
2011-11-08 17:40:44 +01:00
|
|
|
/* checkbox sprite image */
|
|
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 15px;
|
|
|
|
height: 16px;
|
|
|
|
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 .dijitCheckBox, .dj_ie6 .claro .dijitCheckBoxIcon {
|
2012-08-14 16:59:10 +02:00
|
|
|
background-image: url("../form/images/checkboxAndRadioButtons_IE6.png");
|
2011-11-08 17:40:44 +01:00
|
|
|
/* checkbox sprite image */
|
|
|
|
|
|
|
|
}
|
|
|
|
.claro .dijitCheckBox, .claro .dijitToggleButton .dijitCheckBoxIcon {
|
|
|
|
/* unchecked */
|
|
|
|
|
|
|
|
background-position: -15px;
|
|
|
|
}
|
|
|
|
.claro .dijitCheckBoxChecked, .claro .dijitToggleButtonChecked .dijitCheckBoxIcon {
|
|
|
|
/* checked */
|
|
|
|
|
|
|
|
background-position: 0;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitCheckBoxDisabled {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* disabled */
|
|
|
|
|
|
|
|
background-position: -75px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitCheckBoxCheckedDisabled {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* disabled but checked */
|
|
|
|
|
|
|
|
background-position: -60px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitCheckBoxHover {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* hovering over an unchecked enabled checkbox */
|
|
|
|
|
|
|
|
background-position: -45px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|
|
|
|
.claro .dijitCheckBoxCheckedHover {
|
2011-11-08 17:40:44 +01:00
|
|
|
/* hovering over an checked enabled checkbox */
|
|
|
|
|
|
|
|
background-position: -30px;
|
2010-11-15 08:39:52 +01:00
|
|
|
}
|