HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (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/html/wpamazingsecret/wp-content/themes/porto/scss/theme/shortcodes/_image_comparison.scss
.porto-image-comparison {
	overflow: hidden;
	position: relative;
	z-index: 0;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	img {
		position: absolute;
		top: 0;
		width: 100%;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	.porto-compare-icon {
		width: 1em;
		position: relative;
		&:before, &:after {
			content: '';
			border: 6px inset transparent;
			position: absolute;
			width: 0;
			height: 0;
			top: 50%;
			margin-top: -6px;
		}
		&:before {
			border-right: 6px solid;
			border-left: none;
			left: -.05em;
		}
		&:after {
			border-left: 6px solid;
			border-right: none;
			right: -.05em;
		}
	}
}

.porto-image-comparison-vertical .porto-compare-icon {
	transform: rotate(90deg);
}

.porto-image-comparison-before {
	z-index: 16
}

.porto-image-comparison-after {
	z-index: 8
}

.porto-image-comparison-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: calc( -0.5 * var(--porto-handle-sz) );
	margin-left: calc( -0.5 * var(--porto-handle-sz) );
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: move;
	width: var(--porto-handle-sz);
	height: var(--porto-handle-sz);
	z-index: 25;
	color: #fff;
	border: var(--porto-handle-bar) solid;
	border-radius: 50%;
	font-size: 1.25rem;
	--porto-handle-sz: 3rem;
	--porto-handle-bar: 3px;

	.elementor-editor-active & {
		pointer-events: none;
	}

	&, &:before, &:after {
		box-shadow: 0 0 5px rgba(0, 0, 0, .08);
	}

	&:before, &:after {
		content: '';
		position: absolute;
		height: 100vh;
		left: 50%;
		margin-left: calc( -0.5 * var(--porto-handle-bar) );
		border-left: var(--porto-handle-bar) solid;
		bottom: 50%;
		margin-bottom: calc( 0.5 * var(--porto-handle-sz) );

		.porto-image-comparison-vertical & {
			border-left: none;
			border-top: var(--porto-handle-bar) solid;
			width: 100vw;
			height: auto;
			right: 50%;
			top: 50%;
			left: auto;
			margin: calc( -0.5 * var(--porto-handle-bar) ) calc( 0.5 * var(--porto-handle-sz) ) 0 0;
		}
	}
	&:after {
		bottom: auto;
		top: 50%;
		margin: calc( 0.5 * var(--porto-handle-sz) ) 0 0 calc( -0.5 * var(--porto-handle-bar) );

		.porto-image-comparison-vertical & {
			left: 50%;
			margin: calc( -0.5 * var(--porto-handle-bar) ) 0 0 calc( 0.5 * var(--porto-handle-sz) );
		}
	}
}

.porto-image-comparison-overlay {
	position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
	transition-property: background;
    background: rgba(0, 0, 0, 0);
    z-index: 25;
	transition-duration: .5s;
	&:hover {
		background: rgba(0, 0, 0, 0.5);
	}
}