From 02503739b4c005ff837ea63f7f46b1c91437ef17 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" <13498015+amyspark@users.noreply.github.com> Date: Wed, 12 Dec 2018 00:19:08 +0000 Subject: [PATCH 01/10] Make Preferences accessible --- src/renderer/components/Preferences.vue | 24 +---- .../components/Preferences/Account.vue | 91 ++++++++++--------- .../components/Preferences/Appearance.vue | 63 +++++++------ .../Preferences/Appearance/ColorPallet.vue | 64 ++++++++----- .../components/Preferences/General.vue | 44 ++++----- .../components/Preferences/Language.vue | 33 ++++--- .../components/Preferences/Notification.vue | 76 +++++++--------- 7 files changed, 199 insertions(+), 196 deletions(-) diff --git a/src/renderer/components/Preferences.vue b/src/renderer/components/Preferences.vue index f7458499..57343750 100644 --- a/src/renderer/components/Preferences.vue +++ b/src/renderer/components/Preferences.vue @@ -3,10 +3,10 @@ -

{{ $t('preferences.title') }}

+

{{ $t('preferences.title') }}

- +
@@ -77,9 +77,10 @@ export default { .header { text-align: center; border-bottom: 1px solid var(--theme-border-color); + user-select: none; .close-button { - font-size: 24px; + font-size: 28px; } } @@ -88,31 +89,16 @@ export default { padding-left: 24px; .el-menu { - background-color: var(--theme-background-color); border-right: solid 1px var(--theme-border-color); } .setting-menu /deep/ { height: 100%; + user-select: none; .icon { margin-right: 9px; } - - .el-menu-item { - transition: none; - -webkit-transition: none; - - .icon { - color: var(--theme-secondary-color); - } - } - - .is-active { - .icon { - color: #409eff; - } - } } } } diff --git a/src/renderer/components/Preferences/Account.vue b/src/renderer/components/Preferences/Account.vue index 45e5f33a..96be5f2d 100644 --- a/src/renderer/components/Preferences/Account.vue +++ b/src/renderer/components/Preferences/Account.vue @@ -1,9 +1,9 @@ - -
- -

{{ $t('preferences.account.confirm_message') }}

-
- {{ $t('preferences.account.cancel') }} - {{ $t('preferences.account.confirm') }} -
- {{ $t('preferences.account.remove_all_associations') }} -
-
+ + + +

{{ $t('preferences.account.confirm_message') }}

+
+ {{ $t('preferences.account.cancel') }} + {{ $t('preferences.account.confirm') }} +
+ {{ $t('preferences.account.remove_all_associations') }} +
+
+ @@ -130,32 +131,38 @@ export default { diff --git a/src/renderer/components/Preferences/Appearance.vue b/src/renderer/components/Preferences/Appearance.vue index c74c2017..d6304ffe 100644 --- a/src/renderer/components/Preferences/Appearance.vue +++ b/src/renderer/components/Preferences/Appearance.vue @@ -1,11 +1,10 @@ @@ -160,20 +155,24 @@ export default { diff --git a/src/renderer/components/Preferences/Appearance/ColorPallet.vue b/src/renderer/components/Preferences/Appearance/ColorPallet.vue index 5bed3edb..4ea7e5b9 100644 --- a/src/renderer/components/Preferences/Appearance/ColorPallet.vue +++ b/src/renderer/components/Preferences/Appearance/ColorPallet.vue @@ -1,36 +1,46 @@