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/components/_icon-button.scss
.icon-button {
	position: relative;
	background-color: transparent;
	padding: 0;
	border: none;
	cursor: pointer;
	text-align: center;
	outline: none;
	min-width: $circle;
	width: $circle;
	height: $circle;

	@include inline-flex;
	@include flex-just;
	@include border-radius(50%);
	@include transition;

	> .icon {
		margin-left: 0;

		@include inline-flex;
	}

	&.-small {
		min-width: $circle-small;
		width: $circle-small;
		height: $circle-small;
	}

	&.-extra-small {
		min-width: $circle-smaller;
		width: $circle-smaller;
		height: $circle-smaller;
	}

	@include md-screen {

		&.-large {
			min-width: $circle-large;
			width: $circle-large;
			height: $circle-large;
		}
	}

	&:hover,
	&.hamburger,
	&.cart,
	&.search-global.fixed {
		background-color: $color-neutral-8;
	}

	&:hover {
		transform: $scale;
	}

	&:focus,
	&:active {
		background-color: $color-neutral-8;

		@include box-shadow(inset);
	}
}

// Animation effect

.icon-buttons-animation {

	.icon-button {

		&::before {
		    content: "";
		    position: absolute;
		    top: 0;
		    height: 100%;
		    width: 100%;
		    background: $color-red;
		    transform: scale(0);

		    @include transition;
		    @include border-radius(50%);
		}

		&:focus {
			outline: none;
			
			&::before {
				animation: $transition-duration click_animation $transition-function 1;
			}
		}
	}
}

@keyframes click_animation {

	from {
		transform: scale(1);
		opacity: .15;
	}

	to {
		transform: scale(4);
		opacity: 0;
	}
}