From a785f1f9336c2662f18c1c5858e816db1b75243a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 7 Jul 2022 21:00:42 +0900 Subject: [PATCH] chore(client): tweak ui --- locales/ja-JP.yml | 8 ++++ packages/client/src/components/form/range.vue | 4 +- .../pages/settings/statusbars.statusbar.vue | 42 ++++++++++--------- .../client/src/pages/settings/statusbars.vue | 2 +- 4 files changed, 34 insertions(+), 22 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index de5826b21b..49cce121d1 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -869,6 +869,14 @@ logoutConfirm: "ログアウトしますか?" lastActiveDate: "最終利用日時" statusbar: "ステータスバー" pleaseSelect: "選択してください" +reverse: "反転" +colored: "色付き" +refreshInterval: "更新間隔" +label: "ラベル" +type: "タイプ" +speed: "速度" +slow: "遅い" +fast: "速い" _emailUnavailable: used: "既に使用されています" diff --git a/packages/client/src/components/form/range.vue b/packages/client/src/components/form/range.vue index f87b92183d..ebec482d84 100644 --- a/packages/client/src/components/form/range.vue +++ b/packages/client/src/components/form/range.vue @@ -198,7 +198,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => { height: 100%; background: var(--accent); opacity: 0.5; - transition: width 0.2s cubic-bezier(0,0,0,1); + //transition: width 0.2s cubic-bezier(0,0,0,1); } } @@ -231,7 +231,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => { cursor: grab; background: var(--accent); border-radius: 999px; - transition: left 0.2s cubic-bezier(0,0,0,1); + //transition: left 0.2s cubic-bezier(0,0,0,1); &:hover { background: var(--accentLighten); diff --git a/packages/client/src/pages/settings/statusbars.statusbar.vue b/packages/client/src/pages/settings/statusbars.statusbar.vue index 6b03ad46e6..206979925e 100644 --- a/packages/client/src/pages/settings/statusbars.statusbar.vue +++ b/packages/client/src/pages/settings/statusbars.statusbar.vue @@ -8,7 +8,7 @@ - + @@ -16,7 +16,7 @@ - + @@ -29,27 +29,29 @@ - - - - + + + + + - +
- Delete + {{ i18n.ts.remove }}
@@ -81,6 +84,7 @@ import MkInput from '@/components/form/input.vue'; import MkSwitch from '@/components/form/switch.vue'; import FormRadios from '@/components/form/radios.vue'; import FormButton from '@/components/ui/button.vue'; +import FormRange from '@/components/form/range.vue'; import * as os from '@/os'; import { menuDef } from '@/menu'; import { defaultStore } from '@/store'; diff --git a/packages/client/src/pages/settings/statusbars.vue b/packages/client/src/pages/settings/statusbars.vue index bcfff1652f..c81bd7fbdf 100644 --- a/packages/client/src/pages/settings/statusbars.vue +++ b/packages/client/src/pages/settings/statusbars.vue @@ -5,7 +5,7 @@ - add + {{ i18n.ts.add }}