@up_si_vale/sivale-design-styles 1.0.13 → 1.0.15

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.
@@ -0,0 +1,92 @@
1
+ .stepper {
2
+ list-style: none;
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+
7
+ /* ===== SUBLIST ===== */
8
+ .stepper__sublist {
9
+ list-style: none;
10
+ padding-left: 1.25rem;
11
+ margin-top: 1.25rem;
12
+ }
13
+
14
+ /* ===== ÍTEMS / SUBITEMS ===== */
15
+ .stepper__item,
16
+ .stepper__subitem {
17
+ margin-bottom: 1.25rem;
18
+ .stepper__item-header,
19
+ .stepper__subitem-header {
20
+ display: flex;
21
+ align-items: center;
22
+ gap: .25rem;
23
+ .stepper__title {
24
+ color: var(--Gray-900, #2E353A);
25
+ font-family: Quicksand;
26
+ font-size: 0.875rem;
27
+ font-weight: 400;
28
+ line-height: 1.25rem;
29
+ }
30
+ &--active {
31
+ cursor: pointer;
32
+ }
33
+ &--finished {
34
+ .stepper__title {
35
+ color:#828689;
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+
42
+ .stepper__status {
43
+ position: relative;
44
+ display: flex;
45
+ justify-content: center;
46
+ align-items: center;
47
+ width: 1.25rem;
48
+ height: 1.25rem;
49
+ .stepper__icon {
50
+ width: 100%;
51
+ height: 100%;
52
+ border-radius: 50%;
53
+ position: relative;
54
+ display: flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+ border: 2px solid #E9ECEF;
58
+ /* ========== DONE ========== */
59
+ &--done {
60
+ border: 2px solid #F59100;
61
+ color: #F59100;
62
+ font-size: 10px;
63
+ font-weight: bold;
64
+ }
65
+ /* ========== PROGRESS ========== */
66
+ &--progress {
67
+ border: none;
68
+ position: absolute;
69
+ background: conic-gradient(
70
+ #F59100 0%,
71
+ #F59100 var(--progress),
72
+ transparent var(--progress) 100%
73
+ );
74
+ border-radius: 50%;
75
+ display: flex;
76
+ justify-content: center;
77
+ align-items: center;
78
+ z-index: 0;
79
+ &::before {
80
+ content: "";
81
+ position: absolute;
82
+ inset: 2px;
83
+ border-radius: 50%;
84
+ background: #FFF;
85
+ }
86
+ }
87
+ /* ========== PENDING ========== */
88
+ &--pending {
89
+ border: 2px dashed #D8DEE3;
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,65 @@
1
+ .sv-tooltip-dialog {
2
+ position: fixed;
3
+ padding: 8px 12px;
4
+ text-align: center;
5
+ font-family: 'Quicksand', sans-serif;
6
+ background: #2f3337;
7
+ color: white;
8
+ border-radius: 8px;
9
+ font-size: 12px;
10
+ line-height: 18px;
11
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
12
+ transform: scale(0.97);
13
+ opacity: 0;
14
+ white-space: normal;
15
+ pointer-events: none;
16
+ z-index: 9999;
17
+ transition: opacity 0.18s ease, transform 0.18s ease;
18
+ }
19
+
20
+ /* Animación activa */
21
+ .sv-tooltip-dialog.tooltip-show {
22
+ opacity: 1;
23
+ transform: scale(1);
24
+ }
25
+
26
+ /* ==========================
27
+ Flecha dinámica
28
+ ========================== */
29
+
30
+ .sv-tooltip-dialog::after {
31
+ content: "";
32
+ position: absolute;
33
+ width: 12px;
34
+ height: 12px;
35
+ background: #2f3337;
36
+ transform: rotate(45deg);
37
+ }
38
+
39
+ /* Top → flecha abajo */
40
+ .sv-tooltip-dialog.tooltip-top::after {
41
+ bottom: -6px;
42
+ left: 50%;
43
+ transform: translateX(-50%) rotate(45deg);
44
+ }
45
+
46
+ /* Bottom → flecha arriba */
47
+ .sv-tooltip-dialog.tooltip-bottom::after {
48
+ top: -6px;
49
+ left: 50%;
50
+ transform: translateX(-50%) rotate(45deg);
51
+ }
52
+
53
+ /* Left → flecha derecha */
54
+ .sv-tooltip-dialog.tooltip-left::after {
55
+ top: 50%;
56
+ right: -6px;
57
+ transform: translateY(-50%) rotate(45deg);
58
+ }
59
+
60
+ /* Right → flecha izquierda */
61
+ .sv-tooltip-dialog.tooltip-right::after {
62
+ top: 50%;
63
+ left: -6px;
64
+ transform: translateY(-50%) rotate(45deg);
65
+ }
package/src/index.scss CHANGED
@@ -19,4 +19,7 @@
19
19
  @forward 'phone-input';
20
20
  @forward 'multiselect';
21
21
  @forward "checkbox";
22
- @forward 'table'
22
+ @forward 'table';
23
+ @forward 'stepper-orderlist';
24
+ @forward 'tooltip';
25
+ @forward 'modal-dialog';