rf-v4.9-desafios+soluciones
This commit is contained in:
+392
@@ -0,0 +1,392 @@
|
||||
/* =========================================================
|
||||
DESAFÍOS - TARJETAS (NUEVO LAYOUT HORIZONTAL INFERIOR)
|
||||
========================================================= */
|
||||
|
||||
.desafio-card {
|
||||
position: relative;
|
||||
background: var(--bg-primary, #ffffff);
|
||||
border-radius: var(--radius-md, 12px);
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.desafio-card:hover,
|
||||
.desafio-card:focus {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.desafio-card:focus-visible {
|
||||
outline: 3px solid var(--ide-primary, #0066cc);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* --- IMAGEN (azul en el esquema) --- */
|
||||
.desafio-card__image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 200px; /* Ajustá según necesites */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.desafio-card__image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.4s ease;
|
||||
}
|
||||
|
||||
.desafio-card:hover .desafio-card__image img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.desafio-card__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to bottom,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
rgba(0, 0, 0, 0.2) 100%);
|
||||
}
|
||||
|
||||
/* --- CONTENIDO (verde en el esquema) --- */
|
||||
.desafio-card__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1rem 1.25rem;
|
||||
background: var(--bg-primary, #ffffff);
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
/* Icono (rojo en el esquema) */
|
||||
.desafio-card__icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 10px;
|
||||
background: var(--bg-subtle, #f5f5f5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.35rem;
|
||||
color: var(--ide-primary, #0066cc);
|
||||
flex-shrink: 0;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.desafio-card:hover .desafio-card__icon {
|
||||
background: var(--ide-primary, #0066cc);
|
||||
color: #ffffff;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* Título (negro en el esquema) */
|
||||
.desafio-card__title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
color: var(--text-body, #333);
|
||||
margin: 0;
|
||||
flex: 1; /* Ocupa el espacio disponible */
|
||||
}
|
||||
|
||||
/* Botón + (amarillo en el esquema) */
|
||||
.desafio-card__plus {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background: var(--ide-primary, #0066cc);
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.2s ease;
|
||||
line-height: 1;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.desafio-card:hover .desafio-card__plus {
|
||||
background: var(--ide-primary-dark, #0055aa);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
/* =========================================================
|
||||
RESPONSIVE
|
||||
========================================================= */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.desafio-card__image {
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.desafio-card__content {
|
||||
padding: 0.85rem 1rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.desafio-card__icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.desafio-card__title {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.desafio-card__plus {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* =========================================================
|
||||
MODALES COMPACTOS - 2 COLUMNAS
|
||||
========================================================= */
|
||||
|
||||
.modal-compact {
|
||||
background: var(--bg-primary, #ffffff);
|
||||
border-radius: var(--radius-lg, 16px);
|
||||
max-width: 800px;
|
||||
width: 90%;
|
||||
max-height: 85vh;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
|
||||
animation: modalCompactSlideIn 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes modalCompactSlideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px) scale(0.97);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.modal-compact .modal-close-btn {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: var(--bg-subtle, #f5f5f5);
|
||||
border: none;
|
||||
font-size: 1.1rem;
|
||||
color: var(--text-muted, #6c757d);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s ease;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.modal-compact .modal-close-btn:hover {
|
||||
background: var(--text-muted, #6c757d);
|
||||
color: #ffffff;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* Body: 2 columnas */
|
||||
.modal-compact__body {
|
||||
display: grid;
|
||||
grid-template-columns: 1.2fr 1fr;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
/* Columna 1: Textos */
|
||||
.modal-compact__col-text {
|
||||
padding: 2rem 2rem 2rem 2.5rem;
|
||||
border-right: 1px solid var(--border-color, #e0e0e0);
|
||||
}
|
||||
|
||||
.modal-compact__title {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-body, #333);
|
||||
margin: 0 0 1.25rem;
|
||||
line-height: 1.3;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
.modal-compact__title i {
|
||||
color: var(--ide-primary, #0066cc);
|
||||
font-size: 1.5rem;
|
||||
flex-shrink: 0;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.modal-compact__intro {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-muted, #6c757d);
|
||||
margin: 0 0 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
||||
}
|
||||
|
||||
/* Secciones */
|
||||
.modal-compact__section {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.modal-compact__section:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.modal-compact__section-title {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-body, #333);
|
||||
margin: 0 0 0.75rem;
|
||||
}
|
||||
|
||||
/* Lista de preguntas */
|
||||
.modal-compact__list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.modal-compact__list li {
|
||||
padding: 0.75rem 1rem;
|
||||
background: var(--bg-subtle, #f5f5f5);
|
||||
border-radius: 6px;
|
||||
border-left: 3px solid var(--ide-primary, #0066cc);
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.5;
|
||||
color: var(--text-body, #333);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.modal-compact__list li:hover {
|
||||
background: var(--bg-primary, #ffffff);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
/* Badges */
|
||||
.modal-compact__badges {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* Columna 2: Visual */
|
||||
.modal-compact__col-visual {
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
background: var(--bg-subtle, #f8f9fa);
|
||||
border-radius: 0 var(--radius-lg, 16px) var(--radius-lg, 16px) 0;
|
||||
}
|
||||
|
||||
.modal-compact__image {
|
||||
width: 100%;
|
||||
border-radius: var(--radius-md, 12px);
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.modal-compact__image img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Iconos */
|
||||
.modal-compact__icons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.modal-compact__icon-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem;
|
||||
background: var(--bg-primary, #ffffff);
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.modal-compact__icon-item:hover {
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
transform: translateX(3px);
|
||||
}
|
||||
|
||||
.modal-compact__icon-item i {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
background: linear-gradient(135deg, var(--ide-primary, #0066cc) 0%, var(--ide-accent, #00aa88) 100%);
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.modal-compact__icon-item span {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-body, #333);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
/* CTA */
|
||||
.modal-compact__cta {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
padding: 0.85rem 1.5rem;
|
||||
font-size: 0.95rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
/* =========================================================
|
||||
RESPONSIVE
|
||||
========================================================= */
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.modal-compact__body {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.modal-compact__col-text {
|
||||
padding: 2rem 1.5rem;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
||||
}
|
||||
|
||||
.modal-compact__col-visual {
|
||||
border-radius: 0 0 var(--radius-lg, 16px) var(--radius-lg, 16px);
|
||||
}
|
||||
|
||||
.modal-compact__title {
|
||||
font-size: 1.2rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
+1
-28
@@ -21,34 +21,7 @@
|
||||
--eco-tab-duration: 250ms;
|
||||
}
|
||||
|
||||
.herobg-1{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.6) 0%,
|
||||
rgba(0, 0, 0, 0.3) 20%,
|
||||
rgba(0, 0, 0, 0.15) 70%,
|
||||
rgba(0, 0, 0, 0.0) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero_003.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.herobg-2{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(44,109,140, 1) 0%,
|
||||
rgba(44,109,140, 0.5) 40%,
|
||||
rgba(44,109,140, 0.2) 70%,
|
||||
rgba(44,109,140, 0.05) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero_017.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ---------- TABS / BOTONES ---------- */
|
||||
|
||||
+1011
File diff suppressed because it is too large
Load Diff
+86
-1
@@ -266,6 +266,10 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.section-padding-md {
|
||||
padding-top: clamp(2.5rem, 4vw, 4.5rem);
|
||||
padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
|
||||
}
|
||||
|
||||
.section-padding-sm {
|
||||
padding-top: clamp(1rem, 2vw, 3.5rem);
|
||||
@@ -284,6 +288,63 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
.bg3{
|
||||
background: radial-gradient(circle at 50% 50%, var(--ide-accent-soft) 0%, transparent 100%), var(--bg-body);
|
||||
}
|
||||
.herobg-1{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.6) 0%,
|
||||
rgba(0, 0, 0, 0.3) 20%,
|
||||
rgba(0, 0, 0, 0.15) 70%,
|
||||
rgba(0, 0, 0, 0.0) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero_003.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.herobg-2{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(44,109,140, 1) 0%,
|
||||
rgba(44,109,140, 0.5) 40%,
|
||||
rgba(44,109,140, 0.2) 70%,
|
||||
rgba(44,109,140, 0.05) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero_017.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.herobg-3{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(56,128,89, 1) 0%,
|
||||
rgba(56,128,89, 0.5) 40%,
|
||||
rgba(56,128,89, 0.2) 70%,
|
||||
rgba(56,128,89, 0.05) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero-desafios.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.herobg-4{
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0.6) 0%,
|
||||
rgba(0, 0, 0, 0.3) 20%,
|
||||
rgba(0, 0, 0, 0.15) 70%,
|
||||
rgba(0, 0, 0, 0.0) 100%
|
||||
),
|
||||
url('../assets/img/hero/hero-soluciones.png');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* --- 5. Componentes: Header & Navbar --- */
|
||||
@@ -1031,6 +1092,11 @@ p, li, .lead-text, .text-body, .text-muted {
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
gap: 1.25rem;
|
||||
}
|
||||
.grid-6 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
/* --- 8. Hero: La Doble Entrada (Home) --- */
|
||||
|
||||
@@ -2490,7 +2556,26 @@ canvas {
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
.parallax-bg-layer2 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
/* Imagen de fondo */
|
||||
background-image: url('../assets/img/34.png');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
|
||||
/* CLAVE: Deja la imagen fija en el viewport mientras el sitio scrollea */
|
||||
background-attachment: fixed;
|
||||
|
||||
/* Estética sobria IDE */
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.1;
|
||||
}
|
||||
/* Cortina suave en bordes superior e inferior para fundir con el header/footer */
|
||||
.parallax-overlay {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user