diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-19 19:01:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-19 19:01:30 +0900 |
| commit | 917ef465a5520137b478ffcf16af5a9e717d7a40 (patch) | |
| tree | 875796c757aa058e05ad9d50691f04e16ccd8db0 /packages/client/src/components/MkNote.vue | |
| parent | fix(client): add missing ref for MkButton (#9357) (diff) | |
| download | misskey-917ef465a5520137b478ffcf16af5a9e717d7a40.tar.gz misskey-917ef465a5520137b478ffcf16af5a9e717d7a40.tar.bz2 misskey-917ef465a5520137b478ffcf16af5a9e717d7a40.zip | |
Use tabler icons (#9354)
* wip
* wip
* wip
* Update style.scss
* wip
* wip
* wip
* wip
Diffstat (limited to 'packages/client/src/components/MkNote.vue')
| -rw-r--r-- | packages/client/src/components/MkNote.vue | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 97eadb1945..da51d14f03 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -10,12 +10,12 @@ :class="{ renote: isRenote }" > <MkNoteSub v-if="appearNote.reply" :note="appearNote.reply" class="reply-to"/> - <div v-if="pinned" class="info"><i class="fas fa-thumbtack"></i> {{ i18n.ts.pinnedNote }}</div> - <div v-if="appearNote._prId_" class="info"><i class="fas fa-bullhorn"></i> {{ i18n.ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ i18n.ts.hideThisNote }} <i class="fas fa-times"></i></button></div> - <div v-if="appearNote._featuredId_" class="info"><i class="fas fa-bolt"></i> {{ i18n.ts.featured }}</div> + <div v-if="pinned" class="info"><i class="ti ti-pin"></i> {{ i18n.ts.pinnedNote }}</div> + <div v-if="appearNote._prId_" class="info"><i class="fas fa-bullhorn"></i> {{ i18n.ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ i18n.ts.hideThisNote }} <i class="ti ti-x"></i></button></div> + <div v-if="appearNote._featuredId_" class="info"><i class="ti ti-bolt"></i> {{ i18n.ts.featured }}</div> <div v-if="isRenote" class="renote"> <MkAvatar class="avatar" :user="note.user"/> - <i class="fas fa-retweet"></i> + <i class="ti ti-repeat"></i> <I18n :src="i18n.ts.renotedBy" tag="span"> <template #user> <MkA v-user-preview="note.userId" class="name" :to="userPage(note.user)"> @@ -25,7 +25,7 @@ </I18n> <div class="info"> <button ref="renoteTime" class="_button time" @click="showRenoteMenu()"> - <i v-if="isMyRenote" class="fas fa-ellipsis-h dropdownIcon"></i> + <i v-if="isMyRenote" class="ti ti-dots dropdownIcon"></i> <MkTime :time="note.createdAt"/> </button> <MkVisibility :note="note"/> @@ -44,7 +44,7 @@ <div v-show="appearNote.cw == null || showContent" class="content" :class="{ collapsed, isLong }"> <div class="text"> <span v-if="appearNote.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> - <MkA v-if="appearNote.replyId" class="reply" :to="`/notes/${appearNote.replyId}`"><i class="fas fa-reply"></i></MkA> + <MkA v-if="appearNote.replyId" class="reply" :to="`/notes/${appearNote.replyId}`"><i class="ti ti-arrow-back-up"></i></MkA> <Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis"/> <a v-if="appearNote.renote != null" class="rp">RN:</a> <div v-if="translating || translation" class="translation"> @@ -68,24 +68,24 @@ <span>{{ i18n.ts.showLess }}</span> </button> </div> - <MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><i class="fas fa-satellite-dish"></i> {{ appearNote.channel.name }}</MkA> + <MkA v-if="appearNote.channel && !inChannel" class="channel" :to="`/channels/${appearNote.channel.id}`"><i class="ti ti-device-tv"></i> {{ appearNote.channel.name }}</MkA> </div> <footer class="footer"> <XReactionsViewer ref="reactionsViewer" :note="appearNote"/> <button class="button _button" @click="reply()"> - <template v-if="appearNote.reply"><i class="fas fa-reply-all"></i></template> - <template v-else><i class="fas fa-reply"></i></template> + <template v-if="appearNote.reply"><i class="ti ti-arrow-back-up-all"></i></template> + <template v-else><i class="ti ti-arrow-back-up"></i></template> <p v-if="appearNote.repliesCount > 0" class="count">{{ appearNote.repliesCount }}</p> </button> <XRenoteButton ref="renoteButton" class="button" :note="appearNote" :count="appearNote.renoteCount"/> <button v-if="appearNote.myReaction == null" ref="reactButton" class="button _button" @click="react()"> - <i class="fas fa-plus"></i> + <i class="ti ti-plus"></i> </button> <button v-if="appearNote.myReaction != null" ref="reactButton" class="button _button reacted" @click="undoReact(appearNote)"> - <i class="fas fa-minus"></i> + <i class="ti ti-minus"></i> </button> <button ref="menuButton" class="button _button" @click="menu()"> - <i class="fas fa-ellipsis-h"></i> + <i class="ti ti-dots"></i> </button> </footer> </div> @@ -256,7 +256,7 @@ function showRenoteMenu(viaKeyboard = false): void { if (!isMyRenote) return; os.popupMenu([{ text: i18n.ts.unrenote, - icon: 'fas fa-trash-alt', + icon: 'ti ti-trash', danger: true, action: () => { os.api('notes/delete', { |