File manager - Edit - /var/www/html/portalHomolog/public/pmar/css/defaultBar.css
Back
/* BARRA PADRÃO PMAR */ .defaultBar { min-height: 44px; background-color: var(--defaultBar-background); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18); } .defaultBarLogo img { height: 1.75rem; } .defaultBar-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; color: #ffffff; gap: 12px; padding: 8px 0; width: 100%; flex-wrap: nowrap; } .defaultBar-left { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; } .defaultBar-row .defaultBar-icons { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-wrap: nowrap; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 2px; margin-left: auto; flex: 1 1 auto; justify-content: flex-end; } .defaultBar-row .defaultBar-icons::-webkit-scrollbar { display: none; } .defaultBar-row a, .defaultBar-row a:active, .defaultBar-row a:visited, .defaultBar-row a:hover { color: #ffffff !important; font-weight: 700; text-decoration: none; transition: all 0.2s ease-in-out; } .defaultBar-link { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); letter-spacing: 0.01em; line-height: 1; } .defaultBar-weather { max-width: 320px; white-space: nowrap; } /* Borda: topo/direita/baixo = mesma cor dos demais itens da defaultBar; esquerda = cor dinâmica (nível de ação) */ .defaultBar-weather.border-start { border-left-width: 10px !important; border-top: 1px solid rgba(255, 255, 255, 0.18) !important; border-right: 1px solid rgba(255, 255, 255, 0.18) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important; } .defaultBar-weather-icon { display: inline-flex; align-items: center; justify-content: center; } .defaultBar-weather-icon img { width: 32px; height: 32px; object-fit: contain; } .defaultBar-weather-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; } .defaultBar-weather-title { font-size: 0.8rem; font-weight: 700; } .defaultBar-weather-meta { font-size: 0.7rem; opacity: 0.9; display: flex; gap: 6px; align-items: center; } .defaultBar-weather-temp { opacity: 0.9; } .defaultBar-link:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.26); } .defaultBar-link:active { transform: translateY(1px); } .defaultBar-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #ffffff; } .defaultBar-icon:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.26); } .defaultBar-icon:active { transform: translateY(1px); } .defaultBar-user { display: flex; align-items: center; } .defaultBar-user-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #ffffff; padding: 0 12px 0 0; border-radius: 999px; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; min-width: 0; max-width: 320px; flex-shrink: 0; } .defaultBar-user-btn:hover, .defaultBar-user-btn:focus-visible { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.26); outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22); } .defaultBar-user-inline { font-weight: 700; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .defaultBar-user-caret { font-size: 0.8rem; opacity: 0.8; } .defaultBar-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.18); color: #0b2a4a; font-weight: 800; letter-spacing: 0.02em; } .defaultBar-avatar img { width: 100%; height: 100%; object-fit: cover; } .defaultBar-avatar-initials { font-size: 0.9rem; text-transform: uppercase; } .defaultBar-avatar-lg { width: 60px; height: 60px; font-size: 1.1rem; } .defaultBar-avatar-xl { width: 110px; height: 110px; font-size: 1.5rem; } .defaultBar-user-modal { pointer-events: none; } .defaultBar-user-modal .modal-backdrop { display: none !important; } .defaultBar-user-modal .modal-dialog { margin: 0; position: fixed; top: 100px; left: 40px; max-width: 320px; pointer-events: auto; } .defaultBar-user-modal.show .modal-dialog { transform: none; } .defaultBar-user-modal .modal-content { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); color: #0f273f; } .defaultBar-user-modal .modal-body { padding: 18px; } .defaultBar-user-modal .btn-close { opacity: 0.6; margin-top: -4px; } .defaultBar-user-modal .btn-close:hover { opacity: 1; } .defaultBar-modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .defaultBar-modal-header-user { flex-direction: column; align-items: center; text-align: center; gap: 12px; } .defaultBar-modal-user { min-width: 0; } .defaultBar-modal-greeting { margin: 0; font-size: 0.85rem; opacity: 0.85; color: #0f273f; } .defaultBar-modal-name { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.2; color: #0f273f; } .defaultBar-modal-email { margin: 2px 0 0; font-size: 0.82rem; opacity: 0.8; word-break: break-word; color: #0f273f; } .defaultBar-modal-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; } .defaultBar-modal-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f6f8fb; border: 1px solid rgba(15, 39, 63, 0.08); border-radius: 12px; color: #0f273f; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease; } .defaultBar-modal-link i { color: inherit; } .defaultBar-modal-link:hover, .defaultBar-modal-link:focus-visible { background: #e9f1ff; border-color: rgba(12, 98, 184, 0.25); transform: translateY(-1px); } .defaultBar-modal-link-icon { margin-left: auto; opacity: 0.8; font-size: 0.85rem; color: inherit; } .defaultBar-modal-link-danger { background: #fff4f4; border-color: rgba(220, 53, 69, 0.3); color: #8b1e2b; } .defaultBar-modal-link-danger:hover, .defaultBar-modal-link-danger:focus-visible { background: #ffe4e4; border-color: rgba(220, 53, 69, 0.45); } .defaultBar-modal-divider { width: 100%; height: 1px; background: rgba(15, 39, 63, 0.08); margin: 4px 0; } .defaultBar-label-short { display: none; } .defaultBar-row a:focus-visible, .dark-mode-toggle:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; border-radius: 6px; } /* ======================================== BOTÃO DE MODO NOTURNO (LUA/SOL) Acessibilidade - Alternância de tema ======================================== */ .dark-mode-toggle { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease; } .dark-mode-toggle:hover { opacity: 1; } /* Ícone do sol (modo claro) - visível por padrão */ .dark-mode-toggle .dark-mode-icon-sun { display: inline-block; } /* Ícone da lua (modo escuro) - oculto por padrão */ .dark-mode-toggle .dark-mode-icon-moon { display: none; } /* Quando modo noturno está ativo */ [data-theme="dark"] .dark-mode-toggle .dark-mode-icon-sun { display: none; } [data-theme="dark"] .dark-mode-toggle .dark-mode-icon-moon { display: inline-block; } .defaultBar-zoom { position: relative; flex-shrink: 0; } .defaultBar-zoom .dropdown-toggle::after { display: none; } .defaultBar-zoom-modal { pointer-events: none; } .defaultBar-zoom-modal .modal-backdrop { display: none !important; } body:has(.defaultBar-zoom-modal.show), body:has(.defaultBar-user-modal.show) { overflow: visible !important; padding-right: 0 !important; } /* Previne mudanças visuais na barra de rolagem */ body.modal-open { padding-right: 0 !important; } .defaultBar-zoom-modal .modal-dialog { margin: 0; position: fixed; top: 100px; right: 40px; max-width: 320px; pointer-events: auto; } .defaultBar-zoom-modal.show .modal-dialog { transform: none; } .defaultBar-zoom-modal .modal-content { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); color: #0f273f; } .defaultBar-zoom-modal .modal-body { padding: 16px; } .defaultBar-zoom-modal .defaultBar-modal-header { margin-bottom: 10px; } .defaultBar-zoom-modal .btn-close { opacity: 0.6; margin-top: -4px; } .defaultBar-zoom-modal .btn-close:hover { opacity: 1; } .modal-backdrop { position: fixed; inset: 0; width: 100vw; height: 100vh; } .modal-backdrop.show { opacity: 0.5; } .modal-open { overflow: hidden; } @media (max-width: 576px) { .defaultBar-row { gap: 8px; padding: 8px 4px; justify-content: space-between; } .defaultBar-row .defaultBar-icons { gap: 10px; margin-left: auto; flex-wrap: nowrap; overflow-x: auto; padding-left: 2px; padding-right: 2px; } .defaultBar-user-btn { padding: 0 10px 0 0; gap: 8px; min-width: 0; max-width: 260px; height: 38px; } .defaultBar-link { padding: 0 12px; font-size: 0.95rem; height: 38px; } .defaultBar-icon { width: 38px; height: 38px; } .defaultBar-label-full { display: none; } .defaultBar-label-short { display: inline; } .defaultBar-modal-name { font-size: 1rem; } .defaultBar-avatar { width: 34px; height: 34px; } .defaultBar-user-inline { max-width: 150px; font-size: 0.95rem; } } @media (max-width: 420px) { .defaultBar-row { gap: 6px; } .defaultBar-user-btn { padding: 0 8px 0 0; gap: 6px; height: 36px; } .defaultBar-link { padding: 0 10px; font-size: 0.9rem; height: 36px; } .defaultBar-avatar { width: 32px; height: 32px; } .defaultBar-user-inline { max-width: 120px; } /* Mantém a foto grande também no mobile */ .defaultBar-avatar-xl { width: 100px; height: 100px; font-size: 1.35rem; } .defaultBar-zoom-modal .modal-dialog { top: 50px; right: 12px; left: 12px; max-width: calc(100% - 24px); } .defaultBar-user-modal .modal-dialog { top: 50px; left: 12px; right: 12px; max-width: calc(100% - 24px); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings