View file test.4imas.ru/assets/css/style.css

File size: 3.89Kb
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    background: linear-gradient(135deg, #f0f0f5, #e6e0f8);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #4b2fc0;
}

.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.card-ui {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
}

.card-ui:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #6f42c1, #8a2be2);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8a2be2, #6f42c1);
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #6f42c1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.03);
}

.form-control {
    border-radius: 12px;
    border: 1px solid rgba(111,66,193,0.3);
    padding: 0.6rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 8px rgba(111,66,193,0.3);
    outline: none;
}

.modal-content {
    border-radius: 15px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
}

.table-hover tbody tr:hover {
    background: rgba(111,66,193,0.08);
    transition: background 0.3s ease;
}

.table thead {
    background: rgba(111,66,193,0.15);
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.glow-hover:hover {
    box-shadow: 0 0 15px rgba(111,66,193,0.6);
}

.nav-link-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0.75rem;
    min-width: 70px;
}

.nav-link-icon i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-link-icon .nav-text {
    font-size: 0.75rem;
    line-height: 1;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.mobile-nav-item i {
    width: 24px;
    margin-right: 0.75rem;
    text-align: center;
}

.badge-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
}

.nav-item {
    position: relative;
}

@media (max-width: 768px) {
    .card-ui {
        padding: 1rem;
        border-radius: 16px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .card-ui {
        padding: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    .nav-link-icon {
        min-width: 60px;
        padding: 0.5rem 0.4rem;
    }
    .nav-link-icon .nav-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .nav-link-icon .nav-text {
        display: none;
    }
    .nav-link-icon {
        min-width: 50px;
    }
    .nav-link-icon i {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        gap: 0.5rem;
    }
}