120 lines
1.9 KiB
Vue
120 lines
1.9 KiB
Vue
<template>
|
|
<div class="settings panel panel-default">
|
|
<div class="panel-heading">
|
|
<div class="title">
|
|
{{ $t('settings.user_settings') }}
|
|
</div>
|
|
<transition name="fade">
|
|
<template v-if="currentSaveStateNotice">
|
|
<div
|
|
v-if="currentSaveStateNotice.error"
|
|
class="alert error"
|
|
@click.prevent
|
|
>
|
|
{{ $t('settings.saving_err') }}
|
|
</div>
|
|
|
|
<div
|
|
v-if="!currentSaveStateNotice.error"
|
|
class="alert transparent"
|
|
@click.prevent
|
|
>
|
|
{{ $t('settings.saving_ok') }}
|
|
</div>
|
|
</template>
|
|
</transition>
|
|
</div>
|
|
<div class="panel-body profile-edit">
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./user_settings.js">
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '../../_variables.scss';
|
|
|
|
.profile-edit {
|
|
.bio {
|
|
margin: 0;
|
|
}
|
|
|
|
.visibility-tray {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
input[type=file] {
|
|
padding: 5px;
|
|
height: auto;
|
|
}
|
|
|
|
.banner {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.uploading {
|
|
font-size: 1.5em;
|
|
margin: 0.25em;
|
|
}
|
|
|
|
.name-changer {
|
|
width: 100%;
|
|
}
|
|
|
|
.bg {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.current-avatar {
|
|
display: block;
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: $fallback--avatarRadius;
|
|
border-radius: var(--avatarRadius, $fallback--avatarRadius);
|
|
}
|
|
|
|
.oauth-tokens {
|
|
width: 100%;
|
|
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
.actions {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
&-usersearch-wrapper {
|
|
padding: 1em;
|
|
}
|
|
|
|
&-bulk-actions {
|
|
text-align: right;
|
|
padding: 0 1em;
|
|
min-height: 28px;
|
|
|
|
button {
|
|
width: 10em;
|
|
}
|
|
}
|
|
|
|
&-domain-mute-form {
|
|
padding: 1em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
button {
|
|
align-self: flex-end;
|
|
margin-top: 1em;
|
|
width: 10em;
|
|
}
|
|
}
|
|
|
|
.setting-subitem {
|
|
margin-left: 1.75em;
|
|
}
|
|
}
|
|
</style>
|