2010-11-15 07:39:52 +00:00
|
|
|
|
2011-11-08 16:40:44 +00:00
|
|
|
/*
|
|
|
|
* CheckBox and Radio Widgets,
|
|
|
|
* and the CSS to embed a checkbox or radio icon inside a ToggleButton.
|
|
|
|
*
|
|
|
|
* Order of images in the default sprite (from L to R, checkbox and radio in same image):
|
|
|
|
* checkbox normal - checked
|
|
|
|
* - unchecked
|
|
|
|
* disabled - checked
|
|
|
|
* - unchecked
|
|
|
|
* hover - checked
|
|
|
|
* - unchecked
|
|
|
|
*
|
|
|
|
* radio normal - checked
|
|
|
|
* - unchecked
|
|
|
|
* disabled - checked
|
|
|
|
* - unchecked
|
|
|
|
* hover - checked
|
|
|
|
* - unchecked
|
|
|
|
*/
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitToggleButton .dijitCheckBox,
|
|
|
|
.nihilo .dijitToggleButton .dijitCheckBoxIcon {
|
|
|
|
background-image: url('../images/spriteCheckbox.gif');
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBox,
|
2011-11-08 16:40:44 +00:00
|
|
|
.nihilo .dijitCheckBoxIcon { /* inside a toggle button */
|
|
|
|
background-image: url('../images/spriteCheckbox.gif'); /* checkbox sprite image */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBox,
|
|
|
|
.nihilo .dijitToggleButton .dijitCheckBoxIcon {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* unchecked */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-position: -16px;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBoxChecked,
|
|
|
|
.nihilo .dijitToggleButtonChecked .dijitCheckBoxIcon {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* checked */
|
|
|
|
background-position: 0;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBoxDisabled {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* disabled */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-position: -48px;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBoxCheckedDisabled {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* disabled but checked */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-position: -32px;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBoxHover {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* hovering over an unchecked enabled checkbox */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-position: -80px;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.nihilo .dijitCheckBoxCheckedHover {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* hovering over a checked enabled checkbox */
|
2010-11-15 07:39:52 +00:00
|
|
|
background-position: -64px;
|
2011-11-08 16:40:44 +00:00
|
|
|
}
|