pack de iconos
This commit is contained in:
+195
@@ -55,6 +55,7 @@
|
||||
--bg-subtle: #24333E;
|
||||
--border-color: #2D3D4A;
|
||||
--border-subtle: #1F2C36;
|
||||
--ide-primary-light: #40ab8e;
|
||||
--ide-excellence: #4fb389;
|
||||
--ide-projects: #ed8d01;
|
||||
--ide-academy: #a83c41;
|
||||
@@ -168,6 +169,18 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
}
|
||||
|
||||
.icono {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: var(--ide-primary); /* ← Funciona con currentColor */
|
||||
transition: color 0.3s;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.icono:hover {
|
||||
fill: #ff6b6b;
|
||||
}
|
||||
|
||||
.lead-text {
|
||||
font-size: 1.15rem;
|
||||
color: var(--text-muted);
|
||||
@@ -647,7 +660,189 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
color: var(--text-main);
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
/* ================================================================
|
||||
ESTILOS QUIZ REFACTORIZADO
|
||||
================================================================ */
|
||||
|
||||
/* ---- Contenedor principal (estilo Opción A) ---- */
|
||||
.quiz-container {
|
||||
background: var(--bg-card, #ffffff);
|
||||
border-radius: 1.25rem;
|
||||
padding: 2.5rem 2.75rem;
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
|
||||
max-width: 860px;
|
||||
margin: 0 auto;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
.quiz-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
/* ---- Barra de progreso (estilo Opción A) ---- */
|
||||
.quiz-progress-bar {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
background: var(--bg-muted, #e9ecef);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.quiz-progress-fill {
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
background: var(--ide-accent, #0066cc);
|
||||
border-radius: 8px;
|
||||
transition: width 0.45s ease;
|
||||
}
|
||||
|
||||
/* ---- Steps ---- */
|
||||
.quiz-step {
|
||||
display: none;
|
||||
animation: fadeUp 0.35s ease;
|
||||
}
|
||||
|
||||
.quiz-step.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@keyframes fadeUp {
|
||||
from { opacity: 0; transform: translateY(12px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
/* ---- Grid de opciones (estilo Opción A) ---- */
|
||||
.quiz-options-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.85rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.quiz-options-grid--2col {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
/* ---- Cards de opción (estilo Opción A) ---- */
|
||||
.quiz-option-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem 1.25rem;
|
||||
background: var(--bg-body);
|
||||
border: 2px solid transparent;
|
||||
border-radius: 0.85rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.quiz-option-card:hover {
|
||||
background: var(--bg-hover, #f1f3f5);
|
||||
border-color: var(--border-hover, #dee2e6);
|
||||
}
|
||||
|
||||
.quiz-option-card.selected {
|
||||
background: var(--ide-primary-light, #e6f0ff);
|
||||
border-color: var(--ide-primary, #0066cc);
|
||||
box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
|
||||
}
|
||||
|
||||
.quiz-radio-bullet {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
min-width: 18px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--border-color, #ced4da);
|
||||
background: #fff;
|
||||
margin-top: 2px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.quiz-option-card.selected .quiz-radio-bullet {
|
||||
border-color: var(--ide-primary, #0066cc);
|
||||
background: var(--ide-primary, #0066cc);
|
||||
box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--ide-primary, #0066cc);
|
||||
}
|
||||
|
||||
/* ---- Botón volver ---- */
|
||||
.quiz-back-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--text-muted, #6c757d);
|
||||
font-size: 0.9rem;
|
||||
cursor: pointer;
|
||||
padding: 0.4rem 0.8rem;
|
||||
border-radius: 0.4rem;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.quiz-back-btn:hover {
|
||||
color: var(--text-body, #212529);
|
||||
background: var(--bg-hover, #f1f3f5);
|
||||
}
|
||||
|
||||
/* ---- Resultado---- */
|
||||
.quiz-result-box {
|
||||
background: var(--bg-card-alt, #f8faff);
|
||||
border-radius: 1.25rem;
|
||||
padding: 2rem 2.25rem;
|
||||
border: 1px solid var(--border-light, #e9ecef);
|
||||
}
|
||||
|
||||
.quiz-result-box .result-chip {
|
||||
display: inline-block;
|
||||
border: 1px solid var(--ide-primary-light);
|
||||
color: var(--ide-primary-light);
|
||||
padding: 0.25rem 0.85rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ---- Badge ---- */
|
||||
.ecosystem-badge {
|
||||
display: inline-block;
|
||||
padding: 0.2rem 0.85rem;
|
||||
border-radius: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.3px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.badge-project {
|
||||
background: var(--ide-accent-light, #e6f0ff);
|
||||
color: var(--ide-accent, #0066cc);
|
||||
}
|
||||
|
||||
/* ---- Responsive ---- */
|
||||
@media (max-width: 640px) {
|
||||
.quiz-container {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.quiz-options-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quiz-options-grid--2col {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quiz-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.quiz-header > div:last-child {
|
||||
text-align: left !important;
|
||||
align-self: flex-start;
|
||||
}
|
||||
}
|
||||
/* --- 9. Bloque 2: La Tensión y El Quiebre
|
||||
.tension-box {
|
||||
background-color: var(--bg-surface);
|
||||
|
||||
Reference in New Issue
Block a user