nnnjjj123
2020-11-17 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc
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
69
70
71
72
73
74
75
76
77
/* CheckBox
 * 
 * Styling CheckBox mainly includes:
 * 
 * 1. Containers
 *         .dijitCheckBox|.dijitCheckBoxIcon - for border, padding, width|height and background image
 * 
 * 2. CheckBox within ToggleButton
 *         .dijitToggleButton|.dijitToggleButtonChecked .* - for background image
 * 
 * 3. Checked state
 *         .dijitCheckBoxChecked - for checked background-color|image
 *         .dijitToggleButtonChecked - for border, background-color|image, display and width|height
 * 
 * 4. Hover state
 *         .dijitCheckBoxHover|.dijitCheckBoxCheckedHover - for background image
 * 
 * 5. Disabled state
 *         .dijitCheckBoxDisabled|.dijitCheckBoxCheckedDisabled - for background image
 */
 
@import "../variables";
 
.claro .dijitToggleButton .dijitCheckBoxIcon {
    background-image: url("../@{image-checkmark}");
}
 
.dj_ie6 .claro .dijitToggleButton .dijitCheckBoxIcon {
    background-image: url("../@{image-checkmark-ie6}");
}
 
.claro .dijitCheckBox,
.claro .dijitCheckBoxIcon        /* inside a toggle button */    {
    background-image: url("../@{image-form-checkbox-and-radios}"); /* checkbox sprite image */
    background-repeat: no-repeat;
    width: 15px;
    height: 16px;
    margin: 0 2px 0 0;
    padding: 0;
}
 
.dj_ie6 .claro .dijitCheckBox,
.dj_ie6 .claro .dijitCheckBoxIcon        /* inside a toggle button */    {
    background-image: url("../@{image-form-checkbox-and-radios-ie6}"); /* checkbox sprite image */
}
 
.claro .dijitCheckBox,
.claro .dijitToggleButton .dijitCheckBoxIcon {
    /* unchecked */
    background-position: -15px;
}
 
.claro .dijitCheckBoxChecked,
.claro .dijitToggleButtonChecked .dijitCheckBoxIcon {
    /* checked */
    background-position: -0;
}
 
.claro .dijitCheckBoxDisabled {
    /* disabled */
    background-position: -75px;
}
 
.claro .dijitCheckBoxCheckedDisabled {
    /* disabled but checked */
    background-position: -60px;
}
 
.claro .dijitCheckBoxHover {
    /* hovering over an unchecked enabled checkbox */
    background-position: -45px;
}
 
.claro .dijitCheckBoxCheckedHover {
    /* hovering over an checked enabled checkbox */
    background-position: -30px;
}