diff --git a/public/css/styles.css b/public/css/styles.css index 84ebf7d..6461082 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1375,26 +1375,44 @@ body.dark-mode .admin-action-btn-salir { .admin-tab-btn { background: var(--card-bg, #ffffff); - border: 1.5px solid var(--border, #cbd5e1); - color: var(--text-main, #334155); - padding: 10px 16px; - border-radius: 12px; - font-size: 0.88rem; - font-weight: 800; + border: 1px solid var(--border, #cbd5e1); + color: var(--text-muted, #64748b); + padding: 8px 14px; + border-radius: 9px; + font-size: 0.82rem; + font-weight: 700; cursor: pointer; display: flex; align-items: center; - gap: 6px; + gap: 7px; white-space: nowrap; - transition: all 0.15s; + transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); +} + +.admin-tab-btn svg { + flex-shrink: 0; + stroke: currentColor; +} + +.admin-tab-btn:hover { + color: var(--text-main, #0f172a); + border-color: #94a3b8; + background: var(--bg-main, #f8fafc); } .admin-tab-btn.active { + background: #0f172a; + color: #ffffff; + border-color: #0f172a; + box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2); +} + +body.dark-mode .admin-tab-btn.active { background: #0284c7; - color: white; + color: #ffffff; border-color: #0284c7; - box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3); } .admin-card { diff --git a/public/index.html b/public/index.html index bc5a8c3..c294f8a 100644 --- a/public/index.html +++ b/public/index.html @@ -348,21 +348,25 @@ -
- - - - - 📟 Ir a Caja + + + Terminal POS -
@@ -394,19 +398,24 @@
@@ -420,9 +429,10 @@

- -
@@ -483,8 +493,8 @@ - @@ -542,10 +552,10 @@
- - - - + + + +
@@ -555,8 +565,9 @@
- @@ -566,31 +577,33 @@

- 📜 Movimientos y Reversiones + + Movimientos & Reversiones

Historial de recargas de monedero y cobros de meriendas. Permite anular o revertir transacciones erróneas.

-
-
- - -
- +
@@ -606,14 +619,16 @@

- 👥 Control de Personal y Cajeros + + Control de Personal & Cajeros

Crea cajeros, vendedores y personal. Administra contraseñas, bloquea o elimina accesos.

-
diff --git a/public/js/app.js b/public/js/app.js index cddfa6c..8301bb4 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -2661,24 +2661,26 @@ function renderAdminInventory(list) {
-
-
- - - - +
+ + + +
-
@@ -2769,7 +2771,7 @@ function renderAdminStudents(list) {
@@ -3698,8 +3700,9 @@ function renderAdminMovimientos() { } else { const cleanName = (m.estudiante_nombre || '').replace(/'/g, "\\'"); actionHtml = ` - `; } @@ -4055,19 +4058,22 @@ function renderAdminStaff(list) {
- ${!isRootAdmin ? ` - - ` : ` - - 👑 Principal + + Principal `}