]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed missing checkboxes in IE8
authorVincent Petry <pvince81@owncloud.com>
Wed, 4 Sep 2013 19:32:45 +0000 (21:32 +0200)
committerVincent Petry <pvince81@owncloud.com>
Sun, 8 Sep 2013 20:21:07 +0000 (22:21 +0200)
IE8 is not happy with the :checked CSS3 selector which causes it to
ignore the whole rule.

Replace it with a more compatible selector.

apps/files/css/files.css

index 02a73ba83e518ef2c377c2164c8f7f49dac1134b..84033f94637e31e63f3b7393cfaa82459a498be9 100644 (file)
@@ -190,10 +190,15 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
 #fileList tr:hover td.filename>input[type="checkbox"]:first-child,
 #fileList tr td.filename>input[type="checkbox"]:checked:first-child,
 #fileList tr.selected td.filename>input[type="checkbox"]:first-child {
+       opacity: 1;
+}
+.lte9 #fileList tr:hover td.filename>input[type="checkbox"]:first-child,
+.lte9 #fileList tr td.filename>input[type="checkbox"][checked=checked]:first-child,
+.lte9 #fileList tr.selected td.filename>input[type="checkbox"]:first-child {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
-       opacity: 1;
 }
+
 /* Use label to have bigger clickable size for checkbox */
 #fileList tr td.filename>input[type="checkbox"] + label,
 #select_all + label {