@unifiedsoftware/styles 2.0.1-beta.2 → 2.0.1-beta.20
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 +75 -4
- package/css/fci.min.css +1 -1
- package/css/styles.css +106 -33
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/_utilities.scss +86 -18
- package/scss/components/_accordion.scss +2 -1
- package/scss/components/_input.scss +1 -1
- package/scss/components/_list.scss +11 -9
- package/scss/components/_steps.scss +4 -1
- package/scss/components/_toolbar.scss +4 -4
- package/scss/themes/fci/components/_tabs.scss +50 -0
- package/scss/themes/fci/components/_toolbar.scss +25 -6
package/css/styles.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
.us-toolbar {
|
|
3
|
+
flex-shrink: 0;
|
|
3
4
|
position: relative;
|
|
4
5
|
width: 100%;
|
|
5
|
-
|
|
6
|
+
height: var(--us-toolbar-height);
|
|
6
7
|
padding-block: var(--us-toolbar-padding-y);
|
|
7
8
|
padding-inline: var(--us-toolbar-padding-x);
|
|
8
|
-
|
|
9
|
-
background: var(--us-toolbar-background);
|
|
9
|
+
color: var(--us-toolbar-color);
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
}
|
|
13
13
|
.us-toolbar__container {
|
|
14
|
+
position: relative;
|
|
14
15
|
width: 100%;
|
|
15
16
|
margin: 0 auto;
|
|
16
17
|
display: flex;
|
|
17
18
|
align-items: center;
|
|
18
19
|
gap: var(--us-toolbar-gap);
|
|
19
|
-
z-index: 1;
|
|
20
20
|
}
|
|
21
21
|
.us-toolbar__start-action, .us-toolbar__start-content, .us-toolbar__end-action, .us-toolbar__end-content {
|
|
22
22
|
flex-shrink: 0;
|
|
@@ -768,7 +768,6 @@
|
|
|
768
768
|
padding-block: var(--us-accordion-header-padding-y);
|
|
769
769
|
padding-inline: var(--us-accordion-header-padding-x);
|
|
770
770
|
color: var(--us-accordion-header-color);
|
|
771
|
-
z-index: 0;
|
|
772
771
|
display: flex;
|
|
773
772
|
align-items: center;
|
|
774
773
|
gap: var(--us-accordion-header-gap);
|
|
@@ -779,12 +778,14 @@
|
|
|
779
778
|
-webkit-tap-highlight-color: transparent;
|
|
780
779
|
}
|
|
781
780
|
.us-accordion-header__start-content, .us-accordion-header__end-content {
|
|
781
|
+
position: relative;
|
|
782
782
|
flex-shrink: 0;
|
|
783
783
|
display: flex;
|
|
784
784
|
align-items: center;
|
|
785
785
|
gap: var(--us-accordion-header-content-gap);
|
|
786
786
|
}
|
|
787
787
|
.us-accordion-header__content {
|
|
788
|
+
position: relative;
|
|
788
789
|
flex-grow: 1;
|
|
789
790
|
display: flex;
|
|
790
791
|
flex-direction: column;
|
|
@@ -856,20 +857,23 @@
|
|
|
856
857
|
}
|
|
857
858
|
.us-list-item {
|
|
858
859
|
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
860
|
font-size: var(--us-list-item-font-size);
|
|
864
861
|
font-weight: var(--us-list-item-font-weight);
|
|
865
862
|
border-radius: var(--us-list-item-border-radius);
|
|
866
863
|
text-decoration: none;
|
|
867
864
|
z-index: 0;
|
|
868
|
-
display: flex;
|
|
869
|
-
align-items: center;
|
|
870
865
|
color: var(--us-list-item-color);
|
|
871
866
|
background-color: var(--us-list-item-background);
|
|
872
867
|
-webkit-tap-highlight-color: transparent;
|
|
868
|
+
}
|
|
869
|
+
.us-list-item__container {
|
|
870
|
+
position: relative;
|
|
871
|
+
padding-block: var(--us-list-item-padding-y);
|
|
872
|
+
padding-inline: var(--us-list-item-padding-x);
|
|
873
|
+
height: var(--us-list-item-height);
|
|
874
|
+
min-height: var(--us-list-item-min-height);
|
|
875
|
+
display: flex;
|
|
876
|
+
align-items: center;
|
|
873
877
|
gap: var(--us-list-item-gap);
|
|
874
878
|
}
|
|
875
879
|
.us-list-item:hover {
|
|
@@ -885,7 +889,6 @@
|
|
|
885
889
|
}
|
|
886
890
|
.us-list-item__start-content, .us-list-item__end-content {
|
|
887
891
|
flex-shrink: 0;
|
|
888
|
-
z-index: 1;
|
|
889
892
|
display: flex;
|
|
890
893
|
justify-content: center;
|
|
891
894
|
align-items: center;
|
|
@@ -893,7 +896,6 @@
|
|
|
893
896
|
}
|
|
894
897
|
.us-list-item__content {
|
|
895
898
|
flex-grow: 1;
|
|
896
|
-
z-index: 1;
|
|
897
899
|
display: grid;
|
|
898
900
|
overflow: hidden;
|
|
899
901
|
}
|
|
@@ -1703,7 +1705,9 @@
|
|
|
1703
1705
|
display: flex;
|
|
1704
1706
|
justify-content: center;
|
|
1705
1707
|
align-items: center;
|
|
1706
|
-
|
|
1708
|
+
}
|
|
1709
|
+
.us-step__icon {
|
|
1710
|
+
position: relative;
|
|
1707
1711
|
}
|
|
1708
1712
|
.us-step--current .us-step__avatar-wrapper {
|
|
1709
1713
|
border-color: var(--us-_current-step-border-color);
|
|
@@ -1832,11 +1836,11 @@
|
|
|
1832
1836
|
opacity: 1;
|
|
1833
1837
|
}
|
|
1834
1838
|
.us-input__content {
|
|
1839
|
+
position: relative;
|
|
1835
1840
|
flex: 1;
|
|
1836
1841
|
height: 100%;
|
|
1837
1842
|
display: flex;
|
|
1838
1843
|
align-items: center;
|
|
1839
|
-
z-index: 1;
|
|
1840
1844
|
overflow: hidden;
|
|
1841
1845
|
}
|
|
1842
1846
|
.us-input__content--chips {
|
|
@@ -3909,7 +3913,6 @@
|
|
|
3909
3913
|
overflow: hidden;
|
|
3910
3914
|
color: var(--us-surface-color);
|
|
3911
3915
|
opacity: var(--us-surface-opacity);
|
|
3912
|
-
z-index: -1;
|
|
3913
3916
|
pointer-events: none;
|
|
3914
3917
|
background-color: currentColor;
|
|
3915
3918
|
transition: var(--us-surface-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
@@ -3961,13 +3964,21 @@
|
|
|
3961
3964
|
user-select: none;
|
|
3962
3965
|
}
|
|
3963
3966
|
|
|
3967
|
+
.win-header .us-icon:not(.us-button .us-icon) {
|
|
3968
|
+
--us-icon-font-size-default: 18px;
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3964
3971
|
.win-header.win-draggable {
|
|
3965
3972
|
cursor: move; /* solo si draggable */
|
|
3966
3973
|
}
|
|
3967
3974
|
|
|
3975
|
+
.win-header-icon {
|
|
3976
|
+
margin-right: 4px;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3968
3979
|
.win-header-title {
|
|
3969
|
-
font-size:
|
|
3970
|
-
font-weight:
|
|
3980
|
+
font-size: 12px; /* text-sm */
|
|
3981
|
+
font-weight: 400; /* font-medium */
|
|
3971
3982
|
}
|
|
3972
3983
|
|
|
3973
3984
|
.win-header-buttons {
|
|
@@ -3985,47 +3996,85 @@
|
|
|
3985
3996
|
justify-content: center;
|
|
3986
3997
|
align-items: center;
|
|
3987
3998
|
border-radius: 0.25rem; /* rounded */
|
|
3999
|
+
background-color: transparent;
|
|
4000
|
+
outline: none;
|
|
4001
|
+
border: none;
|
|
3988
4002
|
}
|
|
3989
4003
|
|
|
3990
4004
|
.win-btn:hover {
|
|
3991
|
-
background-color:
|
|
4005
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
3992
4006
|
}
|
|
3993
4007
|
|
|
3994
|
-
.win-btn
|
|
4008
|
+
.win-btn--danger:hover {
|
|
3995
4009
|
background-color: #ef4444; /* hover:bg-red-500 */
|
|
3996
4010
|
color: white;
|
|
3997
4011
|
}
|
|
3998
4012
|
|
|
3999
4013
|
/* ----------------- Taskbar ----------------- */
|
|
4000
4014
|
.win-taskbar {
|
|
4001
|
-
height:
|
|
4002
|
-
background-color: #
|
|
4003
|
-
color: white;
|
|
4015
|
+
height: 36px;
|
|
4016
|
+
background-color: #fff;
|
|
4004
4017
|
display: flex;
|
|
4005
4018
|
align-items: center;
|
|
4006
|
-
padding: 0
|
|
4007
|
-
gap: 0.
|
|
4019
|
+
padding: 0 0.25rem;
|
|
4020
|
+
gap: 0.25rem;
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
.win-taskbar--top {
|
|
4024
|
+
border-top: 1px solid #cbd5e1;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
.win-taskbar--bottom {
|
|
4028
|
+
border-bottom: 1px solid #cbd5e1;
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
.win-taskbar--highlighted {
|
|
4032
|
+
background-color: #86efac;
|
|
4008
4033
|
}
|
|
4009
4034
|
|
|
4010
4035
|
.win-taskbar-button {
|
|
4036
|
+
position: relative;
|
|
4037
|
+
height: 28px;
|
|
4011
4038
|
display: flex;
|
|
4012
4039
|
align-items: center;
|
|
4013
|
-
gap: 0.
|
|
4014
|
-
|
|
4040
|
+
gap: 0.25rem;
|
|
4041
|
+
font-size: 0.75rem;
|
|
4042
|
+
padding: 0 0.5rem;
|
|
4015
4043
|
border-radius: 0.25rem;
|
|
4016
4044
|
cursor: pointer;
|
|
4017
4045
|
}
|
|
4018
4046
|
|
|
4019
|
-
.win-taskbar-button.
|
|
4020
|
-
|
|
4047
|
+
.win-taskbar-button > .us-outline {
|
|
4048
|
+
--us-outline-border-width: 1px;
|
|
4049
|
+
--us-outline-opacity: 0;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
.win-taskbar-button > .us-overlay {
|
|
4053
|
+
--us-overlay-opacity: 0.075;
|
|
4054
|
+
--us-_hover-overlay-opacity: 0.125;
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
.win-taskbar-button--active {
|
|
4058
|
+
color: var(--us-black-color);
|
|
4021
4059
|
}
|
|
4022
4060
|
|
|
4023
|
-
.win-taskbar-button.
|
|
4024
|
-
|
|
4061
|
+
.win-taskbar-button--active > .us-overlay {
|
|
4062
|
+
--us-overlay-color: var(--us-primary-color);
|
|
4063
|
+
--us-overlay-opacity: 0.125;
|
|
4064
|
+
--us-_hover-overlay-opacity: 0.25;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
.win-taskbar-button__content {
|
|
4068
|
+
position: relative;
|
|
4069
|
+
display: flex;
|
|
4070
|
+
align-items: center;
|
|
4071
|
+
gap: 0.25rem;
|
|
4025
4072
|
}
|
|
4026
4073
|
|
|
4027
|
-
.win-taskbar-button
|
|
4028
|
-
|
|
4074
|
+
.win-taskbar-button .win-btn {
|
|
4075
|
+
width: 1.25rem;
|
|
4076
|
+
height: 1.25rem;
|
|
4077
|
+
border-radius: 9999px;
|
|
4029
4078
|
}
|
|
4030
4079
|
|
|
4031
4080
|
/* ----------------- Resize handles ----------------- */
|
|
@@ -4112,6 +4161,30 @@
|
|
|
4112
4161
|
z-index: 999998; /* debajo de la ventana */
|
|
4113
4162
|
}
|
|
4114
4163
|
|
|
4164
|
+
.win-panel {
|
|
4165
|
+
background-color: #fff;
|
|
4166
|
+
display: flex;
|
|
4167
|
+
flex-direction: column;
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
.us-lm-panel--floating {
|
|
4171
|
+
border: 1px solid #e0e0e0;
|
|
4172
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
4173
|
+
border-radius: 8px;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
.us-lm-panel--floating .win-header {
|
|
4177
|
+
border-radius: 8px 8px 0 0;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
.us-lm-panel .us-lm-handle {
|
|
4181
|
+
display: none;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
.us-lm-panel:hover .us-lm-handle {
|
|
4185
|
+
display: block;
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4115
4188
|
/* Estilos CSS aquí */
|
|
4116
4189
|
.slider-container {
|
|
4117
4190
|
width: 300px;
|