mirror of
https://origin.cursor.com/mrdevmx/panels.git
synced 2026-10-09 19:43:18 +00:00
1095 lines
23 KiB
CSS
1095 lines
23 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 {
|
|
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; }
|
|
.desk-detail-scroll .p-scrollpanel-content { padding: 12px; }
|
|
|
|
.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 {
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
.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 {
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.padron-overview {
|
|
min-height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
}
|
|
.padron-overview .p-chip { background: #f1f4f8; color: #405069; }
|
|
.padron-list {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.padron-listbar {
|
|
flex: none;
|
|
background: #fff;
|
|
}
|
|
.padron-listbar .p-toolbar-end {
|
|
flex: 1;
|
|
justify-content: flex-end;
|
|
}
|
|
.padron-listbar .p-iconfield { width: min(380px, 48vw); }
|
|
.padron-listbar .p-inputtext { width: 100%; }
|
|
.padron-datatable { flex: 1; }
|
|
.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%; }
|
|
.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-listbar .p-toolbar-end { width: 100%; justify-content: stretch; }
|
|
.padron-listbar .p-iconfield { width: 100%; }
|
|
}
|
|
|
|
/* Desktop skeleton: independent surfaces and spacing matching the approved mockup. */
|
|
.shell {
|
|
--shell-gap: 10px;
|
|
--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 12px;
|
|
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);
|
|
}
|
|
|
|
/* Avoid a detached horizontal rule between the ribbon and workspace panels. */
|
|
.ribbon.p-toolbar {
|
|
border-bottom-color: transparent !important;
|
|
box-shadow: 0 1px 3px rgba(23, 32, 51, .025);
|
|
}
|
|
.desk-body {
|
|
padding: 0 8px 10px;
|
|
box-sizing: border-box;
|
|
background: #f5f7fa;
|
|
}
|
|
.desk-split {
|
|
overflow: visible;
|
|
background: transparent;
|
|
}
|
|
.desk-split > .p-splitter-gutter {
|
|
flex-basis: var(--shell-gap) !important;
|
|
background: transparent;
|
|
}
|
|
.desk-split > .p-splitter-gutter .p-splitter-gutter-handle {
|
|
width: 1px;
|
|
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;
|
|
border: 1px solid var(--shell-border);
|
|
border-radius: 7px;
|
|
background: #fff;
|
|
box-shadow: var(--shell-shadow);
|
|
}
|
|
.desk-center-pane {
|
|
border-inline: 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
.desk-main,
|
|
.desk-side {
|
|
overflow: hidden;
|
|
border-radius: inherit;
|
|
}
|
|
.desk-tabstrip {
|
|
min-height: 41px;
|
|
padding: 6px 11px 0;
|
|
}
|
|
.desk-page { padding: 14px 16px 16px; }
|
|
.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 .p-scrollpanel-content { padding: 16px; }
|
|
|
|
.padron-page { gap: 12px; }
|
|
.padron-overview {
|
|
min-height: 42px;
|
|
gap: 8px;
|
|
padding: 6px 9px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #e5e9ef;
|
|
border-radius: 6px;
|
|
background: #fbfcfd;
|
|
}
|
|
.padron-list { gap: 10px; }
|
|
.padron-listbar {
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(23, 32, 51, .035);
|
|
}
|
|
.padron-datatable {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
border: 1px solid #e1e6ed;
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(23, 32, 51, .035);
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.ribbon.p-toolbar { margin-bottom: 8px; }
|
|
.desk-body { padding: 0 6px 6px; }
|
|
.desk-split > .p-splitter-gutter { flex-basis: 6px !important; }
|
|
.desk-page { padding: 10px; }
|
|
}
|
|
|
|
.desk-pane { box-sizing: border-box; }
|
|
.desk-page {
|
|
flex: 1;
|
|
height: auto;
|
|
}
|
|
|
|
/* 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: none; }
|
|
.menubar-link.is-active {
|
|
box-shadow: inset 0 -3px 0 #2f6fe4;
|
|
}
|
|
.menubar .p-menubar-end {
|
|
gap: 14px;
|
|
margin-left: auto;
|
|
}
|
|
.menubar .p-iconfield { width: 260px; }
|
|
.menubar .p-iconfield .p-inputtext {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
padding-left: 36px;
|
|
border-color: #dfe5ed;
|
|
border-radius: 8px !important;
|
|
background: #fbfcfe;
|
|
box-shadow: none;
|
|
}
|
|
.menubar .p-iconfield .p-inputtext:hover {
|
|
border-color: #c8d2df;
|
|
}
|
|
.menubar .p-iconfield .p-inputtext:focus {
|
|
border-color: #7aa5f4;
|
|
box-shadow: 0 0 0 3px rgba(47, 111, 228, .1);
|
|
}
|
|
.menubar .p-inputicon {
|
|
color: #7b8799;
|
|
font-size: 13px;
|
|
}
|
|
.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 .p-iconfield { 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 12px 6px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
}
|
|
.module-tree-panel .p-tree-filter {
|
|
margin: 0 -12px 8px;
|
|
padding: 0 14px 10px;
|
|
border-bottom: 1px solid #edf0f4;
|
|
}
|
|
.module-tree-panel .p-tree-filter-input {
|
|
width: 100%;
|
|
min-height: 36px;
|
|
padding-left: 34px;
|
|
border-color: #dfe5ed;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
font-size: 11px;
|
|
box-shadow: none;
|
|
}
|
|
.module-tree-panel .p-tree-filter-input:focus {
|
|
border-color: #7aa5f4;
|
|
box-shadow: 0 0 0 3px rgba(47, 111, 228, .09);
|
|
}
|
|
.module-tree-panel .p-tree-filter-icon {
|
|
left: 12px;
|
|
color: #77869a;
|
|
font-size: 12px;
|
|
}
|
|
.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-top: 18px;
|
|
border-radius: 5px;
|
|
background: #f0f2f5;
|
|
}
|
|
.worker-record-lead {
|
|
margin-top: 14px;
|
|
}
|
|
.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-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);
|
|
}
|
|
.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: 16px;
|
|
margin-left: auto;
|
|
}
|
|
.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;
|
|
}
|
|
.statusbar-utilities {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
color: #52647a;
|
|
}
|
|
.statusbar-utilities i {
|
|
font-size: 15px;
|
|
}
|
|
.statusbar .p-button {
|
|
width: 34px;
|
|
height: 34px;
|
|
color: #52647a;
|
|
}
|
|
.statusbar .p-button:hover {
|
|
color: #2f6fe4;
|
|
background: #f2f6fc;
|
|
}
|
|
|
|
@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; }
|
|
.statusbar-utilities { gap: 14px; }
|
|
}
|
|
|
|
/* 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-iconfield {
|
|
margin-right: 8px;
|
|
}
|
|
.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 .p-iconfield {
|
|
width: 220px;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1050px) {
|
|
.topbar-tools .p-iconfield {
|
|
width: 185px;
|
|
}
|
|
}
|