1
|
/*
|
2
|
* mixed CheckBox Widgets CSS
|
3
|
*
|
4
|
* Order of images in the sprite (from L to R):
|
5
|
* checkbox normal - checked
|
6
|
* - unchecked
|
7
|
* - mixed
|
8
|
* disabled - checked
|
9
|
* - unchecked
|
10
|
* - mixed
|
11
|
* hover - checked
|
12
|
* - unchecked
|
13
|
* - mixed
|
14
|
*/
|
15
|
.mixedCheckBox,
|
16
|
.mixedCheckBoxIcon {
|
17
|
background-image: url('spriteCheckbox.gif'); /* sprite image */
|
18
|
background-repeat: no-repeat;
|
19
|
width: 16px;
|
20
|
height: 16px;
|
21
|
margin: 0;
|
22
|
padding: 0;
|
23
|
}
|
24
|
|
25
|
.mixedCheckBox,
|
26
|
.mixedCheckBoxIcon {
|
27
|
/* unchecked */
|
28
|
background-position: -16px;
|
29
|
}
|
30
|
|
31
|
.mixedCheckBoxChecked,
|
32
|
.mixedCheckBoxIcon {
|
33
|
/* checked */
|
34
|
background-position: 0px;
|
35
|
}
|
36
|
|
37
|
.mixedCheckBoxDisabled {
|
38
|
/* disabled */
|
39
|
background-position: -48px;
|
40
|
}
|
41
|
|
42
|
.mixedCheckBoxCheckedDisabled {
|
43
|
/* disabled but checked */
|
44
|
background-position: -48px;
|
45
|
}
|
46
|
|
47
|
.mixedCheckBoxMixed {
|
48
|
/* checked & mixed */
|
49
|
background-position: -32px;
|
50
|
}
|
51
|
|
52
|
.mixedCheckBoxMixedDisabled {
|
53
|
/* mixed & Disabled*/
|
54
|
background-position: -64px;
|
55
|
}
|
56
|
|
57
|
.mixedCheckBoxHover {
|
58
|
/* hovering over an unchecked enabled checkbox */
|
59
|
background-position: -112px;
|
60
|
}
|
61
|
|
62
|
.mixedCheckBoxCheckedHover {
|
63
|
/* hovering over a checked enabled checkbox */
|
64
|
background-position: -96px;
|
65
|
}
|
66
|
|
67
|
.mixedCheckBoxMixedHover {
|
68
|
/* checked & mixed */
|
69
|
background-position: -128px;
|
70
|
}
|
71
|
|
72
|
.mixedCheckBox input {
|
73
|
/* hmm... Chrome overflows when input is height 16px */
|
74
|
height:14px;
|
75
|
}
|