diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2015-10-02 08:58:16 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2015-10-02 08:58:16 +0200 |
commit | 3dec30d0e09128002f24f58b7ea042c42defce31 (patch) | |
tree | 13c2c699f05fd8d5c999dd96c229feb40ec8f265 /apps/files/css | |
parent | bf4c3ce134468c9a612aeeef78dfe600dbb3e52b (diff) | |
parent | 287fbdf77aa0ef3971abd524774733be8bd70aee (diff) | |
download | nextcloud-server-3dec30d0e09128002f24f58b7ea042c42defce31.tar.gz nextcloud-server-3dec30d0e09128002f24f58b7ea042c42defce31.zip |
Merge pull request #19484 from owncloud/ie8-checkbox-rage
[IE8] Fix checkboxes in login page and file list
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.css | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 74478338c54..2ba1f774d49 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -411,20 +411,37 @@ table td.filename .uploadtext { } /* File checkboxes */ -#fileList tr td.filename>.selectCheckBox + label:before { +html:not(.ie8) #fileList tr td.filename>.selectCheckBox + label:before { opacity: 0; position: absolute; bottom: 4px; right: 0; z-index: 10; } +html.ie8 #fileList tr td.filename>.selectCheckBox { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + opacity: 0; + float: left; + top: 0; + margin: 32px 0 4px 32px; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/ +} /* Show checkbox when hovering, checked, or selected */ -#fileList tr:hover td.filename>.selectCheckBox + label:before, -#fileList tr:focus td.filename>.selectCheckBox + label:before, -#fileList tr td.filename>.selectCheckBox:checked + label:before, -#fileList tr.selected td.filename>.selectCheckBox + label:before { +html.ie8 #fileList tr:hover td.filename>.selectCheckBox, +html.ie8 #fileList tr:focus td.filename>.selectCheckBox, +html.ie8 #fileList tr td.filename>.selectCheckBox:checked, +html.ie8 #fileList tr.selected td.filename>.selectCheckBox, +html:not(.ie8) #fileList tr:hover td.filename>.selectCheckBox + label:before, +html:not(.ie8) #fileList tr:focus td.filename>.selectCheckBox + label:before, +html:not(.ie8) #fileList tr td.filename>.selectCheckBox:checked + label:before, +html:not(.ie8) #fileList tr.selected td.filename>.selectCheckBox + label:before { opacity: 1; +} +html.ie8 #fileList tr:hover td.filename>.selectCheckBox, +html.ie8 #fileList tr:focus td.filename>.selectCheckBox, +html.ie8 #fileList tr td.filename>.selectCheckBox[checked=checked], +html.ie8 #fileList tr.selected td.filename>.selectCheckBox { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); } @@ -447,6 +464,7 @@ table td.filename .uploadtext { .select-all + label { top: 0; } +.ie8 .select-all, .select-all + label:before { position: absolute; top: 18px; |