ldc-groupe/content/themes/ldc/css/cn-inline-buttons.css
Jérémy Munsch 2f2702caed
Closes #15
2024-06-18 16:00:55 +02:00

90 lines
2.1 KiB
CSS

.cn-cookie-activate {
display: flex;
flex-direction: column;
// * Prevent weird theme override
font-size: calc(0.9rem + 0.1vw) !important;
background-color: #fff;
padding: 0.6rem 1rem;
border-radius: 1rem;
justify-content: center;
align-items: center;
border-width: 2px;
border-style: solid;
border-color: #000;
&.w-100 {
max-width: inherit !important;
}
// * Prevent weird theme override
span {
font-size: calc(0.9rem + 0.1vw) !important;
@include media(">phone") {
font-size: calc(0.9rem + 0.1vw) !important;
}
}
@include media(">phone") {
max-width: 80%;
// * Prevent weird theme override
font-size: calc(0.9rem + 0.1vw) !important;
}
@include media(">tablet") {
flex-direction: row;
max-width: 70%;
}
@include media(">desktop") {
max-width: 50%;
}
button {
// * Prevent weird theme override
font-size: 0.9rem !important;
height: fit-content;
padding: 0.8rem 0.6rem;
border-width: 0.1rem;
border-radius: 1rem;
@include media(">phone") {
// * Prevent weird theme override
font-size: calc(0.9rem + 0.1vw) !important;
}
@include media(">tablet") {
// * Prevent weird theme override
font-size: calc(0.9rem - 0.1vw) !important;
}
@include media(">desktop") {
// * Prevent weird theme override
font-size: 0.9rem !important;
}
}
> span {
margin-bottom: 0.9rem;
display: flex;
flex-direction: column;
color: #e11c1b;
font-weight: bold;
@include media(">phone") {
margin-bottom: initial;
}
> small {
color: initial;
font-weight: initial;
opacity: 0.5;
}
}
&.d-none {
display: none;
}
}
.text-center {
text-align: center !important;
}
.justify-content-center {
justify-content: center !important;
}