Browse Source

Move icon-text to material design icon

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/7576/head
Joas Schilling 3 years ago
parent
commit
a28cbd929c
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 1
      img/bell-outline.svg
  2. 7
      src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue
  3. 7
      src/components/TopBar/TopBar.vue

1
img/bell-outline.svg

@ -1 +0,0 @@
<svg width="16" height="16" fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m14.154 10.508-1.104-1.183v-1.759c0-2.199-1.267-4.118-3.196-4.913-0.103-0.928-0.895-1.653-1.854-1.653-0.958 0-1.75 0.724-1.854 1.652-1.929 0.795-3.196 2.715-3.196 4.914v1.758l-1.104 1.184c-0.461 0.494-0.461 1.297 0 1.786 0.232 0.251 0.545 0.389 0.88 0.389h2.887c0 0.0041-0.00107 0.0077-0.0021 0.0112-9.6e-4 0.0033-0.0019 0.0064-0.0019 0.0098-1e-3 1.266 1.082 2.296 2.413 2.296 1.29 0 2.348-0.968 2.412-2.181 3e-3 -0.038 5e-3 -0.076 5e-3 -0.115 0-0.0041-0.0011-0.0077-0.0021-0.0112-1e-3 -0.0033-0.0019-0.0064-0.0019-0.0098h2.841c0.039 0 0.078-4e-3 0.116-0.011 0.152-0.031 0.532-0.13 0.761-0.375 0.462-0.492 0.463-1.295 1e-3 -1.789zm-6.132 3.294c-0.679 0-1.231-0.492-1.231-1.098h2.464c0 0.606-0.552 1.098-1.233 1.098zm-5.318-2.331 10.503 0.014c0.053-0.015 0.107-0.035 0.129-0.048-0.0019-3e-4 -0.0033-0.0076-0.0054-0.0186-0.0045-0.0233-0.0122-0.0629-0.0346-0.0874l-1.266-1.355c-0.103-0.111-0.161-0.259-0.161-0.411v-1.999c0-1.828-1.122-3.403-2.79-3.922-0.287-0.089-0.463-0.383-0.408-0.682 7.4e-4 -0.00416 0.00148-0.00831 0.00223-0.01247 0.00538-0.02986 0.01077-0.05981 0.01077-0.09053 0-0.365-0.307-0.661-0.684-0.661s-0.683 0.296-0.683 0.661c0 0.03252 0.00571 0.06259 0.01124 0.09169 5.9e-4 0.00311 0.00118 0.00622 0.00176 0.00931 0.055 0.299-0.121 0.593-0.407 0.683-1.669 0.518-2.79 2.095-2.79 3.923v1.998c0 0.152-0.058 0.3-0.162 0.411l-1.266 1.356c-0.033 0.036-0.034 0.106-1e-3 0.14z" clip-rule="evenodd" fill="#7F7F7F" fill-rule="evenodd"/><mask id="a" x="1" y="1" width="14" height="14" mask-type="alpha" maskUnits="userSpaceOnUse"><path d="m14.154 10.508-1.104-1.183v-1.759c0-2.199-1.267-4.118-3.196-4.913-0.103-0.928-0.895-1.653-1.854-1.653-0.958 0-1.75 0.724-1.854 1.652-1.929 0.795-3.196 2.715-3.196 4.914v1.758l-1.104 1.184c-0.461 0.494-0.461 1.297 0 1.786 0.232 0.251 0.545 0.389 0.88 0.389h2.887c0 0.0041-0.00107 0.0077-0.0021 0.0112-9.6e-4 0.0033-0.0019 0.0064-0.0019 0.0098-1e-3 1.266 1.082 2.296 2.413 2.296 1.29 0 2.348-0.968 2.412-2.181 3e-3 -0.038 5e-3 -0.076 5e-3 -0.115 0-0.0041-0.0011-0.0077-0.0021-0.0112-1e-3 -0.0033-0.0019-0.0064-0.0019-0.0098h2.841c0.039 0 0.078-4e-3 0.116-0.011 0.152-0.031 0.532-0.13 0.761-0.375 0.462-0.492 0.463-1.295 1e-3 -1.789zm-6.132 3.294c-0.679 0-1.231-0.492-1.231-1.098h2.464c0 0.606-0.552 1.098-1.233 1.098zm-5.318-2.331 10.503 0.014c0.053-0.015 0.107-0.035 0.129-0.048-0.0019-3e-4 -0.0033-0.0076-0.0054-0.0186-0.0045-0.0233-0.0122-0.0629-0.0346-0.0874l-1.266-1.355c-0.103-0.111-0.161-0.259-0.161-0.411v-1.999c0-1.828-1.122-3.403-2.79-3.922-0.287-0.089-0.463-0.383-0.408-0.682 7.4e-4 -0.00416 0.00148-0.00831 0.00223-0.01247 0.00538-0.02986 0.01077-0.05981 0.01077-0.09053 0-0.365-0.307-0.661-0.684-0.661s-0.683 0.296-0.683 0.661c0 0.03252 0.00571 0.06259 0.01124 0.09169 5.9e-4 0.00311 0.00118 0.00622 0.00176 0.00931 0.055 0.299-0.121 0.593-0.407 0.683-1.669 0.518-2.79 2.095-2.79 3.923v1.998c0 0.152-0.058 0.3-0.162 0.411l-1.266 1.356c-0.033 0.036-0.034 0.106-1e-3 0.14z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/></mask><g mask="url(#a)"><rect width="16" height="16" fill="#7F7F7F"/></g></svg>

