Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/AppSettingsMenu.vue32
-rw-r--r--src/components/Navigation.vue10
2 files changed, 27 insertions, 15 deletions
diff --git a/src/components/AppSettingsMenu.vue b/src/components/AppSettingsMenu.vue
index 1f5d51254..7df1bb782 100644
--- a/src/components/AppSettingsMenu.vue
+++ b/src/components/AppSettingsMenu.vue
@@ -82,16 +82,13 @@
<p class="mailvelope-section">
{{ t('mail', 'Looking for a way to encrypt your emails?') }}
-
- <a
- class="button app-settings-button"
- href="https://www.mailvelope.com/"
- target="_blank"
- rel="noopener noreferrer">
- <Lock :size="20" />
- {{ t('mail', 'Install Mailvelope browser extension') }}
- </a>
</p>
+ <a
+ href="https://www.mailvelope.com/"
+ target="_blank"
+ rel="noopener noreferrer">
+ {{ t('mail', 'Install Mailvelope browser extension here') }}
+ </a>
</div>
</template>
@@ -102,7 +99,6 @@ import Button from '@nextcloud/vue/dist/Components/Button'
import IconInfo from 'vue-material-design-icons/Information'
import IconEmail from 'vue-material-design-icons/Email'
-import Lock from 'vue-material-design-icons/Lock'
import Logger from '../logger'
import KeyboardShortcuts from '../views/KeyboardShortcuts'
@@ -113,7 +109,6 @@ export default {
KeyboardShortcuts,
IconInfo,
IconEmail,
- Lock,
},
data() {
return {
@@ -245,7 +240,7 @@ p.app-settings {
}
.app-settings-button {
display: block;
-
+width: 100%;
background-position: 10px center;
text-align: left;
margin-top: 6px;
@@ -267,9 +262,18 @@ p.app-settings {
line-height: normal;
min-height: 44px;
font-size: unset;
+
+ &:focus-visible,
+ &:hover {
+ box-shadow: 0 0 0 1px var(--color-primary-element);
+ }
}
}
-.material-design-icon.lock-icon {
- margin-right: 10px;
+.material-design-icon {
+ opacity: .7;
+ &.lock-icon {
+ margin-right: 10px;
+ }
+
}
</style>
diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue
index 90f124295..854eca5ee 100644
--- a/src/components/Navigation.vue
+++ b/src/components/Navigation.vue
@@ -79,6 +79,9 @@
</template>
<template #footer>
<AppNavigationSettings :title="t('mail', 'Mail settings')">
+ <template #icon>
+ <IconSetting :size="20" />
+ </template>
<AppSettingsMenu />
</AppNavigationSettings>
</template>
@@ -98,7 +101,7 @@ import NavigationAccount from './NavigationAccount'
import NavigationAccountExpandCollapse from './NavigationAccountExpandCollapse'
import NavigationMailbox from './NavigationMailbox'
import NavigationOutbox from './NavigationOutbox'
-
+import IconSetting from 'vue-material-design-icons/Cog'
import AppSettingsMenu from '../components/AppSettingsMenu'
import { UNIFIED_ACCOUNT_ID } from '../store/constants'
@@ -114,6 +117,7 @@ export default {
NavigationAccountExpandCollapse,
NavigationMailbox,
NavigationOutbox,
+ IconSetting,
},
data() {
return {
@@ -237,4 +241,8 @@ to {
.app-navigation-spacer {
order: 0 !important;
}
+::v-deep .settings-button {
+ opacity: .7 !important;
+ font-weight: bold !important;
+}
</style>