mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 01:50:33 -04:00
Use material design icons in Email component
Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
de08b53b4e
commit
ecdde8dd5c
5 changed files with 12 additions and 19 deletions
|
|
@ -35,8 +35,8 @@
|
|||
|
||||
<div class="email__actions-container">
|
||||
<transition name="fade">
|
||||
<span v-if="showCheckmarkIcon" class="icon-checkmark" />
|
||||
<span v-else-if="showErrorIcon" class="icon-error" />
|
||||
<Check v-if="showCheckmarkIcon" :size="20" />
|
||||
<AlertOctagon v-else-if="showErrorIcon" :size="20" />
|
||||
</transition>
|
||||
|
||||
<template v-if="!primary">
|
||||
|
|
@ -80,6 +80,8 @@
|
|||
<script>
|
||||
import Actions from '@nextcloud/vue/dist/Components/Actions'
|
||||
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
|
||||
import AlertOctagon from 'vue-material-design-icons/AlertOctagon'
|
||||
import Check from 'vue-material-design-icons/Check'
|
||||
import { showError } from '@nextcloud/dialogs'
|
||||
import debounce from 'debounce'
|
||||
|
||||
|
|
@ -103,6 +105,8 @@ export default {
|
|||
components: {
|
||||
Actions,
|
||||
ActionButton,
|
||||
AlertOctagon,
|
||||
Check,
|
||||
FederationControl,
|
||||
},
|
||||
|
||||
|
|
@ -397,17 +401,6 @@ export default {
|
|||
min-width: 30px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-checkmark,
|
||||
.icon-error {
|
||||
height: 30px !important;
|
||||
min-height: 30px !important;
|
||||
width: 30px !important;
|
||||
min-width: 30px !important;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/settings-vue-settings-personal-info.js
vendored
4
dist/settings-vue-settings-personal-info.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue