HEX
Server: LiteSpeed
System: Linux php-prod-3.spaceapp.ru 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: sarli3128 (1010)
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: //home/marketing.cfbon.ru/public_html/public/adminLTE/dist/css/custom.css
.switch-wrapper {
    display: block;
    margin-bottom: 1rem;
}

.switch-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    color: #333;
}

.switch-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Стиль бегунка */
.switch-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: #E0E0E0; /* красный цвет выключен */
    border-radius: 30px;
    transition: background-color 0.3s ease;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Кругляшок внутри */
.switch-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Если чекбокс активен */
.switch-checkbox:checked + .switch-slider {
    background-color: #D32F2F; /* Темно-красный */
}

.switch-checkbox:checked + .switch-slider::before {
    transform: translateX(20px);
}

/* Текст рядом с переключателем */
.switch-text {
    font-weight: 500;
    color: #555;
}

.form-check-input-red:checked {
    background-color: #D32F2F;
    border-color: #D32F2F;
}

.form-check-input-red:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}
.product-tab-content { display: none; }
.product-tab-content.active { display: block; }