Bring back the restore share button
Fix disabled default file action to still use an anchor element, as this is used in many other places (and potentially apps). Adjusted anchor style to not look like it's clickable and added extras to make sure everything inside still looks clickable as before. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
820881168d
commit
d391e7fe02
|
@ -539,6 +539,23 @@ table td.selection {
|
||||||
cursor: default !important;
|
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 {
|
a.action > img {
|
||||||
height: 16px;
|
height: 16px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|
|
@ -1561,9 +1561,7 @@
|
||||||
"href": linkUrl
|
"href": linkUrl
|
||||||
});
|
});
|
||||||
if (this._defaultFileActionsDisabled) {
|
if (this._defaultFileActionsDisabled) {
|
||||||
linkElem = $('<p></p>').attr({
|
linkElem.addClass('disabled');
|
||||||
"class": "name"
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');
|
linkElem.append('<div class="thumbnail-wrapper"><div class="thumbnail" style="background-image:url(' + icon + ');"></div></div>');
|
||||||
|
|
Loading…
Reference in New Issue