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/wpkoopkj/wp-content/themes/ohio/assets/sass/shortcodes/_video-button.scss
.video-button {

	@include flex;
	@include align-items(center);

	&-caption {
		font-family: $font-action;
		font-size: $font-size-action;
		font-weight: bold;
		margin-left: 0.75rem;
	}

	.icon-button {

		.icon {
			transform: translateX(0.15rem);
		}

		&:hover {
			transform: $scale;
		}
	}

	&:not(.-outlined) {

		.icon-button {
			background-color: $color-black;

			.icon {
				color: $color-white;
			}
		}
	}

	&:not(.-outlined):not(.-blurred) {

		.icon-button {

			&:hover {
				background-color: $color-red;
			}
		}
	}

	&.-outlined {

		.icon-button {
			border: 2px solid currentColor;

			&:hover {
				background-color: transparent;
				color: $color-red;

				.icon {
					color: currentColor;
				}
			}
		}
	}

	&.-blurred {

		.icon-button {
			background-color: $color-neutral-50;
			backdrop-filter: blur(0.15rem);
		}
	}

	&.-small {

		.video-button-caption {
			font-size: $font-size-action-small;
		}
	}

	&.-large {

		.video-button-caption {
			font-size: $font-size-action-large;
		}
	}

	&.-animation {

		.icon-button {
			position: relative;

			&::after {
				border-color: inherit;
				width: 100%;
				height: 100%;
				top: 0;
				left: 0;
				opacity: 1;
				animation-timing-function: $transition-function;
				animation-duration: 1.5s;
				animation-name: video_sc;
				animation-iteration-count: infinite;
				animation-delay: 1s;

				@include pseudo;
				@include border-radius(100%);
				@include box-shadow(false, 0px, 0px, 0px, 0px, rgba($color-black, 0.35));
			}

			@keyframes video_sc {

				0% {
					opacity: 1;

					@include box-shadow(false, 0px, 0px, 0px, 0px, rgba($color-black, 0.35));
				}

				100% {
					opacity: 0;

					@include box-shadow(false, 0px, 0px, 0px, 0.85rem, rgba($color-black, 0.35));
				}
			}

			&:hover {

				&::after {
					animation: none;
				}
			}
		}
	}

	&.-with-preview {
		position: relative;

		.video-button-holder {

			@include centered;
			@include flex;
			@include flex-direction(column);
			@include align-items(center);
		}

		.video-button-caption {
			margin: 0.75rem 0 -1.5rem 0;

			@include fadeUp-hidden;
		}

		.preview-image {
			min-width: 100%;
		}

		&:hover {

			.video-button-caption {

				@include faded;
			}
		}
	}
}

.minimal-scheme {

	.video-button {

		&-caption {
			text-transform: uppercase;
		}
	}
}