diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js index febe3a45be..6b624e333a 100644 --- a/apps/files_trashbin/js/filelist.js +++ b/apps/files_trashbin/js/filelist.js @@ -268,12 +268,12 @@ enableActions: function() { this.$el.find('.action').css('display', 'inline'); - this.$el.find(':input:checkbox').css('display', 'inline'); + this.$el.find('input:checkbox').removeClass('u-hidden'); }, disableActions: function() { this.$el.find('.action').css('display', 'none'); - this.$el.find(':input:checkbox').css('display', 'none'); + this.$el.find('input:checkbox').addClass('u-hidden'); }, updateStorageStatistics: function() { diff --git a/core/css/styles.css b/core/css/styles.css index d952a33c24..c0da29b71c 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -183,6 +183,7 @@ html:not(.ie8) input[type="checkbox"].checkbox + label:before { html:not(.ie8) input[type="checkbox"].checkbox:disabled +label:before { opacity: .6; } html:not(.ie8) input[type="checkbox"].checkbox.u-left +label:before { float: left; } +html:not(.ie8) input[type="checkbox"].checkbox.u-hidden + label:before { display: none; } html:not(.ie8) input[type="checkbox"].checkbox--white + label:before { background-image: url('../img/actions/checkbox-white.svg');