Skip to content

Commit

Permalink
in share-tree icon
Browse files Browse the repository at this point in the history
  • Loading branch information
felixheidecke committed Oct 23, 2019
1 parent 416a36b commit 884d2d7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
21 changes: 13 additions & 8 deletions apps/files/css/files.css
Original file line number Diff line number Diff line change
Expand Up @@ -512,21 +512,26 @@ table td.filename .uploadtext {
}

/* File checkboxes */
html:not(.ie8) #fileList tr td.filename > .selectCheckBox + label:before {
#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 {
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;*/
#fileList tr:not(:hover):not(.selected) td.filename .thumbnail.sharetree-item:after {
position: absolute;
display: block;
content: '';
bottom: 0px;
right: -5px;
z-index: 10;
background-image: url(../img/shareinfo.svg);
width: 14px;
height: 14px;
background-repeat: no-repeat;
background-position: center;
}

/* Show checkbox when hovering, checked, or selected */
Expand Down
1 change: 1 addition & 0 deletions apps/files/img/shareinfo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@

self._chechPathHasShares().then(function(e) {
if (e) {
$('tr[data-type="dir"] .thumbnail').css({'backgroundImage' : 'url(' + OC.MimeType.getIconUrl('dir-shared') + ')'})
$('#fileList tr td.filename .thumbnail').addClass('sharetree-item')
}
})
}, 250)
Expand Down

0 comments on commit 884d2d7

Please sign in to comment.