general-library-union 2.5.87 → 2.5.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -599,26 +599,17 @@ color: var(--color-700);
|
|
|
599
599
|
color: #fff;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
/*
|
|
603
|
-
@keyframes scaleBall {
|
|
604
|
-
from {
|
|
605
|
-
transform: scale(0.8); /* Tamaño inicial de la bolita */
|
|
606
|
-
}
|
|
607
|
-
to {
|
|
608
|
-
transform: scale(1); /* Tamaño final de la bolita */
|
|
609
|
-
}
|
|
610
|
-
}
|
|
602
|
+
/* Aplicación de transición suave a la bolita del switch */
|
|
611
603
|
|
|
612
|
-
|
|
613
|
-
.
|
|
614
|
-
animation: scaleBall 0.6s ease-in-out; /* Duración y suavidad */
|
|
604
|
+
.eleccion-modo .p-inputswitch-slider {
|
|
605
|
+
transition: transform 0.4s ease-in-out; /* Ajusta la duración y la curva de tiempo */
|
|
615
606
|
}
|
|
616
607
|
|
|
617
|
-
/*
|
|
618
|
-
.p-inputswitch-checked .p-inputswitch-slider {
|
|
619
|
-
animation: scaleBall 0.6s ease-in-out; /* Ajusta duración y suavidad */
|
|
620
|
-
}
|
|
608
|
+
/* Cuando el switch está activado */
|
|
621
609
|
|
|
610
|
+
.eleccion-modo .p-inputswitch-checked .p-inputswitch-slider {
|
|
611
|
+
transform: translateX(100%); /* Mueve la bolita a la posición de "on" */
|
|
612
|
+
}
|
|
622
613
|
/******************************************************************************
|
|
623
614
|
* color border styles
|
|
624
615
|
*****************************************************************************/
|