accounts-frontend/packages/app/components/profile/profileForm.scss

130 lines
1.9 KiB
SCSS
Raw Permalink Normal View History

@import '~app/components/ui/fonts.scss';
@import '~app/components/ui/colors.scss';
.contentWithBackButton {
2020-05-24 04:38:24 +05:30
position: relative;
max-width: 400px;
margin: 0 auto;
}
.backButton {
2020-05-24 04:38:24 +05:30
position: absolute;
2021-03-26 08:49:04 +05:30
inset-inline-start: -60px;
2020-05-24 04:38:24 +05:30
top: 15px;
width: 25px;
height: 25px;
padding: 15px;
font-size: 25px;
border-bottom: none;
color: #ccc;
transition: 0.3s;
&:hover {
color: #9a9a9a;
}
}
.backIcon {
2020-05-24 04:38:24 +05:30
composes: arrowLeft from '~app/components/ui/icons.scss';
2020-05-24 04:38:24 +05:30
position: relative;
}
.backText {
2020-05-24 04:38:24 +05:30
display: none;
}
.form {
2020-05-24 04:38:24 +05:30
background: #fff;
overflow: hidden; // disable margin collapsing
}
.formBody {
2020-05-24 04:38:24 +05:30
margin: 30px;
}
.formRow {
2020-05-24 04:38:24 +05:30
margin: 25px 0;
}
.title {
2020-05-24 04:38:24 +05:30
position: relative;
font-size: 24px;
font-family: $font-family-title;
padding-bottom: 9px;
&:after {
content: '';
display: block;
position: absolute;
bottom: 0;
height: 3px;
width: 86px;
background: $green;
}
}
.violetTitle {
2020-05-24 04:38:24 +05:30
composes: title;
2020-05-24 04:38:24 +05:30
&:after {
background: $violet;
}
}
.description {
2020-05-24 04:38:24 +05:30
font-size: 12px;
color: #666666;
line-height: 1.5;
margin-top: 25px;
}
.sectionTitle {
font-family: $font-family-title;
font-size: 18px;
line-height: 1.2;
color: #444;
margin-top: 25px;
}
.delimiter {
background: #eee;
height: 1px;
margin: 25px -30px;
}
.stepper {
2020-05-24 04:38:24 +05:30
width: 35%;
margin: 0 auto;
}
@media (max-width: 525px) {
2020-05-24 04:38:24 +05:30
.contentWithBackButton .title {
padding-top: 23px;
}
.backButton {
top: 29px;
2021-03-26 08:49:04 +05:30
inset-inline-start: 27px;
2020-05-24 04:38:24 +05:30
padding: 0;
margin: 0;
width: auto;
height: auto;
z-index: 1;
font-size: 14px;
}
.backIcon {
bottom: 1px;
}
.backText {
display: inline;
}
}