@unifiedsoftware/styles 2.0.0-beta.9 → 2.0.1-beta.2

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/css/styles.css CHANGED
@@ -109,6 +109,30 @@
109
109
  align-items: center;
110
110
  }
111
111
 
112
+ .us-opacity-0 {
113
+ opacity: 0;
114
+ }
115
+
116
+ .us-opacity-60 {
117
+ opacity: 0.6;
118
+ }
119
+
120
+ .us-opacity-100 {
121
+ opacity: 1;
122
+ }
123
+
124
+ .us-pointer {
125
+ cursor: pointer;
126
+ }
127
+
128
+ .us-hover-opacity-60:hover {
129
+ opacity: 0.6;
130
+ }
131
+
132
+ .us-hover-opacity-100:hover {
133
+ opacity: 1;
134
+ }
135
+
112
136
  .us-chip {
113
137
  position: relative;
114
138
  height: var(--us-chip-height);
@@ -170,7 +194,6 @@
170
194
  cursor: pointer;
171
195
  color: var(--us-button-color);
172
196
  background-color: var(--us-button-background);
173
- z-index: 0;
174
197
  display: inline-flex;
175
198
  justify-content: center;
176
199
  align-items: center;
@@ -195,6 +218,8 @@
195
218
  justify-content: center;
196
219
  }
197
220
  .us-button-group {
221
+ border-radius: var(--us-button-border-radius);
222
+ position: relative;
198
223
  display: inline-flex;
199
224
  align-items: center;
200
225
  }
@@ -230,7 +255,7 @@
230
255
  .us-button-group--col .us-button:not(.us-button:last-of-type) {
231
256
  border-bottom: var(--us-button-divider-width) solid var(--us-button-divider-color);
232
257
  }
