HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/themes/blocksy/static/sass/backend/options/switch.scss
.ct-option-switch {
	position: relative;
	width: 36px;
	height: 20px;
	padding: 2px;
	margin-inline-start: auto;
	cursor: pointer;
	border-radius: 100px;
	box-sizing: border-box;
	border: 2px solid #555d66;
	transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
				border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);

	&:before, &:after {
		position: absolute;
		content: '';
		display: block;
		transition: opacity 0.05s cubic-bezier(0.4, 0, 0.2, 1);
	}

	&:before {
		opacity: 0;
		top: 5px;
		inset-inline-start: 7px;
		width: 2px;
		height: 6px;
		background: #fff;
	}

	&:after {
		opacity: 1;
		top: 4px;
		inset-inline-end: 4px;
		width: 8px;
		height: 8px;
		border-radius: 100%;
		box-sizing: border-box;
		border: 2px solid #555d66;
		transform: scale3d(0.8, 0.8, 1);
	}

	> span {
		display: flex;
		width: 12px;
		height: 12px;
		background: #555d66;
		border-radius: inherit;
		transform: translate3d(0, 0, 0);
		transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
					transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	}

	&.ct-active {
		background: var(--ui-accent-color);
		border-color: var(--ui-accent-color);

		&:before {
			opacity: 1;
		}

		&:after {
			opacity: 0;
		}

		span {
			background: #fff;
			transform: translate3d(16px, 0, 0);
		}
	}
}