HEX
Server: Apache
System: Linux www 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64
User: root (0)
PHP: 8.2.1
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
Upload Files
File: /mnt/drbd/www/edenhouse/wp-content/plugins/essential-blocks/blocks/advanced-image/src/style.scss
/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 */

.eb-advanced-image-wrapper {
	margin: 0;

	&.img-style-triangle .image-wrapper {
		clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	}

	&.img-style-rhombus .image-wrapper {
		clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	}

	&.img-style-octagon .image-wrapper {
		clip-path: polygon(30% 0%,
				70% 0%,
				100% 30%,
				100% 70%,
				70% 100%,
				30% 100%,
				0% 70%,
				0% 30%);
	}

	&.caption-style-1 {
		overflow: visible;

		&.caption-horizontal-left {
			&.caption-vertical-top figcaption {
				left: 0px;
				top: 0px;
				bottom: auto;
			}

			&.caption-vertical-middle figcaption {
				left: 0px;
				top: 50%;
				transform: translateY(-50%);
			}

			&.caption-vertical-bottom figcaption {
				left: 0px;
				bottom: 0px;
			}
		}

		&.caption-horizontal-center {
			&.caption-vertical-top figcaption {
				left: 50%;
				top: 0px;
				transform: translateX(-50%);
				bottom: auto;
			}

			&.caption-vertical-middle figcaption {
				left: 50%;
				top: 50%;
				bottom: auto !important;
				transform: translate(-50%, -50%);
			}

			&.caption-vertical-bottom figcaption {
				left: 50%;
				bottom: 0px;
				transform: translateX(-50%);
			}
		}

		&.caption-horizontal-right {
			&.caption-vertical-top figcaption {
				right: 0px;
				top: 0px;
				bottom: auto;
			}

			&.caption-vertical-middle figcaption {
				right: 0px;
				top: 50%;
				transform: translateY(-50%);
			}

			&.caption-vertical-bottom figcaption {
				right: 0px;
				bottom: 0px;
			}
		}

		figcaption {
			background: rgba(0, 0, 0, 0.8);
			bottom: 0;
			box-sizing: border-box;
			position: absolute;
			width: 100%;
			transition: max-height 0.3s ease-out;
			overflow: hidden;
		}
	}

	&.caption-style-2 {
		display: flex;
		flex-direction: column;

		&.top {
			flex-direction: column-reverse;
		}
	}

	.image-wrapper {
		overflow: hidden;
		position: relative;
		max-width: 100%;
	}

	img {
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 100%;
		height: inherit;
		margin: 0 auto !important;
	}

	figcaption {
		line-height: 1;
	}

	// Hover Effect

	/* Zoom In #2 */
	&.zoom-in {
		img {
			transform: scale(1);
		}

		.image-wrapper:hover img {
			transform: scale(1.3);
		}
	}

	&.zoom-out {
		img {
			transform: scale(1.5);
		}

		.image-wrapper:hover img {
			transform: scale(1);
		}
	}

	&.slide {
		img {
			margin-left: 30px !important;
			transform: scale(1.3);
			transition: 0.3s ease-in-out !important;
		}

		.image-wrapper:hover img {
			margin-left: 0 !important;
		}
	}

	&.blur {
		img {
			filter: blur(3px);
		}

		.image-wrapper:hover img {
			filter: blur(0);
		}
	}

	.eb-advimg-link {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 999;
	}
}

.eb-adv-img-editor-source-select {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	padding: 20px 0 30px;
	border: 1px solid #d5d5db;

	h2 {
		width: 100%;
		text-align: center;
		font-size: 16px !important;
		color: #4b4b4b !important;
		font-weight: 600 !important;
	}

	.eb-adv-img-editor-source-item {
		display: flex;
		flex-flow: column;
		align-items: center;

		.eb-adv-img-editor-source-icon {
			padding: 5px;
			background-color: #fff;
			height: 102px;
			display: flex;
			align-items: center;
			border: 1px solid #eaeaee;
			border-radius: 6px;
			box-sizing: border-box;
		}

		span {
			font-size: 12px;
			color: #aaa;
			line-height: 1.4;
			margin-top: 10px;
		}

		&:hover {
			cursor: pointer;

			.eb-adv-img-editor-source-icon {
				border-color: #bebebe;
			}

			span {
				color: #888;
			}
		}
	}
}

.wp-block-essential-blocks-advanced-image .eb-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.feature-image-placeholder {
	width: 100%;
	background: #EAEEF9;
	text-align: center;

	img {
		width: 300px;
	}
}