anima-ds-nucleus 1.0.20 → 1.0.22

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/src/style.css CHANGED
@@ -755,4 +755,110 @@
755
755
  background-position: center;
756
756
  mix-blend-mode: soft-light;
757
757
  opacity: 0.85;
758
+ }
759
+
760
+ /* ============================================
761
+ LOGIN FORM - Clases estables del Design System
762
+ ============================================ */
763
+
764
+ /* Contenedor principal del LoginForm */
765
+ .anima-loginform__container {
766
+ width: 100%;
767
+ max-width: 28rem; /* 448px - equivalente aproximado a 427px pero responsive */
768
+ }
769
+
770
+ /* Card del formulario */
771
+ .anima-loginform__card {
772
+ min-height: 25.5625rem; /* 409px */
773
+ border-radius: 0.875rem; /* 14px */
774
+ border: 1px solid #0000001A;
775
+ padding: 1.5rem; /* 24px */
776
+ background: #FFFFFF;
777
+ box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
778
+ }
779
+
780
+ /* Fila de botones sociales */
781
+ .anima-loginform__socialRow {
782
+ display: flex;
783
+ gap: 1.25rem; /* 20px */
784
+ width: 100%;
785
+ height: 2.25rem; /* 36px */
786
+ }
787
+
788
+ /* Botones sociales individuales */
789
+ .anima-loginform__socialButton {
790
+ flex: 1;
791
+ display: flex;
792
+ align-items: center;
793
+ justify-content: center;
794
+ height: 2.25rem; /* 36px */
795
+ padding: 0.5rem 2.6875rem; /* 8px 43px */
796
+ gap: 1rem; /* 16px */
797
+ border-radius: 0.5rem; /* 8px */
798
+ border: 1px solid #38656D;
799
+ background-color: white;
800
+ transition: background-color 0.2s;
801
+ cursor: pointer;
802
+ }
803
+
804
+ .anima-loginform__socialButton:hover {
805
+ background-color: #f9fafb; /* hover:bg-gray-50 */
806
+ }
807
+
808
+ /* Caja de error general */
809
+ .anima-loginform__errorBox {
810
+ width: 100%;
811
+ min-height: 4.25rem; /* 68px */
812
+ }
813
+
814
+ /* Responsive: mantener botones sociales horizontales en mobile */
815
+ @media (max-width: 768px) {
816
+ .anima-loginform__socialRow {
817
+ flex-wrap: wrap;
818
+ }
819
+
820
+ .anima-loginform__socialButton {
821
+ min-width: calc(50% - 0.625rem); /* 50% menos la mitad del gap */
822
+ }
823
+ }
824
+
825
+ /* ============================================
826
+ PASSWORD INPUT - Clases estables del Design System
827
+ ============================================ */
828
+
829
+ /* Contenedor del campo de contraseña */
830
+ .anima-passwordfield {
831
+ width: 100%;
832
+ position: relative;
833
+ }
834
+
835
+ /* Input de contraseña con padding para el toggle */
836
+ .anima-passwordfield__input {
837
+ padding-right: 2.75rem !important; /* Espacio para el botón de toggle */
838
+ }
839
+
840
+ /* Botón de toggle de visibilidad */
841
+ .anima-passwordfield__toggle {
842
+ position: absolute;
843
+ top: 50%;
844
+ transform: translateY(-50%);
845
+ right: 0.75rem;
846
+ color: #6b7280;
847
+ background: none;
848
+ border: none;
849
+ cursor: pointer;
850
+ padding: 0;
851
+ display: flex;
852
+ align-items: center;
853
+ justify-content: center;
854
+ }
855
+
856
+ .anima-passwordfield__toggle:hover {
857
+ color: #374151;
858
+ }
859
+
860
+ .anima-passwordfield__toggle:focus {
861
+ outline: 2px solid #3b82f6;
862
+ outline-offset: 2px;
863
+ border-radius: 0.25rem;
758
864
  }