/* Основные стили для приложения */ :root { --primary-color: var(--bs-primary); --primary-color-alpha: rgba(var(--bs-primary-rgb), 0.7); --hover-color: var(--bs-primary); } /* Стили для текста с белым контуром */ h1, h2, h3, h4, h5, h6, p, .display-4, .nav-link, .navbar-brand, .dropdown-item, .card-body, .modal-title, .form-label, a, span, .btn-outline-primary, .breadcrumb-item { text-shadow: 0 0 1px #fff; } /* Специальные стили для подзаголовка на главной странице */ .lead { font-size: 1.5rem; font-weight: 600; text-shadow: 0 0 3px #fff, 0 0 2px #fff, 0 0 1px #fff; letter-spacing: 0.5px; margin-bottom: 1.5rem; } /* Усиленный контур для заголовков */ h1, .display-4, h2, h3 { text-shadow: 0 0 2px #fff, 0 0 1px #fff; font-weight: 500; } body { min-height: 100vh; display: flex; flex-direction: column; } /* Стили для фонового изображения */ .bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; position: relative; } /* Прозрачность элементов с эффектом стекла */ .card, .navbar, .footer, .alert, .modal-content, .dropdown-menu, .breadcrumb { background-color: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); } .dropdown-menu { z-index: 1200 !important; } .navbar.bg-primary { background-color: rgba(var(--bs-primary-rgb), 0.3) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1100; } .card-header.bg-primary { background-color: var(--primary-color-alpha) !important; } .footer.bg-light { background-color: rgba(248, 249, 250, 0.7) !important; } .footer { margin-top: auto; } /* Стили для таблицы файлов */ .table { background-color: rgba(255, 255, 255, 0.5); } .table-hover tbody tr:hover { background-color: rgba(255, 255, 255, 0.7); } /* Стили для медиа-контента в модальном окне */ #mediaModal .modal-body { max-height: 80vh; overflow: hidden; } #imageViewer, #videoPlayer { max-height: 70vh; width: auto; max-width: 100%; object-fit: contain; } /* Стили для карточек на главной странице */ .card { transition: transform 0.3s, box-shadow 0.3s; } .card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } /* Стили для иконок */ .fa-folder, .fa-folder-open { color: #ffc107; } .fa-file { color: var(--primary-color); } /* Стили для навигации по папкам */ .breadcrumb-item + .breadcrumb-item::before { content: "/"; } /* Стили для поисковой строки */ .search-form { width: 100%; } .search-container { position: relative; display: flex; width: 100%; } .search-input { padding-right: 40px; width: 100%; height: 38px; } .search-button { position: absolute; right: 0; top: 0; background: transparent; border: none; height: 100%; width: 40px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); } .search-button:hover { color: var(--hover-color); } /* Стили для контейнера хлебных крошек */ .breadcrumb-container { background-color: rgba(255, 255, 255, 0.7); padding: 0.5rem 1rem; border-radius: 0.25rem; height: 38px; display: flex; align-items: center; } .breadcrumb { margin-bottom: 0; padding: 0; background-color: transparent !important; box-shadow: none; border: none; } /* Стили для кнопок действий */ .btn-group .btn { margin-right: 2px; } /* Стили для пустых папок */ .empty-folder { padding: 50px 0; text-align: center; } /* Адаптивные стили */ @media (max-width: 768px) { .card-header { flex-direction: column; align-items: flex-start !important; } .card-header div { margin-top: 10px; } }