mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 21:16:43 -06:00
Add account setting link
This commit is contained in:
parent
43e3ce1ed5
commit
76f992906d
2 changed files with 21 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
||||||
<portal to="icon"><fa :icon="faCog"/></portal>
|
<portal to="icon"><fa :icon="faCog"/></portal>
|
||||||
<portal to="title">{{ $t('clinetSettings') }}</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/>
|
<x-theme/>
|
||||||
|
|
||||||
<section class="_card">
|
<section class="_card">
|
||||||
|
|
|
@ -292,7 +292,7 @@ main ._panel {
|
||||||
box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider);
|
box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider);
|
||||||
}
|
}
|
||||||
|
|
||||||
._panel._button {
|
.__panelButton {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
|
@ -300,6 +300,24 @@ main ._panel {
|
||||||
justify-content: center;
|
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 {
|
._card {
|
||||||
@extend ._panel;
|
@extend ._panel;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue