| Server IP : 213.186.33.2 / Your IP : 216.73.216.39 Web Server : Apache System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : symetry ( 21728) PHP Version : 8.2.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/symetry/www/wp-content/themes/consultstreet/inc/customizer/controls/scss/modules/ |
Upload File : |
/* Control: Switch. */
.customize-control-consultstreet-toggle {
position: relative;
label {
display: flex;
flex-wrap: wrap;
.customize-control-title {
width: calc(100% - 55px);
}
.description {
order: 99;
}
}
.switch {
border: 1px solid #b4b9be;
display: inline-block;
width: 35px;
height: 12px;
border-radius: 8px;
background: #b4b9be;
vertical-align: middle;
position: relative;
top: 4px;
cursor: pointer;
user-select: none;
transition: background 350ms ease;
&::after {
content: "";
display: block;
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
top: 50%;
left: -3px;
transition:
all 350ms cubic-bezier(0, 0.95, 0.38, 0.98),
background 150ms ease;
background: #999;
border: 1px solid rgba(0, 0, 0, 0.1);
transform: translate3d(0, -50%, 0);
}
&::before {
content: "";
display: block;
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
top: 50%;
left: -3px;
transition:
all 350ms cubic-bezier(0, 0.95, 0.38, 0.98),
background 150ms ease;
background: rgba(0, 0, 0, 0.2);
transform: translate3d(0, -50%, 0) scale(0);
}
&:active::before {
transform: translate3d(0, -50%, 0) scale(3);
}
}
input:checked + .switch {
&::before {
background: rgba(0, 115, 170, 0.075);
transform: translate3d(100%, -50%, 0) scale(1);
}
&::after {
background: $c-primary;
transform: translate3d(100%, -50%, 0);
}
&:active::before {
background: rgba(0, 115, 170, 0.075);
transform: translate3d(100%, -50%, 0) scale(3);
}
}
}