7
src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue

@ -68,8 +68,11 @@
{{ t('spreed', 'Mark as unread') }}
</ActionButton>
<ActionLink v-if="linkToFile"
icon="icon-text"
:href="linkToFile">
<File slot="icon"
:size="20"
title=""
decorative />
{{ t('spreed', 'Go to file') }}
</ActionLink>
<ActionButton v-if="!isCurrentGuest && !isFileShare && !isDeletedMessage"
@ -149,6 +152,7 @@ import Actions from '@nextcloud/vue/dist/Components/Actions'
import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator'
import EyeOffOutline from 'vue-material-design-icons/EyeOffOutline'
import EmoticonOutline from 'vue-material-design-icons/EmoticonOutline.vue'
import File from 'vue-material-design-icons/File'
import ArrowLeft from 'vue-material-design-icons/ArrowLeft.vue'
import Plus from 'vue-material-design-icons/Plus.vue'
import Reply from 'vue-material-design-icons/Reply.vue'
@ -172,6 +176,7 @@ export default {
ActionButton,
ActionLink,
EyeOffOutline,
File,
Share,
ActionSeparator,
Forwarder,

7
src/components/TopBar/TopBar.vue

@ -89,8 +89,11 @@
</ActionButton>
<ActionSeparator v-if="showModerationOptions" />
<ActionLink v-if="isFileConversation"
icon="icon-text"
:href="linkToFile">
<File slot="icon"
:size="20"
title=""
decorative />
{{ t('spreed', 'Go to file') }}
</ActionLink>
<template v-if="showModerationOptions">
@ -164,6 +167,7 @@ import CallButton from './CallButton.vue'
import BrowserStorage from '../../services/BrowserStorage.js'
import ActionLink from '@nextcloud/vue/dist/Components/ActionLink'
import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator'
import File from 'vue-material-design-icons/File'
import MenuPeople from '../missingMaterialDesignIcons/MenuPeople.vue'
import MessageText from 'vue-material-design-icons/MessageText'
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff'
@ -193,6 +197,7 @@ export default {
CounterBubble,
CallButton,
ActionSeparator,
File,
MenuPeople,
MessageText,
MicrophoneOff,

Loading…
Cancel
Save