Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-08-10 13:04:44 +02:00
Родитель 7608e6f6f7
Коммит 7130d71f20
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4C614C6ED2CDE6DF
2 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -21,11 +21,17 @@
background-image: url('../../../../core/img/filetypes/x-office-presentation.svg');
}
.richdocuments-sharing .icon-shared-white {
display:inline-block;
.richdocuments-sharing .icon-shared {
display: inline-block;
width: 16px;
height: 16px;
padding: 16px;
opacity: 0.6;
}
.richdocuments-sharing .icon-shared:hover,
.richdocuments-sharing .icon-shared:focus {
opacity: 1;
}
#richdocumentsframe {
@ -36,4 +42,4 @@
position:absolute;
top:0;
z-index:60;
}
}

Просмотреть файл

@ -90,10 +90,10 @@ var odfViewer = {
}
OC.addStyle('richdocuments', 'mobile');
var $button = $('<div class="richdocuments-sharing"><div class="icon-shared-white"></div></div>');
var $button = $('<div class="richdocuments-sharing"><a class="icon-shared icon-white"></a></div>');
$('.header-right').prepend($button);
$button.on('click', function() {
if ($('#app-content').hasClass('with-app-sidebar')) {
if (!$('#app-sidebar').hasClass('disappear') || $('#app-content').hasClass('with-app-sidebar')) {
OC.Apps.hideAppSidebar();
return;
}