139 lines
2.3 KiB
SCSS
139 lines
2.3 KiB
SCSS
@use '../apps/red-ui/src/assets/styles/variables';
|
|
|
|
@mixin search-input {
|
|
.search-field {
|
|
width: 100%;
|
|
border: 1px solid variables.$grey-5;
|
|
border-radius: 8px;
|
|
background-color: variables.$white;
|
|
}
|
|
|
|
.search-field::placeholder {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.search-field,
|
|
.search-field::placeholder {
|
|
color: variables.$accent;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
}
|
|
}
|
|
|
|
@mixin heading-1 {
|
|
font-size: 64px;
|
|
font-weight: 300;
|
|
line-height: 87px;
|
|
}
|
|
|
|
@mixin heading-2 {
|
|
font-size: 42px;
|
|
font-weight: 300;
|
|
line-height: 57px;
|
|
}
|
|
|
|
@mixin heading-3 {
|
|
font-size: 32px;
|
|
font-weight: 300;
|
|
line-height: 43px;
|
|
}
|
|
|
|
@mixin heading-4 {
|
|
font-size: 28px;
|
|
font-weight: 300;
|
|
line-height: 36px;
|
|
}
|
|
|
|
@mixin heading-5 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
line-height: 24px;
|
|
}
|
|
|
|
@mixin lead-paragraph {
|
|
font-size: 18px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
@mixin paragraph {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
@mixin button {
|
|
color: variables.$primary;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 19px;
|
|
text-transform: uppercase;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
background-color: transparent;
|
|
color: variables.$primary;
|
|
}
|
|
}
|
|
|
|
@mixin card {
|
|
padding: 24px 40px;
|
|
border: 1px solid variables.$grey-4;
|
|
width: 100%;
|
|
margin: 0;
|
|
background-color: variables.$white;
|
|
border-radius: 4px;
|
|
|
|
h4.featured-title,
|
|
.section-toc-title {
|
|
margin: 0;
|
|
|
|
a {
|
|
color: variables.$accent;
|
|
|
|
&:hover {
|
|
color: variables.$accent;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-toc-title {
|
|
@include heading-4;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
li {
|
|
margin: 4px 0;
|
|
|
|
&:first-child {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
a {
|
|
color: variables.$primary;
|
|
@include paragraph;
|
|
|
|
&:hover {
|
|
color: variables.$primary;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
h4 span,
|
|
li::before {
|
|
display: none;
|
|
}
|
|
}
|