pleroma-fe/src/components/settings_modal/tabs/profile_tab.scss

138 lines
2.0 KiB
SCSS
Raw Normal View History

2023-01-09 19:02:16 +01:00
@import "../../../variables";
2020-05-03 16:36:12 +02:00
.profile-tab {
.bio {
margin: 0;
}
.visibility-tray {
padding-top: 5px;
}
2023-01-09 19:02:16 +01:00
input[type="file"] {
2020-05-03 16:36:12 +02:00
padding: 5px;
height: auto;
}
.banner-background-preview {
2020-05-03 16:36:12 +02:00
max-width: 100%;
width: 300px;
position: relative;
img {
width: 100%;
}
2020-05-03 16:36:12 +02:00
}
.uploading {
font-size: 1.5em;
margin: 0.25em;
}
.name-changer {
width: 100%;
}
.current-avatar-container {
position: relative;
width: 150px;
height: 150px;
2020-05-03 16:36:12 +02:00
}
.current-avatar {
display: block;
width: 100%;
height: 100%;
2020-05-03 16:36:12 +02:00
border-radius: $fallback--avatarRadius;
border-radius: var(--avatarRadius, $fallback--avatarRadius);
}
.reset-button {
position: absolute;
top: 0.2em;
right: 0.2em;
border-radius: $fallback--tooltipRadius;
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
2023-01-09 19:02:16 +01:00
background-color: rgb(0 0 0 / 60%);
opacity: 0.7;
width: 1.5em;
height: 1.5em;
text-align: center;
line-height: 1.5em;
font-size: 1.5em;
cursor: pointer;
2022-03-29 18:12:57 +02:00
&:hover {
opacity: 1;
}
2022-03-29 18:12:57 +02:00
svg {
color: white;
}
}
2020-05-03 16:36:12 +02:00
.oauth-tokens {
width: 100%;
th {
text-align: left;
}
.actions {
text-align: right;
}
}
&-usersearch-wrapper {
padding: 1em;
}
&-bulk-actions {
text-align: right;
padding: 0 1em;
2022-04-20 22:22:51 +02:00
min-height: 2em;
2020-05-03 16:36:12 +02:00
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;
}
2020-06-09 20:24:55 +02:00
.profile-fields {
display: flex;
& > .emoji-input {
2020-06-09 20:24:55 +02:00
flex: 1 1 auto;
margin: 0 0.2em 0.5em;
min-width: 0;
2020-06-09 20:24:55 +02:00
}
2021-01-22 11:06:39 +01:00
.delete-field {
2020-06-09 20:24:55 +02:00
width: 20px;
2020-10-20 23:01:28 +02:00
align-self: center;
margin: 0 0.2em 0.5em;
padding: 0 0.5em;
2020-06-09 20:24:55 +02:00
}
}
.birthday-input {
display: block;
margin-bottom: 1em;
}
2020-05-03 16:36:12 +02:00
}