summaryrefslogtreecommitdiff
path: root/lib/dijit/themes/tundra/form/Checkbox.css
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dijit/themes/tundra/form/Checkbox.css')
-rw-r--r--lib/dijit/themes/tundra/form/Checkbox.css31
1 files changed, 20 insertions, 11 deletions
diff --git a/lib/dijit/themes/tundra/form/Checkbox.css b/lib/dijit/themes/tundra/form/Checkbox.css
index e7ff2f945..28a7d79c9 100644
--- a/lib/dijit/themes/tundra/form/Checkbox.css
+++ b/lib/dijit/themes/tundra/form/Checkbox.css
@@ -1,45 +1,54 @@
.tundra .dijitToggleButton .dijitCheckBoxIcon {
background-image: url('../images/checkmarkNoBorder.png');
}
+
.dj_ie6 .tundra .dijitToggleButton .dijitCheckBoxIcon {
background-image: url('../images/checkmarkNoBorder.gif');
}
+
.tundra .dijitCheckBox,
-.tundra .dijitCheckBoxIcon {
- background-image: url('../images/checkmark.png');
+.tundra .dijitCheckBoxIcon /* inside a toggle button */ {
+ background-image: url('../images/checkmark.png'); /* checkbox sprite image */
background-repeat: no-repeat;
width: 16px;
height: 16px;
margin: 0 2px 0 0;
padding: 0;
}
+
.dj_ie6 .tundra .dijitCheckBox,
-.dj_ie6 .tundra .dijitCheckBoxIcon {
- background-image: url('../images/checkmark.gif');
+.dj_ie6 .tundra .dijitCheckBoxIcon /* inside a toggle button */ {
+ background-image: url('../images/checkmark.gif'); /* checkbox sprite image */
}
+
.tundra .dijitCheckBox,
.tundra .dijitToggleButton .dijitCheckBoxIcon {
-
+ /* unchecked */
background-position: -16px;
}
+
.tundra .dijitCheckBoxChecked,
.tundra .dijitToggleButtonChecked .dijitCheckBoxIcon {
-
- background-position: 0px;
+ /* checked */
+ background-position: 0;
}
+
.tundra .dijitCheckBoxDisabled {
-
+ /* disabled */
background-position: -48px;
}
+
.tundra .dijitCheckBoxCheckedDisabled {
-
+ /* disabled but checked */
background-position: -32px;
}
+
.tundra .dijitCheckBoxHover {
-
+ /* hovering over an unchecked enabled checkbox */
background-position: -80px;
}
+
.tundra .dijitCheckBoxCheckedHover {
-
+ /* hovering over a checked enabled checkbox */
background-position: -64px;
}