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/number.scss
.ct-option-number {
	display: flex;
	align-items: center;
	position: relative;
	height: 30px;
	width: 100px;

	&[data-width="full"] {
		width: 100%;
	}

	&[data-position="right"] {
		margin-inline-start: auto;
	}

	input {
		--padding: 3px 30px;
		text-align: center;
	}

	> a {
		position: absolute;
		top: 1px;
		width: 30px;
		height: calc(100% - 2px);
		color: inherit;

		&:before, &:after {
			position: absolute;
			content: '';
			inset: 0;
			margin: auto;
			width: 8px;
			height: 1px;
			opacity: 0.8;
			background: currentColor;
			transition: background 0.1s linear,
						opacity 0.1s linear;
		}

		&.ct-minus {
			inset-inline-start: 1px;
			border-top-left-radius: 2px;
			border-bottom-left-radius: 2px;
			
			&:after {
				display: none;
			}
		}

		&.ct-plus {
			inset-inline-end: 1px;
			border-top-right-radius: 2px;
			border-bottom-right-radius: 2px;

			&:after {
				transform: rotate(90deg);
			}
		}

		// not disabled state
		&:not(.ct-disabled) {
			cursor: pointer;

			&:hover {
				color: #fff;
				opacity: 1;
				background: var(--ui-accent-color);
			}
		}

		&.ct-disabled {
			opacity: 0.4;
		}

		&:hover {
			~ input {
				--optionBorderColor: var(--ui-accent-color) !important;
			}
		}
	}
}