summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/form/resources/TriStateCheckBox.css
blob: 237f4bf603e396d273968d9c2352f8201fbdedac (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* TriStateCheckBox
 * 
 * Styling TriStateCheckBox mainly includes:
 * 
 * 1. Containers
 * 		.dojoxTriStateCheckBox|.dojoxTriStateCheckBoxIcon - for border, padding, width|height and background image
 * 
 * 2. Checked state
 * 		.dojoxTriStateCheckBoxChecked - for checked background-color|image
 * 		.dojoxTriStateCheckBoxMixed - for mixed background-color|image
 * 
 * 3. Hover state
 * 		.dojoxTriStateCheckBoxHover|.dojoxTriStateCheckBoxCheckedHover|.dojoxTriStateCheckBoxMixedHover - for background image
 * 
 * 4. Disabled state
 * 		.dojoxTriStateCheckBoxDisabled|.dojoxTriStateCheckBoxCheckedDisabled|.dojoxTriStateCheckBoxMixedDisabled - for background image
 */
.claro .dijitToggleButton .dojoxTriStateCheckBoxIcon {
  background-image: url('../images/checkmarkNoBorder.png');
}
.dj_ie6 .claro .dijitToggleButton .dojoxTriStateCheckBoxIcon {
  background-image: url('../images/checkmarkNoBorder.gif');
}
.claro .dojoxTriStateCheckBox, .claro .dojoxTriStateCheckBoxIcon {
  background-image: url('images/tristatecheckboxStates.png');
  /* checkbox sprite image */

  background-repeat: no-repeat;
  width: 15px;
  height: 16px;
  margin: 0 2px 0 0;
  padding: 0;
}
.dj_ie6 .claro .dojoxTriStateCheckBox, .dj_ie6 .claro .dojoxTriStateCheckBoxIcon {
  background-image: url('images/tristatecheckboxStates.png');
  /* checkbox sprite image */

}
.claro .dojoxTriStateCheckBox{
  /* unchecked */

  background-position: -15px;
}
.claro .dojoxTriStateCheckBoxChecked{
  /* checked */

  background-position: 0px;
}
.claro .dojoxTriStateCheckBoxMixed {
  /* mixed */

  background-position: -30px;
}
.claro .dojoxTriStateCheckBoxDisabled {
  /* disabled and unchecked */

  background-position: -105px;
}
.claro .dojoxTriStateCheckBoxCheckedDisabled {
  /* disabled and checked */

  background-position: -90px;
}
.claro .dojoxTriStateCheckBoxMixedDisabled {
  /* disabled and mixed */

  background-position: -120px;
}
.claro .dojoxTriStateCheckBoxHover {
  /* hovering over and unchecked */

  background-position: -60px;
}
.claro .dojoxTriStateCheckBoxCheckedHover {
  /* hovering over and checked */

  background-position: -45px;
}
.claro .dojoxTriStateCheckBoxMixedHover {
  /* hovering over and mixed */

  background-position: -75px;
}

.dijit_a11y .dojoxTriStateCheckBoxHover .dojoxTriStateCheckBoxInner,
.dijit_a11y .dojoxTriStateCheckBoxFocused .dojoxTriStateCheckBoxInner{
	/* focused or hovering over */
	border: dashed;
}

.dijit_a11y .dojoxTriStateCheckBoxHover .dojoxTriStateCheckBoxInner,
.dijit_a11y .dojoxTriStateCheckBoxFocused .dojoxTriStateCheckBoxInner{
	/* focused or hovering over */
	border: solid;
}

.dijit_a11y .dojoxTriStateCheckBoxDisabled .dojoxTriStateCheckBoxInner{
	/* focused or hovering over */
	opacity: 0.5;
}

.dj_ie .dijit_a11y .dojoxTriStateCheckBoxDisabled .dojoxTriStateCheckBoxInner{
	/* disabled */
}


.dojoxTriStateCheckBoxInner{
  /* inner text */

  visibility: hidden;
  display: none;
	position: absolute;
	text-align: center;
}

.dijit_a11y .dojoxTriStateCheckBoxInner{
  /* inner text */
  
  visibility: visible;
	display: block;
}

.dojoxTriStateCheckBoxInput {
	/* place the actual input on top, but all-but-invisible */
	opacity: 0.01;
	padding: 0;
	margin: 0,
	border: 0;
	width: 15px;
	height: 16px;
	background-position:center center;
	background-repeat:no-repeat;
}

.dj_ie .dojoxTriStateCheckBoxInput {
	filter: alpha(opacity=0);
}