From f70965a25856669d6b4462fad0084172451b9d1e 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 de5826b21..49cce121d 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 f87b92183..ebec482d8 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 6b03ad46e..206979925 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 bcfff1652..c81bd7fbd 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 }}