2025-09-15 16:37:29 +02:00
|
|
|
@use "../../src/styles/shadows.scss";
|
|
|
|
@use "../../src/styles/states.scss";
|
|
|
|
@use "../../src/styles/variables.scss";
|
2025-09-10 13:00:31 +02:00
|
|
|
@use "sass:color";
|
|
|
|
|
|
|
|
|
|
|
|
:host {
|
|
|
|
display: inline-block;
|
|
|
|
font-family: Barlow;
|
|
|
|
|
2025-09-10 16:02:31 +02:00
|
|
|
|
2025-09-10 13:00:31 +02:00
|
|
|
button {
|
|
|
|
background: shadows.$primary-color;
|
|
|
|
color: shadows.$neutral-white;
|
|
|
|
border-radius: shadows.$radius-main;
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.25s ease;
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:active, &:focus {
|
|
|
|
transition: all 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--Gradient, linear-gradient(77deg, #073A7C -4.23%, #1767AD 51.8%, #255B8E 87.72%));
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-size {
|
|
|
|
&-large {
|
|
|
|
padding: 17px 24px;
|
|
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-medium {
|
|
|
|
padding: 14px 18px;
|
|
|
|
border-radius: var(--radius-2, 8px);
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-small {
|
|
|
|
padding: 14px 10px;
|
|
|
|
border-radius: var(--radius-2, 8px);
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&-extrasm {
|
|
|
|
padding: 10px 10px;
|
|
|
|
border-radius: var(--radius-2, 4px);
|
|
|
|
color: var(--Colors-Blanc, #FFF);
|
|
|
|
|
|
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-primary {
|
|
|
|
background: var(--Gradient, linear-gradient(77deg, #073A7C -4.23%, #1767AD 51.8%, #255B8E 87.72%));
|
|
|
|
color: variables.$neutral-white;
|
|
|
|
border-color: color.adjust(variables.$primary-color, $lightness: - 10%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--Hover, linear-gradient(70deg, #073A7C 43.99%, #1767AD 94.38%, #255B8E 126.68%));
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
background-color: #BED7EE;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-secondary {
|
|
|
|
background-color: variables.$neutral-white;
|
|
|
|
color: variables.$neutral-white;
|
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
background-color: #BED7EE;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-ghost {
|
|
|
|
background: variables.$neutral-white;
|
|
|
|
color: #255B8E;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: variables.$neutral-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
background-color: #BED7EE;
|
|
|
|
color: #BED7EE;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-link {
|
|
|
|
background: variables.$neutral-white;
|
|
|
|
color: #255B8E;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
text-decoration: underline;
|
|
|
|
text-decoration-color: variables.$primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
background-color: #BED7EE;
|
|
|
|
color: #BED7EE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|