From f2caf2ad8322c802756633586d34d63f6ff13abc Mon Sep 17 00:00:00 2001 From: IO <320154041@pcpuma.acatlan.unam.mx> Date: Thu, 5 Feb 2026 13:26:17 -0600 Subject: [PATCH] fixed style --- app/Components/Equipos/tableequipos.tsx | 2 +- app/Components/Global/table.module.css | 37 +++++++++++++++++++++++++ app/Components/Global/table.tsx | 3 +- app/globals.css | 14 ++++++---- middleware.ts | 3 +- 5 files changed, 50 insertions(+), 9 deletions(-) diff --git a/app/Components/Equipos/tableequipos.tsx b/app/Components/Equipos/tableequipos.tsx index 7cf6c91..7c6461a 100644 --- a/app/Components/Equipos/tableequipos.tsx +++ b/app/Components/Equipos/tableequipos.tsx @@ -57,7 +57,7 @@ export default function TableEquipos() { scrollbarColor: "#2563eb white", }} > - +
diff --git a/app/Components/Global/table.module.css b/app/Components/Global/table.module.css index d4c065c..612ddf8 100644 --- a/app/Components/Global/table.module.css +++ b/app/Components/Global/table.module.css @@ -7,3 +7,40 @@ scroll-behavior: smooth; transition: all 0.3s ease; } + +.WINDOWS::before { + content: ""; + display: inline-block; + width: 20px; + height: 20px; + background-image: url("/windows.png"); + background-size: contain; + background-repeat: no-repeat; + margin-right: 6px; + vertical-align: middle; +} + +.MACINTOSH::before { + content: ""; + display: inline-block; + width: 20px; + height: 20px; + background-image: url("/apple.png"); + background-size: contain; + background-repeat: no-repeat; + margin-right: 6px; + vertical-align: middle; + left: 0; +} + +.PROFESORES::before { + content: ""; + display: inline-block; + width: 20px; + height: 20px; + background-image: url("/teacher.png"); + background-size: contain; + background-repeat: no-repeat; + margin-right: 6px; + vertical-align: middle; +} \ No newline at end of file diff --git a/app/Components/Global/table.tsx b/app/Components/Global/table.tsx index a44a1b4..66e3f7f 100644 --- a/app/Components/Global/table.tsx +++ b/app/Components/Global/table.tsx @@ -1,6 +1,5 @@ "use client"; -import React from "react"; import styles from "./table.module.css"; interface TableProps { @@ -24,7 +23,7 @@ export default function Table({ headers, data }: TableProps) { data.map((row, rowIndex) => ( {headers.map((header, colIndex) => ( - + ))} )) diff --git a/app/globals.css b/app/globals.css index 781ae71..e397ad4 100644 --- a/app/globals.css +++ b/app/globals.css @@ -47,6 +47,7 @@ footer p { color: white; max-width: 900px; z-index: 2; + font-size: 1.4rem; } .mainContainer { @@ -63,6 +64,7 @@ footer p { opacity: 0; transform: translateY(20px); } + 100% { opacity: 1; transform: translateY(0); @@ -212,17 +214,17 @@ input[type="checkbox"] { transition: opacity 0.2s ease; } -.radio-card input:checked + .radio-ui::after { +.radio-card input:checked+.radio-ui::after { opacity: 1; } -.radio-card input:checked ~ .radio-text { +.radio-card input:checked~.radio-text { color: #002b7f; font-weight: 600; } .radio-card input:checked { - + .radio-ui { + +.radio-ui { border-color: #002b7f; } } @@ -546,6 +548,7 @@ table td:last-child { justify-content: center; align-items: center; } + .centerGrido { display: grid; grid-template-columns: auto 200px; @@ -590,7 +593,8 @@ table td:last-child { .checkbox-grid input[type="checkbox"] { margin: 0; padding: 0; - transform: scale(1); /* mantiene el tamaño */ + transform: scale(1); + /* mantiene el tamaño */ } @media (max-width: 1330px) { @@ -700,4 +704,4 @@ table td:last-child { max-width: 250px; overflow-wrap: break-word; } -} +} \ No newline at end of file diff --git a/middleware.ts b/middleware.ts index e39f043..c0bfb04 100644 --- a/middleware.ts +++ b/middleware.ts @@ -18,7 +18,8 @@ export function middleware(request: NextRequest) { } export const config = { - matcher: [ + matcher: [ + "/", "/Reportes", "/Monitor", "/QuitarSancion",
Ubicación
{row[header]}{row[header]}