159 lines
3.3 KiB
SCSS
Vendored
159 lines
3.3 KiB
SCSS
Vendored
$large-screen: 1366px;
|
|
$big-screen: 1200px;
|
|
$desktop: 1024px;
|
|
$tablet: 768px;
|
|
$mobile: 500px;
|
|
$xmobile: 320px;
|
|
|
|
@mixin min-width($width) {
|
|
@media screen and (min-width: $width), print and (min-width: $width) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
.cn-cookie-activate {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.6rem 1rem;
|
|
background-color: #fff;
|
|
border-radius: 1rem;
|
|
// * Prevent weird theme override
|
|
font-size: calc(0.9rem + 0.1vw) !important;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-color: $color-main;
|
|
|
|
@include min-width($mobile) {
|
|
max-width: 80%;
|
|
// * Prevent weird theme override
|
|
font-size: calc(0.9rem + 0.1vw) !important;
|
|
}
|
|
|
|
@include min-width($tablet) {
|
|
max-width: 70%;
|
|
flex-direction: row;
|
|
}
|
|
|
|
@include min-width($desktop) {
|
|
max-width: 50%;
|
|
}
|
|
|
|
&.d-none {
|
|
display: none !important;
|
|
}
|
|
|
|
&.d-flex-column {
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
&.w-100 {
|
|
max-width: inherit !important;
|
|
}
|
|
|
|
// * Prevent weird theme override
|
|
span {
|
|
padding: 0.3rem;
|
|
color: $color-main !important;
|
|
font-size: calc(0.9rem + 0.1vw) !important;
|
|
font-weight: 800;
|
|
text-align: center !important;
|
|
|
|
@include min-width($mobile) {
|
|
font-size: calc(0.9rem + 0.1vw) !important;
|
|
}
|
|
}
|
|
|
|
button {
|
|
height: fit-content;
|
|
padding: 0.8rem 0.6rem;
|
|
border-width: 0.1rem;
|
|
border-radius: 1rem;
|
|
border-style: solid;
|
|
font-size: 0.9rem !important;
|
|
border-color: $color-second;
|
|
color: $color-second;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
transition: all .3s;
|
|
|
|
&:hover,&:focus {
|
|
transition: all .3s;
|
|
background-color: $color-second;
|
|
color: #fff;
|
|
}
|
|
|
|
@include min-width($mobile) {
|
|
// * Prevent weird theme override
|
|
font-size: calc(0.9rem + 0.1vw) !important;
|
|
}
|
|
|
|
@include min-width($tablet) {
|
|
// * Prevent weird theme override
|
|
font-size: calc(0.9rem - 0.1vw) !important;
|
|
}
|
|
|
|
@include min-width($desktop) {
|
|
// * Prevent weird theme override
|
|
font-size: 0.9rem !important;
|
|
}
|
|
}
|
|
|
|
> span {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 0.9rem;
|
|
color: $color-main;
|
|
font-weight: bold;
|
|
|
|
@include min-width($mobile) {
|
|
margin-bottom: initial;
|
|
}
|
|
|
|
> small {
|
|
color: initial;
|
|
font-weight: initial;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-id-pattern */
|
|
#r_captcha {
|
|
display: flex;
|
|
width: inherit;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
.g-recaptcha {
|
|
margin: 1rem 0;
|
|
}
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.h-100 {
|
|
height: 100% !important;
|
|
}
|
|
|
|
// * CKEDITOR
|
|
|
|
.ck-content .video-inlaid {
|
|
display: flex !important;
|
|
justify-content: center !important;
|
|
|
|
iframe {
|
|
/** 16/9 */
|
|
width: 22rem;
|
|
height: 12.375rem;
|
|
|
|
@include min-width($mobile) {
|
|
width: 28rem;
|
|
height: 15.75rem;
|
|
}
|
|
}
|
|
}
|