mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
fix: replace Link icon with MDI
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
578861bf51
commit
a908e574a9
5 changed files with 16 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44" height="22" width="22" version="1.1">
|
||||
<circle r="22" cx="22" cy="22" fill="#6B6B6B"/>
|
||||
<g transform="translate(10.000000, 10.000000)">
|
||||
<path fill="#fff" d="M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" />
|
||||
<path fill="#fff" d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 474 B |
|
|
@ -1,6 +1,6 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44" height="22" width="22" version="1.1">
|
||||
<circle r="22" cx="22" cy="22" fill="#3B3B3B"/>
|
||||
<g transform="translate(10.000000, 10.000000)">
|
||||
<path fill="#fff" d="M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" />
|
||||
<path fill="#fff" d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 474 B |
|
|
@ -1,3 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24" version="1.1">
|
||||
<path fill="#fff" d="M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" />
|
||||
<path fill="#fff" d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z" />
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 369 B |
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<script>
|
||||
import IconAccountMultiple from 'vue-material-design-icons/AccountMultiple.vue'
|
||||
import IconLinkVariant from 'vue-material-design-icons/LinkVariant.vue'
|
||||
import IconLink from 'vue-material-design-icons/Link.vue'
|
||||
import IconPhone from 'vue-material-design-icons/Phone.vue'
|
||||
|
||||
import { t } from '@nextcloud/l10n'
|
||||
|
|
@ -46,7 +46,7 @@ export default {
|
|||
NcButton,
|
||||
NcLoadingIcon,
|
||||
IconAccountMultiple,
|
||||
IconLinkVariant,
|
||||
IconLink,
|
||||
IconPhone,
|
||||
},
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ export default {
|
|||
} else if (this.isPhoneConversation) {
|
||||
return IconPhone
|
||||
} else {
|
||||
return this.isPublicConversation ? IconLinkVariant : IconAccountMultiple
|
||||
return this.isPublicConversation ? IconLink : IconAccountMultiple
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -41,21 +41,21 @@
|
|||
:show-user-status-compact="!showUserOnlineStatus"
|
||||
class="conversation-icon__avatar" />
|
||||
<div v-if="showCall" class="overlap-icon">
|
||||
<VideoIcon :size="20" :fill-color="'#E9322D'" />
|
||||
<IconVideo :size="20" :fill-color="'#E9322D'" />
|
||||
<span class="hidden-visually">{{ t('spreed', 'Call in progress') }}</span>
|
||||
</div>
|
||||
<div v-else-if="showFavorite" class="overlap-icon">
|
||||
<Star :size="20" :fill-color="'#FFCC00'" />
|
||||
<IconStar :size="20" :fill-color="'#FFCC00'" />
|
||||
<span class="hidden-visually">{{ t('spreed', 'Favorite') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import LinkVariantIcon from 'vue-material-design-icons/LinkVariant.vue'
|
||||
import Star from 'vue-material-design-icons/Star.vue'
|
||||
import VideoIcon from 'vue-material-design-icons/Video.vue'
|
||||
import WebIcon from 'vue-material-design-icons/Web.vue'
|
||||
import IconLink from 'vue-material-design-icons/Link.vue'
|
||||
import IconStar from 'vue-material-design-icons/Star.vue'
|
||||
import IconVideo from 'vue-material-design-icons/Video.vue'
|
||||
import IconWeb from 'vue-material-design-icons/Web.vue'
|
||||
|
||||
import { t } from '@nextcloud/l10n'
|
||||
|
||||
|
|
@ -73,9 +73,9 @@ export default {
|
|||
name: 'ConversationIcon',
|
||||
|
||||
components: {
|
||||
IconStar,
|
||||
IconVideo,
|
||||
NcAvatar,
|
||||
Star,
|
||||
VideoIcon,
|
||||
},
|
||||
|
||||
props: {
|
||||
|
|
@ -216,9 +216,9 @@ export default {
|
|||
|
||||
conversationType() {
|
||||
if (this.item.remoteServer) {
|
||||
return { key: 'federated', icon: WebIcon, label: t('spreed', 'Federated conversation') }
|
||||
return { key: 'federated', icon: IconWeb, label: t('spreed', 'Federated conversation') }
|
||||
} else if (this.item.type === CONVERSATION.TYPE.PUBLIC) {
|
||||
return { key: 'public', icon: LinkVariantIcon, label: t('spreed', 'Public conversation') }
|
||||
return { key: 'public', icon: IconLink, label: t('spreed', 'Public conversation') }
|
||||
}
|
||||
return null
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue