mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
104 lines
1.4 KiB
SCSS
104 lines
1.4 KiB
SCSS
@use "@/_styles/theme" as *;
|
|
|
|
.section
|
|
{
|
|
@include flex(column);
|
|
gap: $spacingXXXL;
|
|
|
|
@include body1;
|
|
|
|
h2
|
|
{
|
|
text-align: center;
|
|
}
|
|
|
|
.content
|
|
{
|
|
@include centerTwo;
|
|
|
|
.container
|
|
{
|
|
@include flex(column);
|
|
gap: $spacingM;
|
|
}
|
|
|
|
.contacts
|
|
{
|
|
align-items: flex-end;
|
|
text-align: right;
|
|
|
|
.links
|
|
{
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.textarea
|
|
{
|
|
min-width: 100%;
|
|
min-height: 160px;
|
|
max-width: 60vw;
|
|
resize: both;
|
|
}
|
|
|
|
.formToolbar
|
|
{
|
|
@include flex(row);
|
|
justify-content: flex-end;
|
|
|
|
@media screen and (max-width: 460px)
|
|
{
|
|
flex-flow: column;
|
|
row-gap: $spacingM;
|
|
align-items: flex-end;
|
|
|
|
.status > span
|
|
{
|
|
@include body1($fontFamilyBaseAlt);
|
|
}
|
|
}
|
|
|
|
.status
|
|
{
|
|
@include flex(row);
|
|
@include align(center, flex-end);
|
|
@include body2($fontFamilyBaseAlt);
|
|
|
|
height: 40px;
|
|
width: 0;
|
|
overflow: hidden;
|
|
|
|
> span
|
|
{
|
|
margin: $spacingS $spacingM;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
color: $colorNeutralForegroundStaticInverted;
|
|
background-color: $colorStatusDangerBackground3;
|
|
|
|
transition-property: width;
|
|
transition-duration: $durationNormal;
|
|
transition-timing-function: $curveEasyEaseMax;
|
|
|
|
&:is(.error, .success)
|
|
{
|
|
width: 100%;
|
|
}
|
|
|
|
&.success
|
|
{
|
|
background-color: $colorStatusSuccessBackground3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.disclaimer
|
|
{
|
|
text-align: right;
|
|
color: $colorNeutralForeground4;
|
|
}
|
|
}
|
|
}
|