Location: A review of cardiac cellular electrophysiology models @ f6a8f9030738 / dojo-presentation / js / dojo / dijit / themes / nihilo / form / RadioButton.css

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2009-07-16 02:00:03+12:00
Desc:
the starting point for the HH tutorial example
Permanent Source URI:
https://models.fieldml.org/workspace/a1/rawfile/f6a8f90307388eb4b040ee3566b84d88b59247f7/dojo-presentation/js/dojo/dijit/themes/nihilo/form/RadioButton.css

/*
 *  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');
}

.nihilo .dijitRadio,
.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;
}

.nihilo .dijitRadio,
.nihilo .dijitToggleButton .dijitRadioIcon {
	/* unselected */
	background-position: -16px;
}

.nihilo .dijitRadioChecked,
.nihilo .dijitToggleButtonChecked .dijitRadioIcon {
	/* selected */
	background-position: 0px;
}

.nihilo .dijitRadioCheckedDisabled {
	/* selected but disabled */
	background-position: -48px;
}

.nihilo .dijitRadioDisabled {
	/* unselected and disabled */
	background-position: -32px;
}

.nihilo .dijitRadioHover {
	/* hovering over an unselected enabled radio button */
	background-position: -80px;
}

.nihilo .dijitRadioCheckedHover {
	/* hovering over a selected enabled radio button */
	background-position: -64px;
}