.cc-overlay {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.55);
display: none;
z-index: 9998;
}
.cc-window__modal {
background-color: transparent;
}
.cc-settings-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(680px, calc(100% - 48px));
max-height: calc(100vh - 96px);
display: none;
flex-direction: column;
overflow: hidden;
box-shadow: 0 24px 60px rgba(15, 47, 72, 0.18);
border-radius: 12px;
z-index: 9999;
}
.cc-settings-panel {
display: flex;
flex-direction: column;
height: 100%;
background-color: inherit;
}
.cc-settings-header {
padding: 28px 32px 0;
}
.cc-settings-title {
margin: 0 0 12px;
font-size: 1.65em;
font-weight: 600;
}
.cc-settings-description {
margin: 0 0 20px;
line-height: 1.6;
opacity: 0.85;
}
.cc-settings-body {
padding: 0 32px;
overflow-y: auto;
flex: 1 1 auto;
}
.cc-settings-group {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 18px 0;
border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}
.cc-settings-group:last-child {
border-bottom: none;
}
.cc-settings-group--locked .cc-settings-label {
opacity: 0.75;
}
.cc-settings-label {
font-weight: 500;
flex: 1 1 auto;
}
.cc-switch {
position: relative;
display: inline-block;
width: 52px;
height: 28px;
flex: 0 0 auto;
}
.cc-switch input {
opacity: 0;
width: 0;
height: 0;
}
.cc-switch__slider {
position: absolute;
cursor: pointer;
inset: 0;
background-color: rgba(148, 163, 184, 0.5);
transition: 0.25s ease;
border-radius: 999px;
border: 2px solid transparent;
}
.cc-switch__slider::before {
content: '';
position: absolute;
height: 20px;
width: 20px;
left: 4px;
bottom: 3px;
border-radius: 50%;
background-color: #ffffff;
box-shadow: 0 8px 20px rgba(15, 47, 72, 0.18);
transition: 0.25s ease;
}
.cc-switch input:checked + .cc-switch__slider {
background-color: #2ec885;
}
.cc-switch input:checked + .cc-switch__slider::before {
transform: translateX(24px);
}
.cc-switch input:focus + .cc-switch__slider {
box-shadow: 0 0 0 3px rgba(16, 184, 202, 0.24);
}
.cc-switch input:disabled + .cc-switch__slider {
opacity: 0.5;
cursor: not-allowed;
}
.cc-settings-footer {
padding: 24px 32px 32px;
display: flex;
justify-content: flex-end;
gap: 12px;
flex-wrap: wrap;
}
.cc-settings-footer .cc-btn {
min-width: 140px;
}
.cc-settings-footer .cc-btn.cc-deny {
background-color: transparent;
border-color: transparent;
color: inherit;
}
.cc-settings-footer .cc-btn.cc-deny:hover,
.cc-settings-footer .cc-btn.cc-deny:focus {
text-decoration: underline;
}
.cc-settings-footer .cc-btn.cc-allow {
background-color: #2ec885;
border-color: #2ec885;
color: #ffffff;
}
.cc-settings-footer .cc-btn.cc-allow:hover,
.cc-settings-footer .cc-btn.cc-allow:focus {
background-color: #1faa70;
border-color: #1faa70;
}
.cc-settings-modal .cc-settings-body::-webkit-scrollbar {
width: 8px;
}
.cc-settings-modal .cc-settings-body::-webkit-scrollbar-thumb {
background-color: rgba(100, 116, 139, 0.4);
border-radius: 8px;
}
.cc-settings-modal .cc-settings-body::-webkit-scrollbar-track {
background: transparent;
}
.cc-settings-modal.cc-theme-edgeless {
border-radius: 0;
}
#ascm-banner-root .cc-window.cc-window-button-layout-classic .cc-btn {
border-radius: 5px;
}
#ascm-banner-root .cc-window .cc-button_wrapper .cc-btn:nth-child(3) {
min-width: 100%;
flex-basis: 100%;
margin-top: 15px;
}
#ascm-banner-root .cc-window.cc-window-button-layout-block .cc-btn {
border-radius: 0;
}
#ascm-banner-root .cc-window.cc-window-button-layout-wire .cc-btn {
border-radius: 0;
background-color: transparent !important;
border-color: currentColor;
color: inherit;
}
#ascm-banner-root .cc-window.cc-window-button-layout-wire .cc-btn.cc-allow {
color: inherit;
}
.cc-body {
display: block;
}
.cc-body.cc-body-left,
.cc-body.cc-body-right,
.cc-body.cc-body-center {
display: block;
text-align: right;
}
.cc-body.cc-body-left {
text-align: left;
}
.cc-body.cc-body-center {
text-align: center;
}
.cc-revoke {
padding: 0;
}
.cc-revoke-text {
padding: 0.5em;
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
display: inline-block;
}
#ascm-banner-root .cc-window.cc-banner.cc-top.cc-top-fixed {
position: fixed;
top: 0;
left: 0;
right: 0;
margin-top: 0;
z-index: 999998;
}
@media screen and (max-width: 768px) {
.cc-settings-modal {
width: calc(100% - 24px);
max-height: calc(100vh - 64px);
border-radius: 12px;
}
.cc-settings-header {
padding: 24px 24px 0;
}
.cc-settings-body {
padding: 0 24px;
}
.cc-settings-footer {
padding: 20px 24px 24px;
}
.cc-settings-group {
flex-direction: column;
align-items: flex-start;
}
.cc-switch {
align-self: flex-end;
}
}
@media screen and (max-width: 480px) {
.cc-settings-title {
font-size: 1.35em;
}
.cc-settings-footer .cc-btn {
flex: 1 1 auto;
max-width: 100%;
}
}