Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016X4CAujMuib2tDqt9JRg6X
673 lines
42 KiB
CSS
673 lines
42 KiB
CSS
/* ==========================================================================
|
|
Tableros dentro del sitio (plantilla overrides/tablero.html)
|
|
Pendientes · Ingeniería · Producción · Actas · Inventario · Sitios · Equipo ·
|
|
Expediente de unidad · Visitas de campo.
|
|
Todo vive bajo .tb (el contenedor de cada página) para no chocar con los
|
|
estilos de Material. Colores: tokens --hg-* de stylesheets/helgen.css.
|
|
========================================================================== */
|
|
|
|
.tb {
|
|
/* nombres viejos que todavía usan los scripts de las páginas en estilos en línea */
|
|
--tinta: var(--hg-texto);
|
|
--tinta2: var(--hg-texto-2);
|
|
--linea: var(--hg-linea);
|
|
--tarjeta: var(--hg-plano);
|
|
--superf: var(--hg-plano-2);
|
|
--papel: var(--hg-fondo);
|
|
--naranja: var(--hg-liga);
|
|
--ok: var(--hg-hecho); --ok-bg: var(--hg-hecho-bg);
|
|
--apro: var(--hg-hecho); --apro-bg: var(--hg-hecho-bg);
|
|
--falla: var(--hg-bloqueado); --falla-bg: var(--hg-bloqueado-bg);
|
|
--info: var(--hg-info); --info-bg: var(--hg-info-bg);
|
|
--ens: var(--hg-info); --ens-bg: var(--hg-info-bg);
|
|
--pend: var(--hg-pend); --pend-bg: var(--hg-pend-bg);
|
|
--aviso: var(--hg-aviso); --aviso-bg: var(--hg-aviso-bg);
|
|
|
|
font-family: var(--hg-fuente);
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
color: var(--hg-texto);
|
|
}
|
|
.md-typeset .tb { font-size: 15px; line-height: 1.45; }
|
|
.tb *, .tb *::before, .tb *::after { box-sizing: border-box; }
|
|
|
|
/* ---- Encabezado de la página -------------------------------------------- */
|
|
.tb-cab {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 10px 16px;
|
|
margin: 2px 0 16px;
|
|
}
|
|
.tb-cab__t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; }
|
|
.md-typeset .tb .tb-cab h1 {
|
|
margin: 0;
|
|
font-family: var(--hg-fuente-titulo);
|
|
font-weight: 700;
|
|
font-size: 34px;
|
|
line-height: 1.05;
|
|
letter-spacing: -0.012em;
|
|
color: var(--hg-texto-fuerte);
|
|
}
|
|
.tb .tb-cab .meta, .tb-cab__meta { font-size: 14px; color: var(--hg-texto-2); }
|
|
.tb-cab__acc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
|
|
|
/* «Cómo se usa»: el bloque plegable de Material, más compacto */
|
|
.md-typeset .tb details.tb-como { margin: 0 0 16px; font-size: 14px; }
|
|
.md-typeset .tb details.tb-como ol { margin: 6px 0 10px 1.2em; }
|
|
.md-typeset .tb details.tb-como li { margin: 4px 0; }
|
|
|
|
/* los <details> que arman los scripts (detalle de un acta) van sin caja */
|
|
.md-typeset .tb details:not(.tb-como) {
|
|
margin: 8px 0 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: none;
|
|
box-shadow: none;
|
|
font-size: inherit;
|
|
overflow: visible;
|
|
}
|
|
.md-typeset .tb details:not(.tb-como) > summary {
|
|
padding: 0;
|
|
margin: 0;
|
|
min-height: 0;
|
|
background: none;
|
|
border: 0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--hg-liga);
|
|
cursor: pointer;
|
|
}
|
|
.md-typeset .tb details:not(.tb-como) > summary::before,
|
|
.md-typeset .tb details:not(.tb-como) > summary::after { display: none; }
|
|
.md-typeset .tb details:not(.tb-como) > summary:hover { color: var(--hg-liga-hover); }
|
|
|
|
/* ---- Controles ----------------------------------------------------------- */
|
|
.tb button,
|
|
.tb .boton {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--hg-acento);
|
|
background: var(--hg-acento);
|
|
color: var(--hg-sobre-acento);
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
.tb button:hover:not(:disabled) { filter: brightness(1.07); }
|
|
.tb button:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
.tb button.sec,
|
|
.tb .boton.sec {
|
|
background: transparent;
|
|
border-color: var(--hg-linea-2);
|
|
color: var(--hg-texto);
|
|
font-weight: 600;
|
|
}
|
|
.tb button.sec:hover:not(:disabled),
|
|
.tb .boton.sec:hover { background: var(--hg-elevado); filter: none; color: var(--hg-texto-fuerte); text-decoration: none; }
|
|
.tb button.peligro {
|
|
background: transparent;
|
|
border-color: color-mix(in srgb, var(--hg-bloqueado) 55%, transparent);
|
|
color: var(--hg-bloqueado);
|
|
font-weight: 600;
|
|
}
|
|
.tb button.peligro:hover:not(:disabled) { background: var(--hg-bloqueado-bg); filter: none; }
|
|
.tb button.fantasma { background: transparent; border-color: transparent; color: var(--hg-texto-2); font-weight: 500; }
|
|
.tb button.fantasma:hover:not(:disabled) { color: var(--hg-texto-fuerte); background: var(--hg-elevado); filter: none; }
|
|
.tb button.icono { padding: 6px; width: 32px; height: 32px; justify-content: center; }
|
|
.tb button svg, .tb .boton svg { width: 15px; height: 15px; flex: none; }
|
|
|
|
.tb select,
|
|
.tb input:not([type="checkbox"]):not([type="radio"]),
|
|
.tb textarea {
|
|
padding: 8px 11px;
|
|
border: 1px solid var(--hg-linea-2);
|
|
border-radius: var(--hg-radio-campo);
|
|
background: var(--hg-plano);
|
|
color: var(--hg-texto);
|
|
font: inherit;
|
|
font-size: 14px;
|
|
max-width: 100%;
|
|
}
|
|
.tb select { padding-right: 28px; }
|
|
.tb input::placeholder, .tb textarea::placeholder { color: var(--hg-texto-3); }
|
|
.tb input:focus, .tb select:focus, .tb textarea:focus { outline: 2px solid var(--hg-foco); outline-offset: 1px; border-color: transparent; }
|
|
.tb input[type="checkbox"], .tb input[type="radio"] { accent-color: var(--hg-teal); }
|
|
.tb label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 5px; color: var(--hg-texto-2); }
|
|
|
|
/* ---- Bloques, cifras, avisos -------------------------------------------- */
|
|
.tb section.bloque {
|
|
background: var(--hg-plano-2);
|
|
border: 1px solid var(--hg-linea);
|
|
border-radius: 12px;
|
|
padding: 16px 18px;
|
|
margin: 14px 0;
|
|
}
|
|
.md-typeset .tb section.bloque h2,
|
|
.md-typeset .tb h2 {
|
|
margin: 0 0 4px;
|
|
font-family: var(--hg-fuente-titulo);
|
|
font-weight: 600;
|
|
font-size: 21px;
|
|
line-height: 1.2;
|
|
letter-spacing: 0;
|
|
color: var(--hg-texto-fuerte);
|
|
}
|
|
.md-typeset .tb h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; color: var(--hg-texto-fuerte); }
|
|
.md-typeset .tb p { margin: 0 0 10px; }
|
|
.tb .sub, .tb .resumen { color: var(--hg-texto-2); font-size: 14px; margin: 0 0 12px; }
|
|
.md-typeset .tb ul, .md-typeset .tb ol { margin: 6px 0 0 1.25em; }
|
|
.md-typeset .tb li { margin: 0 0 6px; }
|
|
|
|
.tb .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
|
|
.tb .kpi { background: var(--hg-plano); border: 1px solid var(--hg-linea); border-radius: 12px; padding: 13px 15px; }
|
|
.tb .kpi .n { font-family: var(--hg-fuente-titulo); font-size: 30px; font-weight: 600; line-height: 1; color: var(--hg-texto-fuerte); font-variant-numeric: tabular-nums; }
|
|
.tb .kpi .l { color: var(--hg-texto-2); font-size: 13px; margin-top: 6px; line-height: 1.3; }
|
|
.tb .kpi.mal .n { color: var(--hg-bloqueado); }
|
|
.tb .kpi.bien .n { color: var(--hg-hecho); }
|
|
|
|
.tb .err { background: var(--hg-bloqueado-bg); color: var(--hg-bloqueado); border: 1px solid color-mix(in srgb, var(--hg-bloqueado) 45%, transparent); padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
|
|
.tb .vacio { color: var(--hg-texto-3); font-size: 14px; }
|
|
.tb .msg { display: none; padding: 10px 12px; border-radius: 9px; margin: 10px 0; font-weight: 600; font-size: 14px; }
|
|
.tb .msg.ok { display: block; background: var(--hg-hecho-bg); color: var(--hg-hecho); border: 1px solid color-mix(in srgb, var(--hg-hecho) 40%, transparent); }
|
|
.tb .msg.err { display: block; background: var(--hg-bloqueado-bg); color: var(--hg-bloqueado); border: 1px solid color-mix(in srgb, var(--hg-bloqueado) 45%, transparent); }
|
|
|
|
.tb .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 6px; white-space: nowrap; vertical-align: middle; background: var(--hg-pend-bg); color: var(--hg-texto-2); }
|
|
.tb .pill.ok, .tb .pill.apro { background: var(--hg-hecho-bg); color: var(--hg-hecho); }
|
|
.tb .pill.falla { background: var(--hg-bloqueado-bg); color: var(--hg-bloqueado); }
|
|
.tb .pill.info { background: var(--hg-info-bg); color: var(--hg-info); }
|
|
.tb .pill.aviso { background: var(--hg-aviso-bg); color: var(--hg-aviso); }
|
|
.tb .pill.pend { background: var(--hg-pend-bg); color: var(--hg-texto-2); }
|
|
|
|
/* tablas */
|
|
.tb .tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
|
.md-typeset .tb table.t,
|
|
.md-typeset .tb table:not([class]) {
|
|
display: table;
|
|
border: 0;
|
|
border-collapse: collapse;
|
|
border-radius: 0;
|
|
background: none;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
}
|
|
.md-typeset .tb table.t th,
|
|
.md-typeset .tb table:not([class]) th {
|
|
text-align: left;
|
|
color: var(--hg-texto-3);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
letter-spacing: 0;
|
|
padding: 6px 10px 7px 0;
|
|
min-width: 0;
|
|
background: none;
|
|
border-bottom: 1px solid var(--hg-linea-2);
|
|
}
|
|
.md-typeset .tb table.t td,
|
|
.md-typeset .tb table:not([class]) td { padding: 8px 10px 8px 0; border-top: 0; border-bottom: 1px solid var(--hg-linea); vertical-align: top; }
|
|
.md-typeset .tb table.t tr:hover,
|
|
.md-typeset .tb table:not([class]) tbody tr:hover { background: none; box-shadow: none; }
|
|
|
|
/* versión de tarjeta: etiqueta de serigrafía (helgen.css) a tamaño de tablero */
|
|
.tb .badge-v3, .tb .badge-v4, .tb .badge-v55, .tb .badge-v56, .tb .badge-v57, .tb .badge-v6 { font-size: 11.5px; padding: 3px 6px; vertical-align: middle; }
|
|
|
|
/* avatares del equipo */
|
|
.tb .avs { display: inline-flex; align-items: center; }
|
|
.tb .av {
|
|
width: 22px; height: 22px;
|
|
border-radius: 50%;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
flex: none;
|
|
font-size: 9.5px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
color: #FFFFFF;
|
|
background: #4A5468;
|
|
box-shadow: 0 0 0 2px var(--hg-plano);
|
|
}
|
|
.tb .avs .av + .av { margin-left: -6px; }
|
|
.tb .av.libre { background: transparent; color: var(--hg-texto-2); box-shadow: inset 0 0 0 1px var(--hg-linea-2); }
|
|
.tb .persona { display: inline-flex; align-items: center; gap: 7px; }
|
|
|
|
/* íconos de línea en el tablero */
|
|
.tb .i { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
|
|
/* ---- Tablero de pendientes ---------------------------------------------- */
|
|
.tb .kb-barra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
|
|
.tb .kb-barra select, .tb .kb-barra input { padding: 7px 10px; font-size: 13.5px; }
|
|
.tb .kb-barra input[type="search"] { flex: 1 1 150px; min-width: 130px; max-width: 280px; }
|
|
.tb .kb-barra .cnt { color: var(--hg-texto-3); font-size: 13px; }
|
|
.tb .kb-barra .kb-nuevo { margin-left: auto; }
|
|
.tb .kb-solo {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
padding: 7px 12px; border-radius: 99px;
|
|
border: 1px solid var(--hg-linea-2); background: transparent; color: var(--hg-texto-suave);
|
|
font-size: 13.5px; font-weight: 500;
|
|
}
|
|
.tb .kb-solo[aria-pressed="true"] { background: var(--hg-curso-bg); border-color: color-mix(in srgb, var(--hg-curso) 45%, transparent); color: var(--hg-curso); }
|
|
.tb .kb-solo:hover:not(:disabled) { filter: none; color: var(--hg-texto-fuerte); }
|
|
|
|
.tb .kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
|
|
@media (max-width: 1100px) { .tb .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
@media (max-width: 600px) { .tb .kb { grid-template-columns: 1fr; } }
|
|
.tb .kb.compacto { gap: 12px; }
|
|
|
|
.tb .col { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 90px; border-radius: 10px; }
|
|
.tb .col.sobre { outline: 2px dashed color-mix(in srgb, var(--hg-acento) 60%, transparent); outline-offset: 4px; }
|
|
.md-typeset .tb .col h3 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 0 2px 8px;
|
|
border-bottom: 1px solid var(--hg-linea);
|
|
font-family: var(--hg-fuente);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
color: var(--hg-texto);
|
|
}
|
|
.tb .col h3 .n { font-weight: 400; font-size: 13px; color: var(--hg-texto-3); font-variant-numeric: tabular-nums; }
|
|
.tb .col h3 svg { width: 16px; height: 16px; flex: none; }
|
|
.tb .col .kb-mas {
|
|
align-self: flex-start;
|
|
background: transparent; border: 0; color: var(--hg-texto-3);
|
|
font-size: 13.5px; font-weight: 500; padding: 6px 4px;
|
|
}
|
|
.tb .col .kb-mas:hover:not(:disabled) { color: var(--hg-texto-fuerte); filter: none; }
|
|
|
|
.tb .card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 12px 12px 11px;
|
|
background: var(--hg-plano);
|
|
border: 1px solid var(--hg-linea);
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
cursor: grab;
|
|
}
|
|
.tb .card:hover { border-color: var(--hg-linea-2); }
|
|
.tb .card:active { cursor: grabbing; }
|
|
.tb .card.arrastrando { opacity: 0.45; }
|
|
.tb .card.vencida { border-color: color-mix(in srgb, var(--hg-bloqueado) 45%, var(--hg-linea)); }
|
|
.tb .card.e-hecho .tit { color: var(--hg-texto-2); }
|
|
.tb .card .sup { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--hg-texto-2); min-width: 0; }
|
|
.tb .card .sup .ver-t { margin-left: auto; }
|
|
.tb .pista-p { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--hg-texto-3); display: inline-block; }
|
|
.tb .p-ingenieria .pista-p, .tb .pista-p.p-ingenieria { background: var(--hg-p-ingenieria); }
|
|
.tb .p-produccion .pista-p, .tb .pista-p.p-produccion { background: var(--hg-p-produccion); }
|
|
.tb .p-mecanica .pista-p, .tb .pista-p.p-mecanica { background: var(--hg-p-mecanica); }
|
|
.tb .p-compras .pista-p, .tb .pista-p.p-compras { background: var(--hg-p-compras); }
|
|
.tb .p-campo .pista-p, .tb .pista-p.p-campo { background: var(--hg-p-campo); }
|
|
.tb .card .tit { font-weight: 600; font-size: 14.5px; line-height: 1.36; color: var(--hg-texto); cursor: pointer; overflow-wrap: anywhere; }
|
|
.tb .card .tit:hover { color: var(--hg-liga-hover); }
|
|
.tb .card .tit a { color: inherit; text-decoration: none; }
|
|
.tb .card .nota { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: var(--hg-aviso); }
|
|
.tb .card .nota.mal { color: var(--hg-bloqueado); }
|
|
.tb .card .nota .i { margin-top: 1px; }
|
|
.tb .card .enl { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
|
|
.tb .card .enl a { display: inline-flex; align-items: center; gap: 6px; color: var(--hg-liga); min-width: 0; }
|
|
.tb .card .enl a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.tb .card .etq { display: flex; flex-wrap: wrap; gap: 4px; }
|
|
.tb .chip { display: inline-block; font-size: 11.5px; font-weight: 500; padding: 1px 7px; border-radius: 5px; background: var(--hg-pend-bg); color: var(--hg-texto-2); white-space: nowrap; }
|
|
.tb .chip.p-ingenieria, .tb .chip.p-produccion, .tb .chip.p-mecanica, .tb .chip.p-compras, .tb .chip.p-campo { background: none; padding: 0; color: var(--hg-texto-2); display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
|
|
.tb .chip.p-ingenieria::before, .tb .chip.p-produccion::before, .tb .chip.p-mecanica::before, .tb .chip.p-compras::before, .tb .chip.p-campo::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--hg-texto-3); }
|
|
.tb .chip.p-ingenieria::before { background: var(--hg-p-ingenieria); }
|
|
.tb .chip.p-produccion::before { background: var(--hg-p-produccion); }
|
|
.tb .chip.p-mecanica::before { background: var(--hg-p-mecanica); }
|
|
.tb .chip.p-compras::before { background: var(--hg-p-compras); }
|
|
.tb .chip.p-campo::before { background: var(--hg-p-campo); }
|
|
.tb .card .pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.tb .card .fecha { font-size: 12.5px; color: var(--hg-texto-2); white-space: nowrap; }
|
|
.tb .card .fecha.hoy { color: var(--hg-acento); font-weight: 600; }
|
|
.tb .card .fecha.mal { color: var(--hg-bloqueado); font-weight: 600; }
|
|
.tb .card .meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--hg-texto-2); align-items: center; }
|
|
.tb .card .mover { display: flex; gap: 6px; align-items: center; }
|
|
.tb .card .mover select { padding: 5px 8px; font-size: 13px; flex: 1; }
|
|
@media (min-width: 981px) { .tb .card .mover { display: none; } .tb .kb.movil .card .mover { display: flex; } }
|
|
.tb .kb.compacto .card .mover { display: none; } /* el extracto del inicio: se mueve desde el detalle o el tablero completo */
|
|
|
|
/* ---- Diálogo (detalle y alta) -------------------------------------------- */
|
|
.tb dialog {
|
|
border: 1px solid var(--hg-linea-2);
|
|
border-radius: 14px;
|
|
padding: 0;
|
|
max-width: 760px;
|
|
width: calc(100vw - 24px);
|
|
background: var(--hg-plano-2);
|
|
color: var(--hg-texto);
|
|
box-shadow: var(--hg-sombra);
|
|
font-size: 15px;
|
|
}
|
|
.tb dialog::backdrop { background: rgba(5, 9, 18, 0.62); backdrop-filter: blur(1.5px); }
|
|
.tb dialog .dcab { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px 10px; }
|
|
.md-typeset .tb dialog .dcab h2 { margin: 0; font-family: var(--hg-fuente-titulo); font-size: 22px; font-weight: 600; line-height: 1.15; }
|
|
.tb dialog .dcab .dcab-id { font-family: var(--hg-fuente-mono); font-size: 12.5px; color: var(--hg-texto-3); margin-right: auto; padding-left: 4px; }
|
|
.tb dialog .dcab button { background: transparent; border-color: transparent; color: var(--hg-texto-2); padding: 6px; width: 32px; height: 32px; justify-content: center; }
|
|
.tb dialog .dcab button:hover { background: var(--hg-elevado); color: var(--hg-texto-fuerte); filter: none; }
|
|
.tb dialog .dcuerpo { padding: 2px 20px 16px; max-height: calc(100vh - 180px); overflow: auto; }
|
|
.tb dialog .dpie { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; padding: 12px 20px; border-top: 1px solid var(--hg-linea); }
|
|
.tb dialog .dpie .izq { margin-right: auto; }
|
|
.tb .dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
|
|
@media (max-width: 560px) { .tb .dos-col { grid-template-columns: 1fr; } }
|
|
.tb dialog input:not([type="checkbox"]):not([type="radio"]), .tb dialog select, .tb dialog textarea { width: 100%; }
|
|
.tb .enlaces-ed .fila { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 6px; margin-bottom: 6px; }
|
|
.tb .enlaces-ed .fila button { padding: 6px 9px; }
|
|
.tb .lista-chk { max-height: 150px; overflow: auto; border: 1px solid var(--hg-linea); border-radius: 9px; padding: 6px 10px; font-size: 13.5px; background: var(--hg-plano); }
|
|
.tb .lista-chk label { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; margin: 4px 0; color: var(--hg-texto); font-size: 13.5px; }
|
|
.tb .lista-chk input { width: auto; margin-top: 3px; }
|
|
.tb .chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.tb .chip-sel {
|
|
display: inline-flex; align-items: center; gap: 7px;
|
|
border: 1px solid var(--hg-linea-2); border-radius: 99px;
|
|
padding: 4px 11px 4px 5px; margin: 0;
|
|
font-size: 13.5px; font-weight: 500; cursor: pointer;
|
|
background: var(--hg-plano); color: var(--hg-texto);
|
|
}
|
|
.tb .chip-sel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
|
|
.tb .chip-sel.on { border-color: color-mix(in srgb, var(--hg-curso) 50%, transparent); background: var(--hg-curso-bg); color: var(--hg-texto-fuerte); font-weight: 600; }
|
|
.tb .chip-sel:focus-within { outline: 2px solid var(--hg-foco); outline-offset: 1px; }
|
|
.tb .hist { font-size: 13px; color: var(--hg-texto-2); max-height: 200px; overflow: auto; border-top: 1px solid var(--hg-linea); margin-top: 14px; padding-top: 8px; }
|
|
.tb .hist div { padding: 4px 0; border-bottom: 1px dashed var(--hg-linea); }
|
|
.tb .hist b { color: var(--hg-texto); }
|
|
|
|
/* ---- Ingeniería: una tarjeta por versión --------------------------------- */
|
|
.tb .versiones { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-bottom: 14px; }
|
|
.tb .versiones .ver { background: var(--hg-plano); border: 1px solid var(--hg-linea); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
|
|
.md-typeset .tb .versiones .ver h3 { margin: 0; font-family: var(--hg-fuente-titulo); font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
|
|
.tb .versiones .ver .est { font-weight: 600; font-size: 13.5px; color: var(--hg-texto); }
|
|
.tb .versiones .ver .sig { font-size: 13.5px; color: var(--hg-texto-suave); }
|
|
.tb .versiones .ver .sig b { color: var(--hg-texto-fuerte); }
|
|
.tb .versiones .ver .quien { font-size: 12.5px; color: var(--hg-texto-2); display: flex; gap: 6px; align-items: flex-start; }
|
|
.tb .versiones .ver .docs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
|
|
.tb .versiones .ver .cnt { font-size: 13px; color: var(--hg-texto-3); margin-top: auto; padding-top: 6px; border-top: 1px solid var(--hg-linea); }
|
|
.md-typeset .tb .decisiones li { margin: 6px 0; font-size: 14px; color: var(--hg-texto-suave); }
|
|
.md-typeset .tb .decisiones b { color: var(--hg-texto-fuerte); }
|
|
.md-typeset .tb .filosofia li { margin: 7px 0; font-size: 14px; color: var(--hg-texto-suave); }
|
|
|
|
/* ---- Producción ---------------------------------------------------------- */
|
|
.tb .prog { height: 10px; border-radius: 5px; background: var(--hg-pend-bg); overflow: hidden; margin: 8px 0 4px; display: flex; }
|
|
.tb .prog span { display: block; height: 100%; background: var(--hg-hecho); }
|
|
.tb .prog span.pl { background: var(--hg-info); }
|
|
.tb .obj { display: flex; justify-content: space-between; font-size: 13px; color: var(--hg-texto-2); }
|
|
.tb .embudo { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
|
|
.tb .etapa { background: var(--hg-plano); border: 1px solid var(--hg-linea); border-radius: 10px; padding: 11px 11px; text-align: center; color: inherit; text-decoration: none; }
|
|
.tb a.etapa:hover { border-color: var(--hg-linea-2); text-decoration: none; }
|
|
.tb .etapa .n { font-family: var(--hg-fuente-titulo); font-size: 26px; font-weight: 600; line-height: 1; color: var(--hg-texto-fuerte); }
|
|
.tb .etapa .l { font-size: 12.5px; color: var(--hg-texto-2); margin-top: 4px; line-height: 1.25; }
|
|
.tb .etapa .f { font-size: 11.5px; color: var(--hg-texto-3); margin-top: 3px; }
|
|
.tb .etapa.sin .n { color: var(--hg-texto-3); }
|
|
.tb .bloqueos .card { cursor: default; }
|
|
|
|
/* ---- Equipo ---------------------------------------------------------------- */
|
|
.tb table.t td.num, .tb table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
.tb table.t tr.inactivo td { opacity: 0.55; }
|
|
.tb table.t td .nom { font-weight: 700; cursor: pointer; color: var(--hg-liga); display: inline-flex; align-items: center; gap: 8px; }
|
|
.tb table.t td .nom:hover { color: var(--hg-liga-hover); text-decoration: underline; }
|
|
.tb table.t td .id { font-size: 12px; color: var(--hg-texto-3); display: block; margin-top: 2px; }
|
|
.tb table.t td button { padding: 5px 9px; font-size: 12.5px; margin: 1px 2px 1px 0; }
|
|
.tb .area { display: inline-block; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 5px; background: var(--hg-pend-bg); color: var(--hg-texto-2); }
|
|
.tb .pass-una-vez { background: var(--hg-aviso-bg); border: 1px solid color-mix(in srgb, var(--hg-aviso) 45%, transparent); border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 14.5px; color: var(--hg-texto); }
|
|
.tb .pass-una-vez code { font-family: var(--hg-fuente-mono); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; user-select: all; }
|
|
.tb .mis-pend .card { cursor: default; }
|
|
|
|
/* ---- Inventario ------------------------------------------------------------ */
|
|
.tb table.t tr.alerta td.num.stock { color: var(--hg-bloqueado); font-weight: 700; }
|
|
.tb table.t td .cod { font-family: var(--hg-fuente-mono); font-weight: 600; cursor: pointer; color: var(--hg-liga); }
|
|
.tb table.t td .cod:hover { text-decoration: underline; }
|
|
.tb table.t td .cat { font-size: 12px; color: var(--hg-texto-3); display: block; }
|
|
.tb .acciones { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
|
|
.tb .acciones .cnt { color: var(--hg-texto-3); font-size: 13px; margin-left: auto; }
|
|
.tb .acciones label { margin: 0; display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--hg-texto-2); }
|
|
.tb .mov-fila { display: grid; grid-template-columns: 120px 80px 90px 1fr; gap: 6px 10px; padding: 7px 0; border-bottom: 1px dashed var(--hg-linea); font-size: 13px; align-items: baseline; }
|
|
.tb .mov-fila .d { font-variant-numeric: tabular-nums; }
|
|
.tb .mov-fila .pos { color: var(--hg-hecho); font-weight: 700; }
|
|
.tb .mov-fila .neg { color: var(--hg-bloqueado); font-weight: 700; }
|
|
@media (max-width: 560px) { .tb .mov-fila { grid-template-columns: 1fr 1fr; } }
|
|
.tb .ayuda { font-size: 12.5px; color: var(--hg-texto-3); margin-top: 4px; }
|
|
.tb .mini { font-size: 12.5px; color: var(--hg-texto-3); }
|
|
@media (max-width: 760px) { .tb #cont table.t { min-width: 780px; } }
|
|
|
|
/* ---- Sitios ------------------------------------------------------------------ */
|
|
.tb .ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
|
|
.tb .ficha .c { background: var(--hg-plano); border: 1px solid var(--hg-linea); border-radius: 10px; padding: 10px 13px; }
|
|
.tb .ficha .l { font-size: 12.5px; color: var(--hg-texto-3); }
|
|
.tb .ficha .v { font-weight: 600; font-size: 15px; }
|
|
.tb .contacto { padding: 7px 0; border-top: 1px dashed var(--hg-linea); font-size: 14px; }
|
|
.tb .contacto:first-of-type { border-top: 0; }
|
|
.tb .contacto .r { color: var(--hg-texto-2); font-size: 12.5px; }
|
|
.tb .sitio-sel { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
|
|
.tb .sitio-sel label { margin: 0; }
|
|
.tb .contactos-ed .fila { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto; gap: 6px; margin-bottom: 6px; }
|
|
@media (max-width: 700px) { .tb .contactos-ed .fila { grid-template-columns: 1fr 1fr; } }
|
|
.tb .contactos-ed .fila button { padding: 6px 9px; }
|
|
.tb .por-texto { font-size: 11.5px; color: var(--hg-texto-3); border: 1px dashed var(--hg-linea-2); border-radius: 5px; padding: 0 6px; }
|
|
|
|
/* línea de tiempo (sitio y expediente) */
|
|
.tb .linea { position: relative; padding-left: 20px; border-left: 2px solid var(--hg-linea); margin-left: 6px; }
|
|
.tb .ev { position: relative; padding: 11px 0 11px 4px; border-bottom: 1px solid var(--hg-linea); font-size: 14px; }
|
|
.tb .ev:last-child { border-bottom: 0; }
|
|
.tb .linea .ev::before { content: ""; position: absolute; left: -27px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--hg-texto-3); box-shadow: 0 0 0 3px var(--hg-plano-2); }
|
|
.tb .ev.instalacion-campo::before, .tb .ev.prod::before { background: var(--hg-hecho-icono); }
|
|
.tb .ev.diagnostico-campo::before, .tb .ev.campo::before { background: var(--hg-p-campo); }
|
|
.tb .ev.dano::before, .tb .ev.falla::before { background: var(--hg-bloqueado); }
|
|
.tb .ev.envio::before, .tb .ev.recepcion::before, .tb .ev.banco::before { background: var(--hg-info); }
|
|
.tb .ev.flash::before { background: var(--hg-p-compras); }
|
|
.tb .ev .f { color: var(--hg-texto-3); font-size: 12.5px; }
|
|
.tb .ev .cab { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
|
|
.tb .ev .t { font-weight: 700; font-size: 15px; }
|
|
.tb .ev .cl { margin-top: 3px; }
|
|
|
|
/* ---- Estado de actas ---------------------------------------------------- */
|
|
.tb .barra { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--hg-pend-bg); margin: 6px 0 14px; gap: 2px; }
|
|
.tb .barra span { display: block; height: 100%; }
|
|
.tb .barra .a { background: var(--hg-hecho-icono); }
|
|
.tb .barra .f { background: var(--hg-bloqueado); }
|
|
.tb .barra .e { background: var(--hg-info); }
|
|
.tb .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
|
|
.tb .cel { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; border: 1px solid var(--hg-linea); border-radius: 9px; padding: 8px 10px; background: var(--hg-plano); }
|
|
.tb a.cel:hover { border-color: var(--hg-linea-2); text-decoration: none; }
|
|
.tb .cel .s { font-family: var(--hg-fuente-mono); font-weight: 600; font-size: 13.5px; color: var(--hg-texto-fuerte); }
|
|
.tb .cel .st { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
|
|
.tb .cel .who { font-size: 11.5px; color: var(--hg-texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.tb .cel.apro { border-color: color-mix(in srgb, var(--hg-hecho) 40%, var(--hg-linea)); } .tb .cel.apro .st { color: var(--hg-hecho); }
|
|
.tb .cel.falla { border-color: color-mix(in srgb, var(--hg-bloqueado) 45%, var(--hg-linea)); background: var(--hg-bloqueado-bg); } .tb .cel.falla .st { color: var(--hg-bloqueado); }
|
|
.tb .cel.ens { border-color: color-mix(in srgb, var(--hg-info) 40%, var(--hg-linea)); } .tb .cel.ens .st { color: var(--hg-info); }
|
|
.tb .cel.pend .st { color: var(--hg-texto-3); }
|
|
.tb .leyenda { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--hg-texto-2); margin-top: 10px; }
|
|
.tb .leyenda b { font-weight: 600; }
|
|
.tb .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
@media (max-width: 680px) { .tb .dos { grid-template-columns: 1fr; } }
|
|
.tb .st .i, .tb .leyenda .i { width: 13px; height: 13px; }
|
|
|
|
/* ---- Expediente de unidad y visitas de campo ----------------------------- */
|
|
.tb .buscar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
|
|
.tb .buscar input { flex: 1 1 260px; }
|
|
.tb .fotos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
|
|
.tb .fotos a { display: block; width: 78px; height: 78px; border-radius: 8px; overflow: hidden; border: 1px solid var(--hg-linea); }
|
|
.tb .fotos img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--hg-pend-bg); }
|
|
.tb .logs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
|
|
.tb .logs a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--hg-liga); text-decoration: none; border: 1px solid var(--hg-linea); border-radius: 7px; padding: 5px 10px; background: var(--hg-plano); }
|
|
.tb .logs a:hover { border-color: var(--hg-linea-2); }
|
|
.md-typeset .tb table.det { display: table; border: 0; border-collapse: collapse; width: 100%; font-size: 13px; margin-top: 8px; background: none; }
|
|
.md-typeset .tb table.det td { padding: 5px 8px 5px 0; border: 0; border-bottom: 1px solid var(--hg-linea); vertical-align: top; }
|
|
.md-typeset .tb table.det td.k { color: var(--hg-texto-2); width: 46%; }
|
|
.tb .cadena { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
|
|
.tb .cadena .paso { flex: 1 1 118px; min-width: 118px; border: 1px solid var(--hg-linea); border-radius: 9px; padding: 7px 9px; background: var(--hg-plano); font-size: 12.5px; position: relative; }
|
|
.tb .cadena .paso .n { font-weight: 700; font-size: 13px; }
|
|
.tb .cadena .paso .e { margin-top: 2px; font-weight: 600; }
|
|
.tb .cadena .paso .d { color: var(--hg-texto-3); font-size: 11.5px; margin-top: 2px; line-height: 1.3; }
|
|
.tb .cadena .paso.ok { border-color: color-mix(in srgb, var(--hg-hecho) 40%, var(--hg-linea)); } .tb .cadena .paso.ok .e { color: var(--hg-hecho); }
|
|
.tb .cadena .paso.falla { border-color: color-mix(in srgb, var(--hg-bloqueado) 45%, var(--hg-linea)); background: var(--hg-bloqueado-bg); } .tb .cadena .paso.falla .e { color: var(--hg-bloqueado); }
|
|
.tb .cadena .paso.info { border-color: color-mix(in srgb, var(--hg-info) 40%, var(--hg-linea)); } .tb .cadena .paso.info .e { color: var(--hg-info); }
|
|
.tb .cadena .paso.pend .e { color: var(--hg-texto-3); }
|
|
.tb .cadena .paso a { color: inherit; }
|
|
.tb .cad-t { font-size: 13px; font-weight: 600; color: var(--hg-texto-3); margin: 10px 0 0; }
|
|
.tb .unidad { border: 1px solid var(--hg-linea); border-radius: 11px; padding: 12px 14px; margin: 10px 0; background: var(--hg-plano); }
|
|
.tb .unidad .cab { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
|
|
.tb .unidad .s { font-family: var(--hg-fuente-mono); font-weight: 600; font-size: 15px; }
|
|
.tb .unidad .m { color: var(--hg-texto-2); font-size: 13px; }
|
|
.tb .visita { border-top: 1px solid var(--hg-linea); margin-top: 10px; padding-top: 10px; font-size: 14px; }
|
|
.tb .visita .f { color: var(--hg-texto-3); font-size: 12.5px; }
|
|
.tb .visita .cl { font-weight: 700; }
|
|
.tb .marca-unidad { border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 14.5px; }
|
|
|
|
/* ---- Vistas del tablero y «N más» (21-oct) -------------------------------- */
|
|
.tb .kb-vistas { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--hg-linea-2); border-radius: 10px; background: var(--hg-plano-2); }
|
|
.tb .kb-vistas button { background: transparent; border: 0; color: var(--hg-texto-2); font-size: 13.5px; font-weight: 500; padding: 5px 11px; border-radius: 7px; }
|
|
.tb .kb-vistas button[aria-pressed="true"] { background: var(--hg-elevado); color: var(--hg-texto-fuerte); font-weight: 600; }
|
|
.tb .kb-vistas button:hover:not(:disabled) { filter: none; color: var(--hg-texto-fuerte); }
|
|
.tb .kb-vistas .i { width: 15px; height: 15px; }
|
|
.tb .kb-mas-n { align-self: flex-start; padding: 4px; font-size: 13px; color: var(--hg-texto-2); text-decoration: none; }
|
|
.tb a.kb-mas-n:hover { color: var(--hg-liga-hover); text-decoration: underline; }
|
|
.tb button.kb-mas-n { background: none; border: 0; font-weight: 500; }
|
|
.tb button.kb-mas-n:hover:not(:disabled) { filter: none; color: var(--hg-texto-fuerte); }
|
|
.tb [hidden] { display: none !important; }
|
|
|
|
/* ---- Vista por persona: una fila por responsable --------------------------- */
|
|
.tb .kb-personas { border: 1px solid var(--hg-linea); border-radius: 12px; background: var(--hg-plano-2); }
|
|
.tb .kb-p-fila { display: grid; grid-template-columns: minmax(200px, 1.15fr) repeat(4, minmax(0, 1fr)); gap: 0 14px; align-items: start; padding: 12px 16px; border-top: 1px solid var(--hg-linea); }
|
|
.tb .kb-p-fila:first-child { border-top: 0; }
|
|
.tb .kb-p-cab { padding-top: 11px; padding-bottom: 11px; font-size: 13px; font-weight: 600; color: var(--hg-texto-2); }
|
|
.tb .kb-p-cab > span { display: inline-flex; align-items: center; gap: 7px; }
|
|
.tb .kb-p-cab svg { width: 15px; height: 15px; flex: none; }
|
|
.tb .kb-p-quien { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
|
|
.tb .kb-p-quien .av { width: 30px; height: 30px; font-size: 11px; }
|
|
.tb .kb-p-nom { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
|
|
.tb .kb-p-nom b { font-weight: 600; color: var(--hg-texto-fuerte); }
|
|
.tb .kb-p-rol { font-size: 12.5px; color: var(--hg-texto-3); }
|
|
.tb .kb-p-carga { margin-top: 2px; font-size: 12.5px; color: var(--hg-texto-2); }
|
|
.tb .kb-p-carga.mal { color: var(--hg-bloqueado); }
|
|
.tb .kb-p-carga.aviso { color: var(--hg-aviso); }
|
|
.tb .kb-p-celda { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
|
|
.tb button.kb-p-item {
|
|
display: flex; flex-direction: column; align-items: stretch; gap: 3px;
|
|
width: 100%; padding: 8px 10px; border-radius: 8px;
|
|
border: 1px solid var(--hg-linea); background: var(--hg-plano); color: var(--hg-texto);
|
|
font-size: 13.5px; font-weight: 500; line-height: 1.35; text-align: left; white-space: normal;
|
|
}
|
|
.tb button.kb-p-item:hover:not(:disabled) { filter: none; border-color: var(--hg-linea-2); color: var(--hg-texto-fuerte); }
|
|
.tb button.kb-p-item.vencida { border-color: color-mix(in srgb, var(--hg-bloqueado) 45%, var(--hg-linea)); }
|
|
.tb button.kb-p-item.e-hecho { color: var(--hg-texto-2); }
|
|
.tb .kb-p-tit { overflow-wrap: anywhere; }
|
|
.tb .kb-p-item .fecha { font-size: 12px; font-weight: 400; color: var(--hg-texto-3); }
|
|
.tb .kb-p-item .fecha.hoy { color: var(--hg-acento); font-weight: 600; }
|
|
.tb .kb-p-item .fecha.mal { color: var(--hg-bloqueado); font-weight: 600; }
|
|
.tb .kb-p-libres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-top: 1px solid var(--hg-linea); font-size: 13px; color: var(--hg-texto-2); }
|
|
.tb .kb-p-libres-t { color: var(--hg-texto-3); margin-right: 2px; }
|
|
@media (max-width: 900px) {
|
|
.tb .kb-p-cab { display: none; }
|
|
.tb .kb-p-cab + .kb-p-fila { border-top: 0; }
|
|
.tb .kb-p-fila { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
|
|
.tb .kb-p-quien { grid-column: 1 / -1; }
|
|
.tb .kb-p-celda::before { content: attr(data-col); font-size: 12px; font-weight: 600; color: var(--hg-texto-3); }
|
|
.tb .kb-p-celda.vacia { display: none; }
|
|
}
|
|
@media (max-width: 520px) { .tb .kb-p-fila { grid-template-columns: 1fr; } }
|
|
|
|
/* ---- Ruta a producción (inicio e Ingeniería) -------------------------------
|
|
Línea continua = hecho (blanco en oscuro, tinta en claro); punteada = lo que falta;
|
|
anillo cian = el paso en curso; coral = detenido. */
|
|
.tb .ruta { border: 1px solid var(--hg-linea); border-radius: 14px; background: var(--hg-plano-2); padding: 2px 18px; }
|
|
.tb .ruta-fila { display: grid; grid-template-columns: minmax(230px, 1.4fr) minmax(0, 5fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hg-linea); }
|
|
.tb .ruta-fila:first-child { border-top: 0; }
|
|
.tb .ruta-cab { padding: 12px 0 8px; font-size: 13px; font-weight: 600; color: var(--hg-texto-2); align-items: end; }
|
|
.tb .ruta-cab-t { color: var(--hg-texto-3); font-weight: 500; }
|
|
/* (Material pone display: flow-root a .md-typeset ol:not([hidden]); por eso el selector largo) */
|
|
.tb .ruta-pasos-cab,
|
|
.md-typeset .tb ol.ruta-pasos:not([hidden]) { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-columns: repeat(var(--ruta-pasos, 7), minmax(0, 1fr)); }
|
|
.tb .ruta-pasos-cab span { text-align: center; padding: 0 4px; }
|
|
.md-typeset .tb ol.ruta-pasos { list-style: none; margin: 0; padding: 0; }
|
|
.md-typeset .tb .ruta-pasos li { margin: 0; }
|
|
.tb .ruta-paso { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 4px; text-align: center; }
|
|
.tb .ruta-paso::before,
|
|
.tb .ruta-paso::after { content: ""; position: absolute; top: 11px; width: 50%; border-top: 1px dashed var(--hg-linea-2); }
|
|
.tb .ruta-paso::before { left: 0; }
|
|
.tb .ruta-paso::after { right: 0; }
|
|
.tb .ruta-paso.entra::before,
|
|
.tb .ruta-paso.sale::after { top: 10px; border-top: 3px solid var(--hg-ruta-linea); }
|
|
.tb .ruta-paso.primero::before,
|
|
.tb .ruta-paso.ultimo::after { display: none; }
|
|
.tb .ruta-punto { position: relative; z-index: 1; box-sizing: border-box; width: 16px; height: 16px; margin: 3px 0 8px; border-radius: 50%; border: 2px solid var(--hg-linea-2); background: var(--hg-plano-2); }
|
|
.tb .p-hecho .ruta-punto { border: 3.5px solid var(--hg-ruta); }
|
|
.tb .p-ahora .ruta-punto,
|
|
.tb .p-bloqueado .ruta-punto { width: 22px; height: 22px; margin: 0 0 5px; border: 4px solid var(--hg-acento); box-shadow: 0 0 0 5px var(--hg-halo-curso); }
|
|
.tb .p-bloqueado .ruta-punto { border-color: var(--hg-bloqueado); box-shadow: 0 0 0 5px var(--hg-halo-bloqueado); }
|
|
.tb .ruta-txt { font-size: 13px; line-height: 1.3; color: var(--hg-texto-2); overflow-wrap: anywhere; }
|
|
.tb .p-hecho .ruta-txt { color: var(--hg-texto-suave); }
|
|
.tb .p-ahora .ruta-txt { color: var(--hg-acento); font-weight: 700; }
|
|
.tb .p-bloqueado .ruta-txt { color: var(--hg-bloqueado); font-weight: 700; }
|
|
.tb .ruta-sub { margin-top: 2px; font-size: 12px; line-height: 1.3; color: var(--hg-texto-3); overflow-wrap: anywhere; }
|
|
.tb a.ruta-tarjeta { display: flex; gap: 12px; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
|
|
.tb a.ruta-tarjeta img { flex: none; width: 100px; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 7px; border: 1px solid var(--hg-linea); background: #0E1524; filter: brightness(1.2) contrast(1.05); }
|
|
.tb a.ruta-tarjeta:hover img { border-color: var(--hg-linea-2); }
|
|
.tb a.ruta-tarjeta:hover .ruta-nuevo { color: var(--hg-texto-suave); }
|
|
.tb .ruta-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.tb .ruta-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
.tb .ruta-estado { font-size: 14px; font-weight: 700; color: var(--hg-texto); }
|
|
.tb .tono-hecho .ruta-estado { color: var(--hg-texto-fuerte); }
|
|
.tb .tono-ahora .ruta-estado { color: var(--hg-acento); }
|
|
.tb .tono-aviso .ruta-estado { color: var(--hg-aviso); }
|
|
.tb .tono-bloqueado .ruta-estado { color: var(--hg-bloqueado); }
|
|
.tb .ruta-nuevo { font-size: 13px; line-height: 1.35; color: var(--hg-texto-2); }
|
|
.md-typeset .tb p.ruta-resumen { display: none; }
|
|
@media (max-width: 1000px) {
|
|
.tb .ruta-fila { grid-template-columns: 1fr; gap: 12px; }
|
|
.tb .ruta-cab { display: none; }
|
|
.tb .ruta-cab + .ruta-fila { border-top: 0; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.tb .ruta { padding: 2px 14px; }
|
|
.tb .ruta-txt, .tb .ruta-sub { display: none; }
|
|
.tb .ruta-punto { margin-bottom: 0; }
|
|
.md-typeset .tb p.ruta-resumen { display: block; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--hg-texto-suave); }
|
|
}
|
|
|
|
/* ---- Actividad (inicio y Bitácora) ------------------------------------------ */
|
|
.md-typeset .tb ol.act-lista { list-style: none; margin: 0; padding: 0; }
|
|
.md-typeset .tb .act-lista li { margin: 0; }
|
|
.tb .act { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 10px; padding: 9px 0; border-top: 1px solid var(--hg-linea-suave); font-size: 14px; line-height: 1.4; }
|
|
.tb .act:first-child { border-top: 0; }
|
|
.tb .act .av { grid-row: span 2; width: 26px; height: 26px; margin-top: 1px; font-size: 10px; }
|
|
.tb .act-t { color: var(--hg-texto-suave); overflow-wrap: anywhere; }
|
|
.tb .act-t b { font-weight: 600; color: var(--hg-texto-fuerte); }
|
|
.tb .act-t a { color: var(--hg-texto); text-decoration: none; }
|
|
.tb .act-t a:hover { color: var(--hg-liga-hover); text-decoration: underline; }
|
|
.tb .act-nota { display: block; margin-top: 4px; padding: 6px 9px; border-radius: 8px; background: var(--hg-plano); font-size: 13px; color: var(--hg-texto-2); }
|
|
.tb .act-res { padding: 1px 7px; border-radius: 5px; font-size: 12px; font-weight: 600; background: var(--hg-hecho-bg); color: var(--hg-hecho); white-space: nowrap; }
|
|
.tb .act-res.mal { background: var(--hg-bloqueado-bg); color: var(--hg-bloqueado); }
|
|
.tb .act-f { grid-column: 2; font-size: 12.5px; color: var(--hg-texto-3); }
|
|
.md-typeset .tb h3.act-dia { margin: 18px 0 2px; font-family: var(--hg-fuente); font-size: 13px; font-weight: 600; color: var(--hg-texto-3); }
|
|
.md-typeset .tb h3.act-dia:first-child { margin-top: 0; }
|
|
.tb .act-mas { display: inline-block; margin-top: 8px; font-size: 13px; }
|
|
|
|
/* ---- Ingeniería: la ruta arriba; Bitácora: página de lectura ------------------- */
|
|
.md-typeset .tb h2.ing-h { margin: 4px 0 4px; }
|
|
.tb .ing-ruta { margin-bottom: 16px; }
|
|
.tb .versiones .ver { scroll-margin-top: 4.5rem; }
|
|
.md-typeset .tb-bitacora h2 { margin: 30px 0 10px; }
|
|
.md-typeset .tb-bitacora h3 { margin: 24px 0 8px; font-family: var(--hg-fuente-titulo); font-size: 18px; font-weight: 600; }
|
|
.tb-bitacora #bit-actividad { padding: 8px 16px 12px; border: 1px solid var(--hg-linea); border-radius: 12px; background: var(--hg-plano-2); }
|
|
.md-typeset .tb-bitacora dd { margin-bottom: 6px; }
|
|
|
|
/* texto solo para lectores de pantalla */
|
|
.tb .vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
|
|
@media print {
|
|
.tb .tb-cab__acc, .tb .buscar, .tb button, .tb .kb-barra, .tb details.tb-como { display: none !important; }
|
|
.tb section.bloque, .tb .kpi, .tb .card, .tb .cel, .tb .cadena .paso { background: #fff !important; border-color: #999 !important; color: #000 !important; }
|
|
}
|