diff options
author | Andrew Dolgov <[email protected]> | 2013-04-05 22:37:24 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-05 22:37:24 -0700 |
commit | 141bc2420e3794fbc299694a110b237d08cef965 (patch) | |
tree | c88e57c665c3b78d5a54a23a9f28869b2e065677 /lib/dijit/themes/soria/form/Checkbox.css | |
parent | b87bd8ed5655cdaa5962b9fa9fd31818e1cb2fc2 (diff) | |
parent | 4a88841363b664e5db9d1360d7f84597331eb8d9 (diff) |
Merge pull request #133 from jchristi/jchristi
Add css optimization to dojo builds
Diffstat (limited to 'lib/dijit/themes/soria/form/Checkbox.css')
-rw-r--r-- | lib/dijit/themes/soria/form/Checkbox.css | 68 |
1 files changed, 1 insertions, 67 deletions
diff --git a/lib/dijit/themes/soria/form/Checkbox.css b/lib/dijit/themes/soria/form/Checkbox.css index 5a72bfc06..a82bf29ef 100644 --- a/lib/dijit/themes/soria/form/Checkbox.css +++ b/lib/dijit/themes/soria/form/Checkbox.css @@ -1,67 +1 @@ - -/* - * 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 -*/ - -.soria .dijitToggleButton .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - background-image: url('../images/spriteCheckbox.gif'); -} - -.soria .dijitCheckBox, -.soria .dijitCheckBoxIcon { /* inside a toggle button */ - background-image: url('../images/spriteCheckbox.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - margin: 0; - padding: 0; -} - -.soria .dijitCheckBox, -.soria .dijitToggleButton .dijitCheckBoxIcon { - /* unchecked */ - background-position: -16px; -} - -.soria .dijitCheckBoxChecked, -.soria .dijitToggleButtonChecked .dijitCheckBoxIcon { - /* checked */ - background-position: 0; -} - -.soria .dijitCheckBoxDisabled { - /* disabled */ - background-position: -48px; -} - -.soria .dijitCheckBoxCheckedDisabled { - /* disabled but checked */ - background-position: -32px; -} - -.soria .dijitCheckBoxHover { - /* hovering over an unchecked enabled checkbox */ - background-position: -80px; -} - -.soria .dijitCheckBoxCheckedHover { - /* hovering over a checked enabled checkbox */ - background-position: -64px; -}
\ No newline at end of file +.soria .dijitToggleButton .dijitCheckBox,.soria .dijitToggleButton .dijitCheckBoxIcon {background-image: url('../images/spriteCheckbox.gif');}.soria .dijitCheckBox,.soria .dijitCheckBoxIcon {background-image: url('../images/spriteCheckbox.gif'); background-repeat: no-repeat; width: 16px; height: 16px; margin: 0; padding: 0;}.soria .dijitCheckBox,.soria .dijitToggleButton .dijitCheckBoxIcon {background-position: -16px;}.soria .dijitCheckBoxChecked,.soria .dijitToggleButtonChecked .dijitCheckBoxIcon {background-position: 0;}.soria .dijitCheckBoxDisabled {background-position: -48px;}.soria .dijitCheckBoxCheckedDisabled {background-position: -32px;}.soria .dijitCheckBoxHover {background-position: -80px;}.soria .dijitCheckBoxCheckedHover {background-position: -64px;}
\ No newline at end of file |