Merge pull request #23636 from nextcloud/backport/23630/stable20

[stable20] Bring back the restore share button
This commit is contained in:
Morris Jobke 2020-10-25 21:57:52 +01:00 committed by GitHub
commit badb56b952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View File

@ -539,6 +539,23 @@ table td.selection {
cursor: default !important;
}
/*
* Make the disabled link look not like a link in file list rows
*/
#fileList a.name.disabled {
* {
cursor: default;
}
a, a * {
cursor: pointer;
}
&:focus {
background: none;
}
}
a.action > img {
height: 16px;
width: 16px;

View File

@ -1561,9 +1561,7 @@
"href": linkUrl
});
if (this._defaultFileActionsDisabled) {
linkElem = $('<p></p>').attr({
"class": "name"
})
linkElem.addClass('disabled');
}
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');