зеркало из https://github.com/nextcloud/spreed.git
Fix close button of Files app sidebar during calls in dark mode
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Родитель
21d40f4a41
Коммит
3d1a84e2e5
|
@ -163,6 +163,13 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* Force the white icon during calls, independent from white/dark mode
|
||||
* selection, because it is shown on the black calling screen. */
|
||||
#app-sidebar .icon-close.force-icon-white-in-call.icon-shadow {
|
||||
background-image: url(icon-color-path('close', 'actions', 'fff', 1, true));
|
||||
filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@
|
|||
// waiting for other participants it should be kept black. However,
|
||||
// this would need to hook in "updateParticipantsUI" which is where
|
||||
// the "incall" class is set.
|
||||
$('#app-sidebar .icon-close').addClass('icon-white icon-shadow');
|
||||
$('#app-sidebar .icon-close').addClass('force-icon-white-in-call icon-shadow');
|
||||
},
|
||||
|
||||
_hideCallUi: function() {
|
||||
|
@ -221,7 +221,7 @@
|
|||
});
|
||||
|
||||
// Restore the icon to close the sidebar.
|
||||
$('#app-sidebar .icon-close').removeClass('icon-white icon-shadow');
|
||||
$('#app-sidebar .icon-close').removeClass('force-icon-white-in-call icon-shadow');
|
||||
|
||||
if (!this._$callContainerWrapper || this._$callContainerWrapper.hasClass('hidden')) {
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче