178 lines
7.8 KiB
SCSS
178 lines
7.8 KiB
SCSS
/* ========================================================== */
|
|
/* VARIÁVEIS E GERAL */
|
|
/* ========================================================== */
|
|
:host {
|
|
--brand: #E33DCF;
|
|
--blue: #030FAA;
|
|
--text: #111214;
|
|
--muted: rgba(17, 18, 20, 0.65);
|
|
|
|
--success-bg: rgba(25, 135, 84, 0.1);
|
|
--success-text: #198754;
|
|
--warn-bg: rgba(255, 193, 7, 0.15);
|
|
--warn-text: #b58100;
|
|
--danger-bg: rgba(220, 53, 69, 0.1);
|
|
--danger-text: #dc3545;
|
|
|
|
--radius-xl: 22px;
|
|
--radius-lg: 16px;
|
|
--shadow-card: 0 22px 46px rgba(17, 18, 20, 0.10);
|
|
--glass-bg: rgba(255, 255, 255, 0.86);
|
|
--glass-border: 1px solid rgba(227, 61, 207, 0.16);
|
|
|
|
display: block;
|
|
font-family: 'Inter', sans-serif;
|
|
color: var(--text);
|
|
}
|
|
|
|
.vigencia-page {
|
|
min-height: 100vh;
|
|
padding: 0 12px;
|
|
display: flex;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow-y: auto;
|
|
|
|
/* Blobs de fundo (Estilo Mureg) */
|
|
background: radial-gradient(900px 420px at 20% 10%, rgba(227, 61, 207, 0.14), transparent 60%),
|
|
radial-gradient(820px 380px at 80% 30%, rgba(227, 61, 207, 0.08), transparent 60%),
|
|
linear-gradient(180deg, #ffffff 0%, #f5f5f7 70%);
|
|
|
|
.page-blob {
|
|
position: fixed; pointer-events: none; border-radius: 999px;
|
|
filter: blur(34px); opacity: 0.55; z-index: 0;
|
|
background: radial-gradient(circle at 30% 30%, rgba(227,61,207,0.55), rgba(227,61,207,0.06));
|
|
animation: floaty 10s ease-in-out infinite;
|
|
}
|
|
.blob-1 { width: 420px; height: 420px; top: -140px; left: -140px; }
|
|
.blob-2 { width: 520px; height: 520px; top: -220px; right: -240px; animation-duration: 12s; }
|
|
.blob-3 { width: 360px; height: 360px; bottom: -180px; left: 25%; animation-duration: 14s; }
|
|
}
|
|
|
|
@keyframes floaty {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
50% { transform: translate(18px, 10px) scale(1.03); }
|
|
100% { transform: translate(0, 0) scale(1); }
|
|
}
|
|
|
|
.container-geral-responsive {
|
|
width: 100%; max-width: 1280px; position: relative; z-index: 1; margin-top: 40px; margin-bottom: 100px;
|
|
}
|
|
|
|
.geral-card {
|
|
border-radius: var(--radius-xl); overflow: hidden; background: var(--glass-bg);
|
|
border: var(--glass-border); backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
|
|
display: flex; flex-direction: column; min-height: 80vh;
|
|
}
|
|
|
|
/* HEADER */
|
|
.geral-header {
|
|
padding: 16px 24px; border-bottom: 1px solid rgba(17, 18, 20, 0.06);
|
|
background: linear-gradient(180deg, rgba(227,61,207,0.06), rgba(255,255,255,0.2));
|
|
}
|
|
|
|
.header-row-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
|
|
|
|
.title-badge {
|
|
display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px;
|
|
border-radius: 999px; background: rgba(255, 255, 255, 0.78);
|
|
border: 1px solid rgba(227, 61, 207, 0.22); font-size: 13px; font-weight: 800;
|
|
i { color: var(--brand); }
|
|
}
|
|
|
|
.header-title { text-align: center; }
|
|
.title { font-size: 1.5rem; font-weight: 950; margin: 0; letter-spacing: -0.5px; }
|
|
.subtitle { color: var(--muted); font-weight: 700; }
|
|
|
|
/* KPIs */
|
|
.mureg-kpis {
|
|
display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
|
|
.kpi {
|
|
background: rgba(255,255,255,0.7); border: 1px solid rgba(17,18,20,0.08);
|
|
border-radius: 16px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
|
|
transition: transform 0.2s;
|
|
&:hover { transform: translateY(-2px); border-color: var(--brand); background: #fff; }
|
|
.lbl { font-size: 0.72rem; font-weight: 900; text-transform: uppercase; color: var(--muted); }
|
|
.val { font-size: 1.25rem; font-weight: 950; color: var(--text); }
|
|
.text-brand { color: var(--brand) !important; }
|
|
}
|
|
}
|
|
|
|
/* Controls */
|
|
.search-group {
|
|
border-radius: 12px; background: #fff; border: 1px solid rgba(17,18,20,0.15); display: flex; align-items: center;
|
|
&:focus-within { border-color: var(--brand); box-shadow: 0 4px 12px rgba(227, 61, 207, 0.15); }
|
|
.form-control { border: none; background: transparent; padding: 10px 0; font-size: 0.9rem; &:focus { outline: none; } }
|
|
}
|
|
|
|
.select-glass {
|
|
background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(17, 18, 20, 0.15); border-radius: 12px;
|
|
color: var(--blue); font-weight: 800;
|
|
}
|
|
|
|
/* BODY E GRUPOS */
|
|
.geral-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
|
|
.groups-container { padding: 16px; overflow-y: auto; height: 100%; }
|
|
|
|
.client-group-card {
|
|
background: #fff; border-radius: 16px; border: 1px solid rgba(17,18,20,0.08); overflow: hidden; transition: all 0.3s ease;
|
|
&:hover { border-color: var(--brand); box-shadow: 0 4px 12px rgba(227,61,207,0.1); }
|
|
&.expanded { border-color: var(--brand); box-shadow: 0 8px 24px rgba(227,61,207,0.12); }
|
|
}
|
|
|
|
.group-header {
|
|
padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
|
|
background: linear-gradient(180deg, #fff, #fdfdfd);
|
|
&:hover .group-toggle-icon { color: var(--brand); }
|
|
}
|
|
|
|
.group-title { font-weight: 800; color: var(--text); }
|
|
.group-badges { display: flex; gap: 8px; }
|
|
.badge-pill {
|
|
font-size: 0.7rem; padding: 4px 10px; border-radius: 999px; font-weight: 800; text-transform: uppercase;
|
|
&.total { background: rgba(3,15,170,0.1); color: var(--blue); }
|
|
&.danger { background: var(--danger-bg); color: var(--danger-text); }
|
|
&.ok { background: var(--success-bg); color: var(--success-text); }
|
|
}
|
|
|
|
.group-body { border-top: 1px solid rgba(17,18,20,0.06); background: #fbfbfc; animation: slideDown 0.3s; }
|
|
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
.chip-muted { font-size: 0.75rem; font-weight: 800; color: rgba(17,18,20,0.55); padding: 4px 10px; border-radius: 999px; background: rgba(17,18,20,0.04); }
|
|
|
|
/* TABELA MUREG STYLE */
|
|
.inner-table-wrap { max-height: 500px; overflow-y: auto; }
|
|
.table-modern {
|
|
width: 100%; border-collapse: separate; border-spacing: 0;
|
|
thead th {
|
|
position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
|
|
border-bottom: 2px solid rgba(227, 61, 207, 0.15); padding: 12px;
|
|
color: rgba(17, 18, 20, 0.7); font-size: 0.8rem; font-weight: 950; letter-spacing: 0.05em; text-transform: uppercase;
|
|
}
|
|
tbody tr { transition: background 0.2s; &:hover { background-color: rgba(227, 61, 207, 0.05); } }
|
|
td { padding: 12px; font-size: 0.875rem; border-bottom: 1px solid rgba(17,18,20,0.04); vertical-align: middle; }
|
|
}
|
|
|
|
.fw-black { font-weight: 950; }
|
|
.text-brand { color: var(--brand) !important; }
|
|
.text-blue { color: var(--blue) !important; }
|
|
.td-clip { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.btn-icon {
|
|
width: 32px; height: 32px; border: none; background: transparent; border-radius: 8px; color: rgba(17,18,20,0.5);
|
|
display: flex; align-items: center; justify-content: center; transition: all 0.2s;
|
|
&:hover { background: rgba(3,15,170,0.1); color: var(--blue); }
|
|
}
|
|
|
|
/* FOOTER */
|
|
.geral-footer {
|
|
padding: 14px 24px; border-top: 1px solid rgba(17, 18, 20, 0.06); display: flex; justify-content: space-between; align-items: center;
|
|
}
|
|
.pagination-modern .page-link { color: var(--blue); font-weight: 900; border-radius: 10px; border: 1px solid rgba(17,18,20,0.1); background: #fff; margin: 0 2px; }
|
|
.pagination-modern .page-item.active .page-link { background-color: var(--blue); border-color: var(--blue); color: #fff; }
|
|
|
|
/* MODAL */
|
|
.lg-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9990; backdrop-filter: blur(4px); }
|
|
.lg-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 9995; padding: 16px; }
|
|
.lg-modal-card { background: #ffffff; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); width: 600px; overflow: hidden; animation: popUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
|
|
@keyframes popUp { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } } |