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

185 lines
2.9 KiB
SCSS
Raw Permalink Normal View History

@import '~app/components/ui/fonts.scss';
@import '~app/components/ui/colors.scss';
$formColumnWidth: 416px;
.indexContent {
2020-05-24 04:38:24 +05:30
display: flex;
}
.formColumn {
2020-05-24 04:38:24 +05:30
width: $formColumnWidth;
min-width: $formColumnWidth; // Чтобы flex не ужимал блок, несмотря на фикс ширину выше
}
.descriptionColumn {
2021-03-26 08:49:04 +05:30
padding-top: 12px;
padding-inline-end: 20px;
2020-05-24 04:38:24 +05:30
box-sizing: border-box;
}
.indexTitle {
2020-05-24 04:38:24 +05:30
font-family: $font-family-title;
font-size: 30px;
margin-bottom: 12px;
}
.indexDescription {
2020-05-24 04:38:24 +05:30
font-size: 14px;
line-height: 1.4;
color: #9a9a9a;
}
2020-07-22 20:45:58 +05:30
.profilePanel {
composes: form from '~app/components/profile/profileForm.scss';
margin-bottom: 30px;
border-bottom: 10px solid #ddd8ce;
}
.item {
2020-05-24 04:38:24 +05:30
padding: 30px;
border-bottom: 1px solid #eee;
2020-05-24 04:38:24 +05:30
&:last-child {
border-bottom: none;
}
}
.paramItem {
2020-05-24 04:38:24 +05:30
composes: item;
2020-05-24 04:38:24 +05:30
$padding: 20px;
2020-05-24 04:38:24 +05:30
padding-top: $padding;
padding-bottom: $padding;
2020-05-24 04:38:24 +05:30
color: #666666;
}
.paramRow {
2020-05-24 04:38:24 +05:30
display: flex;
align-items: baseline;
flex-basis: 0;
flex-grow: 1;
2020-05-24 04:38:24 +05:30
font-size: 14px;
}
.paramName {
2020-05-24 04:38:24 +05:30
width: 125px;
font-family: $font-family-title;
}
.paramValue {
2020-05-24 04:38:24 +05:30
flex-grow: 1;
}
.uuidValue {
2020-05-24 04:38:24 +05:30
composes: paramName;
composes: paramValue;
}
.paramAction {
2020-05-24 04:38:24 +05:30
text-align: center;
cursor: pointer;
border-bottom: none;
}
.paramEditIcon {
2020-05-24 04:38:24 +05:30
composes: pencil from '~app/components/ui/icons.scss';
2020-05-24 04:38:24 +05:30
color: $white;
transition: 0.4s;
2020-05-24 04:38:24 +05:30
a:hover & {
color: #444;
}
}
.paramMessage {
2021-03-26 08:49:04 +05:30
padding-top: 10px;
padding-inline-end: 40px;
2020-05-24 04:38:24 +05:30
color: $red;
font-size: 11px;
line-height: 1.2;
2020-05-24 04:38:24 +05:30
a {
color: $red !important;
border-bottom-color: transparent;
border-bottom-style: dashed;
2020-05-24 04:38:24 +05:30
&:hover {
border-bottom-color: lighter($red);
}
}
}
2016-05-22 18:01:43 +05:30
.uuid {
2020-05-24 04:38:24 +05:30
font-family: $font-family-title;
white-space: nowrap;
2016-05-22 18:01:43 +05:30
}
@media (max-width: 720px) {
2020-05-24 04:38:24 +05:30
.indexTitle {
text-align: center;
margin-bottom: 8px;
}
.indexContent {
flex-direction: column;
align-items: center;
}
.descriptionColumn {
width: 100%;
max-width: $formColumnWidth;
padding: 0;
margin-bottom: 10px;
}
.formColumn {
min-width: 0;
width: auto;
max-width: $formColumnWidth;
}
2020-05-24 04:38:24 +05:30
.indexDescription {
text-align: center;
}
.uuid {
font-size: 13px;
}
}
@media (max-width: 424px) {
2020-05-24 04:38:24 +05:30
.paramRow {
flex-wrap: wrap;
}
.paramName {
width: 100%;
margin-bottom: 3px;
}
.paramValue {
flex-grow: 0;
font-size: 16px;
}
.paramEditIcon {
2021-03-26 08:49:04 +05:30
margin-inline-start: 5px;
2020-05-24 04:38:24 +05:30
vertical-align: top;
}
.paramMessage {
padding: 3px 0 0;
}
.uuid {
font-size: 14px;
}
}