233
- .us-button__start-icon, .us-button__end-icon, .us-button__content {
258
+ .us-button__start-icon, .us-button__end-icon {
234
259
  position: relative;
235
260
  display: flex;
236
261
  align-items: center;
@@ -713,1437 +738,1449 @@
713
738
  transform: translateY(100%);
714
739
  }
715
740
 
716
- .us-input {
741
+ .us-accordion {
717
742
  position: relative;
718
- width: 100%;
719
- padding: 0;
720
- min-height: var(--us-input-height);
721
- display: flex;
722
- align-items: center;
723
- border: none;
724
- border-radius: var(--us-input-border-radius);
725
- color: var(--us-input-color);
726
- background-color: var(--us-input-background);
743
+ border-radius: var(--us-accordion-border-radius);
727
744
  z-index: 0;
728
- transition: all 0.2s ease-in-out;
729
- }
730
- .us-input:focus-visible {
731
- outline: none;
732
- }
733
- .us-input:not(.us-input--filterable) {
734
- cursor: pointer;
735
- }
736
- .us-input--disabled {
737
- opacity: 0.75;
738
- pointer-events: none;
739
- }
740
- .us-input--read-only {
741
- pointer-events: none;
742
- }
743
- .us-input--clearable .us-input__clearable {
744
- transform: scale(0);
745
- transition: all 0.2s ease-in-out;
746
745
  }
747
- .us-input--clearable:hover .us-input__clearable {
748
- transform: scale(0.75);
746
+ .us-accordion:not(.us-accordion--splitted) {
747
+ overflow: hidden;
748
+ background-color: white;
749
749
  }
750
- .us-input-group {
751
- display: flex;
752
- align-items: center;
750
+ .us-accordion--splitted {
751
+ display: grid;
752
+ gap: var(--us-accordion-splitted-gap);
753
753
  }
754
- .us-input-group .us-input {
755
- border-radius: 0px;
754
+ .us-accordion--splitted .us-accordion-item {
755
+ overflow: hidden;
756
756
  }
757
- .us-input-group .us-input:first-of-type {
758
- border-top-left-radius: var(--us-input-border-radius);
759
- border-bottom-left-radius: var(--us-input-border-radius);
757
+ .us-accordion-item {
758
+ position: relative;
759
+ border-bottom: var(--us-accordion-item-border);
760
760
  }
761
- .us-input-group .us-input:last-of-type {
762
- border-top-right-radius: var(--us-input-border-radius);
763
- border-bottom-right-radius: var(--us-input-border-radius);
761
+ .us-accordion-item:last-child {
762
+ border-bottom: none;
764
763
  }
765
- .us-input__icon {
766
- padding: 0;
764
+ .us-accordion-header {
765
+ position: relative;
766
+ height: var(--us-accordion-header-height);
767
+ min-height: var(--us-accordion-header-min-height);
768
+ padding-block: var(--us-accordion-header-padding-y);
769
+ padding-inline: var(--us-accordion-header-padding-x);
770
+ color: var(--us-accordion-header-color);
771
+ z-index: 0;
767
772
  display: flex;
768
- justify-content: center;
769
773
  align-items: center;
770
- border: none;
771
- outline: none;
772
- background-color: transparent;
773
- }
774
- .us-input__icon--opacity {
775
- opacity: 0;
774
+ gap: var(--us-accordion-header-gap);
776
775
  }
777
- .us-input__icon--pointer {
776
+ .us-accordion-header--collapsible {
778
777
  cursor: pointer;
778
+ user-select: none;
779
+ -webkit-tap-highlight-color: transparent;
779
780
  }
780
- .us-input:hover .us-input__icon--opacity-hoverable {
781
- opacity: 0.5;
782
- }
783
- .us-input:hover .us-input__icon--opacity-hoverable:hover {
784
- opacity: 1;
785
- }
786
- .us-input__content {
787
- flex: 1;
788
- height: 100%;
781
+ .us-accordion-header__start-content, .us-accordion-header__end-content {
782
+ flex-shrink: 0;
789
783
  display: flex;
790
784
  align-items: center;
791
- z-index: 1;
792
- overflow: hidden;
785
+ gap: var(--us-accordion-header-content-gap);
793
786
  }
794
- .us-input__content--chips {
795
- padding-block: var(--us-input-padding-y);
796
- padding-inline: var(--us-input-padding-x);
787
+ .us-accordion-header__content {
797
788
  flex-grow: 1;
798
789
  display: flex;
799
- flex-wrap: wrap;
800
- gap: 0.25rem;
790
+ flex-direction: column;
791
+ overflow: hidden;
801
792
  }
802
- .us-input__content--chips input {
803
- flex: 1;
804
- height: 24px;
805
- border: none;
806
- outline: none;
807
- color: inherit;
808
- background: inherit;
809
- min-width: 0;
793
+ .us-accordion-header--centered .us-accordion-header__start-content, .us-accordion-header--centered .us-accordion-header__end-content {
794
+ position: absolute;
810
795
  }
811
- .us-input__field {
812
- flex: 1;
813
- width: 100%;
814
- height: 100%;
815
- padding-block: var(--us-input-padding-y);
816
- padding-inline: var(--us-input-padding-x);
817
- font-size: var(--us-input-font-size);
818
- font-family: var(--us-input-font-family);
819
- line-height: var(--us-input-line-height);
820
- border: none;
821
- outline: none;
822
- color: var(--us-input-color);
823
- background-color: transparent;
824
- display: flex;
825
- align-items: center;
796
+ .us-accordion-header--centered .us-accordion-header__start-content {
797
+ left: var(--us-accordion-header-padding-x);
826
798
  }
827
- .us-input__field:focus {
828
- outline: none !important;
799
+ .us-accordion-header--centered .us-accordion-header__end-content {
800
+ right: var(--us-accordion-header-padding-x);
829
801
  }
830
- .us-input__field::placeholder {
831
- color: var(--us-input-placeholder-color);
802
+ .us-accordion-header--centered .us-accordion-header__content {
803
+ align-items: center;
804
+ text-align: center;
832
805
  }
833
- .us-input__search, .us-input__placeholder {
834
- flex: 1;
835
- width: 100%;
836
- padding-block: var(--us-input-padding-y);
837
- padding-inline: var(--us-input-padding-x);
838
- font-size: var(--us-input-font-size);
839
- font-family: var(--us-input-font-family);
840
- line-height: var(--us-input-line-height);
841
- color: var(--us-input-color);
806
+ .us-accordion-header__title {
807
+ font-size: var(--us-accordion-header-title-font-size);
808
+ font-weight: var(--us-accordion-header-title-font-weight);
809
+ line-height: var(--us-accordion-header-title-line-height);
810
+ opacity: var(--us-accordion-header-title-opacity);
842
811
  overflow: hidden;
812
+ color: var(--us-accordion-header-title-color);
813
+ display: -webkit-box;
814
+ -webkit-box-orient: vertical;
815
+ -webkit-line-clamp: 1;
843
816
  text-overflow: ellipsis;
844
- white-space: nowrap;
845
- display: block;
817
+ word-break: break-word;
846
818
  }
847
- .us-input__placeholder {
848
- opacity: 0.6;
819
+ .us-accordion-header__subtitle {
820
+ font-size: var(--us-accordion-header-subtitle-font-size);
821
+ font-weight: var(--us-accordion-header-subtitle-font-weight);
822
+ line-height: var(--us-accordion-header-subtitle-line-height);
823
+ opacity: var(--us-accordion-header-subtitle-opacity);
824
+ overflow: hidden;
825
+ color: var(--us-accordion-header-subtitle-color);
826
+ display: -webkit-box;
827
+ -webkit-box-orient: vertical;
828
+ -webkit-line-clamp: 1;
829
+ text-overflow: ellipsis;
830
+ word-break: break-word;
849
831
  }
850
- .us-input__start-content, .us-input__end-content {
851
- flex-shrink: 0;
852
- height: 100%;
853
- display: flex;
854
- align-items: center;
855
- font-size: var(--us-input-font-size);
856
- font-family: var(--us-input-font-family);
857
- line-height: var(--us-input-line-height);
858
- gap: var(--us-input-content-gap);
832
+ .us-accordion-header:not(.us-accordion-header--bordered) ~ .us-accordion-body:not([data-hidden=true]), .us-accordion-header:not(.us-accordion-header--bordered) ~ :not([hidden]) .us-accordion-body:not([data-hidden=true]) {
833
+ padding-top: 0;
859
834
  }
860
- .us-input__start-content .us-icon, .us-input__end-content .us-icon {
861
- font-size: var(--us-input-icon-size);
835
+ .us-accordion-header--bordered ~ .us-accordion-body:not([data-hidden=true]), .us-accordion-header--bordered ~ :not([hidden]) .us-accordion-body:not([data-hidden=true]) {
836
+ border-top-width: 1px;
862
837
  }
863
- .us-input__start-content {
864
- margin-right: calc(-1 * var(--us-input-icon-size));
865
- padding-inline: calc(0.75 * var(--us-input-padding-x));
838
+ .us-accordion-body {
839
+ position: relative;
840
+ border-top: 0px solid #ddd;
841
+ padding-block: var(--us-accordion-body-padding-y);
842
+ padding-inline: var(--us-accordion-body-padding-x);
843
+ font-size: var(--us-accordion-body-font-size);
844
+ line-height: var(--us-accordion-body-line-height);
845
+ color: var(--us-accordion-body-color);
866
846
  }
867
- .us-input__end-content {
868
- margin-left: calc(-1 * var(--us-input-icon-size));
869
- padding-inline: calc(0.75 * var(--us-input-padding-x));
847
+ .us-accordion-panel {
848
+ padding: 1rem;
870
849
  }
871
850
 
872
- .us-checkbox {
873
- cursor: pointer;
874
- display: inline-flex;
851
+ .us-list {
852
+ margin: 0;
853
+ padding: var(--us-list-padding-y) var(--us-list-padding-x);
854
+ color: var(--us-list-color);
855
+ background-color: var(--us-list-background);
856
+ }
857
+ .us-list-item {
858
+ position: relative;
859
+ height: var(--us-list-item-height);
860
+ min-height: var(--us-list-item-min-height);
861
+ padding-block: var(--us-list-item-padding-y);
862
+ padding-inline: var(--us-list-item-padding-x);
863
+ font-size: var(--us-list-item-font-size);
864
+ font-weight: var(--us-list-item-font-weight);
865
+ border-radius: var(--us-list-item-border-radius);
866
+ text-decoration: none;
867
+ z-index: 0;
868
+ display: flex;
875
869
  align-items: center;
876
- gap: var(--us-checkbox-gap);
870
+ color: var(--us-list-item-color);
871
+ background-color: var(--us-list-item-background);
877
872
  -webkit-tap-highlight-color: transparent;
873
+ gap: var(--us-list-item-gap);
878
874
  }
879
- .us-checkbox input {
880
- position: absolute;
881
- width: 0;
882
- height: 0;
883
- opacity: 0;
875
+ .us-list-item:hover {
876
+ text-decoration: none;
884
877
  }
885
- .us-checkbox--disabled {
878
+ .us-list-item--hoverable, .us-list-item--selected {
879
+ cursor: pointer;
880
+ user-select: none;
881
+ }
882
+ .us-list-item--disabled {
886
883
  opacity: 0.6;
887
884
  pointer-events: none;
888
885
  }
889
- .us-checkbox--read-only {
890
- pointer-events: none;
891
- }
892
- .us-checkbox__control {
893
- position: relative;
894
- width: var(--us-checkbox-control-width);
895
- height: var(--us-checkbox-control-height);
896
- border-width: var(--us-checkbox-control-border-width);
897
- border-style: var(--us-checkbox-control-border-style);
898
- border-color: var(--us-checkbox-control-border-color);
899
- border-radius: var(--us-checkbox-control-border-radius);
900
- color: var(--us-checkbox-control-color);
886
+ .us-list-item__start-content, .us-list-item__end-content {
887
+ flex-shrink: 0;
888
+ z-index: 1;
901
889
  display: flex;
902
890
  justify-content: center;
903
891
  align-items: center;
904
- transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
905
- overflow: hidden;
906
- }
907
- .us-checkbox--before .us-checkbox__control {
908
- order: 2;
892
+ gap: var(--us-list-item-gap);
909
893
  }
910
- .us-checkbox--befire .us-checkbox__label {
911
- order: 1;
894
+ .us-list-item__content {
895
+ flex-grow: 1;
896
+ z-index: 1;
897
+ display: grid;
898
+ overflow: hidden;
912
899
  }
913
- .us-checkbox--checked .us-checkbox__control {
914
- border-color: var(--us-_checked-checkbox-control-border-color, var(--us-checkbox-control-border-color));
915
- color: var(--us-_checked-checkbox-control-color, var(--us-checkbox-control-color));
900
+ .us-list-item__title {
901
+ font-size: var(--us-list-item-title-font-size);
902
+ font-weight: var(--us-list-item-title-font-weight);
903
+ line-height: var(--us-list-item-title-line-height);
904
+ opacity: var(--us-list-item-title-opacity);
905
+ overflow: hidden;
906
+ color: var(--us-list-item-title-color);
907
+ display: -webkit-box;
908
+ -webkit-box-orient: vertical;
909
+ -webkit-line-clamp: 1;
916
910
  }
917
- .us-checkbox--focus .us-checkbox__control {
918
- box-shadow: var(--us-_focus-checkbox-control-box-shadow);
911
+ .us-list-item__subtitle {
912
+ font-size: var(--us-list-item-subtitle-font-size);
913
+ font-weight: var(--us-list-item-subtitle-font-weight);
914
+ line-height: var(--us-list-item-subtitle-line-height);
915
+ opacity: var(--us-list-item-subtitle-opacity);
916
+ overflow: hidden;
917
+ color: var(--us-list-item-subtitle-color);
918
+ display: -webkit-box;
919
+ -webkit-box-orient: vertical;
920
+ -webkit-line-clamp: 1;
919
921
  }
920
- .us-checkbox__tap {
921
- position: absolute;
922
- inset: 0px;
923
- opacity: 0;
924
- border-radius: inherit;
925
- background-color: var(--us-checkbox-tap-background);
926
- transform: scale(0);
927
- transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
922
+ .us-list-subheader--bordered {
923
+ border-bottom: var(--us-list-subheader-border-width) solid var(--us-list-subheader-border-color);
928
924
  }
929
- .us-checkbox--checked .us-checkbox__tap {
930
- opacity: 1;
931
- transform: scale(1.5);
925
+ .us-list-group .us-list {
926
+ --us-list-background: var(--us-list-group-background);
932
927
  }
933
- .us-checkbox .us-icon {
934
- opacity: 1;
935
- transform: scale(0);
936
- transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
928
+
929
+ .us-data-list {
930
+ flex-grow: 1;
931
+ overflow: hidden;
937
932
  }
938
- .us-checkbox--checked .us-icon {
939
- opacity: 1;
940
- transform: scale(1);
933
+
934
+ .us-menu {
935
+ margin: 0;
936
+ padding: var(--us-menu-padding-y) var(--us-menu-padding-x);
937
+ color: var(--us-menu-color);
938
+ background-color: var(--us-menu-background);
941
939
  }
942
- .us-checkbox-group {
940
+ .us-menu-item {
941
+ position: relative;
942
+ height: var(--us-menu-item-height);
943
+ padding: var(--us-menu-item-padding-y) var(--us-menu-item-padding-x);
944
+ font-size: var(--us-menu-item-font-size);
945
+ font-weight: var(--us-menu-item-font-weight);
946
+ border-radius: var(--us-menu-item-border-radius);
947
+ text-decoration: none;
948
+ cursor: pointer;
949
+ z-index: 0;
943
950
  display: flex;
944
- flex-wrap: wrap;
945
- gap: var(--us-checkbox-group-gap);
946
- }
947
- .us-checkbox-group--row {
948
- flex-direction: row;
949
951
  align-items: center;
952
+ color: var(--us-menu-item-color);
953
+ background-color: var(--us-menu-item-background);
954
+ user-select: none;
955
+ -webkit-tap-highlight-color: transparent;
956
+ gap: var(--us-menu-item-gap);
950
957
  }
951
- .us-checkbox-group--col {
952
- flex-direction: column;
953
- }
954
- .us-checkbox-group--start {
955
- justify-content: flex-start;
956
- }
957
- .us-checkbox-group--center {
958
- justify-content: center;
959
- }
960
- .us-checkbox-group--end {
961
- justify-content: flex-end;
962
- }
963
- .us-checkbox-group--stretch .us-checkbox {
964
- flex-grow: 1;
965
- }
966
- .us-checkbox__label {
967
- font-size: var(--us-checkbox-label-font-size);
968
- color: var(--us-checkbox-label-color);
958
+ .us-menu-item:hover {
959
+ text-decoration: none;
969
960
  }
970
-
971
- .us-radio {
961
+ .us-menu-item--hoverable {
972
962
  cursor: pointer;
973
- display: inline-flex;
974
- align-items: center;
975
- gap: var(--us-radio-gap);
976
- -webkit-tap-highlight-color: transparent;
963
+ user-select: none;
977
964
  }
978
- .us-radio--disabled {
965
+ .us-menu-item--disabled {
979
966
  opacity: 0.6;
980
967
  pointer-events: none;
981
968
  }
982
- .us-radio--read-only {
983
- pointer-events: none;
969
+ .us-menu-item__start-content {
970
+ flex-shrink: 0;
971
+ z-index: 1;
972
+ display: flex;
973
+ justify-content: center;
974
+ align-items: center;
984
975
  }
985
- .us-radio__control {
986
- position: relative;
987
- width: var(--us-radio-control-width);
988
- height: var(--us-radio-control-height);
989
- border-width: var(--us-radio-control-border-width);
990
- border-style: var(--us-radio-control-border-style);
991
- border-color: var(--us-radio-control-border-color);
992
- border-radius: var(--us-radio-control-border-radius);
993
- color: var(--us-radio-control-color);
976
+ .us-menu-item__start-content, .us-menu-item__end-content {
977
+ flex-shrink: 0;
978
+ z-index: 1;
994
979
  display: flex;
995
980
  justify-content: center;
996
981
  align-items: center;
997
- transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
982
+ gap: calc(var(--us-list-item-gap) * 0.5);
983
+ }
984
+ .us-menu-item__content {
985
+ flex-grow: 1;
986
+ z-index: 1;
987
+ display: grid;
998
988
  overflow: hidden;
999
989
  }
1000
- .us-radio--before .us-radio__control {
1001
- order: 2;
990
+ .us-menu-item__title {
991
+ overflow: hidden;
992
+ display: -webkit-box;
993
+ -webkit-box-orient: vertical;
994
+ -webkit-line-clamp: 1;
1002
995
  }
1003
- .us-radio--befire .us-radio__label {
1004
- order: 1;
996
+ .us-menu-group {
997
+ position: relative;
998
+ height: var(--us-menu-group-height);
999
+ padding: var(--us-menu-group-padding-y) var(--us-menu-group-padding-x);
1000
+ font-size: var(--us-menu-group-font-size);
1001
+ font-weight: var(--us-menu-group-font-weight);
1002
+ text-decoration: none;
1003
+ border-bottom: var(--us-menu-group-border-width) solid var(--us-menu-group-border-color);
1004
+ border-radius: var(--us-menu-group-border-radius);
1005
+ display: flex;
1006
+ align-items: center;
1007
+ color: var(--us-menu-group-color);
1008
+ background-color: var(--us-menu-group-background);
1009
+ gap: var(--us-menu-group-gap);
1005
1010
  }
1006
- .us-radio--checked .us-radio__control {
1007
- border-color: var(--us-_checked-radio-control-border-color, var(--us-radio-control-border-color));
1008
- color: var(--us-_checked-radio-control-color, var(--us-radio-control-color));
1011
+ .us-menu-group:hover {
1012
+ text-decoration: none;
1009
1013
  }
1010
- .us-radio--focus .us-radio__control {
1011
- box-shadow: var(--us-_focus-radio-control-box-shadow);
1014
+ .us-menu-group__icon {
1015
+ flex-shrink: 0;
1016
+ z-index: 1;
1017
+ display: flex;
1018
+ justify-content: center;
1019
+ align-items: center;
1012
1020
  }
1013
- .us-radio__tap {
1014
- position: absolute;
1015
- inset: 0px;
1016
- opacity: 0;
1017
- border-radius: inherit;
1018
- background-color: var(--us-radio-tap-background);
1019
- transform: scale(0);
1020
- transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
1021
+ .us-menu-group__content {
1022
+ flex-grow: 1;
1023
+ z-index: 1;
1024
+ display: grid;
1025
+ overflow: hidden;
1021
1026
  }
1022
- .us-radio--checked .us-radio__tap {
1023
- opacity: 1;
1024
- transform: scale(1.5);
1027
+ .us-menu-group__title {
1028
+ overflow: hidden;
1029
+ display: -webkit-box;
1030
+ -webkit-box-orient: vertical;
1031
+ -webkit-line-clamp: 1;
1025
1032
  }
1026
- .us-radio .us-icon {
1027
- opacity: 1;
1028
- transform: scale(0);
1029
- transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
1033
+ .us-menu-submenu .us-menu {
1034
+ --us-menu-background: var(--us-submenu-background);
1030
1035
  }
1031
- .us-radio--checked .us-icon {
1032
- opacity: 1;
1033
- transform: scale(1);
1036
+
1037
+ .us-divider {
1038
+ width: 100%;
1039
+ height: 1px;
1040
+ background: var(--us-border-color);
1034
1041
  }
1035
- .us-radio-group {
1042
+
1043
+ .us-breadcrumb {
1044
+ padding: 0.5rem 0;
1045
+ font-size: 0.875rem;
1036
1046
  display: flex;
1037
- flex-wrap: wrap;
1038
- gap: var(--us-radio-group-gap);
1039
- }
1040
- .us-radio-group--row {
1041
- flex-direction: row;
1042
1047
  align-items: center;
1048
+ gap: 0;
1043
1049
  }
1044
- .us-radio-group--col {
1045
- flex-direction: column;
1050
+ .us-breadcrumb-item {
1051
+ padding: 0.25rem 0.5rem;
1052
+ white-space: nowrap;
1053
+ display: flex;
1054
+ align-items: center;
1046
1055
  }
1047
- .us-radio-group--start {
1048
- justify-content: flex-start;
1056
+ .us-breadcrumb-item:not(.us-breadcrumb-item--is-menu) {
1057
+ line-height: 32px;
1049
1058
  }
1050
- .us-radio-group--center {
1059
+
1060
+ .us-swipe {
1061
+ position: relative;
1062
+ }
1063
+ .us-swipe__content {
1064
+ position: relative;
1065
+ overflow-x: hidden;
1066
+ display: flex;
1067
+ align-items: center;
1068
+ gap: var(--us-swipe-gap);
1069
+ }
1070
+ @media (max-width: 767px) and (hover: none) {
1071
+ .us-swipe__content {
1072
+ overflow-x: auto;
1073
+ }
1074
+ }
1075
+ .us-swipe__start-content, .us-swipe__end-content {
1076
+ position: absolute;
1077
+ top: 50%;
1078
+ transform: translateY(-50%);
1079
+ z-index: 1;
1080
+ }
1081
+ .us-swipe__start-content {
1082
+ left: 0.5rem;
1083
+ }
1084
+ .us-swipe__end-content {
1085
+ right: 0.5rem;
1086
+ }
1087
+ .us-swipe--auto-hide .us-swipe__start-content, .us-swipe--auto-hide .us-swipe__end-content {
1088
+ transform: translateY(-50%) scale(0);
1089
+ transition: all 0.2s ease-in-out;
1090
+ }
1091
+ .us-swipe--auto-hide:hover .us-swipe__start-content, .us-swipe--auto-hide:hover .us-swipe__end-content {
1092
+ transform: translateY(-50%) scale(1);
1093
+ }
1094
+ .us-swipe--start .us-swipe-item:last-child {
1095
+ margin-right: auto;
1096
+ }
1097
+ .us-swipe--center .us-swipe-item:first-child {
1098
+ margin-left: auto;
1099
+ }
1100
+ .us-swipe--center .us-swipe-item:last-child {
1101
+ margin-right: auto;
1102
+ }
1103
+ .us-swipe--end .us-swipe-item:first-child {
1104
+ margin-left: auto;
1105
+ }
1106
+ .us-swipe-item {
1107
+ flex-shrink: 0;
1108
+ position: relative;
1109
+ }
1110
+
1111
+ .us-tabs {
1112
+ width: 100%;
1113
+ white-space: nowrap;
1114
+ flex-wrap: wrap;
1115
+ display: flex;
1116
+ align-items: center;
1117
+ }
1118
+ .us-tabs--start {
1119
+ justify-content: flex-start;
1120
+ }
1121
+ .us-tabs--center {
1051
1122
  justify-content: center;
1052
1123
  }
1053
- .us-radio-group--end {
1124
+ .us-tabs--end {
1054
1125
  justify-content: flex-end;
1055
1126
  }
1056
- .us-radio-group--stretch .us-radio {
1127
+ .us-tabs--stretch .us-tab {
1057
1128
  flex-grow: 1;
1058
1129
  }
1059
- .us-radio input {
1060
- position: absolute;
1061
- width: 0;
1062
- height: 0;
1063
- opacity: 0;
1064
- }
1065
- .us-radio__label {
1066
- font-size: var(--us-radio-label-font-size);
1067
- color: var(--us-radio-label-color);
1130
+ @media (max-width: 767px) and (hover: none) {
1131
+ .us-tabs {
1132
+ overflow: auto;
1133
+ }
1068
1134
  }
1069
1135
 
1070
- .us-switch {
1071
- --us-switch-control-padding: calc(var(--us-switch-thumb-width) * 0.25);
1072
- cursor: pointer;
1136
+ .us-tab {
1137
+ position: relative;
1138
+ padding-block: var(--us-tab-padding-y);
1139
+ padding-inline: var(--us-tab-padding-x);
1140
+ font-size: var(--us-tab-font-size);
1141
+ font-weight: var(--us-tab-font-weight);
1142
+ text-decoration: none;
1143
+ vertical-align: middle;
1144
+ border-radius: var(--us-tab-border-radius);
1145
+ z-index: 1;
1146
+ color: var(--us-tab-color);
1073
1147
  display: inline-flex;
1148
+ justify-content: center;
1074
1149
  align-items: center;
1075
- gap: var(--us-switch-gap);
1150
+ user-select: none;
1076
1151
  -webkit-tap-highlight-color: transparent;
1077
1152
  }
1078
- .us-switch input {
1079
- position: absolute;
1080
- opacity: 0;
1081
- width: 0;
1082
- height: 0;
1153
+ .us-tab:hover {
1154
+ text-decoration: none;
1083
1155
  }
1084
- .us-switch--disabled {
1156
+ .us-tab--disabled {
1085
1157
  opacity: 0.6;
1086
1158
  pointer-events: none;
1087
1159
  }
1088
- .us-switch--read-only {
1089
- pointer-events: none;
1160
+ .us-tab--closable {
1161
+ padding-inline-end: calc(var(--us-tab-padding-x) / 2);
1090
1162
  }
1091
- .us-switch__control {
1163
+ .us-tab__start-content, .us-tab__end-content {
1164
+ display: flex;
1165
+ align-items: center;
1166
+ }
1167
+ .us-tab__content {
1092
1168
  position: relative;
1093
- display: inline-block;
1094
- width: var(--us-switch-control-width);
1095
- height: var(--us-switch-control-height);
1096
- border-radius: var(--us-switch-control-border-radius);
1097
- cursor: pointer;
1098
- background-color: var(--us-switch-control-color);
1169
+ height: var(--us-tab-height);
1099
1170
  display: inline-flex;
1171
+ flex-direction: row;
1172
+ justify-content: center;
1100
1173
  align-items: center;
1101
- transition: all 0.05s ease-in-out;
1102
- user-select: none;
1103
- -webkit-tap-highlight-color: transparent;
1104
- }
1105
- .us-switch--before .us-switch__control {
1106
- order: 2;
1107
- }
1108
- .us-switch--befire .us-switch__label {
1109
- order: 1;
1174
+ gap: 8px;
1110
1175
  }
1111
- .us-switch--checked .us-switch__control {
1112
- background-color: var(--us-_checked-switch-control-color, var(--us-switch-control-color));
1176
+ .us-tab__indicator {
1177
+ position: absolute;
1178
+ height: var(--us-tab-indicator-height);
1179
+ border-radius: var(--us-tab-indicator-border-radius);
1180
+ inset: auto 0px 0px;
1181
+ opacity: 0;
1182
+ z-index: -1;
1183
+ color: var(--us-tab-indicator-color);
1184
+ transform-origin: left bottom;
1113
1185
  }
1114
- .us-switch--focus .us-switch__control {
1115
- box-shadow: var(--us-_focus-switch-control-box-shadow);
1186
+ .us-tab--selected .us-tab__indicator {
1187
+ opacity: 1;
1116
1188
  }
1117
- .us-switch__thumb {
1118
- width: var(--us-switch-thumb-width);
1119
- height: var(--us-switch-thumb-height);
1120
- transform: translateX(var(--us-switch-control-padding));
1121
- border-radius: var(--us-switch-thumb-border-radius);
1122
- background-color: var(--us-switch-thumb-color);
1123
- transition: all 0.05s ease-in-out;
1189
+ .us-tab__closable {
1190
+ position: relative;
1191
+ padding: 0.125rem;
1192
+ color: var(--us-tab-closable-color);
1193
+ border-radius: 9999px;
1194
+ transform: scale(0.75);
1195
+ cursor: pointer;
1196
+ transition: all 0.15s ease-in-out;
1124
1197
  }
1125
- .us-switch--checked .us-switch__thumb {
1126
- transform: translateX(calc(var(--us-switch-control-width) - var(--us-switch-thumb-width) - (var(--us-switch-control-padding))));
1198
+ .us-tab__closable:hover {
1199
+ transform: scale(1);
1127
1200
  }
1128
- .us-switch__label {
1129
- font-size: var(--us-switch-label-font-size);
1130
- color: var(--us-switch-label-color);
1201
+ .us-tab__closable::after {
1202
+ position: absolute;
1203
+ content: "";
1204
+ inset: 0px;
1205
+ border-radius: inherit;
1206
+ background-color: currentColor;
1207
+ opacity: 0;
1131
1208
  }
1132
1209
 
1133
- .us-accordion {
1210
+ .us-card {
1134
1211
  position: relative;
1135
- border-radius: var(--us-accordion-border-radius);
1212
+ border-radius: var(--us-card-border-radius);
1136
1213
  z-index: 0;
1137
- }
1138
- .us-accordion:not(.us-accordion--splitted) {
1139
1214
  overflow: hidden;
1215
+ -webkit-tap-highlight-color: transparent;
1140
1216
  background-color: white;
1217
+ padding-block: var(--us-card-padding-y);
1218
+ padding-inline: var(--us-card-padding-x);
1219
+ display: flex;
1220
+ flex-direction: column;
1221
+ gap: var(--us-card-gap);
1141
1222
  }
1142
- .us-accordion--splitted {
1143
- display: grid;
1144
- gap: var(--us-accordion-splitted-gap);
1223
+ .us-card:hover {
1224
+ text-decoration: none;
1145
1225
  }
1146
- .us-accordion--splitted .us-accordion-item {
1147
- overflow: hidden;
1226
+ .us-card--bordered {
1227
+ border: var(--us-card-border-width) var(--us-card-border-style) var(--us-card-border-color);
1148
1228
  }
1149
- .us-accordion-item {
1150
- position: relative;
1151
- border-bottom: var(--us-accordion-item-border);
1229
+ .us-card--shadow {
1230
+ box-shadow: var(--us-card-box-shadow);
1152
1231
  }
1153
- .us-accordion-item:last-child {
1154
- border-bottom: none;
1232
+ .us-card--hoverable, .us-card--selected {
1233
+ cursor: pointer;
1234
+ user-select: none;
1155
1235
  }
1156
- .us-accordion-header {
1236
+ .us-card--disabled {
1237
+ opacity: 0.6;
1238
+ cursor: not-allowed;
1239
+ user-select: none;
1240
+ }
1241
+ .us-card-header {
1157
1242
  position: relative;
1158
- height: var(--us-accordion-header-height);
1159
- min-height: var(--us-accordion-header-min-height);
1160
- padding-block: var(--us-accordion-header-padding-y);
1161
- padding-inline: var(--us-accordion-header-padding-x);
1162
- color: var(--us-accordion-header-color);
1163
- z-index: 0;
1243
+ flex-shrink: 0;
1244
+ height: var(--us-card-header-height);
1245
+ min-height: var(--us-card-header-min-height);
1246
+ padding-block: var(--us-card-header-padding-y);
1247
+ padding-inline: var(--us-card-header-padding-x);
1248
+ color: var(--us-card-header-color);
1164
1249
  display: flex;
1165
1250
  align-items: center;
1166
- gap: var(--us-accordion-header-gap);
1167
- }
1168
- .us-accordion-header--collapsible {
1169
- cursor: pointer;
1170
- user-select: none;
1171
- -webkit-tap-highlight-color: transparent;
1251
+ gap: var(--us-card-header-gap);
1172
1252
  }
1173
- .us-accordion-header__start-content, .us-accordion-header__end-content {
1253
+ .us-card-header__start-content, .us-card-header__end-content {
1174
1254
  flex-shrink: 0;
1175
1255
  display: flex;
1176
1256
  align-items: center;
1177
- gap: var(--us-accordion-header-content-gap);
1257
+ gap: var(--us-card-header-content-gap);
1178
1258
  }
1179
- .us-accordion-header__content {
1259
+ .us-card-header__content {
1180
1260
  flex-grow: 1;
1261
+ overflow: hidden;
1181
1262
  display: flex;
1182
1263
  flex-direction: column;
1264
+ justify-content: center;
1183
1265
  }
1184
- .us-accordion-header--centered .us-accordion-header__start-content, .us-accordion-header--centered .us-accordion-header__end-content {
1266
+ .us-card-header--centered .us-card-header__start-content, .us-card-header--centered .us-card-header__end-content {
1185
1267
  position: absolute;
1186
1268
  }
1187
- .us-accordion-header--centered .us-accordion-header__start-content {
1188
- left: var(--us-accordion-header-padding-x);
1269
+ .us-card-header--centered .us-card-header__start-content {
1270
+ left: var(--us-card-header-padding-x);
1189
1271
  }
1190
- .us-accordion-header--centered .us-accordion-header__end-content {
1191
- right: var(--us-accordion-header-padding-x);
1272
+ .us-card-header--centered .us-card-header__end-content {
1273
+ right: var(--us-card-header-padding-x);
1192
1274
  }
1193
- .us-accordion-header--centered .us-accordion-header__content {
1275
+ .us-card-header--centered .us-card-header__content {
1194
1276
  align-items: center;
1195
1277
  text-align: center;
1196
1278
  }
1197
- .us-accordion-header__title {
1198
- font-size: var(--us-accordion-header-title-font-size);
1199
- font-weight: var(--us-accordion-header-title-font-weight);
1200
- line-height: var(--us-accordion-header-title-line-height);
1201
- opacity: var(--us-accordion-header-title-opacity);
1279
+ .us-card-header .us-card-title {
1280
+ font-size: var(--us-card-header-title-font-size);
1281
+ font-weight: var(--us-card-header-title-font-weight);
1282
+ line-height: var(--us-card-header-title-line-height);
1202
1283
  overflow: hidden;
1203
- color: var(--us-accordion-header-title-color);
1284
+ color: var(--us-card-header-title-color);
1204
1285
  display: -webkit-box;
1205
1286
  -webkit-box-orient: vertical;
1206
1287
  -webkit-line-clamp: 1;
1207
1288
  }
1208
- .us-accordion-header__subtitle {
1209
- font-size: var(--us-accordion-header-subtitle-font-size);
1210
- font-weight: var(--us-accordion-header-subtitle-font-weight);
1211
- line-height: var(--us-accordion-header-subtitle-line-height);
1212
- opacity: var(--us-accordion-header-subtitle-opacity);
1289
+ .us-card-header .us-card-subtitle {
1290
+ font-size: var(--us-card-header-subtitle-font-size);
1291
+ font-weight: var(--us-card-header-subtitle-font-weight);
1292
+ line-height: var(--us-card-header-subtitle-line-height);
1213
1293
  overflow: hidden;
1214
- color: var(--us-accordion-header-subtitle-color);
1294
+ color: var(--us-card-header-subtitle-color);
1215
1295
  display: -webkit-box;
1216
1296
  -webkit-box-orient: vertical;
1217
1297
  -webkit-line-clamp: 1;
1218
1298
  }
1219
- .us-accordion-header:not(.us-accordion-header--bordered) ~ .us-accordion-body:not([data-hidden=true]), .us-accordion-header:not(.us-accordion-header--bordered) ~ :not([hidden]) .us-accordion-body:not([data-hidden=true]) {
1220
- padding-top: 0;
1299
+ .us-card .us-card-title:not(.us-card-header .us-card-title) {
1300
+ flex-shrink: 0;
1301
+ padding-block: var(--us-card-title-padding-y);
1302
+ padding-inline: var(--us-card-title-padding-x);
1303
+ font-size: var(--us-card-title-font-size);
1304
+ font-weight: var(--us-card-title-font-weight);
1305
+ line-height: var(--us-card-title-line-height);
1306
+ color: var(--us-card-title-color);
1221
1307
  }
1222
- .us-accordion-header--bordered ~ .us-accordion-body:not([data-hidden=true]), .us-accordion-header--bordered ~ :not([hidden]) .us-accordion-body:not([data-hidden=true]) {
1223
- border-top-width: 1px;
1308
+ .us-card .us-card-title--centered:not(.us-card-header .us-card-title) {
1309
+ text-align: center;
1224
1310
  }
1225
- .us-accordion-body {
1226
- position: relative;
1227
- border-top: 0px solid #ddd;
1228
- padding-block: var(--us-accordion-body-padding-y);
1229
- padding-inline: var(--us-accordion-body-padding-x);
1230
- font-size: var(--us-accordion-body-font-size);
1231
- line-height: var(--us-accordion-body-line-height);
1232
- color: var(--us-accordion-body-color);
1311
+ .us-card .us-card-subtitle:not(.us-card-header .us-card-subtitle) {
1312
+ flex-shrink: 0;
1313
+ font-size: var(--us-card-header-subtitle-font-size);
1314
+ font-weight: var(--us-card-header-subtitle-font-weight);
1315
+ line-height: var(--us-card-header-subtitle-line-height);
1316
+ overflow: hidden;
1317
+ color: var(--us-card-header-subtitle-color);
1233
1318
  }
1234
- .us-accordion-panel {
1235
- padding: 1rem;
1319
+ .us-card-body {
1320
+ position: relative;
1321
+ padding-block: var(--us-card-body-padding-y);
1322
+ padding-inline: var(--us-card-body-padding-x);
1323
+ font-size: var(--us-card-body-font-size);
1324
+ line-height: var(--us-card-body-line-height);
1325
+ color: var(--us-card-body-color);
1236
1326
  }
1237
-
1238
- .us-list {
1239
- margin: 0;
1240
- padding: var(--us-list-padding-y) var(--us-list-padding-x);
1241
- color: var(--us-list-color);
1242
- background-color: var(--us-list-background);
1327
+ .us-card-footer {
1328
+ flex-shrink: 0;
1329
+ position: relative;
1330
+ min-height: var(--us-card-footer-min-height);
1331
+ padding-block: var(--us-card-footer-padding-y);
1332
+ padding-inline: var(--us-card-footer-padding-x);
1333
+ border-top-width: 0px;
1334
+ border-top-style: solid;
1335
+ border-top-color: var(--us-card-footer-border-color);
1336
+ background-color: var(--us-card-footer-background);
1337
+ display: flex;
1338
+ justify-content: flex-end;
1339
+ align-items: center;
1340
+ gap: 0.5rem;
1243
1341
  }
1244
- .us-list-item {
1342
+ .us-card-media {
1245
1343
  position: relative;
1246
- height: var(--us-list-item-height);
1247
- min-height: var(--us-list-item-min-height);
1248
- padding-block: var(--us-list-item-padding-y);
1249
- padding-inline: var(--us-list-item-padding-x);
1250
- font-size: var(--us-list-item-font-size);
1251
- font-weight: var(--us-list-item-font-weight);
1252
- border-radius: var(--us-list-item-border-radius);
1253
- text-decoration: none;
1254
- z-index: 0;
1344
+ margin: 8px;
1345
+ border-radius: 8px;
1346
+ aspect-ratio: 1/1;
1347
+ overflow: hidden;
1255
1348
  display: flex;
1349
+ justify-content: center;
1256
1350
  align-items: center;
1257
- color: var(--us-list-item-color);
1258
- background-color: var(--us-list-item-background);
1259
- -webkit-tap-highlight-color: transparent;
1260
- gap: var(--us-list-item-gap);
1351
+ background-color: rgba(0, 0, 0, 0.08);
1261
1352
  }
1262
- .us-list-item:hover {
1263
- text-decoration: none;
1353
+ .us-card-media__top-left-content {
1354
+ padding: 4px;
1355
+ position: absolute;
1356
+ top: 0;
1357
+ left: 0;
1264
1358
  }
1265
- .us-list-item--hoverable, .us-list-item--selected {
1266
- cursor: pointer;
1267
- user-select: none;
1359
+ .us-card-media__top-right-content {
1360
+ padding: 4px;
1361
+ position: absolute;
1362
+ top: 0;
1363
+ right: 0;
1268
1364
  }
1269
- .us-list-item--disabled {
1270
- opacity: 0.6;
1271
- pointer-events: none;
1365
+ .us-card-media img {
1366
+ width: 100%;
1367
+ height: 100%;
1368
+ object-fit: cover;
1272
1369
  }
1273
- .us-list-item__start-content, .us-list-item__end-content {
1274
- flex-shrink: 0;
1275
- z-index: 1;
1276
- display: flex;
1277
- justify-content: center;
1278
- align-items: center;
1279
- gap: calc(var(--us-list-item-gap) * 0.5);
1370
+ .us-card--divider .us-card-body {
1371
+ margin-top: var(--us-card-padding-y);
1280
1372
  }
1281
- .us-list-item__content {
1282
- flex-grow: 1;
1283
- z-index: 1;
1284
- display: grid;
1285
- overflow: hidden;
1373
+ .us-card--divider .us-card-body::after {
1374
+ content: "";
1375
+ position: absolute;
1376
+ left: 0;
1377
+ right: 0;
1378
+ bottom: 0;
1379
+ border-bottom: 1px solid var(--us-card-border-color);
1286
1380
  }
1287
- .us-list-item__title {
1288
- font-size: var(--us-list-item-title-font-size);
1289
- font-weight: var(--us-list-item-title-font-weight);
1290
- line-height: var(--us-list-item-title-line-height);
1291
- opacity: var(--us-list-item-title-opacity);
1292
- overflow: hidden;
1293
- color: var(--us-list-item-title-color);
1294
- display: -webkit-box;
1295
- -webkit-box-orient: vertical;
1296
- -webkit-line-clamp: 1;
1381
+ .us-card--divider .us-card-header ~ .us-card-body {
1382
+ margin-bottom: var(--us-card-padding-y);
1297
1383
  }
1298
- .us-list-item__subtitle {
1299
- font-size: var(--us-list-item-subtitle-font-size);
1300
- font-weight: var(--us-list-item-subtitle-font-weight);
1301
- line-height: var(--us-list-item-subtitle-line-height);
1302
- opacity: var(--us-list-item-subtitle-opacity);
1303
- overflow: hidden;
1304
- color: var(--us-list-item-subtitle-color);
1305
- display: -webkit-box;
1306
- -webkit-box-orient: vertical;
1307
- -webkit-line-clamp: 1;
1384
+ .us-card--divider .us-card-header ~ .us-card-body::before {
1385
+ content: "";
1386
+ position: absolute;
1387
+ left: 0;
1388
+ right: 0;
1389
+ top: 0;
1390
+ border-top: 1px solid var(--us-card-border-color);
1308
1391
  }
1309
- .us-list-subheader--bordered {
1310
- border-bottom: var(--us-list-subheader-border-width) solid var(--us-list-subheader-border-color);
1392
+ .us-card--divider > .us-card-body:first-child, .us-card--divider :not([hidden]):first-child .us-card-body::before {
1393
+ border-top: none;
1311
1394
  }
1312
- .us-list-group .us-list {
1313
- --us-list-background: var(--us-list-group-background);
1395
+ .us-card--divider > .us-card-body:last-child, .us-card--divider :not([hidden]):last-child .us-card-body {
1396
+ margin-bottom: 0;
1314
1397
  }
1315
-
1316
- .us-data-list {
1317
- flex-grow: 1;
1318
- overflow: hidden;
1398
+ .us-card--divider > .us-card-body:last-child::after, .us-card--divider :not([hidden]):last-child .us-card-body::after {
1399
+ border-bottom: none;
1319
1400
  }
1320
1401
 
1321
- .us-menu {
1322
- margin: 0;
1323
- padding: var(--us-menu-padding-y) var(--us-menu-padding-x);
1324
- color: var(--us-menu-color);
1325
- background-color: var(--us-menu-background);
1402
+ .us-descriptions {
1403
+ display: grid;
1404
+ grid-template-columns: repeat(12, minmax(0, 1fr));
1405
+ row-gap: var(--us-descriptions-gap-y);
1406
+ column-gap: var(--us-descriptions-gap-x);
1326
1407
  }
1327
- .us-menu-item {
1408
+
1409
+ .us-description {
1328
1410
  position: relative;
1329
- height: var(--us-menu-item-height);
1330
- padding: var(--us-menu-item-padding-y) var(--us-menu-item-padding-x);
1331
- font-size: var(--us-menu-item-font-size);
1332
- font-weight: var(--us-menu-item-font-weight);
1333
- border-radius: var(--us-menu-item-border-radius);
1334
- text-decoration: none;
1335
- cursor: pointer;
1336
- z-index: 0;
1337
- display: flex;
1338
- align-items: center;
1339
- color: var(--us-menu-item-color);
1340
- background-color: var(--us-menu-item-background);
1341
- user-select: none;
1342
- -webkit-tap-highlight-color: transparent;
1343
- gap: var(--us-menu-item-gap);
1344
- }
1345
- .us-menu-item:hover {
1346
- text-decoration: none;
1347
- }
1348
- .us-menu-item--hoverable {
1349
- cursor: pointer;
1350
- user-select: none;
1411
+ padding-block: var(--us-description-padding-y);
1412
+ padding-inline: var(--us-description-padding-x);
1351
1413
  }
1352
- .us-menu-item--disabled {
1353
- opacity: 0.6;
1354
- pointer-events: none;
1414
+ .us-description__container {
1415
+ display: grid;
1416
+ grid-template-columns: repeat(12, minmax(0, 1fr));
1417
+ row-gap: var(--us-description-gap-y);
1418
+ column-gap: var(--us-description-gap-x);
1355
1419
  }
1356
- .us-menu-item__start-content {
1357
- flex-shrink: 0;
1358
- z-index: 1;
1420
+ .us-description-value {
1359
1421
  display: flex;
1360
- justify-content: center;
1361
1422
  align-items: center;
1362
1423
  }
1363
- .us-menu-item__start-content, .us-menu-item__end-content {
1424
+ .us-description-value__start-content, .us-description-value__end-content {
1364
1425
  flex-shrink: 0;
1365
- z-index: 1;
1366
- display: flex;
1367
- justify-content: center;
1368
- align-items: center;
1369
- gap: calc(var(--us-list-item-gap) * 0.5);
1370
1426
  }
1371
- .us-menu-item__content {
1427
+ .us-description-value__content {
1372
1428
  flex-grow: 1;
1373
- z-index: 1;
1374
- display: grid;
1375
- overflow: hidden;
1376
1429
  }
1377
- .us-menu-item__title {
1378
- overflow: hidden;
1379
- display: -webkit-box;
1380
- -webkit-box-orient: vertical;
1381
- -webkit-line-clamp: 1;
1430
+ .us-descriptions--row .us-description-label {
1431
+ grid-column: span 6/span 6;
1382
1432
  }
1383
- .us-menu-group {
1384
- position: relative;
1385
- height: var(--us-menu-group-height);
1386
- padding: var(--us-menu-group-padding-y) var(--us-menu-group-padding-x);
1387
- font-size: var(--us-menu-group-font-size);
1388
- font-weight: var(--us-menu-group-font-weight);
1389
- text-decoration: none;
1390
- border-bottom: var(--us-menu-group-border-width) solid var(--us-menu-group-border-color);
1391
- border-radius: var(--us-menu-group-border-radius);
1392
- display: flex;
1393
- align-items: center;
1394
- color: var(--us-menu-group-color);
1395
- background-color: var(--us-menu-group-background);
1396
- gap: var(--us-menu-group-gap);
1397
- }
1398
- .us-menu-group:hover {
1399
- text-decoration: none;
1433
+ .us-descriptions--row .us-description-value {
1434
+ grid-column: span 6/span 6;
1400
1435
  }
1401
- .us-menu-group__icon {
1402
- flex-shrink: 0;
1403
- z-index: 1;
1404
- display: flex;
1405
- justify-content: center;
1406
- align-items: center;
1436
+ .us-descriptions--col .us-description-label, .us-descriptions--col .us-description-value {
1437
+ grid-column: span 12/span 12;
1407
1438
  }
1408
- .us-menu-group__content {
1409
- flex-grow: 1;
1410
- z-index: 1;
1411
- display: grid;
1412
- overflow: hidden;
1439
+ .us-description-label {
1440
+ font-size: var(--us-description-label-font-size);
1441
+ font-weight: var(--us-description-label-font-weight);
1442
+ color: var(--us-description-label-color);
1443
+ opacity: var(--us-description-label-opacity);
1413
1444
  }
1414
- .us-menu-group__title {
1415
- overflow: hidden;
1416
- display: -webkit-box;
1417
- -webkit-box-orient: vertical;
1418
- -webkit-line-clamp: 1;
1445
+ .us-description-text {
1446
+ display: inline;
1447
+ font-size: var(--us-description-text-font-size);
1448
+ font-weight: var(--us-description-text-font-weight);
1449
+ color: var(--us-description-text-color);
1450
+ opacity: var(--us-description-text-opacity);
1451
+ word-break: break-word;
1419
1452
  }
1420
- .us-menu-submenu .us-menu {
1421
- --us-menu-background: var(--us-submenu-background);
1453
+ .us-description-empty {
1454
+ opacity: 0.75;
1455
+ user-select: none;
1456
+ cursor: default;
1422
1457
  }
1423
1458
 
1424
- .us-divider {
1459
+ .us-result {
1460
+ flex-grow: 1;
1425
1461
  width: 100%;
1426
- height: 1px;
1427
- background: var(--us-border-color);
1428
- }
1429
-
1430
- .us-breadcrumb {
1431
- padding: 0.5rem 0;
1432
- font-size: 0.875rem;
1462
+ padding-block: var(--us-result-padding-y);
1463
+ padding-inline: var(--us-result-padding-x);
1433
1464
  display: flex;
1465
+ flex-direction: column;
1466
+ justify-content: center;
1434
1467
  align-items: center;
1435
- gap: 0;
1468
+ gap: var(--us-result-gap);
1436
1469
  }
1437
- .us-breadcrumb-item {
1438
- padding: 0.25rem 0.5rem;
1439
- white-space: nowrap;
1470
+ .us-result__content {
1471
+ text-align: center;
1440
1472
  display: flex;
1441
- align-items: center;
1473
+ flex-direction: column;
1474
+ gap: var(--us-result-content-gap);
1442
1475
  }
1443
- .us-breadcrumb-item:not(.us-breadcrumb-item--is-menu) {
1444
- line-height: 32px;
1476
+ .us-result__title {
1477
+ font-size: var(--us-result-title-font-size);
1478
+ font-weight: var(--us-result-title-font-weight);
1445
1479
  }
1446
-
1447
- .us-swipe {
1448
- position: relative;
1480
+ .us-result__subtitle {
1481
+ font-size: var(--us-result-subtitle-font-size);
1482
+ font-weight: var(--us-result-subtitle-font-weight);
1449
1483
  }
1450
- .us-swipe__content {
1484
+
1485
+ .us-nav-rail {
1486
+ flex-shrink: 0;
1451
1487
  position: relative;
1452
- overflow-x: hidden;
1488
+ width: 73px;
1489
+ height: 100%;
1490
+ overflow: hidden;
1453
1491
  display: flex;
1454
- align-items: center;
1455
- gap: var(--us-swipe-gap);
1456
- }
1457
- @media (max-width: 767px) and (hover: none) {
1458
- .us-swipe__content {
1459
- overflow-x: auto;
1460
- }
1461
- }
1462
- .us-swipe__start-content, .us-swipe__end-content {
1463
- position: absolute;
1464
- top: 50%;
1465
- transform: translateY(-50%);
1466
- z-index: 1;
1467
- }
1468
- .us-swipe__start-content {
1469
- left: -1.25rem;
1492
+ flex-direction: column;
1470
1493
  }
1471
- .us-swipe__end-content {
1472
- right: -1.25rem;
1494
+ .us-nav-rail--left {
1495
+ border-right-width: 1px;
1496
+ border-right-color: var(--us-nav-rail-border-color);
1497
+ border-right-style: solid;
1473
1498
  }
1474
- .us-swipe--auto-hide .us-swipe__start-content, .us-swipe--auto-hide .us-swipe__end-content {
1475
- transform: translateY(-50%) scale(0);
1476
- transition: all 0.2s ease-in-out;
1499
+ .us-nav-rail--right {
1500
+ border-left-width: 1px;
1501
+ border-left-color: var(--us-nav-rail-border-color);
1502
+ border-left-style: solid;
1477
1503
  }
1478
- .us-swipe--auto-hide:hover .us-swipe__start-content, .us-swipe--auto-hide:hover .us-swipe__end-content {
1479
- transform: translateY(-50%) scale(1);
1504
+ .us-nav-rail__start-content, .us-nav-rail__end-content {
1505
+ flex-shrink: 0;
1480
1506
  }
1481
- .us-swipe--start .us-swipe-item:last-child {
1482
- margin-right: auto;
1507
+ .us-nav-rail__start-content {
1508
+ padding-block: var(--us-nav-rail-start-content-padding-y);
1509
+ padding-inline: var(--us-nav-rail-start-content-padding-x);
1510
+ gap: var(--us-nav-rail-start-content-gap);
1483
1511
  }
1484
- .us-swipe--center .us-swipe-item:first-child {
1485
- margin-left: auto;
1512
+ .us-nav-rail__end-content {
1513
+ padding-block: var(--us-nav-rail-end-content-padding-y);
1514
+ padding-inline: var(--us-nav-rail-end-content-padding-x);
1515
+ gap: var(--us-nav-rail-end-content-gap);
1486
1516
  }
1487
- .us-swipe--center .us-swipe-item:last-child {
1488
- margin-right: auto;
1517
+ .us-nav-rail__content {
1518
+ flex-grow: 1;
1519
+ padding-block: var(--us-nav-rail-content-padding-y);
1520
+ padding-inline: var(--us-nav-rail-content-padding-x);
1521
+ gap: var(--us-nav-rail-content-gap);
1489
1522
  }
1490
- .us-swipe--end .us-swipe-item:first-child {
1491
- margin-left: auto;
1523
+ .us-nav-rail__start-content, .us-nav-rail__end-content, .us-nav-rail__content {
1524
+ display: flex;
1525
+ flex-direction: column;
1492
1526
  }
1493
- .us-swipe-item {
1527
+ .us-nav-rail-item {
1494
1528
  flex-shrink: 0;
1529
+ padding-block: var(--us-nav-rail-item-padding-y);
1530
+ padding-inline: var(--us-nav-rail-item-padding-x);
1495
1531
  position: relative;
1496
- }
1497
-
1498
- .us-tabs {
1499
- width: 100%;
1500
- white-space: nowrap;
1501
- flex-wrap: wrap;
1532
+ text-decoration: none;
1533
+ opacity: var(--us-nav-rail-item-opacity);
1534
+ border-radius: var(--us-nav-rail-item-border-radius);
1535
+ cursor: default;
1536
+ color: var(--us-nav-rail-item-color);
1537
+ background-color: var(--us-nav-rail-item-background);
1502
1538
  display: flex;
1503
- align-items: center;
1504
- }
1505
- .us-tabs--start {
1506
- justify-content: flex-start;
1507
- }
1508
- .us-tabs--center {
1509
- justify-content: center;
1539
+ user-select: none;
1510
1540
  }
1511
- .us-tabs--end {
1512
- justify-content: flex-end;
1541
+ .us-nav-rail-item__indicator {
1542
+ position: absolute;
1543
+ top: 0;
1544
+ bottom: 0;
1545
+ z-index: 1;
1546
+ width: var(--us-nav-rail-item-indicator-size);
1547
+ z-index: 1;
1548
+ background: var(--us-nav-rail-item-indicator-color);
1549
+ transform: translateX(calc(var(--us-nav-rail-item-indicator-size) * -1));
1550
+ transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09), inset 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
1513
1551
  }
1514
- .us-tabs--stretch .us-tab {
1552
+ .us-nav-rail-item__content {
1515
1553
  flex-grow: 1;
1516
- }
1517
- @media (max-width: 767px) and (hover: none) {
1518
- .us-tabs {
1519
- overflow: auto;
1520
- }
1521
- }
1522
-
1523
- .us-tab {
1524
1554
  position: relative;
1525
- padding-block: var(--us-tab-padding-y);
1526
- padding-inline: var(--us-tab-padding-x);
1527
- font-size: var(--us-tab-font-size);
1528
- font-weight: var(--us-tab-font-weight);
1529
- text-decoration: none;
1530
- vertical-align: middle;
1531
- border-radius: var(--us-tab-border-radius);
1532
- z-index: 1;
1533
- color: var(--us-tab-color);
1534
- display: inline-flex;
1555
+ padding-block: var(--us-nav-rail-item-content-padding-y);
1556
+ padding-inline: var(--us-nav-rail-item-content-padding-x);
1557
+ display: flex;
1558
+ flex-direction: column;
1535
1559
  justify-content: center;
1536
1560
  align-items: center;
1537
- user-select: none;
1538
- -webkit-tap-highlight-color: transparent;
1539
- }
1540
- .us-tab:hover {
1541
- text-decoration: none;
1542
- }
1543
- .us-tab--disabled {
1544
- opacity: 0.6;
1545
- pointer-events: none;
1546
- }
1547
- .us-tab--closable {
1548
- padding-inline-end: calc(var(--us-tab-padding-x) / 2);
1561
+ gap: var(--us-nav-rail-item-gap);
1549
1562
  }
1550
- .us-tab__start-content, .us-tab__end-content {
1563
+ .us-nav-rail-item__media {
1564
+ position: relative;
1565
+ outline-width: var(--us-nav-rail-item-media-border-width);
1566
+ outline-style: var(--us-nav-rail-item-media-border-style);
1567
+ outline-color: var(--us-nav-rail-item-media-border-color);
1568
+ width: var(--us-nav-rail-item-media-width);
1569
+ height: var(--us-nav-rail-item-media-height);
1570
+ border-radius: var(--us-nav-rail-item-media-border-radius);
1571
+ overflow: hidden;
1551
1572
  display: flex;
1573
+ justify-content: center;
1552
1574
  align-items: center;
1575
+ transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
1553
1576
  }
1554
- .us-tab__content {
1555
- position: relative;
1556
- height: 40px;
1557
- display: inline-flex;
1558
- flex-direction: row;
1577
+ .us-nav-rail-item__icon {
1578
+ padding-block: var(--us-nav-rail-item-icon-padding-y);
1579
+ padding-inline: var(--us-nav-rail-item-icon-padding-x);
1580
+ display: flex;
1559
1581
  justify-content: center;
1560
1582
  align-items: center;
1561
- gap: 8px;
1562
1583
  }
1563
- .us-tab__indicator {
1564
- position: absolute;
1565
- height: var(--us-tab-indicator-height);
1566
- border-radius: var(--us-tab-indicator-border-radius);
1567
- inset: auto 0px 0px;
1568
- opacity: 0;
1569
- z-index: -1;
1570
- color: var(--us-tab-indicator-color);
1571
- transform-origin: left bottom;
1584
+ .us-nav-rail-item__icon .us-icon {
1585
+ font-size: var(--us-nav-rail-item-icon-font-size);
1572
1586
  }
1573
- .us-tab--selected .us-tab__indicator {
1574
- opacity: 1;
1587
+ .us-nav-rail-item__label {
1588
+ position: absolute;
1589
+ bottom: calc((var(--us-nav-rail-item-label-font-size) + var(--us-nav-rail-item-gap, 0)) * -1);
1590
+ left: 50%;
1591
+ transform: translateX(-50%);
1592
+ font-size: var(--us-nav-rail-item-label-font-size);
1593
+ font-weight: var(--us-nav-rail-item-label-font-weight);
1594
+ line-height: var(--us-nav-rail-item-label-line-height);
1595
+ width: 100%;
1596
+ text-align: center;
1597
+ overflow: hidden;
1598
+ display: -webkit-box;
1599
+ -webkit-box-orient: vertical;
1600
+ -webkit-line-clamp: 1;
1601
+ transition: opacity 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
1575
1602
  }
1576
- .us-tab__closable {
1577
- position: relative;
1578
- padding: 0.125rem;
1579
- color: var(--us-tab-closable-color);
1580
- border-radius: 9999px;
1581
- transform: scale(0.75);
1582
- cursor: pointer;
1583
- transition: all 0.15s ease-in-out;
1603
+ .us-nav-rail-item--selected {
1604
+ color: var(--us-_active-nav-rail-item-color);
1584
1605
  }
1585
- .us-tab__closable:hover {
1586
- transform: scale(1);
1606
+ .us-nav-rail-item--selected .us-nav-rail-item__media {
1607
+ outline-color: var(--us-_active-nav-rail-item-media-border-color);
1587
1608
  }
1588
- .us-tab__closable::after {
1589
- position: absolute;
1590
- content: "";
1591
- inset: 0px;
1592
- border-radius: inherit;
1593
- background-color: currentColor;
1594
- opacity: 0;
1609
+ .us-nav-rail-item--selected .us-nav-rail-item__icon, .us-nav-rail-item:hover .us-nav-rail-item__icon {
1610
+ transform: scale(1.15);
1611
+ }
1612
+ .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
1613
+ color: var(--us-_active-nav-rail-item-indicator-color);
1614
+ }
1615
+ .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item:hover .us-nav-rail-item__indicator {
1616
+ transform: translateX(0px);
1617
+ }
1618
+ .us-nav-rail--left .us-nav-rail-item__indicator {
1619
+ left: -25%;
1620
+ border-radius: 0px var(--us-nav-rail-item-indicator-border-radius) var(--us-nav-rail-item-indicator-border-radius) 0px;
1621
+ }
1622
+ .us-nav-rail--right .us-nav-rail-item__indicator {
1623
+ right: -25%;
1624
+ border-radius: var(--us-nav-rail-item-indicator-border-radius) 0px 0px var(--us-nav-rail-item-indicator-border-radius);
1625
+ }
1626
+ .us-nav-rail--left .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--left .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
1627
+ left: 0px;
1628
+ }
1629
+ .us-nav-rail--right .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--right .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
1630
+ right: 0px;
1595
1631
  }
1596
1632
 
1597
- .us-card {
1598
- position: relative;
1599
- border-radius: var(--us-card-border-radius);
1600
- z-index: 0;
1633
+ .us-steps {
1634
+ flex-shrink: 0;
1635
+ display: grid;
1601
1636
  overflow: hidden;
1602
- -webkit-tap-highlight-color: transparent;
1603
- background-color: white;
1604
- padding-block: var(--us-card-padding-y);
1605
- padding-inline: var(--us-card-padding-x);
1606
- display: flex;
1607
- flex-direction: column;
1608
- gap: var(--us-card-gap);
1609
1637
  }
1610
- .us-card:hover {
1611
- text-decoration: none;
1638
+ .us-steps--horizontal {
1639
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
1612
1640
  }
1613
- .us-card--bordered {
1614
- border: var(--us-card-border-width) var(--us-card-border-style) var(--us-card-border-color);
1641
+ .us-steps--vertical {
1642
+ grid-template-columns: 1;
1643
+ gap: 2rem;
1615
1644
  }
1616
- .us-card--shadow {
1617
- box-shadow: var(--us-card-box-shadow);
1645
+ .us-steps--vertical .us-step {
1646
+ flex-direction: row;
1647
+ gap: 1.5rem;
1618
1648
  }
1619
- .us-card--hoverable, .us-card--selected {
1620
- cursor: pointer;
1621
- user-select: none;
1649
+ .us-steps--vertical .us-step__content {
1650
+ padding: 4px 0px;
1622
1651
  }
1623
- .us-card--disabled {
1624
- opacity: 0.6;
1625
- cursor: not-allowed;
1626
- user-select: none;
1652
+ .us-steps--vertical .us-step__title, .us-steps--vertical .us-step__subtitle {
1653
+ margin: 0;
1654
+ text-align: start;
1627
1655
  }
1628
- .us-card-header {
1656
+ .us-steps--vertical .us-steps__indicator {
1657
+ width: 1px;
1658
+ height: 100%;
1659
+ top: -50%;
1660
+ bottom: 50%;
1661
+ left: auto;
1662
+ right: auto;
1663
+ }
1664
+
1665
+ .us-step {
1629
1666
  position: relative;
1630
- flex-shrink: 0;
1631
- height: var(--us-card-header-height);
1632
- min-height: var(--us-card-header-min-height);
1633
- padding-block: var(--us-card-header-padding-y);
1634
- padding-inline: var(--us-card-header-padding-x);
1635
- color: var(--us-card-header-color);
1636
1667
  display: flex;
1637
- align-items: center;
1638
- gap: var(--us-card-header-gap);
1668
+ flex-direction: column;
1669
+ gap: 0.5rem;
1639
1670
  }
1640
- .us-card-header__start-content, .us-card-header__end-content {
1641
- flex-shrink: 0;
1671
+ .us-step--completed {
1672
+ --us-step-divider-color: var(--us-_completed-step-divider-color);
1673
+ }
1674
+ .us-step--current {
1675
+ --us-step-divider-color: var(--us-_current-step-divider-color);
1676
+ }
1677
+ .us-step--disabled {
1678
+ opacity: 0.65;
1679
+ pointer-events: none;
1680
+ }
1681
+ .us-step__header {
1682
+ position: relative;
1642
1683
  display: flex;
1684
+ flex-direction: column;
1643
1685
  align-items: center;
1644
- gap: var(--us-card-header-content-gap);
1686
+ gap: 1rem;
1645
1687
  }
1646
- .us-card-header__content {
1647
- flex-grow: 1;
1648
- overflow: hidden;
1688
+ .us-step__avatar-wrapper {
1689
+ border: 2px solid transparent;
1690
+ padding: 2px;
1691
+ border-radius: 50%;
1692
+ }
1693
+ .us-step__avatar {
1694
+ position: relative;
1695
+ flex-shrink: 0;
1696
+ width: 44px;
1697
+ height: 44px;
1698
+ border-radius: 50%;
1699
+ font-size: var(--us-step-indicator-font-size);
1700
+ font-weight: var(--us-step-indicator-font-weight);
1701
+ color: var(--us-step-indicator-color);
1702
+ background-color: var(--us-step-background-color);
1649
1703
  display: flex;
1650
- flex-direction: column;
1651
1704
  justify-content: center;
1705
+ align-items: center;
1706
+ z-index: 1;
1652
1707
  }
1653
- .us-card-header--centered .us-card-header__start-content, .us-card-header--centered .us-card-header__end-content {
1654
- position: absolute;
1655
- }
1656
- .us-card-header--centered .us-card-header__start-content {
1657
- left: var(--us-card-header-padding-x);
1708
+ .us-step--current .us-step__avatar-wrapper {
1709
+ border-color: var(--us-_current-step-border-color);
1658
1710
  }
1659
- .us-card-header--centered .us-card-header__end-content {
1660
- right: var(--us-card-header-padding-x);
1711
+ .us-step__content {
1712
+ display: flex;
1713
+ flex-direction: column;
1714
+ gap: 0.5rem;
1661
1715
  }
1662
- .us-card-header--centered .us-card-header__content {
1663
- align-items: center;
1716
+ .us-step__title {
1717
+ flex-shrink: 0;
1718
+ max-width: 150px;
1719
+ margin: 0 auto;
1720
+ font-size: 0.875rem;
1721
+ font-weight: 500;
1664
1722
  text-align: center;
1665
- }
1666
- .us-card-header .us-card-title {
1667
- font-size: var(--us-card-header-title-font-size);
1668
- font-weight: var(--us-card-header-title-font-weight);
1669
- line-height: var(--us-card-header-title-line-height);
1670
1723
  overflow: hidden;
1671
- color: var(--us-card-header-title-color);
1672
1724
  display: -webkit-box;
1673
1725
  -webkit-box-orient: vertical;
1674
- -webkit-line-clamp: 1;
1726
+ -webkit-line-clamp: 2;
1675
1727
  }
1676
- .us-card-header .us-card-subtitle {
1677
- font-size: var(--us-card-header-subtitle-font-size);
1678
- font-weight: var(--us-card-header-subtitle-font-weight);
1679
- line-height: var(--us-card-header-subtitle-line-height);
1728
+ .us-step__subtitle {
1729
+ flex-shrink: 0;
1730
+ max-width: 150px;
1731
+ margin: 0 auto;
1732
+ font-size: 0.75rem;
1733
+ text-align: center;
1680
1734
  overflow: hidden;
1681
- color: var(--us-card-header-subtitle-color);
1682
1735
  display: -webkit-box;
1683
1736
  -webkit-box-orient: vertical;
1684
- -webkit-line-clamp: 1;
1737
+ -webkit-line-clamp: 2;
1738
+ opacity: 0.75;
1685
1739
  }
1686
- .us-card .us-card-title:not(.us-card-header .us-card-title) {
1687
- flex-shrink: 0;
1688
- padding-block: var(--us-card-title-padding-y);
1689
- padding-inline: var(--us-card-title-padding-x);
1690
- font-size: var(--us-card-title-font-size);
1691
- font-weight: var(--us-card-title-font-weight);
1692
- line-height: var(--us-card-title-line-height);
1693
- color: var(--us-card-title-color);
1740
+
1741
+ .us-steps {
1742
+ position: relative;
1694
1743
  }
1695
- .us-card .us-card-title--centered:not(.us-card-header .us-card-title) {
1696
- text-align: center;
1744
+ .us-steps__indicator {
1745
+ position: absolute;
1746
+ flex-grow: 1;
1747
+ position: absolute;
1748
+ right: 50%;
1749
+ top: 50%;
1750
+ left: -50%;
1751
+ width: 100%;
1752
+ height: 1px;
1753
+ background-color: var(--us-step-divider-color);
1754
+ z-index: -1;
1697
1755
  }
1698
- .us-card .us-card-subtitle:not(.us-card-header .us-card-subtitle) {
1699
- flex-shrink: 0;
1700
- font-size: var(--us-card-header-subtitle-font-size);
1701
- font-weight: var(--us-card-header-subtitle-font-weight);
1702
- line-height: var(--us-card-header-subtitle-line-height);
1703
- overflow: hidden;
1704
- color: var(--us-card-header-subtitle-color);
1756
+ .us-steps__indicator--completed {
1757
+ border-bottom-color: var(--us-_completed-step-divider-color);
1705
1758
  }
1706
- .us-card-body {
1707
- position: relative;
1708
- padding-block: var(--us-card-body-padding-y);
1709
- padding-inline: var(--us-card-body-padding-x);
1710
- font-size: var(--us-card-body-font-size);
1711
- line-height: var(--us-card-body-line-height);
1712
- color: var(--us-card-body-color);
1759
+ .us-steps__indicator--current {
1760
+ border-bottom-color: var(--us-_current-step-divider-color);
1713
1761
  }
1714
- .us-card-footer {
1715
- flex-shrink: 0;
1762
+
1763
+ .us-input {
1716
1764
  position: relative;
1717
- min-height: var(--us-card-footer-min-height);
1718
- padding-block: var(--us-card-footer-padding-y);
1719
- padding-inline: var(--us-card-footer-padding-x);
1720
- border-top-width: 0px;
1721
- border-top-style: solid;
1722
- border-top-color: var(--us-card-footer-border-color);
1723
- background-color: var(--us-card-footer-background);
1724
- display: flex;
1725
- justify-content: flex-end;
1765
+ width: 100%;
1766
+ padding: 0;
1767
+ min-height: var(--us-input-height);
1768
+ display: flex;
1726
1769
  align-items: center;
1727
- gap: 0.5rem;
1770
+ border: none;
1771
+ border-radius: var(--us-input-border-radius);
1772
+ color: var(--us-input-color);
1773
+ background-color: var(--us-input-background);
1774
+ z-index: 0;
1775
+ transition: all 0.2s ease-in-out;
1776
+ cursor: text;
1728
1777
  }
1729
- .us-card-media {
1730
- position: relative;
1731
- margin: 8px;
1732
- border-radius: 8px;
1733
- aspect-ratio: 1/1;
1734
- overflow: hidden;
1778
+ .us-input:focus-visible {
1779
+ outline: none;
1780
+ }
1781
+ .us-input--selectable {
1782
+ cursor: pointer;
1783
+ }
1784
+ .us-input--disabled {
1785
+ opacity: 0.75;
1786
+ pointer-events: none;
1787
+ }
1788
+ .us-input--read-only {
1789
+ pointer-events: none;
1790
+ }
1791
+ .us-input--clearable .us-input__clearable {
1792
+ transform: scale(0);
1793
+ transition: all 0.2s ease-in-out;
1794
+ }
1795
+ .us-input--clearable:hover .us-input__clearable {
1796
+ transform: scale(0.75);
1797
+ }
1798
+ .us-input-group {
1735
1799
  display: flex;
1736
- justify-content: center;
1737
1800
  align-items: center;
1738
- background-color: rgba(0, 0, 0, 0.08);
1739
1801
  }
1740
- .us-card-media__top-left-content {
1741
- padding: 4px;
1742
- position: absolute;
1743
- top: 0;
1744
- left: 0;
1802
+ .us-input-group .us-input {
1803
+ border-radius: 0px;
1745
1804
  }
1746
- .us-card-media__top-right-content {
1747
- padding: 4px;
1748
- position: absolute;
1749
- top: 0;
1750
- right: 0;
1805
+ .us-input-group .us-input:first-of-type {
1806
+ border-top-left-radius: var(--us-input-border-radius);
1807
+ border-bottom-left-radius: var(--us-input-border-radius);
1751
1808
  }
1752
- .us-card-media img {
1753
- width: 100%;
1754
- height: 100%;
1755
- object-fit: cover;
1809
+ .us-input-group .us-input:last-of-type {
1810
+ border-top-right-radius: var(--us-input-border-radius);
1811
+ border-bottom-right-radius: var(--us-input-border-radius);
1756
1812
  }
1757
- .us-card--divider .us-card-body {
1758
- margin-top: var(--us-card-padding-y);
1813
+ .us-input__icon {
1814
+ padding: 0;
1815
+ display: flex;
1816
+ justify-content: center;
1817
+ align-items: center;
1818
+ border: none;
1819
+ outline: none;
1820
+ background-color: transparent;
1759
1821
  }
1760
- .us-card--divider .us-card-body::after {
1761
- content: "";
1762
- position: absolute;
1763
- left: 0;
1764
- right: 0;
1765
- bottom: 0;
1766
- border-bottom: 1px solid var(--us-card-border-color);
1822
+ .us-input__icon--opacity {
1823
+ opacity: 0;
1767
1824
  }
1768
- .us-card--divider .us-card-header ~ .us-card-body {
1769
- margin-bottom: var(--us-card-padding-y);
1825
+ .us-input__icon--pointer {
1826
+ cursor: pointer;
1770
1827
  }
1771
- .us-card--divider .us-card-header ~ .us-card-body::before {
1772
- content: "";
1773
- position: absolute;
1774
- left: 0;
1775
- right: 0;
1776
- top: 0;
1777
- border-top: 1px solid var(--us-card-border-color);
1828
+ .us-input:hover .us-input__icon--opacity-hoverable {
1829
+ opacity: 0.5;
1778
1830
  }
1779
- .us-card--divider > .us-card-body:first-child, .us-card--divider :not([hidden]):first-child .us-card-body::before {
1780
- border-top: none;
1831
+ .us-input:hover .us-input__icon--opacity-hoverable:hover {
1832
+ opacity: 1;
1781
1833
  }
1782
- .us-card--divider > .us-card-body:last-child, .us-card--divider :not([hidden]):last-child .us-card-body {
1783
- margin-bottom: 0;
1834
+ .us-input__content {
1835
+ flex: 1;
1836
+ height: 100%;
1837
+ display: flex;
1838
+ align-items: center;
1839
+ z-index: 1;
1840
+ overflow: hidden;
1784
1841
  }
1785
- .us-card--divider > .us-card-body:last-child::after, .us-card--divider :not([hidden]):last-child .us-card-body::after {
1786
- border-bottom: none;
1842
+ .us-input__content--chips {
1843
+ padding-block: var(--us-input-padding-y);
1844
+ padding-inline: var(--us-input-padding-x);
1845
+ flex-grow: 1;
1846
+ display: flex;
1847
+ flex-wrap: wrap;
1848
+ gap: 0.25rem;
1787
1849
  }
1788
-
1789
- .us-descriptions {
1790
- display: grid;
1791
- grid-template-columns: repeat(12, minmax(0, 1fr));
1792
- row-gap: var(--us-descriptions-gap-y);
1793
- column-gap: var(--us-descriptions-gap-x);
1850
+ .us-input__content--chips input {
1851
+ flex: 1;
1852
+ height: 24px;
1853
+ border: none;
1854
+ outline: none;
1855
+ color: inherit;
1856
+ background: inherit;
1857
+ min-width: 0;
1794
1858
  }
1795
-
1796
- .us-description {
1797
- position: relative;
1798
- padding-block: var(--us-description-padding-y);
1799
- padding-inline: var(--us-description-padding-x);
1859
+ .us-input__field {
1860
+ flex: 1;
1861
+ width: 100%;
1862
+ height: 100%;
1863
+ padding-block: var(--us-input-padding-y);
1864
+ padding-inline: var(--us-input-padding-x);
1865
+ font-size: var(--us-input-font-size);
1866
+ font-family: var(--us-input-font-family);
1867
+ line-height: var(--us-input-line-height);
1868
+ border: none;
1869
+ outline: none;
1870
+ color: var(--us-input-color);
1871
+ background-color: transparent;
1872
+ display: flex;
1873
+ align-items: center;
1800
1874
  }
1801
- .us-description__container {
1802
- display: grid;
1803
- grid-template-columns: repeat(12, minmax(0, 1fr));
1804
- row-gap: var(--us-description-gap-y);
1805
- column-gap: var(--us-description-gap-x);
1875
+ .us-input__field:focus {
1876
+ outline: none !important;
1806
1877
  }
1807
- .us-description-value {
1878
+ .us-input__field::placeholder {
1879
+ color: var(--us-input-placeholder-color);
1880
+ }
1881
+ .us-input__search, .us-input__placeholder {
1882
+ flex: 1;
1883
+ width: 100%;
1884
+ padding-block: var(--us-input-padding-y);
1885
+ padding-inline: var(--us-input-padding-x);
1886
+ font-size: var(--us-input-font-size);
1887
+ font-family: var(--us-input-font-family);
1888
+ line-height: var(--us-input-line-height);
1889
+ color: var(--us-input-color);
1890
+ overflow: hidden;
1891
+ text-overflow: ellipsis;
1892
+ white-space: nowrap;
1893
+ display: block;
1894
+ }
1895
+ .us-input__placeholder {
1896
+ color: var(--us-input-placeholder-color);
1897
+ }
1898
+ .us-input__start-content, .us-input__end-content {
1899
+ flex-shrink: 0;
1900
+ height: 100%;
1808
1901
  display: flex;
1809
1902
  align-items: center;
1903
+ font-size: var(--us-input-font-size);
1904
+ font-family: var(--us-input-font-family);
1905
+ line-height: var(--us-input-line-height);
1906
+ gap: var(--us-input-content-gap);
1810
1907
  }
1811
- .us-description-value__start-content, .us-description-value__end-content {
1812
- flex-shrink: 0;
1908
+ .us-input__start-content .us-icon, .us-input__end-content .us-icon {
1909
+ font-size: var(--us-input-icon-size);
1813
1910
  }
1814
- .us-description-value__content {
1815
- flex-grow: 1;
1911
+ .us-input__start-content {
1912
+ padding-left: calc(0.75 * var(--us-input-padding-x));
1913
+ padding-right: calc(0.375 * var(--us-input-padding-x));
1816
1914
  }
1817
- .us-descriptions--row .us-description-label {
1818
- grid-column: span 6/span 6;
1915
+ .us-input__end-content {
1916
+ padding-inline: calc(0.75 * var(--us-input-padding-x));
1819
1917
  }
1820
- .us-descriptions--row .us-description-value {
1821
- grid-column: span 6/span 6;
1918
+ .us-input--start-content .us-input__content .us-input__field, .us-input--start-content .us-input__content .us-input__search, .us-input--start-content .us-input__content .us-input__placeholder {
1919
+ padding-left: 0;
1822
1920
  }
1823
- .us-descriptions--col .us-description-label, .us-descriptions--col .us-description-value {
1824
- grid-column: span 12/span 12;
1921
+ .us-input--end-content .us-input__content .us-input__field, .us-input--end-content .us-input__content .us-input__search, .us-input--end-content .us-input__content .us-input__placeholder {
1922
+ padding-right: 0;
1825
1923
  }
1826
- .us-description-label {
1827
- font-size: var(--us-description-label-font-size);
1828
- font-weight: var(--us-description-label-font-weight);
1829
- color: var(--us-description-label-color);
1830
- opacity: var(--us-description-label-opacity);
1924
+
1925
+ .us-checkbox {
1926
+ cursor: pointer;
1927
+ display: inline-flex;
1928
+ align-items: center;
1929
+ gap: var(--us-checkbox-gap);
1930
+ -webkit-tap-highlight-color: transparent;
1831
1931
  }
1832
- .us-description-text {
1833
- display: inline;
1834
- font-size: var(--us-description-text-font-size);
1835
- font-weight: var(--us-description-text-font-weight);
1836
- color: var(--us-description-text-color);
1837
- opacity: var(--us-description-text-opacity);
1932
+ .us-checkbox input {
1933
+ position: absolute;
1934
+ width: 0;
1935
+ height: 0;
1936
+ opacity: 0;
1838
1937
  }
1839
- .us-description-empty {
1840
- opacity: 0.75;
1841
- user-select: none;
1842
- cursor: default;
1938
+ .us-checkbox--disabled {
1939
+ opacity: 0.6;
1940
+ pointer-events: none;
1843
1941
  }
1844
-
1845
- .us-result {
1846
- flex-grow: 1;
1847
- width: 100%;
1848
- padding-block: var(--us-result-padding-y);
1849
- padding-inline: var(--us-result-padding-x);
1942
+ .us-checkbox--read-only {
1943
+ pointer-events: none;
1944
+ }
1945
+ .us-checkbox__control {
1946
+ position: relative;
1947
+ width: var(--us-checkbox-control-width);
1948
+ height: var(--us-checkbox-control-height);
1949
+ border-width: var(--us-checkbox-control-border-width);
1950
+ border-style: var(--us-checkbox-control-border-style);
1951
+ border-color: var(--us-checkbox-control-border-color);
1952
+ border-radius: var(--us-checkbox-control-border-radius);
1953
+ color: var(--us-checkbox-control-color);
1850
1954
  display: flex;
1851
- flex-direction: column;
1852
1955
  justify-content: center;
1853
1956
  align-items: center;
1854
- gap: var(--us-result-gap);
1957
+ transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
1958
+ overflow: hidden;
1959
+ }
1960
+ .us-checkbox--before .us-checkbox__control {
1961
+ order: 2;
1962
+ }
1963
+ .us-checkbox--befire .us-checkbox__label {
1964
+ order: 1;
1965
+ }
1966
+ .us-checkbox--checked .us-checkbox__control {
1967
+ border-color: var(--us-_checked-checkbox-control-border-color, var(--us-checkbox-control-border-color));
1968
+ color: var(--us-_checked-checkbox-control-color, var(--us-checkbox-control-color));
1969
+ }
1970
+ .us-checkbox--focus .us-checkbox__control {
1971
+ box-shadow: var(--us-_focus-checkbox-control-box-shadow);
1855
1972
  }
1856
- .us-result__content {
1857
- text-align: center;
1858
- display: flex;
1859
- flex-direction: column;
1860
- gap: var(--us-result-content-gap);
1973
+ .us-checkbox__tap {
1974
+ position: absolute;
1975
+ inset: 0px;
1976
+ opacity: 0;
1977
+ border-radius: inherit;
1978
+ background-color: var(--us-checkbox-tap-background);
1979
+ transform: scale(0);
1980
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
1861
1981
  }
1862
- .us-result__title {
1863
- font-size: var(--us-result-title-font-size);
1864
- font-weight: var(--us-result-title-font-weight);
1982
+ .us-checkbox--checked .us-checkbox__tap {
1983
+ opacity: 1;
1984
+ transform: scale(1.5);
1865
1985
  }
1866
- .us-result__subtitle {
1867
- font-size: var(--us-result-subtitle-font-size);
1868
- font-weight: var(--us-result-subtitle-font-weight);
1986
+ .us-checkbox .us-icon {
1987
+ opacity: 1;
1988
+ transform: scale(0);
1989
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
1869
1990
  }
1870
-
1871
- .us-nav-rail {
1872
- flex-shrink: 0;
1873
- position: relative;
1874
- width: 73px;
1875
- height: 100%;
1876
- overflow: hidden;
1991
+ .us-checkbox--checked .us-icon {
1992
+ opacity: 1;
1993
+ transform: scale(1);
1994
+ }
1995
+ .us-checkbox-group {
1877
1996
  display: flex;
1878
- flex-direction: column;
1997
+ flex-wrap: wrap;
1998
+ gap: var(--us-checkbox-group-gap);
1879
1999
  }
1880
- .us-nav-rail--left {
1881
- border-right-width: 1px;
1882
- border-right-color: var(--us-nav-rail-border-color);
1883
- border-right-style: solid;
2000
+ .us-checkbox-group--row {
2001
+ flex-direction: row;
2002
+ align-items: center;
1884
2003
  }
1885
- .us-nav-rail--right {
1886
- border-left-width: 1px;
1887
- border-left-color: var(--us-nav-rail-border-color);
1888
- border-left-style: solid;
2004
+ .us-checkbox-group--col {
2005
+ flex-direction: column;
1889
2006
  }
1890
- .us-nav-rail__start-content, .us-nav-rail__end-content {
1891
- flex-shrink: 0;
2007
+ .us-checkbox-group--start {
2008
+ justify-content: flex-start;
1892
2009
  }
1893
- .us-nav-rail__start-content {
1894
- padding-block: var(--us-nav-rail-start-content-padding-y);
1895
- padding-inline: var(--us-nav-rail-start-content-padding-x);
1896
- gap: var(--us-nav-rail-start-content-gap);
2010
+ .us-checkbox-group--center {
2011
+ justify-content: center;
1897
2012
  }
1898
- .us-nav-rail__end-content {
1899
- padding-block: var(--us-nav-rail-end-content-padding-y);
1900
- padding-inline: var(--us-nav-rail-end-content-padding-x);
1901
- gap: var(--us-nav-rail-end-content-gap);
2013
+ .us-checkbox-group--end {
2014
+ justify-content: flex-end;
1902
2015
  }
1903
- .us-nav-rail__content {
2016
+ .us-checkbox-group--stretch .us-checkbox {
1904
2017
  flex-grow: 1;
1905
- padding-block: var(--us-nav-rail-content-padding-y);
1906
- padding-inline: var(--us-nav-rail-content-padding-x);
1907
- gap: var(--us-nav-rail-content-gap);
1908
2018
  }
1909
- .us-nav-rail__start-content, .us-nav-rail__end-content, .us-nav-rail__content {
1910
- display: flex;
1911
- flex-direction: column;
2019
+ .us-checkbox__label {
2020
+ font-size: var(--us-checkbox-label-font-size);
2021
+ color: var(--us-checkbox-label-color);
1912
2022
  }
1913
- .us-nav-rail-item {
1914
- flex-shrink: 0;
1915
- padding-block: var(--us-nav-rail-item-padding-y);
1916
- padding-inline: var(--us-nav-rail-item-padding-x);
1917
- position: relative;
1918
- text-decoration: none;
1919
- opacity: var(--us-nav-rail-item-opacity);
1920
- border-radius: var(--us-nav-rail-item-border-radius);
1921
- cursor: default;
1922
- color: var(--us-nav-rail-item-color);
1923
- background-color: var(--us-nav-rail-item-background);
1924
- display: flex;
1925
- user-select: none;
2023
+
2024
+ .us-radio {
2025
+ cursor: pointer;
2026
+ display: inline-flex;
2027
+ align-items: center;
2028
+ gap: var(--us-radio-gap);
2029
+ -webkit-tap-highlight-color: transparent;
1926
2030
  }
1927
- .us-nav-rail-item__indicator {
1928
- position: absolute;
1929
- top: 0;
1930
- bottom: 0;
1931
- z-index: 1;
1932
- width: var(--us-nav-rail-item-indicator-size);
1933
- z-index: 1;
1934
- background: var(--us-nav-rail-item-indicator-color);
1935
- transform: translateX(calc(var(--us-nav-rail-item-indicator-size) * -1));
1936
- transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09), inset 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
2031
+ .us-radio--disabled {
2032
+ opacity: 0.6;
2033
+ pointer-events: none;
1937
2034
  }
1938
- .us-nav-rail-item__content {
1939
- flex-grow: 1;
1940
- position: relative;
1941
- padding-block: var(--us-nav-rail-item-content-padding-y);
1942
- padding-inline: var(--us-nav-rail-item-content-padding-x);
1943
- display: flex;
1944
- flex-direction: column;
1945
- justify-content: center;
1946
- align-items: center;
1947
- gap: var(--us-nav-rail-item-gap);
2035
+ .us-radio--read-only {
2036
+ pointer-events: none;
1948
2037
  }
1949
- .us-nav-rail-item__media {
2038
+ .us-radio__control {
1950
2039
  position: relative;
1951
- outline-width: var(--us-nav-rail-item-media-border-width);
1952
- outline-style: var(--us-nav-rail-item-media-border-style);
1953
- outline-color: var(--us-nav-rail-item-media-border-color);
1954
- width: var(--us-nav-rail-item-media-width);
1955
- height: var(--us-nav-rail-item-media-height);
1956
- border-radius: var(--us-nav-rail-item-media-border-radius);
1957
- overflow: hidden;
1958
- display: flex;
1959
- justify-content: center;
1960
- align-items: center;
1961
- transition: transform 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
1962
- }
1963
- .us-nav-rail-item__icon {
1964
- padding-block: var(--us-nav-rail-item-icon-padding-y);
1965
- padding-inline: var(--us-nav-rail-item-icon-padding-x);
2040
+ width: var(--us-radio-control-width);
2041
+ height: var(--us-radio-control-height);
2042
+ border-width: var(--us-radio-control-border-width);
2043
+ border-style: var(--us-radio-control-border-style);
2044
+ border-color: var(--us-radio-control-border-color);
2045
+ border-radius: var(--us-radio-control-border-radius);
2046
+ color: var(--us-radio-control-color);
1966
2047
  display: flex;
1967
2048
  justify-content: center;
1968
2049
  align-items: center;
1969
- }
1970
- .us-nav-rail-item__icon .us-icon {
1971
- font-size: var(--us-nav-rail-item-icon-font-size);
1972
- }
1973
- .us-nav-rail-item__label {
1974
- position: absolute;
1975
- bottom: calc((var(--us-nav-rail-item-label-font-size) + var(--us-nav-rail-item-gap, 0)) * -1);
1976
- left: 50%;
1977
- transform: translateX(-50%);
1978
- font-size: var(--us-nav-rail-item-label-font-size);
1979
- font-weight: var(--us-nav-rail-item-label-font-weight);
1980
- line-height: var(--us-nav-rail-item-label-line-height);
1981
- width: 100%;
1982
- text-align: center;
2050
+ transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
1983
2051
  overflow: hidden;
1984
- display: -webkit-box;
1985
- -webkit-box-orient: vertical;
1986
- -webkit-line-clamp: 1;
1987
- transition: opacity 0.125s cubic-bezier(0.17, 0.67, 0.55, 1.09);
1988
2052
  }
1989
- .us-nav-rail-item--selected {
1990
- color: var(--us-_active-nav-rail-item-color);
2053
+ .us-radio--before .us-radio__control {
2054
+ order: 2;
1991
2055
  }
1992
- .us-nav-rail-item--selected .us-nav-rail-item__media {
1993
- outline-color: var(--us-_active-nav-rail-item-media-border-color);
2056
+ .us-radio--befire .us-radio__label {
2057
+ order: 1;
1994
2058
  }
1995
- .us-nav-rail-item--selected .us-nav-rail-item__icon, .us-nav-rail-item:hover .us-nav-rail-item__icon {
1996
- transform: scale(1.15);
2059
+ .us-radio--checked .us-radio__control {
2060
+ border-color: var(--us-_checked-radio-control-border-color, var(--us-radio-control-border-color));
2061
+ color: var(--us-_checked-radio-control-color, var(--us-radio-control-color));
1997
2062
  }
1998
- .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
1999
- color: var(--us-_active-nav-rail-item-indicator-color);
2063
+ .us-radio--focus .us-radio__control {
2064
+ box-shadow: var(--us-_focus-radio-control-box-shadow);
2000
2065
  }
2001
- .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail-item:hover .us-nav-rail-item__indicator {
2002
- transform: translateX(0px);
2066
+ .us-radio__tap {
2067
+ position: absolute;
2068
+ inset: 0px;
2069
+ opacity: 0;
2070
+ border-radius: inherit;
2071
+ background-color: var(--us-radio-tap-background);
2072
+ transform: scale(0);
2073
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
2003
2074
  }
2004
- .us-nav-rail--left .us-nav-rail-item__indicator {
2005
- left: -25%;
2006
- border-radius: 0px var(--us-nav-rail-item-indicator-border-radius) var(--us-nav-rail-item-indicator-border-radius) 0px;
2075
+ .us-radio--checked .us-radio__tap {
2076
+ opacity: 1;
2077
+ transform: scale(1.5);
2007
2078
  }
2008
- .us-nav-rail--right .us-nav-rail-item__indicator {
2009
- right: -25%;
2010
- border-radius: var(--us-nav-rail-item-indicator-border-radius) 0px 0px var(--us-nav-rail-item-indicator-border-radius);
2079
+ .us-radio .us-icon {
2080
+ opacity: 1;
2081
+ transform: scale(0);
2082
+ transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
2011
2083
  }
2012
- .us-nav-rail--left .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--left .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
2013
- left: 0px;
2084
+ .us-radio--checked .us-icon {
2085
+ opacity: 1;
2086
+ transform: scale(1);
2014
2087
  }
2015
- .us-nav-rail--right .us-nav-rail-item--selected .us-nav-rail-item__indicator, .us-nav-rail--right .us-nav-rail-item--selected:hover .us-nav-rail-item__indicator {
2016
- right: 0px;
2088
+ .us-radio-group {
2089
+ display: flex;
2090
+ flex-wrap: wrap;
2091
+ gap: var(--us-radio-group-gap);
2017
2092
  }
2018
-
2019
- .us-steps {
2020
- flex-shrink: 0;
2021
- display: grid;
2022
- overflow: hidden;
2093
+ .us-radio-group--row {
2094
+ flex-direction: row;
2095
+ align-items: center;
2023
2096
  }
2024
- .us-steps--horizontal {
2025
- grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
2097
+ .us-radio-group--col {
2098
+ flex-direction: column;
2026
2099
  }
2027
- .us-steps--vertical {
2028
- grid-template-columns: 1;
2029
- gap: 2rem;
2100
+ .us-radio-group--start {
2101
+ justify-content: flex-start;
2030
2102
  }
2031
- .us-steps--vertical .us-step {
2032
- flex-direction: row;
2033
- gap: 1.5rem;
2103
+ .us-radio-group--center {
2104
+ justify-content: center;
2034
2105
  }
2035
- .us-steps--vertical .us-step__content {
2036
- padding: 4px 0px;
2106
+ .us-radio-group--end {
2107
+ justify-content: flex-end;
2037
2108
  }
2038
- .us-steps--vertical .us-step__title, .us-steps--vertical .us-step__subtitle {
2039
- margin: 0;
2040
- text-align: start;
2109
+ .us-radio-group--stretch .us-radio {
2110
+ flex-grow: 1;
2111
+ }
2112
+ .us-radio input {
2113
+ position: absolute;
2114
+ width: 0;
2115
+ height: 0;
2116
+ opacity: 0;
2041
2117
  }
2042
- .us-steps--vertical .us-steps__indicator {
2043
- width: 1px;
2044
- height: 100%;
2045
- top: -50%;
2046
- bottom: 50%;
2047
- left: auto;
2048
- right: auto;
2118
+ .us-radio__label {
2119
+ font-size: var(--us-radio-label-font-size);
2120
+ color: var(--us-radio-label-color);
2049
2121
  }
2050
2122
 
2051
- .us-step {
2052
- position: relative;
2053
- display: flex;
2054
- flex-direction: column;
2055
- gap: 0.5rem;
2056
- }
2057
- .us-step--completed {
2058
- --us-step-divider-color: var(--us-_completed-step-divider-color);
2123
+ .us-switch {
2124
+ --us-switch-control-padding: calc(var(--us-switch-thumb-width) * 0.25);
2125
+ cursor: pointer;
2126
+ display: inline-flex;
2127
+ align-items: center;
2128
+ gap: var(--us-switch-gap);
2129
+ -webkit-tap-highlight-color: transparent;
2059
2130
  }
2060
- .us-step--current {
2061
- --us-step-divider-color: var(--us-_current-step-divider-color);
2131
+ .us-switch input {
2132
+ position: absolute;
2133
+ opacity: 0;
2134
+ width: 0;
2135
+ height: 0;
2062
2136
  }
2063
- .us-step--disabled {
2064
- opacity: 0.65;
2137
+ .us-switch--disabled {
2138
+ opacity: 0.6;
2065
2139
  pointer-events: none;
2066
2140
  }
2067
- .us-step__header {
2068
- position: relative;
2069
- display: flex;
2070
- flex-direction: column;
2071
- align-items: center;
2072
- gap: 1rem;
2073
- }
2074
- .us-step__avatar-wrapper {
2075
- border: 2px solid transparent;
2076
- padding: 2px;
2077
- border-radius: 50%;
2141
+ .us-switch--read-only {
2142
+ pointer-events: none;
2078
2143
  }
2079
- .us-step__avatar {
2144
+ .us-switch__control {
2080
2145
  position: relative;
2081
- flex-shrink: 0;
2082
- width: 44px;
2083
- height: 44px;
2084
- border-radius: 50%;
2085
- font-size: var(--us-step-indicator-font-size);
2086
- font-weight: var(--us-step-indicator-font-weight);
2087
- color: var(--us-step-indicator-color);
2088
- background-color: var(--us-step-background-color);
2089
- display: flex;
2090
- justify-content: center;
2146
+ display: inline-block;
2147
+ width: var(--us-switch-control-width);
2148
+ height: var(--us-switch-control-height);
2149
+ border-radius: var(--us-switch-control-border-radius);
2150
+ cursor: pointer;
2151
+ background-color: var(--us-switch-control-color);
2152
+ display: inline-flex;
2091
2153
  align-items: center;
2092
- z-index: 1;
2093
- }
2094
- .us-step--current .us-step__avatar-wrapper {
2095
- border-color: var(--us-_current-step-border-color);
2154
+ transition: all 0.05s ease-in-out;
2155
+ user-select: none;
2156
+ -webkit-tap-highlight-color: transparent;
2096
2157
  }
2097
- .us-step__content {
2098
- display: flex;
2099
- flex-direction: column;
2100
- gap: 0.5rem;
2158
+ .us-switch--before .us-switch__control {
2159
+ order: 2;
2101
2160
  }
2102
- .us-step__title {
2103
- flex-shrink: 0;
2104
- max-width: 150px;
2105
- margin: 0 auto;
2106
- font-size: 0.875rem;
2107
- font-weight: 500;
2108
- text-align: center;
2109
- overflow: hidden;
2110
- display: -webkit-box;
2111
- -webkit-box-orient: vertical;
2112
- -webkit-line-clamp: 2;
2161
+ .us-switch--befire .us-switch__label {
2162
+ order: 1;
2113
2163
  }
2114
- .us-step__subtitle {
2115
- flex-shrink: 0;
2116
- max-width: 150px;
2117
- margin: 0 auto;
2118
- font-size: 0.75rem;
2119
- text-align: center;
2120
- overflow: hidden;
2121
- display: -webkit-box;
2122
- -webkit-box-orient: vertical;
2123
- -webkit-line-clamp: 2;
2124
- opacity: 0.75;
2164
+ .us-switch--checked .us-switch__control {
2165
+ background-color: var(--us-_checked-switch-control-color, var(--us-switch-control-color));
2125
2166
  }
2126
-
2127
- .us-steps {
2128
- position: relative;
2167
+ .us-switch--focus .us-switch__control {
2168
+ box-shadow: var(--us-_focus-switch-control-box-shadow);
2129
2169
  }
2130
- .us-steps__indicator {
2131
- position: absolute;
2132
- flex-grow: 1;
2133
- position: absolute;
2134
- right: 50%;
2135
- top: 50%;
2136
- left: -50%;
2137
- width: 100%;
2138
- height: 1px;
2139
- background-color: var(--us-step-divider-color);
2140
- z-index: -1;
2170
+ .us-switch__thumb {
2171
+ width: var(--us-switch-thumb-width);
2172
+ height: var(--us-switch-thumb-height);
2173
+ transform: translateX(var(--us-switch-control-padding));
2174
+ border-radius: var(--us-switch-thumb-border-radius);
2175
+ background-color: var(--us-switch-thumb-color);
2176
+ transition: all 0.05s ease-in-out;
2141
2177
  }
2142
- .us-steps__indicator--completed {
2143
- border-bottom-color: var(--us-_completed-step-divider-color);
2178
+ .us-switch--checked .us-switch__thumb {
2179
+ transform: translateX(calc(var(--us-switch-control-width) - var(--us-switch-thumb-width) - (var(--us-switch-control-padding))));
2144
2180
  }
2145
- .us-steps__indicator--current {
2146
- border-bottom-color: var(--us-_current-step-divider-color);
2181
+ .us-switch__label {
2182
+ font-size: var(--us-switch-label-font-size);
2183
+ color: var(--us-switch-label-color);
2147
2184
  }
2148
2185
 
2149
2186
  .us-animation-spin {
@@ -3679,7 +3716,6 @@
3679
3716
  overflow: hidden;
3680
3717
  color: var(--us-overlay-color);
3681
3718
  opacity: var(--us-overlay-opacity);
3682
- z-index: -1;
3683
3719
  pointer-events: none;
3684
3720
  background-color: currentColor;
3685
3721
  transition: var(--us-overlay-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
@@ -3746,6 +3782,126 @@
3746
3782
  opacity: var(--us-outline-focus-opacity, var(--us-outline-hover-opacity, var(--us-outline-opacity)));
3747
3783
  }
3748
3784
 
3785
+ .us-glow {
3786
+ --shadow-color: rgb(var(--us-glow-color) / var(--us-glow-alpha));
3787
+ position: absolute;
3788
+ inset: 0;
3789
+ border-radius: inherit;
3790
+ overflow: hidden;
3791
+ pointer-events: none;
3792
+ z-index: var(--us-glow-z-index);
3793
+ opacity: var(--us-glow-opacity);
3794
+ transition: var(--us-glow-transition, box-shadow, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
3795
+ /* base color compuesto con alpha */
3796
+ color: var(--us-glow-color);
3797
+ color: rgb(var(--us-glow-color)/var(--us-glow-alpha));
3798
+ box-shadow: 0 0 var(--us-glow-blur) var(--us-glow-spread) var(--shadow-color);
3799
+ }
3800
+
3801
+ /* Hover */
3802
+ :not([hidden]):hover > .us-glow {
3803
+ --border-color: rgb(
3804
+ var(--us-_hover-glow-color, var(--us-glow-color)) /
3805
+ var(--us-_hover-glow-alpha, var(--us-glow-alpha))
3806
+ );
3807
+ --shadow-color: rgb(
3808
+ var(--us-_hover-glow-color, var(--us-glow-color)) /
3809
+ var(--us-_hover-glow-shadow-alpha, var(--us-glow-shadow-alpha))
3810
+ );
3811
+ opacity: var(--us-_hover-glow-opacity, var(--us-glow-opacity));
3812
+ box-shadow: 0 0 0 1px var(--border-color), 0 0 var(--us-_hover-glow-blur, var(--us-glow-blur)) var(--us-_hover-glow-spread, var(--us-glow-spread)) var(--shadow-color);
3813
+ }
3814
+
3815
+ /* Active */
3816
+ :not([hidden]):active > .us-glow {
3817
+ --border-color: rgb(
3818
+ var(--us-_active-glow-color, var(--us-_hover-glow-color, var(--us-glow-color))) /
3819
+ var(--us-_active-glow-alpha, var(--us-_hover-glow-alpha, var(--us-glow-alpha)))
3820
+ );
3821
+ --shadow-color: rgb(
3822
+ var(--us-_active-glow-color, var(--us-_hover-glow-color, var(--us-glow-color))) /
3823
+ var(
3824
+ --us-_active-glow-shadow-alpha,
3825
+ var(--us-_hover-glow-shadow-alpha, var(--us-glow-shadow-alpha))
3826
+ )
3827
+ );
3828
+ opacity: var(--us-_active-glow-opacity, var(--us-_hover-glow-opacity, var(--us-glow-opacity)));
3829
+ box-shadow: 0 0 0 1px var(--border-color), 0 0 var(--us-_active-glow-blur, var(--us-_hover-glow-blur, var(--us-glow-blur))) var(--us-_active-glow-spread, var(--us-_hover-glow-spread, var(--us-glow-spread))) var(--shadow-color);
3830
+ }
3831
+
3832
+ /* Focus */
3833
+ [class*="--focus"] > .us-glow,
3834
+ :not([hidden]):focus > .us-glow {
3835
+ --border-color: rgb(
3836
+ var(--us-_focus-glow-color, var(--us-glow-color)) /
3837
+ var(--us-_focus-glow-alpha, var(--us-glow-alpha))
3838
+ );
3839
+ --shadow-color: rgb(
3840
+ var(--us-_focus-glow-color, var(--us-glow-color)) /
3841
+ var(--us-_focus-glow-shadow-alpha, var(--us-glow-shadow-alpha))
3842
+ );
3843
+ opacity: var(--us-_focus-glow-opacity, var(--us-glow-opacity));
3844
+ box-shadow: 0 0 0 1px var(--border-color), 0 0 var(--us-_focus-glow-blur, var(--us-glow-blur)) var(--us-_focus-glow-spread, var(--us-glow-spread)) var(--shadow-color);
3845
+ }
3846
+
3847
+ .us-ring {
3848
+ position: absolute;
3849
+ inset: 0;
3850
+ border-radius: inherit;
3851
+ overflow: hidden;
3852
+ color: var(--us-ring-color);
3853
+ opacity: var(--us-ring-opacity, 0);
3854
+ pointer-events: none;
3855
+ transition: var(--us-ring-transition, outline-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
3856
+ outline-width: var(--us-ring-width, 2px);
3857
+ outline-style: solid;
3858
+ outline-color: currentColor;
3859
+ outline-offset: var(--us-ring-offset, 4px);
3860
+ }
3861
+
3862
+ /* Hover */
3863
+ :not([hidden]):hover > .us-ring {
3864
+ color: var(--us-_hover-ring-color, var(--us-ring-color));
3865
+ opacity: var(--us-_hover-ring-opacity, var(--us-ring-opacity));
3866
+ outline-width: var(--us-_hover-ring-width, var(--us-ring-width, 2px));
3867
+ outline-offset: var(--us-_hover-ring-offset, var(--us-ring-offset, 4px));
3868
+ }
3869
+
3870
+ /* Active */
3871
+ :not([hidden]):active > .us-ring {
3872
+ color: var(--us-_active-ring-color, var(--us-_hover-ring-color, var(--us-ring-color)));
3873
+ opacity: var(--us-_active-ring-opacity, var(--us-_hover-ring-opacity, var(--us-ring-opacity)));
3874
+ outline-width: var(--us-_active-ring-width, var(--us-_hover-ring-width, var(--us-ring-width, 2px)));
3875
+ outline-offset: var(--us-_active-ring-offset, var(--us-_hover-ring-offset, var(--us-ring-offset, 4px)));
3876
+ }
3877
+
3878
+ /* Focus */
3879
+ [class*="--focus"] > .us-ring,
3880
+ :not([hidden]):focus > .us-ring {
3881
+ color: var(--us-_focus-ring-color, var(--us-ring-color));
3882
+ opacity: var(--us-_focus-ring-opacity, var(--us-ring-opacity));
3883
+ outline-width: var(--us-_focus-ring-width, var(--us-ring-width, 2px));
3884
+ outline-offset: var(--us-_focus-ring-offset, var(--us-ring-offset, 4px));
3885
+ }
3886
+
3887
+ /* Focus + Hover */
3888
+ [class*="--focus"]:hover > .us-ring,
3889
+ :not([hidden]):focus:hover > .us-ring {
3890
+ color: var(--us-_focus-hover-ring-color, var(--us-_focus-ring-color, var(--us-ring-color)));
3891
+ opacity: var(--us-_focus-hover-ring-opacity, var(--us-_focus-ring-opacity, var(--us-ring-opacity)));
3892
+ outline-width: var(--us-_focus-hover-ring-width, var(--us-_focus-ring-width, var(--us-ring-width, 2px)));
3893
+ outline-offset: var(--us-_focus-hover-ring-offset, var(--us-_focus-ring-offset, var(--us-ring-offset, 4px)));
3894
+ }
3895
+
3896
+ /* Focus + Active */
3897
+ [class*="--focus"]:active > .us-ring,
3898
+ :not([hidden]):focus:active > .us-ring {
3899
+ color: var(--us-_focus-active-ring-color, var(--us-_focus-ring-color, var(--us-ring-color)));
3900
+ opacity: var(--us-_focus-active-ring-opacity, var(--us-_focus-ring-opacity, var(--us-ring-opacity)));
3901
+ outline-width: var(--us-_focus-active-ring-width, var(--us-_focus-ring-width, var(--us-ring-width, 2px)));
3902
+ outline-offset: var(--us-_focus-active-ring-offset, var(--us-_focus-ring-offset, var(--us-ring-offset, 4px)));
3903
+ }
3904
+
3749
3905
  .us-surface {
3750
3906
  position: absolute;
3751
3907
  inset: 0px;
@@ -3778,6 +3934,184 @@
3778
3934
  stroke: currentColor !important;
3779
3935
  }
3780
3936
 
3937
+ /* Contenedor principal */
3938
+ /* ----------------- Contenedor principal ----------------- */
3939
+ .win-container {
3940
+ width: 100vw;
3941
+ height: 100vh;
3942
+ background-color: #f1f5f9; /* bg-slate-50 */
3943
+ position: relative;
3944
+ overflow: hidden;
3945
+ }
3946
+
3947
+ /* ----------------- DraggableResizable ----------------- */
3948
+ .win-draggable {
3949
+ background-color: white;
3950
+ user-select: none;
3951
+ }
3952
+
3953
+ .win-header {
3954
+ width: 100%;
3955
+ height: 2rem; /* h-8 */
3956
+ background-color: #fff; /* bg-gray-100 */
3957
+ border-bottom: 1px solid #cbd5e1;
3958
+ display: flex;
3959
+ align-items: center;
3960
+ padding: 0 0.5rem; /* px-2 */
3961
+ user-select: none;
3962
+ }
3963
+
3964
+ .win-header.win-draggable {
3965
+ cursor: move; /* solo si draggable */
3966
+ }
3967
+
3968
+ .win-header-title {
3969
+ font-size: 0.875rem; /* text-sm */
3970
+ font-weight: 500; /* font-medium */
3971
+ }
3972
+
3973
+ .win-header-buttons {
3974
+ margin-left: auto;
3975
+ display: flex;
3976
+ align-items: center;
3977
+ gap: 0.25rem; /* gap-1 */
3978
+ }
3979
+
3980
+ /* Botones del header */
3981
+ .win-btn {
3982
+ width: 1.75rem; /* w-7 */
3983
+ height: 1.5rem; /* h-6 */
3984
+ display: flex;
3985
+ justify-content: center;
3986
+ align-items: center;
3987
+ border-radius: 0.25rem; /* rounded */
3988
+ }
3989
+
3990
+ .win-btn:hover {
3991
+ background-color: #e5e7eb; /* hover:bg-gray-200 */
3992
+ }
3993
+
3994
+ .win-btn-close:hover {
3995
+ background-color: #ef4444; /* hover:bg-red-500 */
3996
+ color: white;
3997
+ }
3998
+
3999
+ /* ----------------- Taskbar ----------------- */
4000
+ .win-taskbar {
4001
+ height: 3rem; /* h-12 */
4002
+ background-color: #1e293b; /* bg-slate-800 */
4003
+ color: white;
4004
+ display: flex;
4005
+ align-items: center;
4006
+ padding: 0 1rem; /* px-4 */
4007
+ gap: 0.75rem; /* gap-3 */
4008
+ }
4009
+
4010
+ .win-taskbar-button {
4011
+ display: flex;
4012
+ align-items: center;
4013
+ gap: 0.5rem;
4014
+ padding: 0.25rem 0.75rem;
4015
+ border-radius: 0.25rem;
4016
+ cursor: pointer;
4017
+ }
4018
+
4019
+ .win-taskbar-button.win-active {
4020
+ background-color: #2563eb; /* bg-blue-600 */
4021
+ }
4022
+
4023
+ .win-taskbar-button.win-inactive {
4024
+ background-color: #334155; /* bg-slate-700 */
4025
+ }
4026
+
4027
+ .win-taskbar-button:hover .win-btn-close {
4028
+ background-color: #dc2626; /* hover:bg-red-600 */
4029
+ }
4030
+
4031
+ /* ----------------- Resize handles ----------------- */
4032
+ /* Base handle */
4033
+ .win-handle {
4034
+ position: absolute;
4035
+ width: 0.75rem; /* w-3 */
4036
+ height: 0.75rem; /* h-3 */
4037
+ background-color: white;
4038
+ border: 1px solid #d1d5db; /* border-gray-300 */
4039
+ border-radius: 9999px; /* rounded-full */
4040
+ z-index: 20;
4041
+ transform-origin: center;
4042
+ transition: background-color 0.15s ease;
4043
+ }
4044
+
4045
+ /* Hover */
4046
+ .win-handle:hover {
4047
+ background-color: #3b82f6; /* blue-500 */
4048
+ }
4049
+
4050
+ /* Dirección y cursor */
4051
+ .win-handle-n {
4052
+ top: 0;
4053
+ left: 50%;
4054
+ transform: translate(-50%, -50%);
4055
+ cursor: n-resize;
4056
+ }
4057
+
4058
+ .win-handle-s {
4059
+ bottom: 0;
4060
+ left: 50%;
4061
+ transform: translate(-50%, 50%);
4062
+ cursor: s-resize;
4063
+ }
4064
+
4065
+ .win-handle-e {
4066
+ top: 50%;
4067
+ right: 0;
4068
+ transform: translate(50%, -50%);
4069
+ cursor: e-resize;
4070
+ }
4071
+
4072
+ .win-handle-w {
4073
+ top: 50%;
4074
+ left: 0;
4075
+ transform: translate(-50%, -50%);
4076
+ cursor: w-resize;
4077
+ }
4078
+
4079
+ .win-handle-ne {
4080
+ top: 0;
4081
+ right: 0;
4082
+ transform: translate(50%, -50%);
4083
+ cursor: ne-resize;
4084
+ }
4085
+
4086
+ .win-handle-nw {
4087
+ top: 0;
4088
+ left: 0;
4089
+ transform: translate(-50%, -50%);
4090
+ cursor: nw-resize;
4091
+ }
4092
+
4093
+ .win-handle-se {
4094
+ bottom: 0;
4095
+ right: 0;
4096
+ transform: translate(50%, 50%);
4097
+ cursor: se-resize;
4098
+ }
4099
+
4100
+ .win-handle-sw {
4101
+ bottom: 0;
4102
+ left: 0;
4103
+ transform: translate(-50%, 50%);
4104
+ cursor: sw-resize;
4105
+ }
4106
+
4107
+ .win-snap-preview {
4108
+ position: absolute;
4109
+ background-color: rgba(96, 165, 250, 0.3); /* bg-blue-400 + bg-opacity-30 */
4110
+ border: 2px solid #2563eb; /* border-blue-600 */
4111
+ pointer-events: none;
4112
+ z-index: 999998; /* debajo de la ventana */
4113
+ }
4114
+
3781
4115
  /* Estilos CSS aquí */
3782
4116
  .slider-container {
3783
4117
  width: 300px;