mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-11 11:18:39 +00:00
67 lines
1.3 KiB
SCSS
67 lines
1.3 KiB
SCSS
#cookie_consent_checkbox {
|
|
display: none;
|
|
|
|
&:checked #cookieConsentForm {
|
|
display: none;
|
|
}
|
|
|
|
&:not(:checked) + #cookieConsentForm {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
#cookieConsentForm {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(0, 0, 0, .5);
|
|
font-weight: 100;
|
|
|
|
input[type=radio] {
|
|
display: none;
|
|
}
|
|
|
|
#cookieConsentForm_simple label, .button, input[type=submit],
|
|
#cookieConsentForm_cutomize label, .button, input[type=submit]
|
|
{
|
|
margin: 0;
|
|
}
|
|
|
|
.secondary {
|
|
background: none;
|
|
border: 2px solid var(--button-background);
|
|
color: var(--button-background) !important;
|
|
}
|
|
|
|
.consent_element {
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
#cookieConsentForm form {
|
|
background : #fff;
|
|
border: 1px solid var(--box-border);
|
|
display: inline-block;
|
|
padding: 1rem;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#cookieConsentForm_defaultbuttons,
|
|
#cookieConsentForm_customizedbuttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 10px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
#cookieConsentForm_simple + div, #cookieConsentForm_cutomize + div {
|
|
display: none;
|
|
}
|
|
|
|
#cookieConsentForm_simple:checked + div, #cookieConsentForm_cutomize:checked + div {
|
|
display: block;
|
|
} |