HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
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/quadcode-jobs/resources/sass/components/_arrow.scss
/***************
 * Arrow 1
 ***************/
$width: 2px;

.btn-arrow {
    display: flex!important;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: var(--color-highlight);

    &:hover {
        .btn-arrow__arrow {
            & span,
            &:before,
            &:after {
                right: calc(10px / 1.414 * -1 / 2);
            }
        }
    }

    &:hover .btn-arrow__arrow {
        span {
            width: calc(10px * 1.414);
        }
    }

    &--left {
        .btn-arrow__arrow {
            transform: rotate(-180deg);
        }
    }

    &--top {
        .btn-arrow__arrow {
            transform: rotate(-90deg);
        }
    }

    &--bottom {
        opacity: 0;
        pointer-events: none;

        .btn-arrow__arrow {
            transform: rotate(90deg);
        }
    }
}

.btn-arrow__arrow {
    cursor: pointer;
    display: block;
    width: calc(10px / 1.414);
    height: calc(10px / 1.414 * 2);
    position: relative;

    & span,
    &:before,
    &:after {
        background: #fff;
        content: '';
        display: block;
        width: 10px;
        height: $width;
        position: absolute;
        top: calc(50% - (#{$width * 0.75} / 2));
    }

    &:before {
        transform: rotate(-45deg);
    }

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

    & span {
        width: 0;
    }

    & span,
    &:before,
    &:after {
        right: 0;
        transform-origin: right 50%;
    }

    &:before,
    &:after {
        transition: right 0.3s 0.05s;
    }

    & span {
        transition: width 0.3s, right 0.3s 0.05s;
    }
}