@unifiedsoftware/styles 2.0.1-beta.1 → 2.0.1-beta.11
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 +39 -7
- package/css/fci.min.css +1 -1
- package/css/styles.css +96 -32
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/_utilities.scss +84 -23
- package/scss/components/_accordion.scss +2 -1
- package/scss/components/_input.scss +1 -1
- package/scss/components/_list.scss +2 -2
- package/scss/components/_steps.scss +4 -1
- package/scss/components/_toolbar.scss +4 -4
- package/scss/themes/fci/components/_checkbox.scss +1 -1
- package/scss/themes/fci/components/_input.scss +2 -2
- package/scss/themes/fci/components/_toolbar.scss +25 -6
package/scss/_utilities.scss
CHANGED
|
@@ -593,7 +593,6 @@ $rounded-sizes: (
|
|
|
593
593
|
overflow: hidden;
|
|
594
594
|
color: var(--#{$prefix}surface-color);
|
|
595
595
|
opacity: var(--#{$prefix}surface-opacity);
|
|
596
|
-
z-index: -1;
|
|
597
596
|
pointer-events: none;
|
|
598
597
|
background-color: currentColor;
|
|
599
598
|
transition: var(--#{$prefix}surface-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
@@ -630,19 +629,16 @@ $rounded-sizes: (
|
|
|
630
629
|
|
|
631
630
|
/* ----------------- DraggableResizable ----------------- */
|
|
632
631
|
.win-draggable {
|
|
633
|
-
position: absolute;
|
|
634
|
-
border-radius: 0.375rem; /* rounded-md */
|
|
635
632
|
background-color: white;
|
|
636
|
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
|
|
633
|
+
// box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
|
|
637
634
|
user-select: none;
|
|
638
635
|
}
|
|
639
636
|
|
|
640
637
|
.win-header {
|
|
641
638
|
width: 100%;
|
|
642
639
|
height: 2rem; /* h-8 */
|
|
643
|
-
background-color: #
|
|
644
|
-
border-
|
|
645
|
-
border-top-right-radius: 0.375rem;
|
|
640
|
+
background-color: #fff; /* bg-gray-100 */
|
|
641
|
+
border-bottom: 1px solid #cbd5e1;
|
|
646
642
|
display: flex;
|
|
647
643
|
align-items: center;
|
|
648
644
|
padding: 0 0.5rem; /* px-2 */
|
|
@@ -653,9 +649,13 @@ $rounded-sizes: (
|
|
|
653
649
|
cursor: move; /* solo si draggable */
|
|
654
650
|
}
|
|
655
651
|
|
|
652
|
+
.win-header-icon {
|
|
653
|
+
margin-right: 4px;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
656
|
.win-header-title {
|
|
657
|
-
font-size:
|
|
658
|
-
font-weight:
|
|
657
|
+
font-size: 12px; /* text-sm */
|
|
658
|
+
font-weight: 400; /* font-medium */
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
.win-header-buttons {
|
|
@@ -673,49 +673,86 @@ $rounded-sizes: (
|
|
|
673
673
|
justify-content: center;
|
|
674
674
|
align-items: center;
|
|
675
675
|
border-radius: 0.25rem; /* rounded */
|
|
676
|
+
background-color: transparent;
|
|
677
|
+
outline: none;
|
|
678
|
+
border: none;
|
|
676
679
|
}
|
|
677
680
|
|
|
678
681
|
.win-btn:hover {
|
|
679
682
|
background-color: #e5e7eb; /* hover:bg-gray-200 */
|
|
680
683
|
}
|
|
681
684
|
|
|
682
|
-
.win-btn
|
|
685
|
+
.win-btn--danger:hover {
|
|
683
686
|
background-color: #ef4444; /* hover:bg-red-500 */
|
|
684
687
|
color: white;
|
|
685
688
|
}
|
|
686
689
|
|
|
687
690
|
/* ----------------- Taskbar ----------------- */
|
|
688
691
|
.win-taskbar {
|
|
689
|
-
height:
|
|
690
|
-
background-color: #
|
|
691
|
-
color: white;
|
|
692
|
+
height: 36px;
|
|
693
|
+
background-color: #fff;
|
|
692
694
|
display: flex;
|
|
693
695
|
align-items: center;
|
|
694
|
-
padding: 0
|
|
695
|
-
gap: 0.
|
|
696
|
+
padding: 0 0.25rem;
|
|
697
|
+
gap: 0.25rem;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.win-taskbar--top {
|
|
701
|
+
border-top: 1px solid #cbd5e1;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.win-taskbar--bottom {
|
|
705
|
+
border-bottom: 1px solid #cbd5e1;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.win-taskbar--highlighted {
|
|
709
|
+
background-color: #86efac;
|
|
696
710
|
}
|
|
697
711
|
|
|
698
712
|
.win-taskbar-button {
|
|
713
|
+
position: relative;
|
|
714
|
+
height: 28px;
|
|
699
715
|
display: flex;
|
|
700
716
|
align-items: center;
|
|
701
|
-
gap: 0.
|
|
702
|
-
|
|
717
|
+
gap: 0.25rem;
|
|
718
|
+
font-size: 0.75rem;
|
|
719
|
+
padding: 0 0.5rem;
|
|
703
720
|
border-radius: 0.25rem;
|
|
704
721
|
cursor: pointer;
|
|
705
722
|
}
|
|
706
723
|
|
|
707
|
-
.win-taskbar-button.
|
|
708
|
-
|
|
724
|
+
.win-taskbar-button > .us-outline {
|
|
725
|
+
--us-outline-border-width: 1px;
|
|
726
|
+
--us-outline-opacity: 0;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.win-taskbar-button > .us-overlay {
|
|
730
|
+
--us-overlay-opacity: 0.075;
|
|
731
|
+
--us-_hover-overlay-opacity: 0.125;
|
|
709
732
|
}
|
|
710
733
|
|
|
711
|
-
.win-taskbar-button
|
|
712
|
-
|
|
734
|
+
.win-taskbar-button--active {
|
|
735
|
+
color: var(--us-black-color);
|
|
713
736
|
}
|
|
714
737
|
|
|
715
|
-
.win-taskbar-button
|
|
716
|
-
|
|
738
|
+
.win-taskbar-button--active > .us-overlay {
|
|
739
|
+
--us-overlay-color: var(--us-primary-color);
|
|
740
|
+
--us-overlay-opacity: 0.125;
|
|
741
|
+
--us-_hover-overlay-opacity: 0.25;
|
|
717
742
|
}
|
|
718
743
|
|
|
744
|
+
.win-taskbar-button__content {
|
|
745
|
+
position: relative;
|
|
746
|
+
display: flex;
|
|
747
|
+
align-items: center;
|
|
748
|
+
gap: 0.25rem;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.win-taskbar-button .win-btn {
|
|
752
|
+
width: 1.25rem;
|
|
753
|
+
height: 1.25rem;
|
|
754
|
+
border-radius: 9999px;
|
|
755
|
+
}
|
|
719
756
|
/* ----------------- Resize handles ----------------- */
|
|
720
757
|
/* Base handle */
|
|
721
758
|
.win-handle {
|
|
@@ -792,3 +829,27 @@ $rounded-sizes: (
|
|
|
792
829
|
pointer-events: none;
|
|
793
830
|
z-index: 999998; /* debajo de la ventana */
|
|
794
831
|
}
|
|
832
|
+
|
|
833
|
+
.win-panel {
|
|
834
|
+
background-color: #fff;
|
|
835
|
+
display: flex;
|
|
836
|
+
flex-direction: column;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.us-lm-panel--floating {
|
|
840
|
+
border: 1px solid #e0e0e0;
|
|
841
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
842
|
+
border-radius: 8px;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.us-lm-panel--floating .win-header {
|
|
846
|
+
border-radius: 8px 8px 0 0;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.us-lm-panel .us-lm-handle {
|
|
850
|
+
display: none;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.us-lm-panel:hover .us-lm-handle {
|
|
854
|
+
display: block;
|
|
855
|
+
}
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
padding-block: var(--#{$prefix}accordion-header-padding-y);
|
|
36
36
|
padding-inline: var(--#{$prefix}accordion-header-padding-x);
|
|
37
37
|
color: var(--#{$prefix}accordion-header-color);
|
|
38
|
-
z-index: 0;
|
|
39
38
|
display: flex;
|
|
40
39
|
align-items: center;
|
|
41
40
|
gap: var(--#{$prefix}accordion-header-gap);
|
|
@@ -48,6 +47,7 @@
|
|
|
48
47
|
|
|
49
48
|
&__start-content,
|
|
50
49
|
&__end-content {
|
|
50
|
+
position: relative;
|
|
51
51
|
flex-shrink: 0;
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&__content {
|
|
58
|
+
position: relative;
|
|
58
59
|
flex-grow: 1;
|
|
59
60
|
display: flex;
|
|
60
61
|
flex-direction: column;
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
|
|
42
42
|
&__start-content,
|
|
43
43
|
&__end-content {
|
|
44
|
+
position: relative;
|
|
44
45
|
flex-shrink: 0;
|
|
45
|
-
z-index: 1;
|
|
46
46
|
display: flex;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
align-items: center;
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&__content {
|
|
53
|
+
position: relative;
|
|
53
54
|
flex-grow: 1;
|
|
54
|
-
z-index: 1;
|
|
55
55
|
display: grid;
|
|
56
56
|
overflow: hidden;
|
|
57
57
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
@use '../variables' as *;
|
|
2
2
|
|
|
3
3
|
.#{$prefix}toolbar {
|
|
4
|
+
flex-shrink: 0;
|
|
4
5
|
position: relative;
|
|
5
6
|
width: 100%;
|
|
6
|
-
|
|
7
|
+
height: var(--#{$prefix}toolbar-height);
|
|
7
8
|
padding-block: var(--#{$prefix}toolbar-padding-y);
|
|
8
9
|
padding-inline: var(--#{$prefix}toolbar-padding-x);
|
|
9
|
-
|
|
10
|
-
background: var(--#{$prefix}toolbar-background);
|
|
10
|
+
color: var(--#{$prefix}toolbar-color);
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
|
|
14
14
|
&__container {
|
|
15
|
+
position: relative;
|
|
15
16
|
width: 100%;
|
|
16
17
|
margin: 0 auto;
|
|
17
18
|
display: flex;
|
|
18
19
|
align-items: center;
|
|
19
20
|
gap: var(--#{$prefix}toolbar-gap);
|
|
20
|
-
z-index: 1;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&__start-action,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.#{$prefix}checkbox {
|
|
27
27
|
--#{$prefix}checkbox-control-border-width: 1px;
|
|
28
28
|
--#{$prefix}checkbox-control-border-style: solid;
|
|
29
|
-
--#{$prefix}checkbox-control-border-color: rgba(0, 0, 0, 0.
|
|
29
|
+
--#{$prefix}checkbox-control-border-color: rgba(0, 0, 0, 0.4);
|
|
30
30
|
--#{$prefix}checkbox-control-color: var(--#{$prefix}white-color);
|
|
31
31
|
|
|
32
32
|
--#{$prefix}_checked-checkbox-control-border-color: var(--#{$prefix}primary-color);
|
|
@@ -173,8 +173,8 @@ $colors-map: (primary, secondary, success, info, warning, danger);
|
|
|
173
173
|
|
|
174
174
|
& > .#{$prefix}outline {
|
|
175
175
|
--#{$prefix}outline-border-color: currentColor;
|
|
176
|
-
--#{$prefix}outline-opacity: 0.
|
|
177
|
-
--#{$prefix}outline-hover-opacity: 0.
|
|
176
|
+
--#{$prefix}outline-opacity: 0.4;
|
|
177
|
+
--#{$prefix}outline-hover-opacity: 0.6;
|
|
178
178
|
--#{$prefix}outline-focus-opacity: 1;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
@use '../../../variables' as *;
|
|
2
2
|
|
|
3
|
+
$colors-map: (primary, secondary, success, info, warning, danger);
|
|
4
|
+
|
|
3
5
|
.#{$prefix}theme-fci {
|
|
4
6
|
.#{$prefix}toolbar {
|
|
5
7
|
--#{$prefix}toolbar-background: var(--#{$prefix}white-color);
|
|
6
8
|
|
|
7
9
|
--#{$prefix}toolbar-title-font-weight: 500;
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
& > .#{$prefix}surface {
|
|
12
|
+
--#{$prefix}surface-color: white;
|
|
13
|
+
--#{$prefix}surface-opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&--bordered > .#{$prefix}outline-b {
|
|
17
|
+
--#{$prefix}outline-border-width: 1px;
|
|
18
|
+
--#{$prefix}outline-border-color: #ddd;
|
|
19
|
+
}
|
|
12
20
|
|
|
13
21
|
&--sm {
|
|
14
|
-
--#{$prefix}toolbar-
|
|
22
|
+
--#{$prefix}toolbar-height: 48px;
|
|
15
23
|
--#{$prefix}toolbar-padding-y: 0.25rem;
|
|
16
24
|
--#{$prefix}toolbar-padding-x: 1rem;
|
|
17
25
|
|
|
@@ -22,7 +30,7 @@
|
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
&--md {
|
|
25
|
-
--#{$prefix}toolbar-
|
|
33
|
+
--#{$prefix}toolbar-height: 56px;
|
|
26
34
|
--#{$prefix}toolbar-padding-y: 0.5rem;
|
|
27
35
|
--#{$prefix}toolbar-padding-x: 1rem;
|
|
28
36
|
--#{$prefix}toolbar-gap: 1rem;
|
|
@@ -39,7 +47,7 @@
|
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
&--lg {
|
|
42
|
-
--#{$prefix}toolbar-
|
|
50
|
+
--#{$prefix}toolbar-height: 64px;
|
|
43
51
|
--#{$prefix}toolbar-padding-y: 0.75rem;
|
|
44
52
|
--#{$prefix}toolbar-padding-x: 1rem;
|
|
45
53
|
|
|
@@ -49,4 +57,15 @@
|
|
|
49
57
|
--#{$prefix}toolbar-subtitle-line-height: 18px;
|
|
50
58
|
}
|
|
51
59
|
}
|
|
60
|
+
|
|
61
|
+
.#{$prefix}toolbar--filled {
|
|
62
|
+
--#{$prefix}toolbar-color: var(--#{$prefix}white-color);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@each $color in $colors-map {
|
|
66
|
+
.#{$prefix}toolbar--filled.#{$prefix}toolbar--#{$color} > .#{$prefix}surface {
|
|
67
|
+
--#{$prefix}surface-color: var(--#{$prefix}#{$color}-color);
|
|
68
|
+
--#{$prefix}surface-opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
52
71
|
}
|