Permalink
Browse files

fix checkbox css for IE9, and line-through when checked after an edit…

… of the item
  • Loading branch information...
edchat committed Jan 19, 2012
1 parent 973b3c7 commit 7954b287647c467e0be353bbcac45b1038cf17c6
Showing with 11 additions and 0 deletions.
  1. +11 −0 todo-example/dojo/css/todos.css
@@ -548,6 +548,12 @@ body {
text-decoration: line-through;
}
+/* When checkbox is selected, score through todo item content after an edit */
+.dijitCheckBoxChecked + .dijitInline + .todo-content {
+ color: #666;
+ text-decoration: line-through;
+}
+
/** Override Claro's CSS rule to style application like other examples */
.claro .dijitInlineEditBoxDisplayModeHover {
background-color: white;
@@ -558,6 +564,11 @@ body {
background-image: none;
}
+/* Need to have the background-image on IE */
+.dj_ie .claro .dijitCheckBox, .claro .dijitCheckBoxIcon {
+ background-image: url("form/images/checkboxRadioButtonStates.png");
+}
+
.dijitCheckBoxInput {
opacity: 1;
}

0 comments on commit 7954b28

Please sign in to comment.