summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-03-22 15:11:16 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-03-22 15:11:16 +0900
commit76f992906d237f276252060ba94d3e8d57e9ec6b (patch)
tree729b76fd8d7d4269d40414961c1808c9f9b67a4d /src/client
parentFix #6085 (diff)
downloadmisskey-76f992906d237f276252060ba94d3e8d57e9ec6b.tar.gz
misskey-76f992906d237f276252060ba94d3e8d57e9ec6b.tar.bz2
misskey-76f992906d237f276252060ba94d3e8d57e9ec6b.zip
Add account setting link
Diffstat (limited to 'src/client')
-rw-r--r--src/client/pages/preferences/index.vue2
-rw-r--r--src/client/style.scss20
2 files changed, 21 insertions, 1 deletions
diff --git a/src/client/pages/preferences/index.vue b/src/client/pages/preferences/index.vue
index 7cf6f4b4b2..2b1b3083a4 100644
--- a/src/client/pages/preferences/index.vue
+++ b/src/client/pages/preferences/index.vue
@@ -3,6 +3,8 @@
<portal to="icon"><fa :icon="faCog"/></portal>
<portal to="title">{{ $t('clinetSettings') }}</portal>
+ <router-link v-if="$store.getters.isSignedIn" class="_panel _buttonPrimary" to="/my/settings" style="margin-bottom: var(--margin);">{{ $t('accountSettings') }}</router-link>
+
<x-theme/>
<section class="_card">
diff --git a/src/client/style.scss b/src/client/style.scss
index fee64c7ca8..7b509e5b51 100644
--- a/src/client/style.scss
+++ b/src/client/style.scss
@@ -292,7 +292,7 @@ main ._panel {
box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider);
}
-._panel._button {
+.__panelButton {
display: flex;
width: 100%;
min-height: 48px;
@@ -300,6 +300,24 @@ main ._panel {
justify-content: center;
}
+._panel._button {
+ @extend .__panelButton;
+}
+
+._panel._buttonPrimary {
+ @extend .__panelButton;
+ color: var(--accent);
+ background: var(--panel);
+
+ &:not(:disabled):hover {
+ background: var(--panel);
+ }
+
+ &:not(:disabled):active {
+ background: var(--panel);
+ }
+}
+
._card {
@extend ._panel;