.wp-block-cgb-block-darklup-switch-block {
background: orangered;
border: 0.2rem solid #292929;
color: #292929;
margin: 0 auto;
max-width: 740px;
padding: 2rem; } :root {
--darklup-btn-width: 100px;
--darklup-btn-height: 40px;
--darklup-btn-icon-width: calc( calc(30 * var(--darklup-btn-width)) / 100);
--darklup-btn-icon-height: calc( calc(30 * var(--darklup-btn-width)) / 100);
}
.darklup-switch-container {
width: var(--darklup-btn-width);
height: var(--darklup-btn-height);
}
.darklup-square-switch-container {
width: calc(var(--darklup-btn-icon-width) + 20px);
height: calc(var(--darklup-btn-icon-height) + 20px);
}
.darklup-accessibility-switch-container {
width: calc( calc(225 * var(--darklup-btn-icon-width)) / 100);
height: calc( calc(400 * var(--darklup-btn-icon-width)) / 100);
}
.darklup-switch {
position: relative;
display: flex;
align-items: center;
width: var(--darklup-btn-width);
height: var(--darklup-btn-height);
}
.darklup-square-switch {
position: relative;
display: flex;
align-items: center;
width: calc(var(--darklup-btn-icon-width) + 20px);
height: calc(var(--darklup-btn-icon-height) + 20px);
}
.darklup-accessibility-switch {
position: relative;
display: flex;
align-items: center;
width: calc( calc(200 * var(--darklup-btn-icon-width)) / 100);
height: calc( calc(133 * var(--darklup-btn-icon-width)) / 100);
}
.darklup-switch input,
.darklup-square-switch input,
.darklup-accessibility-switch input {
opacity: 0;
width: 0;
height: 0;
} .darklup-switch.style1 {
background: #3700B3;
border-radius: calc( calc(150 * var(--darklup-btn-height)) / 100);
cursor: pointer;
}
.darklup-switch.style1 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 8px;
transition: left 0.4s;
}
.darklup-switch.style1 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-switch.style1 .toggle-btn svg #style-1-light {
fill: #ffffff;
}
.darklup-switch.style1 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-switch.style1 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-switch.style1 .toggle-checkbox:checked+.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 8px);
}
.darklup-switch.style1 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-switch.style1 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-switch.style2 {
background: #03DAC5;
border-radius: 60px;
height: calc( calc(35 * var(--darklup-btn-height)) / 100);
cursor: pointer;
}
.darklup-switch.style2 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 5px);
height: calc(var(--darklup-btn-icon-height) + 5px);
left: 8px;
transition: left 0.4s;
}
.darklup-switch.style2 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #3700B3;
}
.darklup-switch.style2 .toggle-btn svg {
position: absolute;
padding: 6px;
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-switch.style2 .toggle-btn svg #style-2-light {
fill: #ffffff;
}
.darklup-switch.style2 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-switch.style2 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-switch.style2 .toggle-checkbox:checked+.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 13px);
}
.darklup-switch.style2 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-switch.style2 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-switch.style3 {
background: #3700B3;
border-radius: 60px;
height: calc( calc(88 * var(--darklup-btn-height)) / 100);
cursor: pointer;
}
.darklup-switch.style3 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 10px);
height: calc(var(--darklup-btn-icon-height) + 10px);
left: -1px;
transition: left 0.4s;
}
.darklup-switch.style3 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #ffffff;
box-shadow: 0 3px 16px 0 #00000040;
}
.darklup-switch.style3 .toggle-checkbox:checked+.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 9px);
} .darklup-switch.style4 {
background: #E8E8E8;
border-radius: 60px;
height: calc( calc(80 * var(--darklup-btn-height)) / 100);
cursor: pointer;
}
.darklup-switch.style4 .toggle-btn {
position: absolute;
width: calc( calc(180 * var(--darklup-btn-icon-width)) / 100);
height: calc(var(--darklup-btn-icon-height) + 5px);
left: -1px;
transition: left 0.4s;
}
.darklup-switch.style4 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 3px 16px 0 #00000040;
overflow: hidden;
}
.darklup-switch.style4 .toggle-btn span {
position: absolute;
color: #444444;
transition: opacity 0.4s;
display: inline-block;
font-size: calc( calc(13 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style4 .toggle-btn span:nth-child(1) {
opacity: 1;
}
.darklup-switch.style4 .toggle-btn span:nth-child(1):after {
content: 'Light';
}
.darklup-switch.style4 .toggle-btn span:nth-child(2) {
opacity: 0;
}
.darklup-switch.style4 .toggle-btn span:nth-child(2):after {
content: 'Dark';
}
.darklup-switch.style4 .toggle-checkbox:checked~.toggle-btn {
left: calc( calc(46 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style4 .toggle-checkbox:checked~.toggle-btn span:nth-child(1) {
opacity: 0;
}
.darklup-switch.style4 .toggle-checkbox:checked~.toggle-btn span:nth-child(2) {
opacity: 1;
}
.darklup-switch.style4 .right-placeholder,
.darklup-switch.style4 .left-placeholder {
position: absolute;
width: calc( calc(55 * var(--darklup-btn-width)) / 100);
height: 35px;
transition: opacity 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.darklup-switch.style4 .right-placeholder {
left: calc( calc(46 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style4 .left-placeholder {
left: -1px;
}
.darklup-switch.style4 .right-placeholder span,
.darklup-switch.style4 .left-placeholder span {
position: absolute;
color: #444444;
display: inline-block;
font-size: calc( calc(13 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style4 .right-placeholder span:after {
content: 'Dark';
}
.darklup-switch.style4 .left-placeholder span:after {
content: 'Light';
} .darklup-switch.style5 {
background: #E8E8E8;
border-radius: 60px;
height: calc( calc(88 * var(--darklup-btn-height)) / 100);
cursor: pointer;
transition: background-color 0.4s;
}
html.darklup-dark-mode-enabled .darklup-switch.style5 {
background: #1B171C;
}
.darklup-switch.style5 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 10px);
height: calc(var(--darklup-btn-icon-height) + 10px);
left: -1px;
transition: left 0.4s;
}
.darklup-switch.style5 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #FFFFFF;
box-shadow: 0 3px 16px 0 #00000040;
}
.darklup-switch.style5 .toggle-btn svg {
position: absolute;
padding: calc( calc(20 * var(--darklup-btn-icon-width)) / 100);
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-switch.style5 .toggle-btn svg #style-5-light {
fill: #1B171C;
}
.darklup-switch.style5 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-switch.style5 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-switch.style5 .toggle-checkbox:checked~.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 9px);
}
.darklup-switch.style5 .toggle-checkbox:checked~.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-switch.style5 .toggle-checkbox:checked~.toggle-btn svg:nth-child(2) {
opacity: 1;
}
.darklup-switch.style5 .right-placeholder {
position: absolute;
width: calc( calc(55 * var(--darklup-btn-width)) / 100);
height: 35px;
transition: left 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.darklup-switch.style5 .right-placeholder {
left: calc( calc(40 * var(--darklup-btn-width)) / 100);
opacity: 1;
}
.darklup-switch.style5 .right-placeholder span {
position: absolute;
color: #1B171C;
display: inline-block;
font-size: calc( calc(13 * var(--darklup-btn-width)) / 100);
}
html.darklup-dark-mode-enabled .darklup-switch.style5 .right-placeholder span {
color: #ffffff;
}
.darklup-switch.style5 .right-placeholder span:after {
content: 'Dark';
}
.darklup-switch.style5 .toggle-checkbox:checked~.right-placeholder {
left: calc( calc(2 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style5 .toggle-checkbox:checked~.right-placeholder span:after {
content: 'Light';
} .darklup-switch.style6 {
background: #E8E8E8;
border-radius: 60px;
height: calc( calc(88 * var(--darklup-btn-height)) / 100);
cursor: pointer;
}
.darklup-switch.style6 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 10px);
height: calc(var(--darklup-btn-icon-height) + 10px);
left: -1px;
transition: left 0.4s;
}
.darklup-switch.style6 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #FFFFFF;
box-shadow: 0 3px 16px 0 #00000040;
}
.darklup-switch.style6 .toggle-btn svg {
position: absolute;
padding: calc( calc(20 * var(--darklup-btn-icon-width)) / 100);
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-switch.style6 .toggle-btn svg #style-6-light {
fill: #1B171C;
}
.darklup-switch.style6 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-switch.style6 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-switch.style6 .toggle-checkbox:checked~.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 9px);
}
.darklup-switch.style6 .toggle-checkbox:checked~.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-switch.style6 .toggle-checkbox:checked~.toggle-btn svg:nth-child(2) {
opacity: 1;
}
.darklup-switch.style6 .right-placeholder {
position: absolute;
width: calc( calc(55 * var(--darklup-btn-width)) / 100);
height: 35px;
transition: left 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.darklup-switch.style6 .right-placeholder {
left: calc( calc(40 * var(--darklup-btn-width)) / 100);
opacity: 1;
}
.darklup-switch.style6 .right-placeholder span {
position: absolute;
color: #1B171C;
display: inline-block;
font-size: calc( calc(13 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style6 .right-placeholder span:after {
content: 'Dark';
}
.darklup-switch.style6 .toggle-checkbox:checked~.right-placeholder {
left: calc( calc(2 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style6 .toggle-checkbox:checked~.right-placeholder span:after {
content: 'Light';
} .darklup-switch.style7 {
background: #3D00C5;
border-radius: 60px;
height: var(--darklup-btn-height);
cursor: pointer;
transition: background-color 0.4s;
border: 3px solid #3700B3;
}
html.darklup-dark-mode-enabled .darklup-switch.style7 {
background: #1B171C;
}
.darklup-switch.style7 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-height) - 4px);
height: calc(var(--darklup-btn-height) - 4px);
left: 0px;
transition: left 0.4s;
}
.darklup-switch.style7 .toggle-btn .plate {
position: absolute;
width: 100%;
height: 100%;
border-radius: 60px;
background: #FFFFFF;
box-shadow: 0 3px 16px 0 #00000040;
}
.darklup-switch.style7 .toggle-btn svg {
position: absolute;
padding: calc( calc(20 * var(--darklup-btn-icon-width)) / 100);
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-switch.style7 .toggle-btn svg #style-7-light {
fill: #F6DE3D;
}
.darklup-switch.style7 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-switch.style7 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-switch.style7 .toggle-checkbox:checked~.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-height)) - 3px);
}
.darklup-switch.style7 .toggle-checkbox:checked~.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-switch.style7 .toggle-checkbox:checked~.toggle-btn svg:nth-child(2) {
opacity: 1;
}
.darklup-switch.style7 .right-placeholder {
position: absolute;
width: calc( calc(55 * var(--darklup-btn-width)) / 100);
height: 35px;
transition: left 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.darklup-switch.style7 .right-placeholder {
left: calc( calc(40 * var(--darklup-btn-width)) / 100);
opacity: 1;
}
.darklup-switch.style7 .right-placeholder span {
position: absolute;
color: #ffffff;
display: inline-block;
font-size: calc( calc(13 * var(--darklup-btn-width)) / 100);
}
html.darklup-dark-mode-enabled .darklup-switch.style7 .right-placeholder span {
color: #ffffff;
}
.darklup-switch.style7 .right-placeholder span:after {
content: 'Dark';
}
.darklup-switch.style7 .toggle-checkbox:checked~.right-placeholder {
left: calc( calc(2 * var(--darklup-btn-width)) / 100);
}
.darklup-switch.style7 .toggle-checkbox:checked~.right-placeholder span:after {
content: 'Light';
} .darklup-square-switch.style8 {
background: #3700B3;
border-radius: var(--darklup-btn-icon-height);
cursor: pointer;
}
.darklup-square-switch.style8 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 10px;
transition: left 0.4s;
}
.darklup-square-switch.style8 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
padding: calc( calc(5 * var(--darklup-btn-icon-width)) / 100);
}
.darklup-square-switch.style8 .toggle-btn svg #style-8-light {
fill: #ffffff;
}
.darklup-square-switch.style8 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-square-switch.style8 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-square-switch.style8 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-square-switch.style8 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-square-switch.style9 {
background: #3700B3;
border-radius: 7px;
cursor: pointer;
}
.darklup-square-switch.style9 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 10px;
transition: left 0.4s;
}
.darklup-square-switch.style9 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
padding: calc( calc(5 * var(--darklup-btn-icon-width)) / 100);
}
.darklup-square-switch.style9 .toggle-btn svg #style-9-light {
fill: #ffffff;
}
.darklup-square-switch.style9 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-square-switch.style9 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-square-switch.style9 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-square-switch.style9 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-square-switch.style10 {
background: #000000;
border-radius: var(--darklup-btn-icon-height);
cursor: pointer;
}
.darklup-square-switch.style10 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 2px);
height: calc(var(--darklup-btn-icon-height) + 2px);
left: 9px;
transition: left 0.4s;
}
.darklup-square-switch.style10 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
padding: calc( calc(5 * var(--darklup-btn-icon-width)) / 100);
}
.darklup-square-switch.style10 .toggle-btn svg #style-10-light {
fill: #ffffff;
}
.darklup-square-switch.style10 .toggle-btn svg #style-10-light-stroke {
stroke: #ffffff;
}
.darklup-square-switch.style10 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-square-switch.style10 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-square-switch.style10 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-square-switch.style10 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-square-switch.style11 {
border-radius: 35px;
cursor: pointer;
}
.darklup-square-switch.style11 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 10px;
transition: left 0.4s;
}
.darklup-square-switch.style11 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-square-switch.style11 .toggle-btn svg #style-11-light {
fill: #000000;
}
.darklup-square-switch.style11 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-square-switch.style11 .toggle-btn svg:nth-child(2) {
opacity: 0;
}
.darklup-square-switch.style11 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
}
.darklup-square-switch.style11 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-accessibility-switch.style12 {
background: #ffffff;
cursor: pointer;
height: calc( calc(137 * var(--darklup-btn-height)) / 100);
margin: inherit;
}
.darklup-accessibility-switch.darkBtn {
border: 1.5px solid;
border-radius: 3px 3px 0 0;
}
.darklup-accessibility-switch.textBtn {
border: 1.5px solid;
border-top: 0px;
border-radius: 0 0 3px 3px;
}
.darklup-accessibility-switch.style12.darkBtn,
.darklup-accessibility-switch.style12.textBtn {
border-color: #3b3b3b;
}
.darklup-accessibility-switch.style12 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
transition: left 0.4s;
}
.darklup-accessibility-switch.style12 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: opacity 0.4s;
}
.darklup-accessibility-switch.style12 .toggle-btn svg #style-12-light {
fill: #3b3b3b;
}
.darklup-accessibility-switch.style12 .toggle-btn svg #style-12-light-stroke {
stroke: #3b3b3b;
}
.darklup-accessibility-switch.style12 .toggle-checkbox:checked+.toggle-btn svg #style-12-light {
fill: #3b3b3b;
}
.darklup-accessibility-switch.style12 .toggle-checkbox:checked+.toggle-btn svg #style-12-light-stroke {
stroke: #3b3b3b;
} .darklup-switch.style13 {
background: #3700B3;
border-radius: 60px;
cursor: pointer;
width: calc(var(--darklup-btn-width) - 0px);
}
.darklup-switch.style13 .left-placeholder {
position: absolute;
width: calc(var(--darklup-btn-icon-width) - 7px);
height: calc(var(--darklup-btn-icon-height) - 7px);
transition: opacity 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
left: 12px;
}
.darklup-switch.style13 .left-placeholder svg{
width: calc(var(--darklup-btn-icon-width) - 7px);
height: calc(var(--darklup-btn-icon-height) - 7px);
}
.darklup-switch.style13 .left-placeholder span::after {
content: 'Light';
}
.darklup-switch.style13 .right-placeholder {
position: absolute;
width: calc(var(--darklup-btn-icon-width) - 7px);
height: calc(var(--darklup-btn-icon-height) - 7px);
transition: opacity 0.4s;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 7px);
}
.darklup-switch.style13 .right-placeholder svg{
width: calc(var(--darklup-btn-icon-width) - 7px);
height: calc(var(--darklup-btn-icon-height) - 7px);
}
.darklup-switch.style13 .right-placeholder span::after {
content: 'Dark';
}
.darklup-switch.style13 .toggle-checkbox:checked~.toggle-btn {
left: calc(calc(var(--darklup-btn-width) - var(--darklup-btn-icon-width)) - 7px);
}
.darklup-switch.style13 .left-placeholder svg #style-13-light, .darklup-switch.style13 .right-placeholder svg #style-13-light{
fill: #ffffff;
}
.darklup-switch.style13 .toggle-btn {
position: absolute;
width: calc(var(--darklup-btn-icon-width) + 0px);
height: var(--darklup-btn-icon-height);
left: 6px;
transition: left 0.4s;
border-radius: 60px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 3px 16px 0 #00000040;
overflow: hidden;
} .darklup-square-switch.style14 {
background: #3700B3;
border-radius: var(--darklup-btn-icon-height);
cursor: pointer;
}
.darklup-square-switch.style14 .toggle-btn {
position: absolute;
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
left: 10px;
transition: left 0.4s;
}
.darklup-square-switch.style14 .toggle-btn svg {
position: absolute;
width: 100%;
height: 100%;
transition: .5s;
opacity: 0;
}
.darklup-square-switch.style14 .toggle-btn svg #style-14-light {
fill: #ffffff;
}
.darklup-square-switch.style14 .toggle-btn svg:nth-child(1) {
opacity: 1;
}
.darklup-square-switch.style14 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
transform: rotate(140deg);
}
.darklup-square-switch.style14 .toggle-checkbox:checked+.toggle-btn svg:nth-child(1) {
opacity: 0;
transform: rotate(140deg);
transition: .5s;
}
.darklup-square-switch.style14 .toggle-checkbox:checked+.toggle-btn svg:nth-child(2) {
opacity: 1;
} .darklup-switch.style15 {
background: #1a1a1a;
border-radius: var(--darklup-btn-height);
height: var(--darklup-btn-height);
cursor: pointer;
overflow: hidden;
}
.darklup-switch.style15 input {
display: none;
}
.darklup-switch.style15 .toggle-btn {
position: relative;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
cursor: pointer;
}
.darklup-switch.style15 .toggle-btn::after,
.darklup-switch.style15 .toggle-btn::before {
display: block;
position: absolute;
content: "";
height: var(--darklup-btn-icon-height);
width: var(--darklup-btn-icon-width);
border-radius: 50%;
top: 50%;
left: 6px;
transform: translateY(-50%);
transition: .9s ease;
}
.darklup-switch.style15 .toggle-btn:before {
background: #ffa41b;
}
.darklup-switch.style15 .toggle-checkbox:checked + .toggle-btn::before {
background: #fff;
left: calc(100% - calc(var(--darklup-btn-icon-width) + 10px));
}
.darklup-switch.style15 .toggle-btn::after {
background: #1A1A1A;
left: -45%;
transform: translateY(-50%);
opacity: 0;
}
.darklup-switch.style15 .toggle-checkbox:checked + .toggle-btn::after {
opacity: 1;
left: calc(var(--darklup-btn-width) - calc( calc(90 * var(--darklup-btn-icon-width)) / 100));
}
[darklup-data-tooltip] {
position: relative;
z-index: 10;
} [darklup-data-tooltip]:before,
[darklup-data-tooltip]:after {
position: absolute;
visibility: hidden;
opacity: 0;
left: 50%;
bottom: calc(100% + 5px); pointer-events: none;
transition: 0.2s;
will-change: transform;
} [darklup-data-tooltip]:before {
content: attr(darklup-data-tooltip);
padding: 10px 18px;
min-width: 50px;
max-width: 300px;
width: max-content;
width: -moz-max-content;
border-radius: 6px;
font-size: 14px;
background-color: #0a2457;
background-image: linear-gradient(30deg,
rgba(59, 72, 80, 0.44),
rgba(59, 68, 75, 0.44),
rgba(60, 82, 88, 0.44));
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
color: #fff;
text-align: center;
white-space: pre-wrap;
transform: translate(-50%, -5px) scale(0.5);
} [darklup-data-tooltip]:after {
content: '';
border-style: solid;
border-width: 5px 5px 0px 5px; border-color: #0a2457 transparent transparent transparent;
transition-duration: 0s; transform-origin: top; transform: translateX(-50%) scaleY(0);
} [darklup-data-tooltip]:hover:before,
[darklup-data-tooltip]:hover:after {
visibility: visible;
opacity: 1;
} [darklup-data-tooltip]:hover:before {
transition-delay: 0.3s;
transform: translate(-50%, -5px) scale(1);
} [darklup-data-tooltip]:hover:after {
transition-delay: 0.5s; transition-duration: 0.2s;
transform: translateX(-50%) scaleY(1);
}  [darklup-data-tooltip-location="left"]:before,
[darklup-data-tooltip-location="left"]:after {
left: auto;
right: calc(100% + 5px);
bottom: 50%;
} [darklup-data-tooltip-location="left"]:before {
transform: translate(-5px, 50%) scale(0.5);
}
[darklup-data-tooltip-location="left"]:hover:before {
transform: translate(-5px, 50%) scale(1);
} [darklup-data-tooltip-location="left"]:after {
border-width: 5px 0px 5px 5px;
border-color: transparent transparent transparent #0a2457;
transform-origin: left;
transform: translateY(50%) scaleX(0);
}
[darklup-data-tooltip-location="left"]:hover:after {
transform: translateY(50%) scaleX(1);
} [darklup-data-tooltip-location="right"]:before,
[darklup-data-tooltip-location="right"]:after {
left: calc(100% + 5px);
bottom: 50%;
}
[darklup-data-tooltip-location="right"]:before {
transform: translate(5px, 50%) scale(0.5);
}
[darklup-data-tooltip-location="right"]:hover:before {
transform: translate(5px, 50%) scale(1);
}
[darklup-data-tooltip-location="right"]:after {
border-width: 5px 5px 5px 0px;
border-color: transparent #0a2457 transparent transparent;
transform-origin: right;
transform: translateY(50%) scaleX(0);
}
[darklup-data-tooltip-location="right"]:hover:after {
transform: translateY(50%) scaleX(1);
}