fix: Правки линтера

This commit is contained in:
Ilia Mashkov
2025-11-24 12:22:02 +03:00
parent d3343f1f7b
commit d3816b0952
7 changed files with 430 additions and 430 deletions

View File

@@ -1,108 +1,108 @@
.button {
display: inline-flex;
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0;
font-family: var(--font-family-main);
border: none;
background: transparent;
outline: none;
cursor: pointer;
transition: all 0.3s ease;
&:disabled {
cursor: not-allowed;
opacity: 0.5;
}
// Variants
&.round {
border-radius: 50%;
aspect-ratio: 1;
}
&.regular {
padding: 0.5em 1em;
border-radius: 1em;
}
// Sizes
&.small {
height: 40px;
font-size: 14px;
@media (width <=768px) {
height: 20px;
}
}
&.medium {
height: 50px;
font-size: 18px;
@media (width <=768px) {
height: 25px;
}
}
&.large {
height: 60px;
font-size: 24px;
@media (width <=768px) {
height: 30px;
}
}
// Color Schemes
&.primary {
$color-primary: var(--color-primary);
color: $color-primary;
border: 1px solid $color-primary;
background-color: transparent;
&:hover:not(:disabled) {
background-color: var(--color-white);
}
}
&.secondary {
$color-blue: var(--color-blue);
color: $color-blue;
background-color: var(--color-white);
box-shadow: 0 0 15px rgb($color-blue / 10%);
}
// Icon handling
.icon {
display: flex;
justify-content: center;
align-items: center;
padding: 0;
width: 100%;
height: 100%;
font-family: var(--font-family-main);
svg {
width: 40%;
height: 40%;
border: none;
background: transparent;
outline: none;
cursor: pointer;
transition: all 0.3s ease;
&:disabled {
cursor: not-allowed;
opacity: 0.5;
}
// Variants
&.round {
border-radius: 50%;
aspect-ratio: 1;
}
&.regular {
padding: 0.5em 1em;
border-radius: 1em;
}
// Sizes
&.small {
height: 40px;
font-size: 14px;
@media (width <=768px) {
height: 20px;
}
}
&.medium {
height: 50px;
font-size: 18px;
@media (width <=768px) {
height: 25px;
}
}
&.large {
height: 60px;
font-size: 24px;
@media (width <=768px) {
height: 30px;
}
}
// Color Schemes
&.primary {
$color-primary: var(--color-primary);
color: $color-primary;
border: 1px solid $color-primary;
background-color: transparent;
&:hover:not(:disabled) {
background-color: var(--color-white);
}
}
&.secondary {
$color-blue: var(--color-blue);
color: $color-blue;
background-color: var(--color-white);
box-shadow: 0 0 15px rgb($color-blue / 10%);
}
// Icon handling
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
svg {
width: 40%;
height: 40%;
object-fit: contain;
}
object-fit: contain;
}
}
}

View File

@@ -1,27 +1,27 @@
.card {
padding: 20px 0;
padding: 20px 0;
}
.title {
margin-bottom: 15px;
margin-bottom: 15px;
color: var(--color-blue);
font-weight: 400;
font-size: 25px;
line-height: 120%;
color: var(--color-blue);
font-weight: 400;
font-size: 25px;
line-height: 120%;
@media (width <=768px) {
font-size: 16px;
}
@media (width <=768px) {
font-size: 16px;
}
}
.description {
color: var(--color-text);
font-weight: 400;
font-size: 20px;
line-height: 145%;
color: var(--color-text);
font-weight: 400;
font-size: 20px;
line-height: 145%;
@media (width <=768px) {
font-size: 14px;
}
@media (width <=768px) {
font-size: 14px;
}
}