@unifiedsoftware/styles 2.0.0-alpha.9 → 2.0.0-beta.10
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/fci.css +554 -188
- package/css/fci.min.css +1 -1
- package/css/styles.css +236 -45
- package/css/styles.min.css +1 -1
- package/index.scss +53 -0
- package/package.json +1 -1
- package/scss/_utilities.scss +7 -0
- package/scss/components/_accordion.scss +1 -1
- package/scss/components/_card.scss +37 -23
- package/scss/components/_checkbox.scss +6 -6
- package/scss/components/_index.scss +2 -0
- package/scss/components/_input.scss +24 -19
- package/scss/components/_list.scss +1 -2
- package/scss/components/_modal.scss +1 -1
- package/scss/components/_nav-rail.scss +2 -1
- package/scss/components/_radio.scss +6 -6
- package/scss/components/_steps.scss +151 -0
- package/scss/components/_switch.scss +2 -2
- package/scss/themes/fci/components/_accordion.scss +7 -16
- package/scss/themes/fci/components/_button.scss +55 -17
- package/scss/themes/fci/components/_card.scss +13 -13
- package/scss/themes/fci/components/_checkbox.scss +53 -8
- package/scss/themes/fci/components/_chip.scss +41 -12
- package/scss/themes/fci/components/_index.scss +4 -1
- package/scss/themes/fci/components/_input.scss +35 -12
- package/scss/themes/fci/components/_radio.scss +47 -5
- package/scss/themes/fci/components/_steps.scss +79 -0
- package/scss/themes/fci/components/_switch.scss +40 -8
package/css/styles.css
CHANGED
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
justify-content: inherit;
|
|
614
614
|
}
|
|
615
615
|
.us-modal--scroll-inside {
|
|
616
|
-
height: calc(100vh - 2 * var(--us-modal-wrapper-padding));
|
|
616
|
+
max-height: calc(100vh - 2 * var(--us-modal-wrapper-padding));
|
|
617
617
|
}
|
|
618
618
|
.us-modal-header {
|
|
619
619
|
position: relative;
|
|
@@ -737,6 +737,9 @@
|
|
|
737
737
|
opacity: 0.75;
|
|
738
738
|
pointer-events: none;
|
|
739
739
|
}
|
|
740
|
+
.us-input--read-only {
|
|
741
|
+
pointer-events: none;
|
|
742
|
+
}
|
|
740
743
|
.us-input--clearable .us-input__clearable {
|
|
741
744
|
transform: scale(0);
|
|
742
745
|
transition: all 0.2s ease-in-out;
|
|
@@ -786,6 +789,24 @@
|
|
|
786
789
|
display: flex;
|
|
787
790
|
align-items: center;
|
|
788
791
|
z-index: 1;
|
|
792
|
+
overflow: hidden;
|
|
793
|
+
}
|
|
794
|
+
.us-input__content--chips {
|
|
795
|
+
padding-block: var(--us-input-padding-y);
|
|
796
|
+
padding-inline: var(--us-input-padding-x);
|
|
797
|
+
flex-grow: 1;
|
|
798
|
+
display: flex;
|
|
799
|
+
flex-wrap: wrap;
|
|
800
|
+
gap: 0.25rem;
|
|
801
|
+
}
|
|
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;
|
|
789
810
|
}
|
|
790
811
|
.us-input__field {
|
|
791
812
|
flex: 1;
|
|
@@ -826,23 +847,6 @@
|
|
|
826
847
|
.us-input__placeholder {
|
|
827
848
|
opacity: 0.6;
|
|
828
849
|
}
|
|
829
|
-
.us-input__chips {
|
|
830
|
-
padding-block: var(--us-input-padding-y);
|
|
831
|
-
padding-inline: var(--us-input-padding-x);
|
|
832
|
-
flex-grow: 1;
|
|
833
|
-
display: flex;
|
|
834
|
-
flex-wrap: wrap;
|
|
835
|
-
gap: 0.25rem;
|
|
836
|
-
}
|
|
837
|
-
.us-input__chips input {
|
|
838
|
-
flex: 1;
|
|
839
|
-
height: 24px;
|
|
840
|
-
border: none;
|
|
841
|
-
outline: none;
|
|
842
|
-
color: inherit;
|
|
843
|
-
background: inherit;
|
|
844
|
-
min-width: 0;
|
|
845
|
-
}
|
|
846
850
|
.us-input__start-content, .us-input__end-content {
|
|
847
851
|
flex-shrink: 0;
|
|
848
852
|
height: 100%;
|
|
@@ -897,7 +901,7 @@
|
|
|
897
901
|
display: flex;
|
|
898
902
|
justify-content: center;
|
|
899
903
|
align-items: center;
|
|
900
|
-
transition: color 0.
|
|
904
|
+
transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
|
|
901
905
|
overflow: hidden;
|
|
902
906
|
}
|
|
903
907
|
.us-checkbox--before .us-checkbox__control {
|
|
@@ -920,7 +924,7 @@
|
|
|
920
924
|
border-radius: inherit;
|
|
921
925
|
background-color: var(--us-checkbox-tap-background);
|
|
922
926
|
transform: scale(0);
|
|
923
|
-
transition: opacity 0.
|
|
927
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
|
|
924
928
|
}
|
|
925
929
|
.us-checkbox--checked .us-checkbox__tap {
|
|
926
930
|
opacity: 1;
|
|
@@ -929,7 +933,7 @@
|
|
|
929
933
|
.us-checkbox .us-icon {
|
|
930
934
|
opacity: 1;
|
|
931
935
|
transform: scale(0);
|
|
932
|
-
transition: opacity 0.
|
|
936
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
|
|
933
937
|
}
|
|
934
938
|
.us-checkbox--checked .us-icon {
|
|
935
939
|
opacity: 1;
|
|
@@ -990,7 +994,7 @@
|
|
|
990
994
|
display: flex;
|
|
991
995
|
justify-content: center;
|
|
992
996
|
align-items: center;
|
|
993
|
-
transition: color 0.
|
|
997
|
+
transition: color 0.05s ease-in-out 0.025s, border-color 0.05s ease-in-out 0.025s;
|
|
994
998
|
overflow: hidden;
|
|
995
999
|
}
|
|
996
1000
|
.us-radio--before .us-radio__control {
|
|
@@ -1013,7 +1017,7 @@
|
|
|
1013
1017
|
border-radius: inherit;
|
|
1014
1018
|
background-color: var(--us-radio-tap-background);
|
|
1015
1019
|
transform: scale(0);
|
|
1016
|
-
transition: opacity 0.
|
|
1020
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
|
|
1017
1021
|
}
|
|
1018
1022
|
.us-radio--checked .us-radio__tap {
|
|
1019
1023
|
opacity: 1;
|
|
@@ -1022,7 +1026,7 @@
|
|
|
1022
1026
|
.us-radio .us-icon {
|
|
1023
1027
|
opacity: 1;
|
|
1024
1028
|
transform: scale(0);
|
|
1025
|
-
transition: opacity 0.
|
|
1029
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.05s ease-in-out 0.025s;
|
|
1026
1030
|
}
|
|
1027
1031
|
.us-radio--checked .us-icon {
|
|
1028
1032
|
opacity: 1;
|
|
@@ -1094,7 +1098,7 @@
|
|
|
1094
1098
|
background-color: var(--us-switch-control-color);
|
|
1095
1099
|
display: inline-flex;
|
|
1096
1100
|
align-items: center;
|
|
1097
|
-
transition: all 0.
|
|
1101
|
+
transition: all 0.05s ease-in-out;
|
|
1098
1102
|
user-select: none;
|
|
1099
1103
|
-webkit-tap-highlight-color: transparent;
|
|
1100
1104
|
}
|
|
@@ -1116,7 +1120,7 @@
|
|
|
1116
1120
|
transform: translateX(var(--us-switch-control-padding));
|
|
1117
1121
|
border-radius: var(--us-switch-thumb-border-radius);
|
|
1118
1122
|
background-color: var(--us-switch-thumb-color);
|
|
1119
|
-
transition: all 0.
|
|
1123
|
+
transition: all 0.05s ease-in-out;
|
|
1120
1124
|
}
|
|
1121
1125
|
.us-switch--checked .us-switch__thumb {
|
|
1122
1126
|
transform: translateX(calc(var(--us-switch-control-width) - var(--us-switch-thumb-width) - (var(--us-switch-control-padding))));
|
|
@@ -1144,7 +1148,7 @@
|
|
|
1144
1148
|
}
|
|
1145
1149
|
.us-accordion-item {
|
|
1146
1150
|
position: relative;
|
|
1147
|
-
border-bottom:
|
|
1151
|
+
border-bottom: var(--us-accordion-item-border);
|
|
1148
1152
|
}
|
|
1149
1153
|
.us-accordion-item:last-child {
|
|
1150
1154
|
border-bottom: none;
|
|
@@ -1264,8 +1268,7 @@
|
|
|
1264
1268
|
}
|
|
1265
1269
|
.us-list-item--disabled {
|
|
1266
1270
|
opacity: 0.6;
|
|
1267
|
-
|
|
1268
|
-
user-select: none;
|
|
1271
|
+
pointer-events: none;
|
|
1269
1272
|
}
|
|
1270
1273
|
.us-list-item__start-content, .us-list-item__end-content {
|
|
1271
1274
|
flex-shrink: 0;
|
|
@@ -1598,8 +1601,6 @@
|
|
|
1598
1601
|
overflow: hidden;
|
|
1599
1602
|
-webkit-tap-highlight-color: transparent;
|
|
1600
1603
|
background-color: white;
|
|
1601
|
-
}
|
|
1602
|
-
.us-card__content {
|
|
1603
1604
|
padding-block: var(--us-card-padding-y);
|
|
1604
1605
|
padding-inline: var(--us-card-padding-x);
|
|
1605
1606
|
display: flex;
|
|
@@ -1754,35 +1755,34 @@
|
|
|
1754
1755
|
object-fit: cover;
|
|
1755
1756
|
}
|
|
1756
1757
|
.us-card--divider .us-card-body {
|
|
1757
|
-
margin-bottom: var(--us-card-padding-y);
|
|
1758
1758
|
margin-top: var(--us-card-padding-y);
|
|
1759
1759
|
}
|
|
1760
|
-
.us-card--divider .us-card-body::
|
|
1760
|
+
.us-card--divider .us-card-body::after {
|
|
1761
1761
|
content: "";
|
|
1762
1762
|
position: absolute;
|
|
1763
1763
|
left: 0;
|
|
1764
1764
|
right: 0;
|
|
1765
|
-
|
|
1766
|
-
border-
|
|
1765
|
+
bottom: 0;
|
|
1766
|
+
border-bottom: 1px solid var(--us-card-border-color);
|
|
1767
1767
|
}
|
|
1768
|
-
.us-card--divider .us-card-body
|
|
1768
|
+
.us-card--divider .us-card-header ~ .us-card-body {
|
|
1769
|
+
margin-bottom: var(--us-card-padding-y);
|
|
1770
|
+
}
|
|
1771
|
+
.us-card--divider .us-card-header ~ .us-card-body::before {
|
|
1769
1772
|
content: "";
|
|
1770
1773
|
position: absolute;
|
|
1771
1774
|
left: 0;
|
|
1772
1775
|
right: 0;
|
|
1773
|
-
|
|
1774
|
-
border-
|
|
1775
|
-
}
|
|
1776
|
-
.us-card--divider .us-card__content > .us-card-body:first-child, .us-card--divider .us-card__content :not([hidden]):first-child .us-card-body {
|
|
1777
|
-
margin-top: 0;
|
|
1776
|
+
top: 0;
|
|
1777
|
+
border-top: 1px solid var(--us-card-border-color);
|
|
1778
1778
|
}
|
|
1779
|
-
.us-card--divider
|
|
1779
|
+
.us-card--divider > .us-card-body:first-child, .us-card--divider :not([hidden]):first-child .us-card-body::before {
|
|
1780
1780
|
border-top: none;
|
|
1781
1781
|
}
|
|
1782
|
-
.us-card--divider
|
|
1782
|
+
.us-card--divider > .us-card-body:last-child, .us-card--divider :not([hidden]):last-child .us-card-body {
|
|
1783
1783
|
margin-bottom: 0;
|
|
1784
1784
|
}
|
|
1785
|
-
.us-card--divider
|
|
1785
|
+
.us-card--divider > .us-card-body:last-child::after, .us-card--divider :not([hidden]):last-child .us-card-body::after {
|
|
1786
1786
|
border-bottom: none;
|
|
1787
1787
|
}
|
|
1788
1788
|
|
|
@@ -1978,7 +1978,8 @@
|
|
|
1978
1978
|
font-size: var(--us-nav-rail-item-label-font-size);
|
|
1979
1979
|
font-weight: var(--us-nav-rail-item-label-font-weight);
|
|
1980
1980
|
line-height: var(--us-nav-rail-item-label-line-height);
|
|
1981
|
-
|
|
1981
|
+
width: 100%;
|
|
1982
|
+
text-align: center;
|
|
1982
1983
|
overflow: hidden;
|
|
1983
1984
|
display: -webkit-box;
|
|
1984
1985
|
-webkit-box-orient: vertical;
|
|
@@ -2015,6 +2016,136 @@
|
|
|
2015
2016
|
right: 0px;
|
|
2016
2017
|
}
|
|
2017
2018
|
|
|
2019
|
+
.us-steps {
|
|
2020
|
+
flex-shrink: 0;
|
|
2021
|
+
display: grid;
|
|
2022
|
+
overflow: hidden;
|
|
2023
|
+
}
|
|
2024
|
+
.us-steps--horizontal {
|
|
2025
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
2026
|
+
}
|
|
2027
|
+
.us-steps--vertical {
|
|
2028
|
+
grid-template-columns: 1;
|
|
2029
|
+
gap: 2rem;
|
|
2030
|
+
}
|
|
2031
|
+
.us-steps--vertical .us-step {
|
|
2032
|
+
flex-direction: row;
|
|
2033
|
+
gap: 1.5rem;
|
|
2034
|
+
}
|
|
2035
|
+
.us-steps--vertical .us-step__content {
|
|
2036
|
+
padding: 4px 0px;
|
|
2037
|
+
}
|
|
2038
|
+
.us-steps--vertical .us-step__title, .us-steps--vertical .us-step__subtitle {
|
|
2039
|
+
margin: 0;
|
|
2040
|
+
text-align: start;
|
|
2041
|
+
}
|
|
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;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
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);
|
|
2059
|
+
}
|
|
2060
|
+
.us-step--current {
|
|
2061
|
+
--us-step-divider-color: var(--us-_current-step-divider-color);
|
|
2062
|
+
}
|
|
2063
|
+
.us-step--disabled {
|
|
2064
|
+
opacity: 0.65;
|
|
2065
|
+
pointer-events: none;
|
|
2066
|
+
}
|
|
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%;
|
|
2078
|
+
}
|
|
2079
|
+
.us-step__avatar {
|
|
2080
|
+
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;
|
|
2091
|
+
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);
|
|
2096
|
+
}
|
|
2097
|
+
.us-step__content {
|
|
2098
|
+
display: flex;
|
|
2099
|
+
flex-direction: column;
|
|
2100
|
+
gap: 0.5rem;
|
|
2101
|
+
}
|
|
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;
|
|
2113
|
+
}
|
|
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;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
.us-steps {
|
|
2128
|
+
position: relative;
|
|
2129
|
+
}
|
|
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;
|
|
2141
|
+
}
|
|
2142
|
+
.us-steps__indicator--completed {
|
|
2143
|
+
border-bottom-color: var(--us-_completed-step-divider-color);
|
|
2144
|
+
}
|
|
2145
|
+
.us-steps__indicator--current {
|
|
2146
|
+
border-bottom-color: var(--us-_current-step-divider-color);
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2018
2149
|
.us-animation-spin {
|
|
2019
2150
|
animation: us-animation-spin 1s linear infinite;
|
|
2020
2151
|
transform-origin: center center;
|
|
@@ -3640,6 +3771,13 @@
|
|
|
3640
3771
|
display: grid;
|
|
3641
3772
|
}
|
|
3642
3773
|
|
|
3774
|
+
.us-icon.jodit-icon {
|
|
3775
|
+
width: 1em !important;
|
|
3776
|
+
height: 1em !important;
|
|
3777
|
+
fill: none !important;
|
|
3778
|
+
stroke: currentColor !important;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3643
3781
|
/* Estilos CSS aquí */
|
|
3644
3782
|
.slider-container {
|
|
3645
3783
|
width: 300px;
|
|
@@ -3656,4 +3794,57 @@
|
|
|
3656
3794
|
border-radius: 50%;
|
|
3657
3795
|
position: absolute;
|
|
3658
3796
|
cursor: pointer;
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
.jodit-popup {
|
|
3800
|
+
border-radius: 6px;
|
|
3801
|
+
overflow: hidden;
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3804
|
+
.jodit-autocomplete {
|
|
3805
|
+
padding: 0.5rem 0.25rem;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
.jodit-autocomplete-label {
|
|
3809
|
+
color: rgb(112, 112, 112);
|
|
3810
|
+
align-items: center;
|
|
3811
|
+
cursor: default;
|
|
3812
|
+
display: flex;
|
|
3813
|
+
min-width: 6em;
|
|
3814
|
+
font-size: 12px;
|
|
3815
|
+
font-weight: 500;
|
|
3816
|
+
min-height: 28px;
|
|
3817
|
+
padding: 0.25rem 0.5rem;
|
|
3818
|
+
border-bottom: 1px solid #ddd;
|
|
3819
|
+
margin-bottom: 0.5rem;
|
|
3820
|
+
background-color: white;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
.jodit-autocomplete-item {
|
|
3824
|
+
align-items: center;
|
|
3825
|
+
cursor: default;
|
|
3826
|
+
display: flex;
|
|
3827
|
+
min-width: 6em;
|
|
3828
|
+
min-height: 32px;
|
|
3829
|
+
padding: 0.25rem 0.5rem;
|
|
3830
|
+
background-color: white;
|
|
3831
|
+
border-radius: 6px;
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
.jodit-autocomplete-item:hover {
|
|
3835
|
+
background-color: #ecebe9;
|
|
3836
|
+
color: #4c4c4c;
|
|
3837
|
+
cursor: pointer;
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3840
|
+
.jodit-autocomplete-item_active_true,
|
|
3841
|
+
.jodit-autocomplete-item_active_true:hover {
|
|
3842
|
+
background-color: var(--us-primary-color);
|
|
3843
|
+
color: #fff;
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
.jodit-autocomplete-item_active_false {
|
|
3847
|
+
background-color: #fff;
|
|
3848
|
+
color: #4c4c4c;
|
|
3849
|
+
cursor: pointer;
|
|
3659
3850
|
}
|