ttrss/lib/dijit/themes/nihilo/form/RadioButton.css

66 lines
1.5 KiB
CSS
Raw Normal View History

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
*/
.nihilo .dijitToggleButton .dijitRadio,
.nihilo .dijitToggleButton .dijitRadioIcon {
background-image: url('../images/spriteRadio.gif');
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadio,
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioIcon { /* inside a toggle button */
background-image: url('../images/spriteRadio.gif'); /* checkbox sprite image */
background-repeat: no-repeat;
width: 16px;
height: 16px;
margin: 0;
padding: 0;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadio,
.nihilo .dijitToggleButton .dijitRadioIcon {
2011-11-08 16:40:44 +00:00
/* unselected */
background-position: -16px;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioChecked,
.nihilo .dijitToggleButtonChecked .dijitRadioIcon {
2011-11-08 16:40:44 +00:00
/* selected */
background-position: 0;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioDisabled {
2011-11-08 16:40:44 +00:00
/* unselected and disabled */
background-position: -48px;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioCheckedDisabled {
2011-11-08 16:40:44 +00:00
/* selected but disabled */
background-position: -32px;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioHover {
2011-11-08 16:40:44 +00:00
/* hovering over an unselected enabled radio button */
background-position: -80px;
}
2011-11-08 16:40:44 +00:00
.nihilo .dijitRadioCheckedHover {
2011-11-08 16:40:44 +00:00
/* hovering over a selected enabled radio button */
background-position: -64px;
2011-11-08 16:40:44 +00:00
}