aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dijit/themes/nihilo/form/RadioButton.css.commented.css
blob: 456cd05b58590a5a927cfd3239af7c99466933d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
 *  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,
.nihilo .dijitRadioFocused {
	/* hovering over an unselected enabled radio button */
	background-position: -80px;
}

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