mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
d337dbfa5d
Signed-off-by: Ondřej Konečný <ondrej.konecny@gmail.com>
188 lines
3.4 KiB
SCSS
188 lines
3.4 KiB
SCSS
.settings-content {
|
|
header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 160px;
|
|
background-color: $color-white;
|
|
|
|
.secondary-menu {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
height: 40px;
|
|
font-size: $fs14;
|
|
color: $color-gray-60;
|
|
|
|
.icon {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.left {
|
|
margin-left: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
|
|
.label {
|
|
margin-left: 15px;
|
|
}
|
|
|
|
svg {
|
|
fill: $color-gray-60;
|
|
width: 14px;
|
|
height: 14px;
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
.right {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-right: 30px;
|
|
|
|
.label {
|
|
color: $color-primary-dark;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
svg {
|
|
fill: $color-primary-dark;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
&:hover {
|
|
.label {
|
|
color: $color-danger;
|
|
}
|
|
svg {
|
|
fill: $color-danger;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
align-items: top;
|
|
color: $color-gray-60;
|
|
display: flex;
|
|
flex-grow: 1;
|
|
font-size: $fs24;
|
|
font-weight: $fw400;
|
|
justify-content: center;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: center;
|
|
height: 40px;
|
|
|
|
.nav-item {
|
|
align-items: center;
|
|
color: $color-gray-40;
|
|
display: flex;
|
|
flex-basis: 140px;
|
|
justify-content: center;
|
|
|
|
&.current {
|
|
border-bottom: 3px solid $color-primary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.settings-profile {
|
|
.forms-container {
|
|
margin-top: 80px;
|
|
}
|
|
}
|
|
|
|
.avatar-form {
|
|
flex-basis: 168px;
|
|
height: 100vh;
|
|
display: flex;
|
|
position: relative;
|
|
|
|
.image-change-field {
|
|
position: relative;
|
|
width: 120px;
|
|
height: 120px;
|
|
|
|
.update-overlay {
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
width: 121px;
|
|
height: 121px;
|
|
border-radius: 50%;
|
|
font-size: $fs24;
|
|
color: $color-white;
|
|
line-height: $lh-500; // Original value was 120px; 120px/24px =500% => $lh-500
|
|
text-align: center;
|
|
background: $color-primary-dark;
|
|
z-index: 14;
|
|
}
|
|
|
|
input[type="file"] {
|
|
width: 120px;
|
|
height: 120px;
|
|
position: absolute;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
top: 0;
|
|
z-index: 15;
|
|
}
|
|
|
|
&:hover {
|
|
img {
|
|
display: none;
|
|
}
|
|
.update-overlay {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-form {
|
|
flex-grow: 1;
|
|
flex-basis: 390px;
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
.change-email {
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-size: $fs14;
|
|
color: $color-primary-dark;
|
|
justify-content: flex-end;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
.avatar-form {
|
|
img {
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
height: 120px;
|
|
margin-right: $size-4;
|
|
width: 120px;
|
|
}
|
|
}
|
|
|
|
.options-form,
|
|
.password-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-basis: 368px;
|
|
|
|
h2 {
|
|
font-size: $fs14;
|
|
font-weight: $fw400;
|
|
margin-bottom: $size-4;
|
|
}
|
|
}
|
|
}
|