mirror of
https://origin.cursor.com/mrdevmx/panels.git
synced 2026-10-09 11:23:18 +00:00
Si un gasto se guardó sin clasificar, ahora se edita desde la lista (clic o Reclasificar) y se le asigna o cambia el concepto del presupuesto. Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>
2477 lines
55 KiB
CSS
2477 lines
55 KiB
CSS
/* Escritorio ARCTEC v2: densidad operativa y jerarquía inspirada en software de obra. */
|
|
html, body, #__nuxt {
|
|
background: #f4f6f8;
|
|
color: #172033;
|
|
font-size: 13px;
|
|
}
|
|
.shell { height: 100dvh; min-height: 640px; }
|
|
.brand {
|
|
color: #172033;
|
|
font-size: 15px;
|
|
letter-spacing: .08em;
|
|
}
|
|
.menubar {
|
|
min-height: 50px;
|
|
padding: 0 14px !important;
|
|
}
|
|
.menubar-link {
|
|
min-height: 50px;
|
|
box-sizing: border-box;
|
|
padding: 0 14px;
|
|
font-size: 12px;
|
|
}
|
|
.menubar-link.is-active {
|
|
color: #1f5fd1;
|
|
box-shadow: inset 0 -2px 0 #2f6fe4;
|
|
}
|
|
.ribbon.p-toolbar {
|
|
min-height: 82px;
|
|
padding: 6px 12px 5px !important;
|
|
}
|
|
.ribbon-group-items { gap: 4px; }
|
|
.ribbon-group-label {
|
|
letter-spacing: .02em;
|
|
text-transform: none;
|
|
font-size: 10px;
|
|
color: #748095;
|
|
}
|
|
.ribbon .p-button {
|
|
min-width: 60px;
|
|
padding: 6px 9px;
|
|
color: #334155;
|
|
}
|
|
.ribbon .p-button-icon { font-size: 17px; color: #345b91; }
|
|
.ribbon .p-button-label { font-size: 11px; font-weight: 500; }
|
|
.ribbon .p-divider-vertical { margin: 2px 6px; }
|
|
.statusbar.p-toolbar {
|
|
min-height: 30px;
|
|
background: #fff !important;
|
|
padding: 0 12px !important;
|
|
}
|
|
.desk-tabstrip {
|
|
min-height: 37px;
|
|
padding: 5px 10px 0;
|
|
background: #f7f8fa;
|
|
}
|
|
.desk-tab {
|
|
padding: 7px 14px;
|
|
font-size: 12px;
|
|
}
|
|
.desk-tab.is-active {
|
|
border-radius: 6px 6px 0 0;
|
|
color: #1f5fd1;
|
|
}
|
|
.desk-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 10px 12px 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
.desk-side-title {
|
|
min-height: 39px;
|
|
box-sizing: border-box;
|
|
padding: 11px 12px;
|
|
font-size: 12px;
|
|
}
|
|
.desk-tree { padding: 6px; font-size: 12px; }
|
|
.desk-tree .p-tree-node-content { padding: 6px 8px; }
|
|
|
|
.section-title {
|
|
color: #172033;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
.muted { color: #748095; font-size: 11px; }
|
|
.identifier,
|
|
.identifier-input {
|
|
font-family: "Cascadia Mono", "Segoe UI Mono", monospace;
|
|
letter-spacing: .02em;
|
|
text-transform: uppercase !important;
|
|
}
|
|
.person-cell,
|
|
.toolbar-title,
|
|
.data-text,
|
|
.data-text .p-inputtext,
|
|
.workspace .p-datatable-tbody > tr > td,
|
|
.desk-page .p-datatable-tbody > tr > td,
|
|
.workspace .p-inputtext:not(.identifier-input),
|
|
.desk-page .p-inputtext:not(.identifier-input) {
|
|
text-transform: none !important;
|
|
}
|
|
|
|
.p-button { font-weight: 500; }
|
|
.p-button-sm { font-size: 11px; }
|
|
.p-inputtext,
|
|
.p-select,
|
|
.p-inputnumber-input {
|
|
min-height: 34px;
|
|
font-size: 12px;
|
|
}
|
|
.p-tag {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
padding: 2px 7px;
|
|
}
|
|
.p-chip {
|
|
height: 28px;
|
|
font-size: 11px;
|
|
}
|
|
.p-toolbar {
|
|
border-color: #dfe4ea;
|
|
border-radius: 6px;
|
|
padding: 7px 9px;
|
|
}
|
|
.p-datatable {
|
|
overflow: hidden;
|
|
border: 1px solid #e1e6ed;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(23, 32, 51, .035);
|
|
font-size: 12px;
|
|
width: 100%;
|
|
}
|
|
.p-datatable .p-datatable-table {
|
|
width: 100%;
|
|
}
|
|
/* Native scrollbar always hidden — overlay rail is drawn on top and never pushes layout. */
|
|
.p-datatable.p-datatable-scrollable {
|
|
overflow: hidden;
|
|
}
|
|
.p-datatable .p-datatable-table-container,
|
|
.desk-tree,
|
|
.desk-detail-scroll {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
.p-datatable .p-datatable-table-container::-webkit-scrollbar,
|
|
.desk-tree::-webkit-scrollbar,
|
|
.desk-detail-scroll::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
display: none;
|
|
}
|
|
.overlay-scroll-host {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.overlay-scroll-host > .desk-detail-scroll,
|
|
.overlay-scroll-host > .desk-tree,
|
|
.overlay-scroll-host > .p-datatable-table-container {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.overlay-scroll-rail {
|
|
position: absolute;
|
|
z-index: 6;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity .65s ease;
|
|
}
|
|
.overlay-scroll-rail-y {
|
|
top: 8px;
|
|
right: 6px;
|
|
bottom: 8px;
|
|
width: 3px;
|
|
}
|
|
.overlay-scroll-rail-x {
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 6px;
|
|
height: 3px;
|
|
}
|
|
.overlay-scroll-host.has-overlay-scroll-both > .overlay-scroll-rail-y {
|
|
bottom: 14px;
|
|
}
|
|
.overlay-scroll-host.has-overlay-scroll-both > .overlay-scroll-rail-x {
|
|
right: 14px;
|
|
}
|
|
.overlay-scroll-thumb {
|
|
position: absolute;
|
|
border-radius: 999px;
|
|
background: rgba(164, 174, 190, .55);
|
|
pointer-events: auto;
|
|
cursor: default;
|
|
transition: background-color .2s ease;
|
|
}
|
|
.overlay-scroll-rail-y > .overlay-scroll-thumb {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: auto;
|
|
min-width: 0;
|
|
min-height: 24px;
|
|
}
|
|
.overlay-scroll-rail-x > .overlay-scroll-thumb {
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
height: auto;
|
|
min-height: 0;
|
|
min-width: 24px;
|
|
}
|
|
.overlay-scroll-thumb:hover,
|
|
.is-overlay-scroll-dragging .overlay-scroll-thumb {
|
|
background: rgba(132, 144, 164, .8);
|
|
}
|
|
.overlay-scroll-host.is-overlay-scroll-visible > .overlay-scroll-rail {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transition: opacity .65s ease;
|
|
}
|
|
/* Keep last cells clear of the rounded card edge */
|
|
.overlay-scroll-host > .p-datatable-table-container {
|
|
scroll-padding-right: 12px;
|
|
scroll-padding-bottom: 12px;
|
|
}
|
|
.overlay-scroll-host > .p-datatable-table-container .p-datatable-thead > tr > th:last-child,
|
|
.overlay-scroll-host > .p-datatable-table-container .p-datatable-tbody > tr > td:last-child {
|
|
padding-right: 14px;
|
|
}
|
|
.p-datatable-flex-scrollable > .overlay-scroll-host {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
.p-datatable-flex-scrollable > .overlay-scroll-host > .p-datatable-table-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
.padron-list > .overlay-scroll-host,
|
|
.list-page > .overlay-scroll-host,
|
|
.presupuesto-page > .overlay-scroll-host {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
.desk-detail > .overlay-scroll-host {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
.p-datatable .p-paginator {
|
|
border: none;
|
|
border-top: 1px solid #edf0f3;
|
|
background: #fff;
|
|
}
|
|
.p-datatable .p-datatable-thead > tr > th {
|
|
background: #f7f8fa;
|
|
color: #526074;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: .02em;
|
|
padding: 8px 9px;
|
|
white-space: nowrap;
|
|
}
|
|
.p-datatable .p-datatable-thead > tr:nth-child(2) > th {
|
|
background: #fbfcfd;
|
|
padding: 5px 6px;
|
|
}
|
|
.p-datatable .p-datatable-thead > tr:nth-child(2) .p-inputtext,
|
|
.p-datatable .p-datatable-thead > tr:nth-child(2) .p-select {
|
|
min-height: 30px;
|
|
width: 100%;
|
|
font-size: 11px;
|
|
}
|
|
.p-datatable .p-datatable-tbody > tr > td {
|
|
padding: 7px 9px;
|
|
border-color: #edf0f3;
|
|
}
|
|
.p-datatable .p-datatable-tbody > tr {
|
|
transition: background-color .12s ease;
|
|
}
|
|
.p-datatable .p-datatable-tbody > tr:hover { background: #f6f9ff; }
|
|
.p-datatable .p-datatable-tbody > tr.p-datatable-row-selected {
|
|
color: #172033;
|
|
background: #eaf2ff;
|
|
}
|
|
.p-paginator { min-height: 40px; padding: 4px 8px; font-size: 11px; }
|
|
|
|
.padron-page,
|
|
.list-page,
|
|
.presupuesto-page {
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
overflow: hidden;
|
|
}
|
|
.padron-overview .p-chip.chip-filter-active {
|
|
background: #e8f0fe;
|
|
color: #1f5fd1;
|
|
box-shadow: inset 0 0 0 1px #9db7ef;
|
|
cursor: pointer;
|
|
}
|
|
.padron-overview .p-chip {
|
|
cursor: pointer;
|
|
}
|
|
.desk-page:has(> .padron-page),
|
|
.desk-page:has(> .list-page),
|
|
.desk-page:has(> .presupuesto-page) {
|
|
overflow: hidden;
|
|
}
|
|
.padron-overview {
|
|
flex: none;
|
|
min-height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
.padron-overview-chips {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.padron-overview .p-chip { background: #f1f4f8; color: #405069; }
|
|
.padron-overview .table-search {
|
|
flex: none;
|
|
width: min(280px, 100%);
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Shared search: bordered shell + icon in-flow (avoids PrimeVue absolute clipping). */
|
|
.desk-search.p-iconfield,
|
|
.module-tree-panel .p-tree-filter.p-iconfield {
|
|
position: relative;
|
|
display: flex !important;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-sizing: border-box;
|
|
min-height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid #dfe5ed;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
.desk-search.p-iconfield:hover,
|
|
.module-tree-panel .p-tree-filter.p-iconfield:hover {
|
|
border-color: #c8d2df;
|
|
}
|
|
.desk-search.p-iconfield:focus-within,
|
|
.module-tree-panel .p-tree-filter.p-iconfield:focus-within {
|
|
border-color: #7aa5f4;
|
|
box-shadow: 0 0 0 3px rgba(47, 111, 228, .09);
|
|
}
|
|
.desk-search .p-inputtext,
|
|
.module-tree-panel .p-tree-filter-input.p-inputtext,
|
|
.module-tree-panel .p-tree-filter-input {
|
|
flex: 1 1 auto;
|
|
width: 100% !important;
|
|
min-width: 0;
|
|
min-height: 34px !important;
|
|
box-sizing: border-box;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
color: #273449;
|
|
font-size: 12px;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
.desk-search .p-inputtext::placeholder,
|
|
.module-tree-panel .p-tree-filter-input::placeholder {
|
|
color: #8a96a8;
|
|
}
|
|
.desk-search .p-inputicon,
|
|
.module-tree-panel .p-tree-filter .p-inputicon {
|
|
position: static !important;
|
|
inset: unset !important;
|
|
top: auto !important;
|
|
left: auto !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
margin: 0 !important;
|
|
transform: none !important;
|
|
order: -1;
|
|
flex: none;
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 14px;
|
|
height: 14px;
|
|
color: #77869a !important;
|
|
font-size: 13px !important;
|
|
line-height: 1 !important;
|
|
pointer-events: none;
|
|
}
|
|
.desk-search .p-inputicon::before,
|
|
.module-tree-panel .p-tree-filter .p-inputicon::before {
|
|
display: block;
|
|
line-height: 1;
|
|
}
|
|
.desk-search .p-inputicon svg,
|
|
.module-tree-panel .p-tree-filter .p-inputicon svg {
|
|
display: block;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.padron-list {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.padron-datatable,
|
|
.list-page > .p-datatable,
|
|
.presupuesto-page > .p-datatable {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.padron-page > .padron-list,
|
|
.list-page > .p-datatable,
|
|
.presupuesto-page > .p-datatable {
|
|
min-width: 0;
|
|
}
|
|
.p-datatable.p-datatable-flex-scrollable,
|
|
.p-datatable.p-datatable-scrollable {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.p-datatable.p-datatable-flex-scrollable .p-datatable-table-container,
|
|
.p-datatable.p-datatable-scrollable .p-datatable-table-container {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
.person-cell-copy { min-width: 0; }
|
|
.person-name {
|
|
color: #172033;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dialog-intro {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 0 2px 12px;
|
|
}
|
|
.worker-form-dialog .p-dialog-content { padding-top: 0; }
|
|
.worker-form-dialog .p-tabpanels { padding: 14px 2px 2px; }
|
|
.form-grid-compact { gap: 13px 14px; }
|
|
.form-field {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.form-field-label {
|
|
color: #526074;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
.required-mark { color: #c2414b; }
|
|
.form-field .p-component,
|
|
.form-field .p-inputtext,
|
|
.form-field .p-inputnumber { width: 100%; }
|
|
.form-field .p-toggleswitch {
|
|
width: auto;
|
|
}
|
|
.toggle-field,
|
|
.risk-option {
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
}
|
|
.risk-swatch {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 1px solid rgba(0,0,0,.15);
|
|
border-radius: 3px;
|
|
}
|
|
.import-layout,
|
|
.import-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 13px;
|
|
}
|
|
.import-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
border: 1px solid #dfe4ea;
|
|
border-radius: 6px;
|
|
}
|
|
.import-summary > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12px;
|
|
border-right: 1px solid #dfe4ea;
|
|
}
|
|
.import-summary > div:last-child { border-right: 0; }
|
|
.import-summary strong { color: #172033; font-size: 21px; }
|
|
.import-summary span { color: #748095; font-size: 10px; }
|
|
.validation-list { margin: 0; padding-left: 16px; }
|
|
|
|
.worker-detail { min-height: 100%; }
|
|
.detail-loading {
|
|
min-height: 240px;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.worker-detail-head {
|
|
display: grid;
|
|
grid-template-columns: 54px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.worker-photo {
|
|
width: 54px;
|
|
height: 62px;
|
|
display: grid;
|
|
place-items: center;
|
|
overflow: hidden;
|
|
background: #eef2f6;
|
|
border: 1px solid #dfe4ea;
|
|
border-radius: 6px;
|
|
}
|
|
.worker-photo img { width: 100%; height: 100%; object-fit: cover; }
|
|
.worker-detail-copy { min-width: 0; }
|
|
.detail-eyebrow {
|
|
color: #748095;
|
|
font-size: 9px;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.worker-detail-name {
|
|
margin-top: 2px;
|
|
color: #172033;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
.worker-mini-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
margin-top: 12px;
|
|
border: 1px solid #dfe4ea;
|
|
border-radius: 6px;
|
|
}
|
|
.worker-mini-stats > div {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 9px 7px;
|
|
border-right: 1px solid #dfe4ea;
|
|
}
|
|
.worker-mini-stats > div:last-child { border-right: 0; }
|
|
.worker-mini-stats strong { color: #172033; font-size: 12px; }
|
|
.worker-mini-stats span { color: #748095; font-size: 9px; }
|
|
.detail-tabs .p-tablist { overflow-x: auto; }
|
|
.detail-tabs .p-tab { padding: 8px 9px; font-size: 10px; }
|
|
.detail-tabs .p-tabpanels { padding: 12px 0 0; }
|
|
.profile-list { display: flex; flex-direction: column; }
|
|
.profile-list > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #edf0f3;
|
|
}
|
|
.profile-list span { color: #748095; font-size: 9px; }
|
|
.profile-list strong {
|
|
color: #273449;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.document-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.document-checklist {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-top: 10px;
|
|
}
|
|
.document-check {
|
|
display: grid;
|
|
grid-template-columns: 17px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 30px;
|
|
padding: 4px 7px;
|
|
color: #59667a;
|
|
background: #f7f8fa;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
}
|
|
.document-check.complete { color: #1d6b42; background: #eef8f2; }
|
|
.document-check small { color: #8a94a4; font-size: 8px; }
|
|
.assignment-create { display: flex; gap: 6px; }
|
|
.assignment-create .p-select { min-width: 0; }
|
|
.detail-section .p-fieldset { padding: 9px; }
|
|
.detail-section .p-fieldset-legend { font-size: 10px; }
|
|
|
|
@media (max-width: 1100px) {
|
|
.menubar-link { padding: 0 8px; }
|
|
.ribbon .p-button { min-width: 52px; }
|
|
.padron-overview .table-search { width: 100%; margin-left: 0; }
|
|
}
|
|
|
|
/* Desktop skeleton: independent pane cards with clear gaps (no parent splitter chrome). */
|
|
.shell {
|
|
--shell-gap: 8px;
|
|
--shell-border: #e1e6ed;
|
|
--shell-shadow: 0 2px 9px rgba(23, 32, 51, .055);
|
|
height: 100dvh;
|
|
min-height: 640px;
|
|
background: #f5f7fa;
|
|
}
|
|
.menubar {
|
|
z-index: 2;
|
|
min-height: 54px;
|
|
padding: 0 18px !important;
|
|
box-shadow: 0 1px 0 rgba(23, 32, 51, .025);
|
|
}
|
|
.menubar-link { min-height: 54px; }
|
|
.ribbon.p-toolbar {
|
|
width: calc(100% - 16px);
|
|
min-height: 88px;
|
|
margin: 8px 8px 10px;
|
|
box-sizing: border-box;
|
|
padding: 7px 14px 6px !important;
|
|
overflow: hidden;
|
|
border: 1px solid var(--shell-border) !important;
|
|
border-radius: 8px !important;
|
|
background: #fff !important;
|
|
box-shadow: var(--shell-shadow);
|
|
}
|
|
.desk-body {
|
|
padding: 0 6px 8px;
|
|
box-sizing: border-box;
|
|
background: #f5f7fa;
|
|
}
|
|
/* Kill PrimeVue Splitter frame: its top border was drawing through the gaps. */
|
|
.desk-split.p-splitter,
|
|
.desk-split {
|
|
overflow: visible;
|
|
gap: 0;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
color: inherit;
|
|
}
|
|
.desk-split > .p-splitter-gutter {
|
|
flex-basis: var(--shell-gap) !important;
|
|
width: var(--shell-gap) !important;
|
|
min-width: var(--shell-gap) !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
}
|
|
.desk-split > .p-splitter-gutter .p-splitter-gutter-handle {
|
|
width: 3px;
|
|
height: 48px;
|
|
border-radius: 1px;
|
|
background: #cbd3de;
|
|
opacity: 0;
|
|
transition: opacity .15s ease, background-color .15s ease;
|
|
}
|
|
.desk-split > .p-splitter-gutter:hover .p-splitter-gutter-handle,
|
|
.desk-split > .p-splitter-gutter:focus-visible .p-splitter-gutter-handle {
|
|
background: #2f6fe4;
|
|
opacity: 1;
|
|
}
|
|
.desk-pane {
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
border: 1px solid var(--shell-border);
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: var(--shell-shadow);
|
|
}
|
|
.desk-center-pane {
|
|
box-sizing: border-box;
|
|
}
|
|
.desk-main,
|
|
.desk-side {
|
|
overflow: hidden;
|
|
border-radius: inherit;
|
|
}
|
|
.desk-tabstrip {
|
|
min-height: 41px;
|
|
padding: 6px 11px 0;
|
|
}
|
|
.desk-page { padding: 10px 12px 12px; }
|
|
.desk-side-title {
|
|
min-height: 41px;
|
|
padding: 12px 14px;
|
|
}
|
|
.desk-tree { padding: 10px; }
|
|
.desk-tree .p-tree-filter-container { margin-bottom: 8px; }
|
|
.desk-tree .p-tree-node-content {
|
|
padding: 6px 8px;
|
|
border-radius: 5px;
|
|
}
|
|
.desk-detail-scroll { padding: 16px; }
|
|
|
|
.padron-page,
|
|
.list-page,
|
|
.presupuesto-page { gap: 12px; }
|
|
.padron-datatable,
|
|
.list-page > .p-datatable,
|
|
.presupuesto-page > .p-datatable {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.ribbon.p-toolbar { margin-bottom: 8px; }
|
|
.desk-body { padding: 0 4px 6px; }
|
|
.desk-split > .p-splitter-gutter { flex-basis: 6px !important; width: 6px !important; min-width: 6px !important; }
|
|
.desk-page { padding: 8px; }
|
|
}
|
|
|
|
.desk-pane { box-sizing: border-box; }
|
|
.desk-page {
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Top navigation: larger rhythm and constrained content on ultrawide screens. */
|
|
.menubar {
|
|
min-height: 64px;
|
|
padding-inline: 22px !important;
|
|
}
|
|
.brand {
|
|
min-width: 104px;
|
|
padding: 0 30px 0 2px;
|
|
font-size: 17px;
|
|
letter-spacing: .1em;
|
|
}
|
|
.menubar .p-menubar-root-list { gap: 4px; }
|
|
.menubar-link {
|
|
min-height: 64px;
|
|
padding-inline: 16px;
|
|
font-size: 13px;
|
|
}
|
|
.menubar-link > i { display: inline-flex; }
|
|
.menubar-link.is-active {
|
|
box-shadow: inset 0 -3px 0 #2f6fe4;
|
|
}
|
|
.menubar .p-menubar-end {
|
|
gap: 14px;
|
|
margin-left: auto;
|
|
}
|
|
.menubar .desk-search--topbar {
|
|
width: 260px;
|
|
margin-right: 8px;
|
|
}
|
|
.menubar .p-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
margin-left: 8px;
|
|
flex: 0 0 36px;
|
|
font-size: 12px;
|
|
background: #eaf1ff;
|
|
color: #245fc7;
|
|
}
|
|
|
|
@media (min-width: 2200px) {
|
|
.menubar {
|
|
padding-inline: calc((100vw - 1920px) / 2) !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1280px) {
|
|
.brand { padding-right: 16px; }
|
|
.menubar-link { padding-inline: 10px; }
|
|
.menubar .desk-search--topbar { width: 220px; }
|
|
}
|
|
|
|
/* Ribbon actions: same content grid as the top navigation, with stronger icons. */
|
|
.ribbon.p-toolbar {
|
|
min-height: 104px;
|
|
padding: 9px 14px 7px !important;
|
|
}
|
|
.ribbon-group { gap: 4px; }
|
|
.ribbon-group-items { gap: 6px; }
|
|
.ribbon .ribbon-action {
|
|
min-width: 68px;
|
|
min-height: 70px;
|
|
padding: 9px 11px 7px;
|
|
border-radius: 6px;
|
|
}
|
|
.ribbon .ribbon-action .p-button-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-bottom: 5px;
|
|
font-size: 22px !important;
|
|
line-height: 24px;
|
|
color: #4b6380;
|
|
}
|
|
.ribbon .ribbon-action .p-button-label {
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
.ribbon .ribbon-group-label {
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
}
|
|
.ribbon .ribbon-action--alta .p-button-icon,
|
|
.ribbon .ribbon-action--print .p-button-icon,
|
|
.ribbon .ribbon-action--padron .p-button-icon {
|
|
color: #2f6fe4;
|
|
}
|
|
.ribbon .ribbon-action--edit .p-button-icon,
|
|
.ribbon .ribbon-action--refresh .p-button-icon,
|
|
.ribbon .ribbon-action--back .p-button-icon {
|
|
color: #52729b;
|
|
}
|
|
.ribbon .ribbon-action--baja .p-button-icon {
|
|
color: #c25564;
|
|
}
|
|
.ribbon .ribbon-action--import .p-button-icon {
|
|
color: #27a85d;
|
|
}
|
|
.ribbon .ribbon-action--docs .p-button-icon,
|
|
.ribbon .ribbon-action--gen .p-button-icon {
|
|
color: #7659b5;
|
|
}
|
|
.ribbon .ribbon-action:not(:disabled):hover {
|
|
background: #f4f7fb;
|
|
}
|
|
.ribbon .p-divider-vertical {
|
|
min-height: 76px;
|
|
margin-inline: 8px;
|
|
}
|
|
|
|
@media (min-width: 2200px) {
|
|
.ribbon.p-toolbar {
|
|
padding-inline: calc((100vw - 1920px) / 2 - 8px) !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1280px) {
|
|
.ribbon .ribbon-action {
|
|
min-width: 60px;
|
|
padding-inline: 8px;
|
|
}
|
|
.ribbon .ribbon-action .p-button-icon {
|
|
font-size: 20px !important;
|
|
}
|
|
}
|
|
|
|
/* Module tree: compact catalog-style navigation matching the desktop mockup. */
|
|
.module-tree-panel { background: #fff; }
|
|
.module-tree-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding-inline: 16px;
|
|
font-size: 13px;
|
|
}
|
|
.module-tree-title-icon {
|
|
color: #53647a;
|
|
font-size: 14px;
|
|
}
|
|
.module-tree-panel .desk-tree {
|
|
padding: 10px 14px 6px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
}
|
|
.module-tree-panel .p-tree-filter {
|
|
margin: 0 0 10px;
|
|
border-bottom: 0;
|
|
}
|
|
.module-tree-panel .p-tree-root-children {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
.module-tree-panel .p-tree-node-children {
|
|
padding-left: 19px;
|
|
}
|
|
.module-tree-panel .p-tree-node-content {
|
|
min-height: 34px;
|
|
padding: 5px 6px;
|
|
gap: 2px;
|
|
border-radius: 5px;
|
|
color: #273449;
|
|
font-size: 12px;
|
|
}
|
|
.module-tree-panel .p-tree-node-content:hover {
|
|
background: #f5f7fa;
|
|
}
|
|
.module-tree-panel .p-tree-node-content.p-tree-node-selected {
|
|
background: #eaf2ff;
|
|
color: #174fba;
|
|
}
|
|
.module-tree-panel .p-tree-node-toggle-button {
|
|
width: 22px;
|
|
height: 22px;
|
|
color: #65758b;
|
|
}
|
|
.module-tree-panel .p-tree-node-toggle-icon {
|
|
width: 11px;
|
|
height: 11px;
|
|
font-size: 11px;
|
|
}
|
|
.module-tree-panel .p-tree-node-icon {
|
|
margin-right: 5px;
|
|
color: #52657c;
|
|
font-size: 13px;
|
|
}
|
|
.module-tree-panel .p-tree-node-content.p-tree-node-selected .p-tree-node-icon {
|
|
color: #2f6fe4;
|
|
}
|
|
.module-tree-panel .p-tree-node-label {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.module-tree-panel .tree-row {
|
|
min-width: 0;
|
|
min-height: 22px;
|
|
font-weight: 500;
|
|
}
|
|
.module-tree-panel .tree-row > span:first-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.module-tree-panel .tree-row .p-badge {
|
|
min-width: 24px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border: 1px solid #dfe5ed;
|
|
border-radius: 4px;
|
|
background: #f8fafc;
|
|
color: #53647a;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
line-height: 18px;
|
|
}
|
|
.module-tree-panel .p-tree-node-content.p-tree-node-selected .p-badge {
|
|
border-color: #d4e2fb;
|
|
background: #f8fbff;
|
|
color: #245fc7;
|
|
}
|
|
.desk-tree-footer {
|
|
flex: 0 0 48px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
align-items: center;
|
|
border-top: 1px solid #e5e9ef;
|
|
background: #fff;
|
|
}
|
|
.desk-tree-footer .p-button {
|
|
width: 100%;
|
|
height: 47px;
|
|
border-radius: 0;
|
|
color: #53647a;
|
|
}
|
|
.desk-tree-footer .p-button:not(:disabled):hover {
|
|
color: #2f6fe4;
|
|
background: #f6f8fb;
|
|
}
|
|
.desk-tree-footer .p-button-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Shared panel headers and record-detail presentation. */
|
|
.desk-side-title,
|
|
.desk-tabstrip {
|
|
background: #f7f8fa;
|
|
}
|
|
.desk-detail-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding-inline: 16px;
|
|
}
|
|
.desk-detail-title-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 13px;
|
|
color: #607187;
|
|
font-size: 12px;
|
|
}
|
|
.detail-empty {
|
|
min-height: 280px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
color: #65758b;
|
|
text-align: center;
|
|
}
|
|
.detail-empty-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: grid;
|
|
place-items: center;
|
|
margin-bottom: 3px;
|
|
border: 1px solid #e0e6ee;
|
|
border-radius: 8px;
|
|
background: #f7f9fc;
|
|
color: #8290a2;
|
|
font-size: 18px;
|
|
}
|
|
.detail-empty strong {
|
|
color: #354258;
|
|
font-size: 12px;
|
|
}
|
|
.detail-empty span {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.worker-record-code {
|
|
color: #1760d6;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
letter-spacing: .01em;
|
|
}
|
|
.worker-record-photo {
|
|
width: 116px;
|
|
height: 132px;
|
|
margin: 18px auto 0;
|
|
border-radius: 5px;
|
|
background: #f0f2f5;
|
|
}
|
|
.worker-record-lead {
|
|
margin-top: 14px;
|
|
text-align: center;
|
|
}
|
|
.worker-record-lead .worker-detail-name {
|
|
margin: 0 0 3px;
|
|
font-size: 14px;
|
|
line-height: 1.35;
|
|
}
|
|
.worker-record-fields {
|
|
margin-top: 12px;
|
|
}
|
|
.worker-record-fields > div {
|
|
gap: 3px;
|
|
padding: 8px 0;
|
|
border-bottom: 0;
|
|
}
|
|
.worker-record-fields span,
|
|
.worker-record-status > span {
|
|
color: #6c7a8d;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
}
|
|
.worker-record-fields strong {
|
|
color: #202b3c;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
}
|
|
.worker-record-status {
|
|
margin-top: 7px;
|
|
}
|
|
.worker-record-status .ficha-tags {
|
|
margin-top: 6px;
|
|
}
|
|
.worker-record-edit {
|
|
min-height: 36px;
|
|
margin-top: 16px;
|
|
}
|
|
.worker-imss-block {
|
|
margin-top: 14px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid #edf0f4;
|
|
}
|
|
.worker-imss-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 6px;
|
|
}
|
|
.worker-imss-title {
|
|
margin-bottom: 0;
|
|
color: #405069;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
padding-top: 6px;
|
|
}
|
|
.worker-imss-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
}
|
|
.worker-record .worker-mini-stats {
|
|
margin-top: 18px;
|
|
}
|
|
.worker-record .detail-tabs {
|
|
padding-top: 2px;
|
|
border-top: 1px solid #edf0f4;
|
|
}
|
|
|
|
/* Status bar: full desktop footer with contextual blocks and utilities. */
|
|
.statusbar.p-toolbar {
|
|
min-height: 48px;
|
|
padding-inline: 22px !important;
|
|
border-top: 1px solid #e1e6ed !important;
|
|
background: #fff !important;
|
|
box-shadow: 0 -1px 5px rgba(23, 32, 51, .035);
|
|
overflow: visible;
|
|
z-index: 20;
|
|
}
|
|
.statusbar .p-toolbar-start,
|
|
.statusbar .p-toolbar-end {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.statusbar .p-toolbar-start {
|
|
min-width: 0;
|
|
gap: 0;
|
|
}
|
|
.statusbar .p-toolbar-end {
|
|
gap: 10px;
|
|
margin-left: auto;
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
.statusbar-item {
|
|
height: 32px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-inline: 13px;
|
|
color: #59687c;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
.statusbar-item:first-child {
|
|
padding-left: 0;
|
|
}
|
|
.statusbar-item > i {
|
|
color: #53667d;
|
|
font-size: 13px;
|
|
}
|
|
.statusbar-item strong {
|
|
color: #344156;
|
|
font-weight: 500;
|
|
}
|
|
.statusbar-online {
|
|
width: 8px;
|
|
height: 8px;
|
|
flex: 0 0 8px;
|
|
border-radius: 50%;
|
|
background: #37bd68;
|
|
box-shadow: 0 0 0 2px rgba(55, 189, 104, .1);
|
|
}
|
|
.statusbar .p-divider-vertical {
|
|
min-height: 22px;
|
|
margin: 0 3px;
|
|
}
|
|
|
|
@media (min-width: 2200px) {
|
|
.statusbar.p-toolbar {
|
|
padding-inline: calc((100vw - 1920px) / 2) !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.statusbar.p-toolbar { padding-inline: 12px !important; }
|
|
.statusbar-item { padding-inline: 8px; }
|
|
}
|
|
|
|
/* Top bar refinement: brand lockup, navigation rhythm and desktop utilities. */
|
|
.brand-lockup {
|
|
min-width: 164px;
|
|
height: 64px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 0 35px 0 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #162033;
|
|
cursor: pointer;
|
|
}
|
|
.brand-mark {
|
|
width: 25px;
|
|
height: 25px;
|
|
flex: 0 0 25px;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 7px);
|
|
grid-template-rows: repeat(2, 7px);
|
|
place-content: center;
|
|
gap: 3px;
|
|
border-radius: 7px;
|
|
background: #2f6fe4;
|
|
box-shadow: 0 2px 5px rgba(47, 111, 228, .2);
|
|
}
|
|
.brand-mark span {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
}
|
|
.brand-word {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
letter-spacing: .045em;
|
|
line-height: 1;
|
|
}
|
|
.menubar .p-menubar-root-list {
|
|
gap: 5px;
|
|
margin-left: 0;
|
|
}
|
|
.menubar-link {
|
|
padding-inline: 16px;
|
|
font-size: 13px;
|
|
}
|
|
.topbar-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
}
|
|
.topbar-tools > .p-button {
|
|
width: 36px;
|
|
height: 36px;
|
|
color: #596b82;
|
|
}
|
|
.topbar-tools > .p-button .p-button-icon {
|
|
font-size: 15px;
|
|
}
|
|
.topbar-tools > .p-button:hover {
|
|
color: #2f6fe4;
|
|
background: #f1f5fb;
|
|
}
|
|
.topbar-user-trigger {
|
|
min-width: 57px;
|
|
height: 42px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
margin-left: 3px;
|
|
padding: 3px 4px 3px 7px;
|
|
border: 0;
|
|
border-radius: 22px;
|
|
background: transparent;
|
|
color: #5d6e84;
|
|
cursor: pointer;
|
|
}
|
|
.topbar-user-trigger:hover {
|
|
background: #f1f5fa;
|
|
}
|
|
.menubar .topbar-user-trigger .p-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
margin-left: 0;
|
|
}
|
|
.topbar-user-trigger > i {
|
|
margin-right: 2px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
@media (max-width: 1280px) {
|
|
.brand-lockup {
|
|
min-width: 132px;
|
|
padding-right: 18px;
|
|
}
|
|
.menubar-link {
|
|
padding-inline: 10px;
|
|
}
|
|
.topbar-tools {
|
|
gap: 4px;
|
|
}
|
|
.topbar-tools .desk-search--topbar {
|
|
width: 220px;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1050px) {
|
|
.topbar-tools .desk-search--topbar {
|
|
width: 185px;
|
|
}
|
|
}
|
|
|
|
/* ── Dark mode (alineado al login PANELS) ─────────────────────────────── */
|
|
html.dark,
|
|
html.dark body,
|
|
html.dark #__nuxt {
|
|
background: #0b1220;
|
|
color: #e2e8f0;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
html.dark .shell {
|
|
--shell-border: #243044;
|
|
--shell-shadow: 0 2px 10px rgba(0, 0, 0, .35);
|
|
background: #0b1220;
|
|
}
|
|
|
|
html.dark .brand,
|
|
html.dark .brand-word,
|
|
html.dark .section-title,
|
|
html.dark .toolbar-title,
|
|
html.dark .menubar-link {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
html.dark .menubar .p-menubar-item,
|
|
html.dark .menubar .p-menubar-item-content,
|
|
html.dark .menubar .p-menubar-item-link,
|
|
html.dark .menubar .menubar-link,
|
|
html.dark .menubar .menubar-link span {
|
|
color: #f1f5f9 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .menubar.p-menubar,
|
|
html.dark .menubar {
|
|
background: #111b2e !important;
|
|
border-bottom-color: #243044 !important;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
html.dark .menubar-link.is-active {
|
|
color: #93c5fd !important;
|
|
background: transparent !important;
|
|
box-shadow: inset 0 -3px 0 #4f86f7 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .menubar .p-menubar-item,
|
|
html.dark .menubar .p-menubar-item-content,
|
|
html.dark .menubar .p-menubar-item-link,
|
|
html.dark .menubar .p-menubar-item.p-focus > .p-menubar-item-content,
|
|
html.dark .menubar .p-menubar-item.p-menubar-item-active > .p-menubar-item-content,
|
|
html.dark .menubar .p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover {
|
|
background: transparent !important;
|
|
color: #f1f5f9 !important;
|
|
box-shadow: none !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .menubar .p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .menubar-link,
|
|
html.dark .menubar .p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .menubar-link span {
|
|
color: #bfdbfe !important;
|
|
background: rgba(47, 111, 228, 0.14) !important;
|
|
border-radius: 8px 8px 0 0;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .menubar .menubar-link {
|
|
background: transparent !important;
|
|
font-weight: 600;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .menubar .menubar-link:hover,
|
|
html.dark .menubar .menubar-link:hover span {
|
|
color: #bfdbfe !important;
|
|
}
|
|
|
|
html.dark .topbar-user-trigger {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .ribbon.p-toolbar {
|
|
background: #111b2e !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .ribbon-group-label {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html.dark .ribbon .p-button {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
html.dark .ribbon .p-button-icon {
|
|
color: #8eb4ff;
|
|
}
|
|
|
|
html.dark .ribbon .p-button:not(:disabled):hover {
|
|
background: rgba(47, 111, 228, 0.14) !important;
|
|
}
|
|
|
|
html.dark .statusbar.p-toolbar {
|
|
background: #111b2e !important;
|
|
border-top-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .statusbar-item,
|
|
html.dark .statusbar-item span {
|
|
color: #cbd5e1 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .statusbar-item > i {
|
|
color: #93c5fd !important;
|
|
}
|
|
|
|
html.dark .statusbar-item strong {
|
|
color: #f8fafc !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
html.dark .statusbar .p-divider-vertical {
|
|
border-color: #475569 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-trigger,
|
|
html.dark .desk-status-messages-trigger span,
|
|
html.dark .desk-status-messages-trigger strong {
|
|
color: #f1f5f9 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-trigger > i,
|
|
html.dark .desk-status-messages-caret {
|
|
color: #fbbf24 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-trigger:hover,
|
|
html.dark .desk-status-messages-trigger:hover span {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
html.dark .desk-body {
|
|
background: #0b1220;
|
|
}
|
|
|
|
html.dark .desk-pane {
|
|
background: #111b2e;
|
|
border-color: #243044;
|
|
}
|
|
|
|
html.dark .desk-tabstrip {
|
|
background: #0f172a;
|
|
border-bottom-color: #243044;
|
|
}
|
|
|
|
html.dark .desk-tab {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html.dark .desk-tab.is-active {
|
|
color: #8eb4ff;
|
|
background: #111b2e;
|
|
border-color: #243044;
|
|
border-bottom-color: #111b2e;
|
|
}
|
|
|
|
html.dark .desk-main,
|
|
html.dark .desk-side {
|
|
background: #111b2e;
|
|
}
|
|
|
|
html.dark .desk-side-title,
|
|
html.dark .module-tree-title {
|
|
color: #e2e8f0;
|
|
border-bottom-color: #243044;
|
|
background: #111b2e;
|
|
}
|
|
|
|
html.dark .module-tree-panel {
|
|
background: #111b2e !important;
|
|
}
|
|
|
|
html.dark .module-tree-title,
|
|
html.dark .module-tree-title-icon {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .desk-tree,
|
|
html.dark .module-tree-panel .p-tree,
|
|
html.dark .module-tree-panel .p-tree-root,
|
|
html.dark .module-tree-panel .p-tree-root-children {
|
|
background: #111b2e !important;
|
|
color: #e2e8f0 !important;
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-content {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-content:hover {
|
|
background: #1a2744 !important;
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected,
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .p-tree-node-label,
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .tree-row,
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .tree-row > span {
|
|
background: rgba(47, 111, 228, 0.28) !important;
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-icon,
|
|
html.dark .module-tree-panel .p-tree-node-toggle-button,
|
|
html.dark .module-tree-panel .p-tree-node-toggle-icon {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .p-tree-node-icon,
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .p-tree-node-toggle-button {
|
|
color: #93c5fd !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .tree-row .p-badge {
|
|
border-color: #334155 !important;
|
|
background: #0f172a !important;
|
|
color: #cbd5e1 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-node-content.p-tree-node-selected .p-badge {
|
|
border-color: rgba(147, 197, 253, 0.45) !important;
|
|
background: rgba(15, 23, 42, 0.65) !important;
|
|
color: #bfdbfe !important;
|
|
}
|
|
|
|
html.dark .desk-tree-footer {
|
|
border-top-color: #243044 !important;
|
|
background: #0f172a !important;
|
|
}
|
|
|
|
html.dark .desk-tree-footer .p-button {
|
|
color: #94a3b8 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
html.dark .desk-tree-footer .p-button:not(:disabled):hover {
|
|
color: #93c5fd !important;
|
|
background: #1a2744 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-filter.p-iconfield,
|
|
html.dark .module-tree-panel .p-tree-filter-input,
|
|
html.dark .module-tree-panel .p-tree-filter-input.p-inputtext {
|
|
background: #0f172a !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-filter-input::placeholder {
|
|
color: #64748b !important;
|
|
}
|
|
|
|
html.dark .module-tree-panel .p-tree-filter .p-inputicon {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .desk-split > .p-splitter-gutter .p-splitter-gutter-handle {
|
|
background: #475569;
|
|
}
|
|
|
|
html.dark .desk-split > .p-splitter-gutter:hover .p-splitter-gutter-handle,
|
|
html.dark .desk-split > .p-splitter-gutter:focus-visible .p-splitter-gutter-handle {
|
|
background: #4f86f7;
|
|
}
|
|
|
|
html.dark .muted {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html.dark .detail-empty {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html.dark .detail-empty-icon {
|
|
color: #475569;
|
|
}
|
|
|
|
html.dark .p-datatable {
|
|
border-color: #243044;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-thead > tr > th {
|
|
background: #152238;
|
|
color: #cbd5e1;
|
|
border-color: #243044;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr {
|
|
background: #111b2e;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr > td {
|
|
border-color: #243044;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr:hover {
|
|
background: #1a2744;
|
|
}
|
|
|
|
html.dark .p-datatable .p-paginator {
|
|
background: #111b2e !important;
|
|
border-top-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected {
|
|
color: #f8fafc !important;
|
|
background: rgba(47, 111, 228, 0.28) !important;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected > td,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .person-cell,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .person-cell-copy,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .person-name,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .data-text,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .muted,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected span,
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected div {
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr.p-datatable-row-selected .muted {
|
|
color: #cbd5e1 !important;
|
|
}
|
|
|
|
html.dark .person-name {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-tbody > tr > td {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .desk-search .p-inputtext,
|
|
html.dark .module-tree-panel .p-tree-filter.p-iconfield {
|
|
background: #0f172a;
|
|
border-color: #243044;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .menubar .desk-search--topbar {
|
|
background: #0f172a;
|
|
border-color: #243044;
|
|
}
|
|
|
|
html.dark .padron-overview .p-chip,
|
|
html.dark .p-chip {
|
|
background: #1a2744;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
html.dark .brand-lockup {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
html.dark .brand-mark {
|
|
background: #2f6fe4;
|
|
box-shadow: none;
|
|
}
|
|
|
|
html.dark .brand-mark span {
|
|
background: #fff;
|
|
}
|
|
|
|
html.dark .topbar-tools > .p-button {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html.dark .ficha,
|
|
html.dark .workspace,
|
|
html.dark .list-page,
|
|
html.dark .padron-page,
|
|
html.dark .presupuesto-page {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
/* Panel de detalle / ficha de trabajador */
|
|
html.dark .desk-detail,
|
|
html.dark .desk-detail-scroll,
|
|
html.dark .worker-detail,
|
|
html.dark .ficha-body,
|
|
html.dark .worker-record {
|
|
color: #e2e8f0 !important;
|
|
background: #111b2e !important;
|
|
}
|
|
|
|
html.dark .desk-detail-title,
|
|
html.dark .desk-detail-title-actions {
|
|
color: #f1f5f9 !important;
|
|
background: #111b2e !important;
|
|
border-bottom-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .worker-record-code {
|
|
color: #60a5fa !important;
|
|
}
|
|
|
|
html.dark .worker-detail-name,
|
|
html.dark .worker-record-lead .worker-detail-name {
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .worker-record-lead .muted,
|
|
html.dark .worker-detail .muted {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .worker-photo,
|
|
html.dark .worker-record-photo {
|
|
background: #1a2744 !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .profile-list > div {
|
|
border-bottom-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .profile-list span,
|
|
html.dark .worker-record-fields span,
|
|
html.dark .worker-record-status > span {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .profile-list strong,
|
|
html.dark .worker-record-fields strong {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .worker-imss-block {
|
|
border-top-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .worker-imss-title {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .detail-empty {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .detail-empty strong {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .detail-empty-icon {
|
|
background: #1a2744 !important;
|
|
border-color: #243044 !important;
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .detail-eyebrow {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .worker-mini-stats {
|
|
border-color: #243044 !important;
|
|
background: #0f172a !important;
|
|
}
|
|
|
|
html.dark .worker-mini-stats > div {
|
|
border-right-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .worker-mini-stats strong {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .worker-mini-stats span {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .document-check {
|
|
color: #cbd5e1 !important;
|
|
background: #1a2744 !important;
|
|
}
|
|
|
|
html.dark .document-check.complete {
|
|
color: #4ade80 !important;
|
|
background: rgba(34, 197, 94, 0.12) !important;
|
|
}
|
|
|
|
html.dark .document-check small {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .ficha-head,
|
|
html.dark .ficha-head h3,
|
|
html.dark .ficha-description {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .p-card,
|
|
html.dark .p-dialog,
|
|
html.dark .p-menu,
|
|
html.dark .p-tieredmenu,
|
|
html.dark .p-popover,
|
|
html.dark .p-datepicker,
|
|
html.dark .p-select-overlay,
|
|
html.dark .p-multiselect-overlay,
|
|
html.dark .p-autocomplete-overlay {
|
|
--p-content-background: #111b2e;
|
|
}
|
|
|
|
html.dark .import-summary,
|
|
html.dark .worker-mini-stats,
|
|
html.dark .document-check {
|
|
border-color: #243044;
|
|
background: #152238;
|
|
}
|
|
|
|
html.dark .import-summary strong,
|
|
html.dark .worker-mini-stats strong {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
html.dark .document-check.complete {
|
|
color: #4ade80;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
}
|
|
|
|
html.dark .kpi-value,
|
|
html.dark .dash-chart-label {
|
|
color: #f1f5f9;
|
|
}
|
|
html.dark .dash-kpi.clickable:hover {
|
|
outline-color: #3b82f6;
|
|
}
|
|
|
|
/* Avisos de inicio (statusbar popup) */
|
|
html.dark .desk-status-messages-inner {
|
|
border-color: #243044 !important;
|
|
background: #111b2e !important;
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-head {
|
|
border-bottom-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-head .muted {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-trigger:hover {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-caret {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message {
|
|
color: #cbd5e1 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message:hover {
|
|
background: #1a2744 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message strong {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message small {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message.is-info > i {
|
|
color: #60a5fa !important;
|
|
}
|
|
|
|
html.dark .desk-status-message.is-warn > i {
|
|
color: #fbbf24 !important;
|
|
}
|
|
|
|
html.dark .desk-status-message.is-danger > i {
|
|
color: #f87171 !important;
|
|
}
|
|
|
|
html.dark .desk-status-messages-list {
|
|
scrollbar-color: #475569 #0f172a;
|
|
}
|
|
|
|
/* Home / cards / panels / tables still light in dark mode */
|
|
html.dark .p-card,
|
|
html.dark .p-card.p-component,
|
|
html.dark .p-card .p-card-body,
|
|
html.dark .p-card .p-card-content,
|
|
html.dark .p-card .p-card-title,
|
|
html.dark .p-card .p-card-subtitle {
|
|
background: #111b2e !important;
|
|
color: #e2e8f0 !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-card {
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
html.dark .p-panel,
|
|
html.dark .p-panel .p-panel-header,
|
|
html.dark .p-panel .p-panel-content,
|
|
html.dark .p-panel .p-panel-footer {
|
|
background: #111b2e !important;
|
|
color: #e2e8f0 !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-panel .p-panel-header {
|
|
border-bottom-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-panel .p-panel-title,
|
|
html.dark .p-panel .p-panel-header .p-panel-toggle-button {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-metergroup .p-metergroup-label,
|
|
html.dark .p-metergroup .p-metergroup-label-list,
|
|
html.dark .p-metergroup .p-metergroup-label-text {
|
|
color: #cbd5e1 !important;
|
|
}
|
|
|
|
html.dark .p-metergroup .p-metergroup-meters {
|
|
background: #1a2744 !important;
|
|
}
|
|
|
|
html.dark .p-datatable,
|
|
html.dark .p-datatable .p-datatable-table-container,
|
|
html.dark .p-datatable .p-datatable-header,
|
|
html.dark .p-datatable .p-paginator,
|
|
html.dark .p-datatable-mask {
|
|
background: #111b2e !important;
|
|
color: #e2e8f0 !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-paginator,
|
|
html.dark .p-paginator .p-paginator-page,
|
|
html.dark .p-paginator .p-paginator-prev,
|
|
html.dark .p-paginator .p-paginator-next,
|
|
html.dark .p-paginator .p-paginator-first,
|
|
html.dark .p-paginator .p-paginator-last {
|
|
background: transparent !important;
|
|
color: #cbd5e1 !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .p-paginator .p-paginator-page.p-paginator-page-selected {
|
|
background: rgba(47, 111, 228, 0.22) !important;
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .p-datatable .p-datatable-emptymessage td {
|
|
background: #111b2e !important;
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .padron-overview {
|
|
background: transparent;
|
|
}
|
|
|
|
html.dark .padron-overview .table-search,
|
|
html.dark .padron-overview .table-search .p-inputtext,
|
|
html.dark .desk-search.table-search,
|
|
html.dark .desk-search.table-search .p-inputtext {
|
|
background: #0f172a !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-message,
|
|
html.dark .p-message.p-message-info {
|
|
background: rgba(47, 111, 228, 0.12) !important;
|
|
border-color: rgba(47, 111, 228, 0.28) !important;
|
|
color: #bfdbfe !important;
|
|
}
|
|
|
|
html.dark .p-button.p-button-outlined {
|
|
background: transparent !important;
|
|
border-color: #3b82f6 !important;
|
|
color: #93c5fd !important;
|
|
}
|
|
|
|
html.dark .p-button.p-button-outlined:not(:disabled):hover {
|
|
background: rgba(59, 130, 246, 0.12) !important;
|
|
}
|
|
|
|
html.dark .home-split .list-page {
|
|
background: transparent;
|
|
}
|
|
|
|
html.dark .p-inputtext,
|
|
html.dark .p-select,
|
|
html.dark .p-textarea,
|
|
html.dark .p-inputnumber-input,
|
|
html.dark .p-password-input {
|
|
background: #0f172a !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-inputtext::placeholder {
|
|
color: #64748b !important;
|
|
}
|
|
|
|
html.dark .p-datatable-header-cell,
|
|
html.dark .p-datatable .p-datatable-thead > tr > th {
|
|
background: #152238 !important;
|
|
}
|
|
|
|
/* Expediente / documentos / formularios en ficha */
|
|
html.dark .detail-section,
|
|
html.dark .detail-tabs .p-tabpanels,
|
|
html.dark .detail-tabs .p-tabpanel,
|
|
html.dark .document-list-tabs .p-tabpanels,
|
|
html.dark .document-list-tabs .p-tabpanel {
|
|
background: transparent !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .detail-tabs .p-tablist,
|
|
html.dark .document-list-tabs .p-tablist {
|
|
background: transparent !important;
|
|
border-color: #243044 !important;
|
|
}
|
|
|
|
html.dark .detail-tabs .p-tab,
|
|
html.dark .document-list-tabs .p-tab {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .detail-tabs .p-tab.p-tab-active,
|
|
html.dark .document-list-tabs .p-tab.p-tab-active {
|
|
color: #93c5fd !important;
|
|
border-color: #4f86f7 !important;
|
|
}
|
|
|
|
html.dark .section-title {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .document-progress .muted,
|
|
html.dark .detail-section .muted {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
html.dark .p-message,
|
|
html.dark .p-message .p-message-text,
|
|
html.dark .p-message .p-message-content {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-message.p-message-warn,
|
|
html.dark .p-message.p-message-warn .p-message-text,
|
|
html.dark .p-message.p-message-warn .p-message-content {
|
|
background: rgba(245, 158, 11, 0.16) !important;
|
|
border-color: rgba(251, 191, 36, 0.35) !important;
|
|
color: #fde68a !important;
|
|
}
|
|
|
|
html.dark .p-message.p-message-error,
|
|
html.dark .p-message.p-message-error .p-message-text,
|
|
html.dark .p-message.p-message-error .p-message-content {
|
|
background: rgba(239, 68, 68, 0.16) !important;
|
|
border-color: rgba(248, 113, 113, 0.35) !important;
|
|
color: #fecaca !important;
|
|
}
|
|
|
|
html.dark .p-message.p-message-info,
|
|
html.dark .p-message.p-message-info .p-message-text,
|
|
html.dark .p-message.p-message-info .p-message-content {
|
|
background: rgba(47, 111, 228, 0.18) !important;
|
|
border-color: rgba(96, 165, 250, 0.35) !important;
|
|
color: #bfdbfe !important;
|
|
}
|
|
|
|
html.dark .p-message.p-message-success {
|
|
background: rgba(34, 197, 94, 0.14) !important;
|
|
border-color: rgba(74, 222, 128, 0.3) !important;
|
|
color: #bbf7d0 !important;
|
|
}
|
|
|
|
html.dark .p-fieldset,
|
|
html.dark .p-fieldset .p-fieldset-legend,
|
|
html.dark .p-fieldset .p-fieldset-content {
|
|
background: #0f172a !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-fieldset .p-fieldset-legend {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .form-field-label {
|
|
color: #cbd5e1 !important;
|
|
}
|
|
|
|
html.dark .p-select,
|
|
html.dark .p-select .p-select-label,
|
|
html.dark .p-select .p-select-dropdown,
|
|
html.dark .p-datepicker,
|
|
html.dark .p-datepicker .p-inputtext,
|
|
html.dark .p-datepicker-input,
|
|
html.dark .p-multiselect,
|
|
html.dark .p-multiselect .p-multiselect-label {
|
|
background: #0f172a !important;
|
|
border-color: #334155 !important;
|
|
color: #f1f5f9 !important;
|
|
}
|
|
|
|
html.dark .p-select .p-select-label.p-placeholder,
|
|
html.dark .p-select-label.p-placeholder {
|
|
color: #64748b !important;
|
|
}
|
|
|
|
html.dark .p-select-overlay,
|
|
html.dark .p-datepicker-panel,
|
|
html.dark .p-multiselect-overlay,
|
|
html.dark .p-autocomplete-overlay {
|
|
background: #111b2e !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-select-option,
|
|
html.dark .p-multiselect-option {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-select-option:not(.p-disabled).p-focus,
|
|
html.dark .p-select-option:not(.p-disabled).p-select-option-selected,
|
|
html.dark .p-multiselect-option:not(.p-disabled).p-focus {
|
|
background: rgba(47, 111, 228, 0.22) !important;
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .p-progressbar {
|
|
background: #1a2744 !important;
|
|
}
|
|
|
|
html.dark .p-progressbar .p-progressbar-value {
|
|
background: #4f86f7 !important;
|
|
}
|
|
|
|
html.dark .worker-form-dialog .p-dialog-content,
|
|
html.dark .worker-form-dialog .p-tabpanels,
|
|
html.dark .worker-form-dialog .p-tabpanel {
|
|
background: #111b2e !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-dialog,
|
|
html.dark .p-dialog .p-dialog-header,
|
|
html.dark .p-dialog .p-dialog-content,
|
|
html.dark .p-dialog .p-dialog-footer {
|
|
background: #111b2e !important;
|
|
border-color: #243044 !important;
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
html.dark .p-dialog .p-dialog-title {
|
|
color: #f8fafc !important;
|
|
}
|
|
|
|
html.dark .p-dialog .p-dialog-header-icon {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
.nomina-jornal-msg {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.nomina-loan-fieldset {
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.nomina-loan-fieldset.p-fieldset,
|
|
.nomina-loan-fieldset .p-fieldset-legend {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.detail-tabs .nomina-loan-fieldset {
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.cost-ok { background: #e8f5e9 !important; color: #1b5e20 !important; }
|
|
.cost-warn { background: #fff8e1 !important; color: #e65100 !important; }
|
|
.cost-critical { background: #ffebee !important; color: #b42318 !important; }
|
|
.cost-critical-text { color: #b42318; font-weight: 600; }
|
|
|
|
.budget-item-picker-overlay.p-select-overlay,
|
|
.budget-item-picker-overlay.p-autocomplete-overlay,
|
|
.budget-item-picker-overlay {
|
|
overflow-x: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
.budget-item-picker-overlay .p-select-list,
|
|
.budget-item-picker-overlay .p-autocomplete-list,
|
|
.budget-item-picker-overlay ul {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 4px 0;
|
|
list-style: none;
|
|
}
|
|
.budget-item-picker-overlay .p-select-option,
|
|
.budget-item-picker-overlay .p-autocomplete-option,
|
|
.budget-item-picker-overlay li {
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
align-items: flex-start;
|
|
}
|
|
.budget-item-picker .budget-item-value {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.budget-item-picker .budget-item-value-desc {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #5b6573;
|
|
}
|
|
.budget-item-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.budget-item-option-desc {
|
|
color: #5b6573;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
html.dark .budget-item-option-desc,
|
|
html.dark .budget-item-picker .budget-item-value-desc {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Grouped menubar: single row, icons, card-style submenus. */
|
|
.menubar.p-menubar {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
min-height: 52px;
|
|
height: 52px;
|
|
overflow: visible;
|
|
}
|
|
.brand-lockup {
|
|
height: 52px;
|
|
min-width: 148px;
|
|
padding-right: 18px;
|
|
}
|
|
.menubar .p-menubar-start,
|
|
.menubar .p-menubar-end {
|
|
flex: 0 0 auto;
|
|
}
|
|
.menubar .p-menubar-root-list {
|
|
display: flex;
|
|
flex-wrap: nowrap !important;
|
|
align-items: stretch;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
gap: 2px;
|
|
margin: 0;
|
|
overflow: visible;
|
|
}
|
|
.menubar .p-menubar-item {
|
|
flex: 0 0 auto;
|
|
}
|
|
.menubar-link {
|
|
min-height: 52px;
|
|
height: 52px;
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding-inline: 11px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
color: #243044;
|
|
}
|
|
.menubar-link > i {
|
|
display: inline-flex !important;
|
|
font-size: 13px;
|
|
color: #4b6380;
|
|
}
|
|
.menubar-link .menubar-chevron {
|
|
margin-left: 1px;
|
|
font-size: 10px;
|
|
opacity: .7;
|
|
}
|
|
.menubar-link.is-active {
|
|
color: #1f5fd1;
|
|
box-shadow: inset 0 -3px 0 #2f6fe4;
|
|
}
|
|
.menubar-link.is-active > i,
|
|
.menubar-link.is-active .menubar-chevron {
|
|
color: #2f6fe4;
|
|
}
|
|
.menubar .p-menubar-submenu {
|
|
min-width: 228px;
|
|
padding: 6px;
|
|
margin-top: 0;
|
|
border: 1px solid #e1e6ed;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: 0 10px 28px rgba(23, 32, 51, .12);
|
|
}
|
|
.menubar .p-menubar-submenu .p-menubar-item-content {
|
|
border-radius: 6px;
|
|
}
|
|
.menubar .p-menubar-submenu .menubar-link {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
height: 38px;
|
|
padding: 0 10px;
|
|
font-weight: 500;
|
|
border-radius: 6px;
|
|
box-shadow: none !important;
|
|
}
|
|
.menubar .p-menubar-submenu .menubar-link:hover {
|
|
background: #f4f7fb;
|
|
}
|
|
.menubar .p-menubar-submenu .menubar-link.is-active {
|
|
background: #eaf2ff;
|
|
color: #174fba;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Ribbon as compact action card (mockup). */
|
|
.ribbon.p-toolbar {
|
|
display: flex;
|
|
align-items: stretch;
|
|
min-height: 88px;
|
|
margin: 8px 8px 10px;
|
|
padding: 8px 12px 6px !important;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
border: 1px solid var(--shell-border, #e1e6ed) !important;
|
|
border-radius: 8px !important;
|
|
background: #fff !important;
|
|
box-shadow: var(--shell-shadow, 0 2px 9px rgba(23, 32, 51, .055));
|
|
}
|
|
.ribbon .p-toolbar-start {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: stretch;
|
|
gap: 0;
|
|
min-width: 0;
|
|
}
|
|
.ribbon-cluster {
|
|
flex: 0 0 auto;
|
|
align-items: stretch;
|
|
}
|
|
.ribbon-group {
|
|
gap: 4px;
|
|
}
|
|
.ribbon-group-items {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 4px;
|
|
}
|
|
.ribbon-group-label {
|
|
text-transform: none;
|
|
letter-spacing: .02em;
|
|
font-size: 10px;
|
|
color: #748095;
|
|
}
|
|
.ribbon .ribbon-action {
|
|
min-width: 64px;
|
|
min-height: 64px;
|
|
padding: 8px 10px 6px;
|
|
border-radius: 6px;
|
|
}
|
|
.ribbon .ribbon-action .p-button-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-bottom: 4px;
|
|
font-size: 20px !important;
|
|
line-height: 22px;
|
|
color: #4b6380;
|
|
}
|
|
.ribbon .ribbon-action .p-button-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
}
|
|
.ribbon .ribbon-action--alta .p-button-icon {
|
|
color: #2f6fe4;
|
|
}
|
|
.ribbon .ribbon-action:not(:disabled):hover {
|
|
background: #f4f7fb;
|
|
}
|
|
.ribbon .p-divider-vertical {
|
|
min-height: 64px;
|
|
margin-inline: 8px;
|
|
}
|
|
|
|
html.dark .menubar .p-menubar-submenu {
|
|
background: #111b2e !important;
|
|
border-color: #243044 !important;
|
|
box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
|
|
}
|
|
html.dark .menubar .p-menubar-submenu .menubar-link {
|
|
color: #f1f5f9 !important;
|
|
}
|
|
html.dark .menubar .p-menubar-submenu .menubar-link:hover {
|
|
background: rgba(47, 111, 228, 0.14) !important;
|
|
}
|
|
html.dark .menubar .p-menubar-submenu .menubar-link.is-active {
|
|
background: rgba(47, 111, 228, 0.22) !important;
|
|
color: #93c5fd !important;
|
|
}
|
|
html.dark .menubar-link > i,
|
|
html.dark .menubar-link .menubar-chevron {
|
|
color: #94a3b8;
|
|
}
|
|
html.dark .menubar-link.is-active > i,
|
|
html.dark .menubar-link.is-active .menubar-chevron {
|
|
color: #93c5fd;
|
|
}
|