/* =============================== BASE GLOBAL =============================== */ body, html { margin: 0; padding: 0; font-family: "Segoe UI", sans-serif; background-color: #fff; color: #333; } .container { max-width: 400px; margin: auto; padding: 20px; } #pantalla-tabla-general .container { padding-left: 8px; padding-right: 8px; } hr { margin: 10px 0 20px; border: 1px solid #ccc; } /* =============================== ENCABEZADO =============================== */ .header, .encabezado { display: flex; align-items: center; justify-content: center; gap: 12px; } .logo { width: 40px; height: 40px; } .titulo, h3 { text-align: center; margin-top: 10px; font-size: 26px; font-weight: bold; } /* =============================== PANTALLAS SPA =============================== */ .pantalla { display: none; } .pantalla.visible { display: block; } /* =============================== BOTONES =============================== */ .btn { padding: 16px; font-size: 16px; font-weight: bold; border: none; border-radius: 10px; color: white; cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .btn.big { width: 100%; margin-top: 10px; } /* Colores */ .btn.yellow, .btn.amarillo { background: #f1c40f; color: #444; } .btn.orange, .btn.naranja { background: #e67e22; } .btn.green, .btn.verde { background: #28a745; } .btn.teal, .btn.verde-oscuro { background: #049a81; } .btn.red, .btn.rojo { background: firebrick; } .btn.blue, .btn.azul { background: #3498db; } .btn.darkblue, .btn.azuloscuro { background: #0567a9; } .btn.aqua, .btn.celeste { background: #04fbc7; color: #333; } .btn.purple, .btn.morado { background: #9b59b6; } .btn.gray, .btn.gris { background: #707b7c; } .btn.gold, .btn.mostaza { background: #DAB957; color: #444; } /* =============================== BOTONERAS / GRID =============================== */ .grid-vertical { display: grid; grid-template-columns: 1fr; gap: 15px; } .grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; } .botonera-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 400px; margin: 20px auto; } .botonera-vertical { display: flex; flex-direction: column; gap: 12px; max-width: 400px; margin: auto; } /* =============================== COMPONENTES VISUALES =============================== */ .circle { width: 100px; height: 100px; margin: 20px auto; border-radius: 50%; background: #239b56; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .imagen { display: flex; justify-content: center; margin: 12px 0; } .imagen img { max-width: 85vw; max-height: 43vh; border-radius: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); } .matricula-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; } .placa { background: white; padding: 8px 16px; border-radius: 10px; font-size: 24px; font-weight: bold; color: #333; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); min-width: 100px; text-align: center; } .fecha { text-align: center; font-size: 14px; font-weight: bold; color: #555; margin-top: 8px; } .camara-row { display: flex; justify-content: space-between; font-weight: bold; margin: 10px 0; } .desarrollo { text-align: center; margin: 20px 0; } /* =============================== TABLA EDITABLE =============================== */ table { width: 100%; border-collapse: collapse; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); background-color: #fff; border-radius: 8px; overflow: hidden; table-layout: fixed; word-wrap: break-word; } th, td { padding: 12px 16px; border-bottom: 1px solid #e0e0e0; text-align: left; } th { background-color: #007acc; color: white; font-weight: bold; width: 40%; } td { background-color: #fafafa; } td[contenteditable="true"] { background-color: #fff; border: 1px solid #ccc; border-radius: 4px; } .button-container { display: flex; justify-content: center; gap: 20px; margin-top: 25px; } .btn-actualizar, .btn-cancelar { padding: 12px 24px; font-weight: bold; font-size: 16px; border-radius: 8px; border: none; cursor: pointer; transition: background-color 0.2s ease; } .btn-actualizar { background-color: #28a745; color: white; } .btn-actualizar:hover { background-color: #218838; } .btn-cancelar { background-color: #dc3545; color: white; } .btn-cancelar:hover { background-color: #c82333; } /*----------------------------------------------- MODAL -------------------------------------*/ .modal { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.6); } .modal-content { background-color: #fff; margin: 15% auto; padding: 20px; border-radius: 10px; max-width: 300px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } .modal-buttons { display: flex; justify-content: space-around; margin-top: 20px; } /*----------------------------------------------- PANTALLA PRINCIPAL DEL TOTEM -------------------------------------*/ .peso-section { display: flex; justify-content: center; align-items: baseline; font-weight: bold; margin: 5px 0 5px; font-size: 18px; } .peso-display-linea { display: flex; justify-content: space-between; /* separa izquierda y derecha */ align-items: baseline; margin: 20px 0; } .peso-display { display: flex; align-items: baseline; gap: 8px; font-size: 44px; font-weight: bold; } .peso-display.derecha { justify-content: flex-end; } .peso-label { margin-right: 10px; font-size: 26px; } .peso-valor { font-size: 90px; color: #2c3e50; font-weight: bold; } .peso-unidad { margin-left: 8px; font-size: 18px; } .status-line { display: flex; justify-content: space-between; font-size: 16px; margin: 8px 0; } .status-line .label { font-weight: bold; } .status-line.small { font-size: 14px; color: #555; } .led-semaforo { width: 80px; height: 80px; border-radius: 50%; background-color: #ccc; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease, box-shadow 0.3s ease; margin-left: 10px; display: inline-block; } .semaforo-display { display: flex; justify-content: center; align-items: center; margin: 20px 0; } .led-semaforo.led { box-shadow: 0 0 12px currentColor, 0 0 3px currentColor inset; } .etiqueta { min-width: 90px; } .labelMat{ font-size: 24px; color: red; font-weight: bold; } .labelPE { font-size: 18px; color: blue; font-weight: bold; } .labelValue { font-size: 18px; color: blue; } #pantalla-barrera .container { text-align: center; } /*-------------------------------------------------- PANTALLA DE LA BARRERA ---------------------------------------------------------------------*/ .barrera-icono { margin: 20px auto; height: 100px; } .barrera-icono img { max-height: 100px; } /*-------------------------------------------------- TIPOS DE CONFIGURACION ---------------------------------------------------------------------*/ #tipo-configuracion .parametro-row { display: flex; gap: 10px; margin-bottom: 8px; } #tipo-configuracion input { flex: 1; padding: 6px; border: 1px solid #ccc; border-radius: 4px; } .parametro-row button { font-size: 20px; line-height: 20px; padding: 0; text-align: center; } .botonera-tipo { margin-top: 15px; display: flex; justify-content: center; gap: 10px; } /* Estilo base para la fila */ .parametro-row { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; width: 100%; } .parametro-row input.parametro { flex: 1 1 50%; min-width: 100px; max-width: 300px; padding: 4px; font-size: 14px; } .parametro-row input.valor { flex: 0 0 30%; min-width: 60px; max-width: 150px; padding: 4px; font-size: 14px; text-align: center; } .parametro-row input[type="checkbox"].valor { flex: 0 0 30px; transform: scale(1.8); margin: 0; } .parametro-row button { flex: 0 0 30px; width: 30px; height: 30px; font-size: 14px; padding: 0; margin: 0; } @media (max-width: 600px) { .parametro-row input.parametro { flex: 1 1 40%; font-size: 12px; } .parametro-row input.valor { flex: 1 1 30%; font-size: 12px; } .parametro-row input[type="checkbox"].valor { flex: 0 0 30px; /*zoom: 1.5; */ transform: scale(1.5) ; margin: 4px; } .parametro-row button { flex: 0 0 25px; width: 25px; height: 25px; font-size: 12px; } /*-------------------------------------------------- PANTALLA DE LA ANALISIS ---------------------------------------------------------------------*/ .panel-trama { margin-top: 0.75rem; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #fafafa; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; } .panel-trama h4 { margin: 0 0 10px 0; font-size: 1rem; letter-spacing: .02em; } .trama-grid { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; align-items: start; } .trama-label { font-weight: 600; color: #374151; text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; } .trama-valor { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 6px 8px; line-height: 1.35; white-space: pre-wrap; word-break: break-word; } .trama-valor.small { display: inline-block; padding: 4px 8px; } .input-trama { display: inline-block; width: 150px; /* ancho deseado */ padding: 16px; /* igual que .btn */ font-size: 16px; /* igual que .btn */ font-weight: bold; /* igual que .btn */ line-height: 16px; /* clave para que coincida */ color: #333; background-color: #f2f2f2; /* gris clarito */ border: none; /* igual que .btn */ border-radius: 0; /* sin bordes redondeados */ box-shadow: none; /* sin sombra como el botón */ box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; appearance: none; } } /*-------------------------------------------------- IMAGEN INICIAL DEL SNAPSHOT ---------------------------------------------------------------------*/ /* #foto { width: 65vw; height: 30vh; background-color: #eee; border-radius: 10px; object-fit: contain; display: block; margin: auto; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); } */ @import url("../uibuilder/uib-brand.min.css"); .comboContainer { display: none; transition: opacity 0.3s ease; opacity: 0; } .comboContainer.visibleCombo { display: block; opacity: 1; }