diff --git a/css/viewer.scss b/css/viewer.scss index 434f4eea61..3c2aeec0e4 100644 --- a/css/viewer.scss +++ b/css/viewer.scss @@ -21,6 +21,13 @@ background-image: url('../img/x-office-presentation.svg'); } +.icon-collabora { + opacity: 0.6; + &:hover { + opacity: 1; + } +} + .richdocuments-sharing .icon-shared { display: block; width: 16px; diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js index cb2a19eacf..0df6418e5c 100644 --- a/src/view/FilesAppIntegration.js +++ b/src/view/FilesAppIntegration.js @@ -261,7 +261,8 @@ export default { _addHeaderShareButton() { if ($('header').length) { - const $button = $('
') + const isInverted = Boolean(window?.OCA?.Theming?.inverted) + const $button = $('') $('#richdocuments-header').append($button) $button.on('click', () => { if (!$('#app-sidebar').is(':visible')) { @@ -277,7 +278,8 @@ export default { console.debug('[FilesAppIntegration] Adding header file actions') OC.unregisterMenu($('#richdocuments-actions .icon-more'), $('#richdocuments-actions-menu')) $('#richdocuments-actions').remove() - const actionsContainer = $('