-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'displacement' into kim/displacement
- Loading branch information
Showing
9 changed files
with
279 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
...es-chart/timeseries-chart-temporal-slider/timeseries-chart-temporal-slider.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
<p style="text-align: center">Timeseries Date Slider Goes Here</p> | ||
<div #slider class="slider"></div> | ||
<div class="slider-labels"> | ||
<span>2000</span> | ||
<span>2005</span> | ||
<span>2010</span> | ||
<span>2015</span> | ||
<span>2023</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* Contenedor principal del slider */ | ||
.slider { | ||
margin: 0 auto; /* Centra el slider horizontalmente */ | ||
width: 100%; /* Ocupa todo el ancho disponible */ | ||
max-width: 95%; /* Opcional: Limita el ancho máximo para que no se extienda demasiado */ | ||
box-sizing: border-box; | ||
} | ||
|
||
.noUi-connect { | ||
background-color: #007BFF; /* Color principal */ | ||
height: 6px; /* Ajusta el grosor de la barra conectada */ | ||
} | ||
|
||
.noUi-handle { | ||
background-color: #FFFFFF; | ||
border: 2px solid #007BFF; /* Borde que combine con el color principal */ | ||
border-radius: 50%; /* Hace que el control sea redondo */ | ||
height: 20px; | ||
width: 20px; | ||
} | ||
|
||
.noUi-tooltip { | ||
background-color: #333; | ||
color: #fff; | ||
border-radius: 4px; | ||
font-size: 12px; | ||
} | ||
|
||
/* Estilos de las etiquetas debajo del slider */ | ||
.slider-labels { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; /* Ocupa todo el ancho del slider */ | ||
max-width: 95%; /* Limita el ancho para alinearse con el slider */ | ||
margin: 10px auto 0; /* Centra y da espacio superior al slider */ | ||
box-sizing: border-box; | ||
} | ||
|
||
.slider-labels span { | ||
font-size: 12px; | ||
color: #666; /* Color de las etiquetas */ | ||
} |
Oops, something went wrong.