/** * request-detail.css * * Стили для страницы детального просмотра заявления. * Использует общие стили из request-list.css для единообразия. */ /* ===== Заголовок карточки ===== */ .request-detail-card .req-detail-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--bs-border-color); background: var(--bs-body-bg); } .request-detail-card .req-detail-row { display: flex; align-items: flex-start; gap: 1rem; } .request-detail-card .req-detail-icon { flex-shrink: 0; } .request-detail-card .req-detail-icon .card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bs-tertiary-bg); border-radius: 0.5rem; font-size: 1.5rem; } .request-detail-card .req-detail-content { flex: 1; min-width: 0; } .request-detail-card .req-detail-content h1 { font-size: 1.25rem; font-weight: 600; margin: 0; line-height: 1.3; } .request-detail-card .req-detail-actions { display: flex; gap: 0.5rem; flex-shrink: 0; } /* ===== Информационные блоки ===== */ .req-info-block { display: flex; padding: 0.75rem 0; border-bottom: 1px solid color-mix(in srgb, var(--bs-border-color), transparent 50%); } .req-info-block:last-child { border-bottom: none; padding-bottom: 0; } .req-info-block:first-child { padding-top: 0; } .req-info-label { flex: 0 0 140px; font-size: 0.875rem; color: var(--bs-secondary-color); font-weight: 500; } .req-info-value { flex: 1; min-width: 0; font-size: 0.9375rem; } .req-comment-text { padding: 0.75rem 1rem; background: var(--bs-tertiary-bg); border-radius: 0.375rem; line-height: 1.5; } /* ===== Секция комментариев ===== */ #comments-section { position: sticky; top: 1rem; display: flex; flex-direction: column; max-height: 80vh; overflow: visible; } #comments-section .card-header { background: var(--bs-body-bg); padding: 0.75rem 1rem; font-size: 0.9375rem; } #comments-section .card-body { flex: 1; min-height: 100px; overflow-y: auto; overflow-x: visible; } #comments-section .list-group-item { padding: 0.75rem 1rem; border-left: 0; border-right: 0; } #comments-section .list-group-item:first-child { border-top: 0; } #comments-section .card-footer { padding: 0.75rem 1rem; position: relative; z-index: 100; overflow: visible; flex-shrink: 0; border-top: 1px solid var(--bs-border-color); } #comments-section .card-footer .message-field { background: var(--bs-tertiary-bg); } #comments-section .dropdown { position: static; } #comments-section .dropdown-menu { z-index: 2000 !important; position: fixed !important; max-height: 350px; overflow-y: auto; width: auto !important; min-width: 300px; } /* ===== Адаптивность ===== */ @media (max-width: 992px) { .request-detail-card .req-detail-row { flex-wrap: wrap; } .request-detail-card .req-detail-content { flex: 1 1 calc(100% - 64px); } .request-detail-card .req-detail-actions { width: 100%; margin-top: 0.75rem; } #comments-section { position: static; } .req-info-block { flex-direction: column; gap: 0.25rem; } .req-info-label { flex: none; font-size: 0.75rem; } } @media (max-width: 576px) { .request-detail-card .req-detail-header { padding: 0.75rem 1rem; } .request-detail-card .req-detail-icon .card-icon { width: 40px; height: 40px; font-size: 1.25rem; } .request-detail-card .req-detail-content h1 { font-size: 1.1rem; } .request-detail-card .req-detail-actions { flex-direction: column; } .request-detail-card .req-detail-actions .btn { width: 100%; } }