boussole-pluss/frontend/assets/css/main.scss

209 lines
3.0 KiB
SCSS

$breakpoint: 1024px;
*,
::after,
::before {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
scroll-behavior: smooth;
overflow-x: hidden;
color: $gray_4;
font-family: $font-primary;
background: $white; // #ededf0
}
.main-content {
min-height: calc(100vh - $footer_height - $header_height);
max-width: $content_width;
margin: 0 auto;
@media only screen and (max-width: $breakpoint) {
margin: 0 $small;
}
}
a, .button-link {
color: $gray_4;
font-size: 1rem;
font-weight: 500;
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
.button-link {
border: none;
background: none;
cursor: pointer;
}
a, p, .button-link {
font-family: $font-primary;
}
ul, ol {
margin: 0;
}
h1 {
font-size: 1.75rem;
line-height: 2.125rem;
margin: $medium 0;
color: $black;
@media only screen and (max-width: $breakpoint) {
margin: $xx_small 0;
}
}
h2 {
font-weight: bold;
font-size: 2rem;
line-height: 2.75rem;
letter-spacing: -0.02em;
margin: $xx_medium 0 $x_medium 0;
@media only screen and (max-width: $breakpoint) {
margin: $xx_small;
}
}
h3 {
font-style: normal;
font-weight: bold;
font-size: 1.75rem;
line-height: 2rem;
margin: $medium 0;
}
p + p { margin-top: 1.5rem }
hr {
color: $gray_3;
margin: $xxx_small 0;
}
.form {
display: flex;
flex-direction: column;
gap: $xxx_small;
margin-block: $medium;
&__help {
margin-block: $medium $small;
}
}
.bold {
font-weight: bold;
}
.button {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
padding: $x_small $small;
color: $white;
border-radius: 100px;
border: none;
font-weight: 700;
font-size: $tertiary-font-size;
font-style: normal;
}
.button:hover {
cursor: pointer;
text-decoration: none;
}
.button-container {
display: flex;
justify-content: center;
gap: $xx_small;
margin: $x_medium 0;
.button {
flex: 1;
}
.button-back {
flex: 0;
}
}
.button.orange:hover:not(:disabled) {
background: $orange_hover;
}
.button.orange {
background: $orange;
}
.button.blue:hover:not(:disabled) {
background: $blue_hover;
}
.button.blue {
background: $blue;
}
.button.gray:hover:not(:disabled) {
background: $gray_3;
color: $gray_1;
}
.button.gray {
background: $gray_1;
color: $gray_3;
}
.button:disabled {
background: $gray_1;
color: $gray_3;
cursor: default;
}
.button-icon {
border: none;
background: none;
cursor: pointer;
padding: $xxx_small;
font-size: 1.5rem;
line-height: 24px;
border-radius: $xxx_small;
&:hover, &:active {
background: $gray_1;
}
}
input[type=text],
input[type=email],
input[type=password] {
background: $gray_1;
border: 1px solid $gray_2;
border-radius: 100px;
line-height: 50px;
padding: 0 $small;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder {
color: $gray_3;
}
.center {
display: flex;
justify-content: center;
align-items: center;
height: 70vh;
}
.text-center {
text-align: center;
}