feat(base): finalizada Fase 1 scaffolding v0.1.0-alpha

This commit is contained in:
Carlos Tello
2026-10-13 15:15:52 -03:00
parent 12c5649427
commit 78c1a306de
34 changed files with 3113 additions and 5 deletions
+115
View File
@@ -0,0 +1,115 @@
/* ==============================================================================
Reset Base y Layout Táctil (100dvh) para Tablets
============================================================================== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
height: 100dvh;
overflow: hidden;
background-color: var(--bg-app);
color: var(--text-primary);
font-family: var(--font-family);
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Prevenir zoom accidental en tablets */
touch-action: manipulation;
/* Prevenir recarga por arrastre en Chrome Android */
overscroll-behavior-y: contain;
user-select: none;
}
#root {
width: 100%;
height: 100%;
height: 100dvh;
display: flex;
flex-direction: column;
}
/* Clases de utilidad táctil */
.touch-target {
min-height: var(--touch-min-size);
min-width: var(--touch-min-size);
display: inline-flex;
align-items: center;
justify-content: center;
}
.touch-button {
min-height: var(--touch-button-height);
padding: 0 1.25rem;
border-radius: var(--touch-radius);
font-size: var(--font-size-base);
font-weight: 600;
border: 1px solid transparent;
cursor: pointer;
transition: background-color 0.15s ease, transform 0.05s ease;
touch-action: manipulation;
}
.touch-button:active {
transform: scale(0.98);
}
.btn-primary {
background-color: var(--color-primary);
color: #ffffff;
}
.btn-primary:hover {
background-color: var(--color-primary-hover);
}
.btn-secondary {
background-color: var(--bg-surface-highlight);
color: var(--text-primary);
border-color: var(--border-strong);
}
.btn-danger {
background-color: var(--color-danger);
color: #ffffff;
}
.btn-success {
background-color: var(--color-success);
color: #ffffff;
}
/* Indicadores y Badges */
.badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: var(--font-size-xs);
font-weight: 600;
}
.badge-success {
background-color: var(--color-success-bg);
color: var(--color-success);
border: 1px solid var(--color-success);
}
.badge-danger {
background-color: var(--color-danger-bg);
color: var(--color-danger);
border: 1px solid var(--color-danger);
}
.badge-info {
background-color: rgba(56, 189, 248, 0.15);
color: var(--color-info);
border: 1px solid var(--color-info);
}