186 lines
3.3 KiB
CSS
186 lines
3.3 KiB
CSS
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #f9fafb;
|
|
color: #212529;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.card {
|
|
height: auto !important;
|
|
overflow: visible;
|
|
display: block;
|
|
}
|
|
|
|
/* Asegura que la tarjeta se expanda al contenido */
|
|
.card-body {
|
|
height: auto !important;
|
|
overflow: visible;
|
|
display: block;
|
|
}
|
|
|
|
/* Multimedia */
|
|
#waveform {
|
|
width: 100%;
|
|
height: 100px;
|
|
margin-bottom: 10px;
|
|
}
|
|
#audioPlayer {
|
|
display: none;
|
|
}
|
|
|
|
/* Contenedor de la piscina */
|
|
#piscinaContainer {
|
|
background-color: #e6f7ff;
|
|
border: 2px dashed #007bff;
|
|
transition: all 0.3s ease;
|
|
overflow: visible;
|
|
padding: 1rem;
|
|
width: fit-content;
|
|
height: fit-content;
|
|
min-width: 300px;
|
|
min-height: 200px;
|
|
box-sizing: border-box;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Lienzo de piscina Konva */
|
|
#piscina {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-width: 300px;
|
|
min-height: 200px;
|
|
background-image:
|
|
linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
|
|
linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
|
|
background-size: 45px 45px;
|
|
background-position: top left;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Línea de tiempo */
|
|
.timeline-placeholder {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
gap: 10px;
|
|
padding: 1rem;
|
|
border: 1px solid #ddd;
|
|
background: #ffffff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.timeline-placeholder .step {
|
|
min-width: 100px;
|
|
padding: 0.5rem;
|
|
border: 1px solid #ccc;
|
|
background: white;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
box-shadow: 1px 1px 3px rgba(0,0,0,0.05);
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.timeline-placeholder .step:hover {
|
|
background-color: #dbeafe;
|
|
font-weight: bold;
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
/* Autocompletado */
|
|
#sugerenciasFigura {
|
|
margin-top: 4px;
|
|
padding: 6px 0;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
|
|
max-height: 160px;
|
|
overflow-y: auto;
|
|
position: absolute;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
#sugerenciasFigura button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 6px 12px;
|
|
font-size: 0.9rem;
|
|
border: none;
|
|
background: none;
|
|
text-align: left;
|
|
color: #333;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
#sugerenciasFigura button:hover {
|
|
background-color: #edf6ff;
|
|
color: #007bff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Vista previa */
|
|
#previewFigura img {
|
|
margin-top: 8px;
|
|
max-width: 100%;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
height: auto;
|
|
}
|
|
|
|
#previewFigura p {
|
|
font-size: 0.85rem;
|
|
color: #555;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#playPauseBtn {
|
|
background-color: #0d6efd;
|
|
color: white;
|
|
font-weight: 500;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
#playPauseBtn:hover {
|
|
background-color: #084298;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.step.active {
|
|
background-color: #0d6efd !important;
|
|
color: white !important;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
/* Responsivo */
|
|
@media (max-width: 768px) {
|
|
#piscina {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.timeline-placeholder .step {
|
|
min-width: 80px;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.step.active {
|
|
background-color: #0d6efd !important;
|
|
color: white !important;
|
|
font-weight: bold;
|
|
}
|
|
|
|
}
|