Fix icon-contacts-dark

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2021-07-08 11:05:38 +02:00
parent 208f6881a1
commit 73261c56a6
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
6 changed files with 16 additions and 8 deletions

View File

@ -33,7 +33,15 @@
@include icon-black-white('sync', 'contacts', 2); @include icon-black-white('sync', 'contacts', 2);
@include icon-black-white('recent-actors', 'contacts', 1); @include icon-black-white('recent-actors', 'contacts', 1);
@include icon-black-white('circles', 'contacts', 1); @include icon-black-white('circles', 'contacts', 1);
@include icon-black-white('contacts', 'contacts', 1);
.icon-contacts {
&-dark {
@include icon-color('contacts', 'contacts', $color-black);
}
&-white {
@include icon-color('contacts', 'contacts', $color-white);
}
}
// social network icons: // social network icons:
@include icon-black-white('facebook', 'contacts', 2); // facebook (fab) by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/facebook?style=brands) @include icon-black-white('facebook', 'contacts', 2); // facebook (fab) by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/facebook?style=brands)

View File

@ -23,7 +23,7 @@
<template> <template>
<AppContentDetails> <AppContentDetails>
<!-- nothing selected or contact not found --> <!-- nothing selected or contact not found -->
<EmptyContent v-if="!contact" icon="icon-contacts"> <EmptyContent v-if="!contact" icon="icon-contacts-dark">
{{ t('contacts', 'No contact selected') }} {{ t('contacts', 'No contact selected') }}
<template #desc> <template #desc>
{{ t('contacts', 'Select a contact on the list to begin') }} {{ t('contacts', 'Select a contact on the list to begin') }}
@ -423,7 +423,7 @@ export default {
groupsModel() { groupsModel() {
return { return {
readableName: t('contacts', 'Groups'), readableName: t('contacts', 'Groups'),
icon: 'icon-contacts', icon: 'icon-contacts-dark',
} }
}, },

View File

@ -26,11 +26,11 @@
{{ t('contacts', 'Loading members list …') }} {{ t('contacts', 'Loading members list …') }}
</EmptyContent> </EmptyContent>
<EmptyContent v-else-if="!circle.isMember" icon="icon-contacts"> <EmptyContent v-else-if="!circle.isMember" icon="icon-contacts-dark">
{{ t('contacts', 'The list of members is only visible to members of this circle') }} {{ t('contacts', 'The list of members is only visible to members of this circle') }}
</EmptyContent> </EmptyContent>
<EmptyContent v-else icon="icon-contacts"> <EmptyContent v-else icon="icon-contacts-dark">
{{ t('contacts', 'There is no member in this circle') }} {{ t('contacts', 'There is no member in this circle') }}
</EmptyContent> </EmptyContent>
</AppContentList> </AppContentList>

View File

@ -23,7 +23,7 @@
<template> <template>
<div v-if="propModel" class="property property--without-actions"> <div v-if="propModel" class="property property--without-actions">
<PropertyTitle <PropertyTitle
icon="icon-contacts" icon="icon-contacts-dark"
:readable-name="t('contacts', 'Groups')" /> :readable-name="t('contacts', 'Groups')" />
<div class="property__row"> <div class="property__row">

View File

@ -31,7 +31,7 @@ window.addEventListener('DOMContentLoaded', () => {
displayName: t('contacts', 'Import'), displayName: t('contacts', 'Import'),
mime, mime,
permissions: OC.PERMISSION_READ, permissions: OC.PERMISSION_READ,
iconClass: 'icon-contacts', iconClass: 'icon-contacts-dark',
actionHandler(fileName, context) { actionHandler(fileName, context) {
const absPath = `${context.dir === '/' ? '' : context.dir}/${fileName}` const absPath = `${context.dir === '/' ? '' : context.dir}/${fileName}`
window.location = generateUrl(`/apps/contacts/import?file=${absPath}`) window.location = generateUrl(`/apps/contacts/import?file=${absPath}`)

View File

@ -3,7 +3,7 @@ if (\OC_Util::isIe()) {
?> ?>
<div id="app-content"> <div id="app-content">
<div class="emptycontent"> <div class="emptycontent">
<div class="icon-contacts"></div> <div class="icon-contacts-dark"></div>
<h2><?php p($l->t('Your web browser is out of date')); ?></h2> <h2><?php p($l->t('Your web browser is out of date')); ?></h2>
<p><?php p($l->t('This application is not compatible with Internet Explorer')); ?></p> <p><?php p($l->t('This application is not compatible with Internet Explorer')); ?></p>
</div> </div>