react-core-ts 1.4.2 → 1.4.3
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/dist/AutoCompleteWithSelectedList.js +2 -1
- package/dist/AutoCompleteWithSelectedList.js.map +1 -1
- package/dist/styles/styles/components/autocomplete.css +630 -0
- package/dist/styles/styles/components/selectedautocomplete.css +130 -0
- package/dist/styles/styles/components/tooltip.css +497 -0
- package/dist/styles/styles/components/treedropdown.css +97 -0
- package/dist/styles/styles/global.css +8 -0
- package/package.json +1 -1
- package/src/AutoCompleteWithSelectedList.tsx +2 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.qbs-flex {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.qbs-flex-wrap {
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
}
|
|
7
|
+
.qbs-w-full {
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
.qbs-mb-2 {
|
|
11
|
+
margin-bottom: 0.5rem;
|
|
12
|
+
}
|
|
13
|
+
.-qbs-mt-2 {
|
|
14
|
+
margin-top: -0.5rem;
|
|
15
|
+
}
|
|
16
|
+
.qbs-flex-1 {
|
|
17
|
+
flex: 1 1 0%;
|
|
18
|
+
}
|
|
19
|
+
.qbs-inline-block {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
.qbs-text-sm {
|
|
23
|
+
font-size: 0.875rem;
|
|
24
|
+
}
|
|
25
|
+
.qbs-cursor-pointer {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
.qbs-text-center {
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
31
|
+
.qbs-p-1 {
|
|
32
|
+
padding: 0.25rem;
|
|
33
|
+
}
|
|
34
|
+
.qbs-border-b-2 {
|
|
35
|
+
border-bottom-width: 2px;
|
|
36
|
+
}
|
|
37
|
+
.qbs-tab-item {
|
|
38
|
+
color: #4b5563;
|
|
39
|
+
border-color: #d1d5db;
|
|
40
|
+
}
|
|
41
|
+
.qbs-tab-item:hover {
|
|
42
|
+
color: #2563eb;
|
|
43
|
+
}
|
|
44
|
+
.qbs-tab-active-item {
|
|
45
|
+
color: #2563eb;
|
|
46
|
+
border-color: #2563eb;
|
|
47
|
+
}
|
|
48
|
+
.qbs-relative {
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
.qbs-gap-1 {
|
|
52
|
+
gap: 0.25rem;
|
|
53
|
+
}
|
|
54
|
+
.qbs-rounded-full {
|
|
55
|
+
border-radius: 9999px;
|
|
56
|
+
}
|
|
57
|
+
.qbs-text-xs {
|
|
58
|
+
font-size: 0.75rem;
|
|
59
|
+
}
|
|
60
|
+
.qbs-inline-flex {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
}
|
|
63
|
+
.qbs-items-center {
|
|
64
|
+
align-items: center;
|
|
65
|
+
}
|
|
66
|
+
.qbs-justify-center {
|
|
67
|
+
justify-content: center;
|
|
68
|
+
}
|
|
69
|
+
.qbs-px-2 {
|
|
70
|
+
padding-left: 0.5rem;
|
|
71
|
+
padding-right: 0.5rem;
|
|
72
|
+
}
|
|
73
|
+
.qbs-py-1 {
|
|
74
|
+
padding-top: 0.25rem;
|
|
75
|
+
padding-bottom: 0.25rem;
|
|
76
|
+
}
|
|
77
|
+
.qbs-leading-none {
|
|
78
|
+
line-height: 1;
|
|
79
|
+
}
|
|
80
|
+
.qbs-min-w-6 {
|
|
81
|
+
min-width: 1.5rem;
|
|
82
|
+
}
|
|
83
|
+
.qbs-min-h-6 {
|
|
84
|
+
min-height: 1.5rem;
|
|
85
|
+
}
|
|
86
|
+
.qbs-align-middle {
|
|
87
|
+
vertical-align: middle;
|
|
88
|
+
}
|
|
89
|
+
.qbs-min-emp-h {
|
|
90
|
+
min-height: 183px;
|
|
91
|
+
padding-top: 80px;
|
|
92
|
+
padding-bottom: 80px;
|
|
93
|
+
}
|
|
94
|
+
.qbs-flex-grow {
|
|
95
|
+
flex-grow: 1;
|
|
96
|
+
}
|
|
97
|
+
.qbs-text-right {
|
|
98
|
+
text-align: right;
|
|
99
|
+
}
|
|
100
|
+
.qbs-readmore-collapse {
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
width: 100%;
|
|
103
|
+
text-align: center;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
margin-top: 5px;
|
|
107
|
+
}
|
|
108
|
+
.qbs-readmore-collapse div {
|
|
109
|
+
border-radius: 9999px;
|
|
110
|
+
min-width: 1.5rem;
|
|
111
|
+
min-height: 1.5rem;
|
|
112
|
+
padding: 5px;
|
|
113
|
+
}
|
|
114
|
+
.qbs-more-collapse:hover {
|
|
115
|
+
background-color: #d1d5db;
|
|
116
|
+
}
|
|
117
|
+
.qbs-hidden {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
.qbs-autocomplete-selected-suggestions .qbs-autocomplete-suggestions-sub {
|
|
121
|
+
min-height: 184px;
|
|
122
|
+
}
|
|
123
|
+
.selected-items-outer-container {
|
|
124
|
+
display: flex;
|
|
125
|
+
gap: 5px;
|
|
126
|
+
flex-wrap: wrap;
|
|
127
|
+
overflow-x: auto;
|
|
128
|
+
transition: height 3s ease-in-out, opacity 3s ease-in-out,
|
|
129
|
+
padding 1s ease-in-out;
|
|
130
|
+
}
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
.tooltip-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.bottom {
|
|
7
|
+
.tooltip {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: -40;
|
|
10
|
+
right: 3px;
|
|
11
|
+
transform: translateX(0%);
|
|
12
|
+
padding: 0.3em 0.6em;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
width: max-content;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
z-index: 999;
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
color: #fff !important;
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
transition: all 0.3s;
|
|
21
|
+
border: 1px solid #e55353;
|
|
22
|
+
background-color: #e55353;
|
|
23
|
+
border-radius: 6px;
|
|
24
|
+
color: rgb(34, 34, 34);
|
|
25
|
+
|
|
26
|
+
&.info {
|
|
27
|
+
color: #ffffff !important;
|
|
28
|
+
border: 1px solid #ffffff;
|
|
29
|
+
background-color: #000000;
|
|
30
|
+
right: 1px;
|
|
31
|
+
top: 5px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.card {
|
|
35
|
+
color: #ffffff !important;
|
|
36
|
+
border: 1px solid #ffffff;
|
|
37
|
+
background-color: #000000;
|
|
38
|
+
right: -8px;
|
|
39
|
+
top: 5px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tooltip::before {
|
|
44
|
+
position: absolute;
|
|
45
|
+
content: "";
|
|
46
|
+
height: 0.6em;
|
|
47
|
+
width: 0.6em;
|
|
48
|
+
right: 20px;
|
|
49
|
+
z-index: 999;
|
|
50
|
+
top: -4px;
|
|
51
|
+
border: 1px solid #e55353;
|
|
52
|
+
border-right: none;
|
|
53
|
+
border-bottom: none;
|
|
54
|
+
transform: translate(50%) rotate(45deg);
|
|
55
|
+
background-color: #e55353;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.info.tooltip::before {
|
|
59
|
+
border: 1px solid #000000;
|
|
60
|
+
background-color: #000000;
|
|
61
|
+
right: 14px;
|
|
62
|
+
position: absolute;
|
|
63
|
+
content: "";
|
|
64
|
+
height: 0.6em;
|
|
65
|
+
width: 0.6em;
|
|
66
|
+
z-index: 999;
|
|
67
|
+
top: -4px;
|
|
68
|
+
border-right: none;
|
|
69
|
+
border-bottom: none;
|
|
70
|
+
transform: translate(50%) rotate(45deg);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.card.tooltip::before {
|
|
74
|
+
border: 1px solid #000000;
|
|
75
|
+
background-color: #000000;
|
|
76
|
+
right: 14px;
|
|
77
|
+
position: absolute;
|
|
78
|
+
content: "";
|
|
79
|
+
height: 0.6em;
|
|
80
|
+
width: 0.6em;
|
|
81
|
+
z-index: 999;
|
|
82
|
+
top: -3px;
|
|
83
|
+
border-right: none;
|
|
84
|
+
border-bottom: none;
|
|
85
|
+
transform: translate(50%) rotate(45deg);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.tooltip-container:hover .tooltip {
|
|
89
|
+
top: 46px;
|
|
90
|
+
opacity: 1;
|
|
91
|
+
visibility: visible;
|
|
92
|
+
z-index: 999;
|
|
93
|
+
pointer-events: auto;
|
|
94
|
+
|
|
95
|
+
&.info {
|
|
96
|
+
top: 30px;
|
|
97
|
+
max-width: 500px;
|
|
98
|
+
position: absolute;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.card {
|
|
102
|
+
top: 20px;
|
|
103
|
+
max-width: 300px;
|
|
104
|
+
position: absolute;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.tooltip-info {
|
|
108
|
+
position: absolute;
|
|
109
|
+
bottom: -40;
|
|
110
|
+
right: 3px;
|
|
111
|
+
transform: translateX(0%);
|
|
112
|
+
padding: 0.3em 0.6em;
|
|
113
|
+
opacity: 0;
|
|
114
|
+
width: max-content;
|
|
115
|
+
max-width: 100%;
|
|
116
|
+
z-index: 999;
|
|
117
|
+
top: 46px;
|
|
118
|
+
font-size: 12px;
|
|
119
|
+
color: #fff !important;
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
transition: all 0.3s;
|
|
122
|
+
border: 1px solid #475467;
|
|
123
|
+
background-color: #475467;
|
|
124
|
+
border-radius: 6px;
|
|
125
|
+
}
|
|
126
|
+
.tooltip-info::before {
|
|
127
|
+
position: absolute;
|
|
128
|
+
content: "";
|
|
129
|
+
height: 0.6em;
|
|
130
|
+
width: 0.6em;
|
|
131
|
+
right: 20px;
|
|
132
|
+
z-index: 999;
|
|
133
|
+
top: -4px;
|
|
134
|
+
border: 1px solid #475467;
|
|
135
|
+
border-right: none;
|
|
136
|
+
border-bottom: none;
|
|
137
|
+
transform: translate(50%) rotate(45deg);
|
|
138
|
+
background-color: #475467;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.tooltip-container:hover .tooltip-info {
|
|
142
|
+
top: 46px;
|
|
143
|
+
opacity: 1;
|
|
144
|
+
visibility: visible;
|
|
145
|
+
z-index: 999;
|
|
146
|
+
pointer-events: auto;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
.top-tool {
|
|
150
|
+
.tooltip {
|
|
151
|
+
position: absolute;
|
|
152
|
+
bottom: 45px !important;
|
|
153
|
+
left: 0;
|
|
154
|
+
top: auto !important;
|
|
155
|
+
transform: translateX(0%);
|
|
156
|
+
padding: 0.3em 0.6em;
|
|
157
|
+
opacity: 0;
|
|
158
|
+
width: max-content;
|
|
159
|
+
white-space: normal;
|
|
160
|
+
z-index: 999;
|
|
161
|
+
font-size: 12px;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
color: #ff681d !important;
|
|
164
|
+
pointer-events: none;
|
|
165
|
+
transition: all 0.3s;
|
|
166
|
+
border: 1px solid #ff681d;
|
|
167
|
+
background-color: #fff;
|
|
168
|
+
border-radius: 6px;
|
|
169
|
+
color: rgb(34, 34, 34);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.tooltip::before {
|
|
173
|
+
position: absolute;
|
|
174
|
+
content: "";
|
|
175
|
+
height: 0.6em;
|
|
176
|
+
width: 0.6em;
|
|
177
|
+
z-index: 999;
|
|
178
|
+
bottom: -4px;
|
|
179
|
+
border: 1px solid #ff681d;
|
|
180
|
+
border-left: none;
|
|
181
|
+
border-top: none;
|
|
182
|
+
transform: translate(50%) rotate(45deg);
|
|
183
|
+
background-color: #fff;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.tooltip-container:hover .tooltip {
|
|
187
|
+
bottom: 45px !important;
|
|
188
|
+
opacity: 1;
|
|
189
|
+
top: auto !important;
|
|
190
|
+
visibility: visible;
|
|
191
|
+
z-index: 999;
|
|
192
|
+
pointer-events: auto;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.bottom-tool {
|
|
196
|
+
.tooltip {
|
|
197
|
+
position: absolute;
|
|
198
|
+
bottom: -40;
|
|
199
|
+
transform: translateX(0%);
|
|
200
|
+
padding: 0.3em 0.6em;
|
|
201
|
+
opacity: 0;
|
|
202
|
+
width: max-content;
|
|
203
|
+
max-width: 100%;
|
|
204
|
+
z-index: 999;
|
|
205
|
+
font-size: 12px;
|
|
206
|
+
color: #ff681d !important;
|
|
207
|
+
white-space: wrap;
|
|
208
|
+
pointer-events: none;
|
|
209
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
210
|
+
border: 1px solid #ff681d;
|
|
211
|
+
background-color: #fff;
|
|
212
|
+
border-radius: 6px;
|
|
213
|
+
color: rgb(34, 34, 34);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.tooltip::before {
|
|
217
|
+
position: absolute;
|
|
218
|
+
content: "";
|
|
219
|
+
height: 0.6em;
|
|
220
|
+
width: 0.6em;
|
|
221
|
+
z-index: 999;
|
|
222
|
+
top: -4px;
|
|
223
|
+
border: 1px solid #ff681d;
|
|
224
|
+
border-right: none;
|
|
225
|
+
border-bottom: none;
|
|
226
|
+
transform: translate(50%) rotate(45deg);
|
|
227
|
+
background-color: #fff;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.tooltip-container:hover .tooltip {
|
|
231
|
+
top: 46px;
|
|
232
|
+
opacity: 1;
|
|
233
|
+
visibility: visible;
|
|
234
|
+
z-index: 999;
|
|
235
|
+
pointer-events: auto;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.right {
|
|
240
|
+
.tooltip {
|
|
241
|
+
position: absolute;
|
|
242
|
+
top: 2.5px;
|
|
243
|
+
left: calc(100% + 9px);
|
|
244
|
+
transform: translateX(0%);
|
|
245
|
+
padding: 8px;
|
|
246
|
+
opacity: 0;
|
|
247
|
+
min-width: 200px;
|
|
248
|
+
max-width: 200px;
|
|
249
|
+
min-height: calc(100% - 16px);
|
|
250
|
+
height: auto;
|
|
251
|
+
z-index: 999;
|
|
252
|
+
font-size: 12px;
|
|
253
|
+
color: #fff !important;
|
|
254
|
+
pointer-events: none;
|
|
255
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
256
|
+
border: 1px solid #e55353;
|
|
257
|
+
background-color: #e55353;
|
|
258
|
+
border-radius: 6px;
|
|
259
|
+
color: rgb(34, 34, 34);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.tooltip-card {
|
|
263
|
+
padding: 3px 10px 4px;
|
|
264
|
+
top: -4px;
|
|
265
|
+
min-width: 175px;
|
|
266
|
+
background-color: #3d414a;
|
|
267
|
+
border: 1px solid #3d414a;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.tooltip::before {
|
|
271
|
+
position: absolute;
|
|
272
|
+
content: "";
|
|
273
|
+
height: 0.6em;
|
|
274
|
+
width: 0.6em;
|
|
275
|
+
left: -8px;
|
|
276
|
+
top: 14px;
|
|
277
|
+
z-index: 999;
|
|
278
|
+
transform: translateY(10px);
|
|
279
|
+
border: 1px solid #e55353;
|
|
280
|
+
border-top: none;
|
|
281
|
+
border-right: none;
|
|
282
|
+
transform: translate(50%) rotate(45deg);
|
|
283
|
+
background-color: #e55353;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.tooltip-card::before {
|
|
287
|
+
top: 8px;
|
|
288
|
+
background-color: #3d414a;
|
|
289
|
+
border: 1px solid #3d414a;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.tooltip-container:hover {
|
|
293
|
+
.tooltip {
|
|
294
|
+
top: 2.5px;
|
|
295
|
+
opacity: 1;
|
|
296
|
+
visibility: visible;
|
|
297
|
+
z-index: 999;
|
|
298
|
+
pointer-events: auto;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.tooltip-card {
|
|
302
|
+
top: -4px;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.left {
|
|
308
|
+
.tooltip {
|
|
309
|
+
position: absolute;
|
|
310
|
+
top: 2.5px;
|
|
311
|
+
right: calc(100% + 9px);
|
|
312
|
+
transform: translateX(0%);
|
|
313
|
+
padding: 8px;
|
|
314
|
+
opacity: 0;
|
|
315
|
+
min-width: 200px;
|
|
316
|
+
max-width: 200px;
|
|
317
|
+
min-height: calc(100% - 16px);
|
|
318
|
+
z-index: 999;
|
|
319
|
+
font-size: 12px;
|
|
320
|
+
color: #fff !important;
|
|
321
|
+
pointer-events: none;
|
|
322
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
323
|
+
border: 1px solid #e55353;
|
|
324
|
+
background-color: #e55353;
|
|
325
|
+
border-radius: 6px;
|
|
326
|
+
color: rgb(34, 34, 34);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.tooltip::before {
|
|
330
|
+
position: absolute;
|
|
331
|
+
content: "";
|
|
332
|
+
height: 0.6em;
|
|
333
|
+
width: 0.6em;
|
|
334
|
+
right: 0px;
|
|
335
|
+
top: 14px;
|
|
336
|
+
z-index: 999;
|
|
337
|
+
transform: translateY(10px);
|
|
338
|
+
border: 1px solid #e55353;
|
|
339
|
+
border-bottom: none;
|
|
340
|
+
border-left: none;
|
|
341
|
+
transform: translate(50%) rotate(45deg);
|
|
342
|
+
background-color: #e55353;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.tooltip-container:hover .tooltip {
|
|
346
|
+
top: 2.5px;
|
|
347
|
+
opacity: 1;
|
|
348
|
+
visibility: visible;
|
|
349
|
+
z-index: 999;
|
|
350
|
+
pointer-events: auto;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.top {
|
|
355
|
+
.tooltip-info {
|
|
356
|
+
position: absolute;
|
|
357
|
+
top: -40;
|
|
358
|
+
left: 0;
|
|
359
|
+
transform: translateX(0%);
|
|
360
|
+
padding: 0.3em 0.6em;
|
|
361
|
+
opacity: 0;
|
|
362
|
+
width: 100%;
|
|
363
|
+
z-index: 999;
|
|
364
|
+
font-size: 12px;
|
|
365
|
+
color: #fff !important;
|
|
366
|
+
pointer-events: none;
|
|
367
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
368
|
+
border: 1px solid #475467;
|
|
369
|
+
background-color: #475467;
|
|
370
|
+
border-radius: 6px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.tooltip-info::before {
|
|
374
|
+
position: absolute;
|
|
375
|
+
content: "";
|
|
376
|
+
height: 0.6em;
|
|
377
|
+
width: 0.6em;
|
|
378
|
+
right: 20px;
|
|
379
|
+
z-index: 999;
|
|
380
|
+
bottom: -4px;
|
|
381
|
+
border: 1px solid #475467;
|
|
382
|
+
border-left: none;
|
|
383
|
+
border-top: none;
|
|
384
|
+
transform: translate(50%) rotate(45deg);
|
|
385
|
+
background-color: #475467;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.tooltip-container:hover .tooltip-info {
|
|
389
|
+
top: -40px;
|
|
390
|
+
opacity: 1;
|
|
391
|
+
visibility: visible;
|
|
392
|
+
z-index: 999;
|
|
393
|
+
pointer-events: auto;
|
|
394
|
+
}
|
|
395
|
+
.tooltip {
|
|
396
|
+
position: absolute;
|
|
397
|
+
top: -40;
|
|
398
|
+
left: 0;
|
|
399
|
+
transform: translateX(0%);
|
|
400
|
+
padding: 0.3em 0.6em;
|
|
401
|
+
opacity: 0;
|
|
402
|
+
width: 100%;
|
|
403
|
+
z-index: 999;
|
|
404
|
+
font-size: 12px;
|
|
405
|
+
color: #fff !important;
|
|
406
|
+
pointer-events: none;
|
|
407
|
+
transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
|
|
408
|
+
border: 1px solid #e55353;
|
|
409
|
+
background-color: #e55353;
|
|
410
|
+
border-radius: 6px;
|
|
411
|
+
color: rgb(34, 34, 34);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.tooltip::before {
|
|
415
|
+
position: absolute;
|
|
416
|
+
content: "";
|
|
417
|
+
height: 0.6em;
|
|
418
|
+
width: 0.6em;
|
|
419
|
+
right: 20px;
|
|
420
|
+
z-index: 999;
|
|
421
|
+
bottom: -4px;
|
|
422
|
+
border: 1px solid #e55353;
|
|
423
|
+
border-left: none;
|
|
424
|
+
border-top: none;
|
|
425
|
+
transform: translate(50%) rotate(45deg);
|
|
426
|
+
background-color: #e55353;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.tooltip-container:hover .tooltip {
|
|
430
|
+
top: -40px;
|
|
431
|
+
opacity: 1;
|
|
432
|
+
visibility: visible;
|
|
433
|
+
z-index: 999;
|
|
434
|
+
pointer-events: auto;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.custom-tooltip-container {
|
|
439
|
+
position: relative;
|
|
440
|
+
display: inline-block;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.custom-text {
|
|
444
|
+
font-size: 18px;
|
|
445
|
+
cursor: pointer;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.custom-tooltip {
|
|
449
|
+
position: absolute;
|
|
450
|
+
top: 100%;
|
|
451
|
+
left: 20%;
|
|
452
|
+
opacity: 0;
|
|
453
|
+
visibility: hidden;
|
|
454
|
+
font-size: 12px;
|
|
455
|
+
background: #deefff;
|
|
456
|
+
border-color: #bee0ff;
|
|
457
|
+
padding: 5px;
|
|
458
|
+
align-items: center;
|
|
459
|
+
transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
|
|
460
|
+
z-index: 1;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.custom-tooltip::before {
|
|
464
|
+
content: "";
|
|
465
|
+
position: absolute;
|
|
466
|
+
bottom: 100%;
|
|
467
|
+
left: 20%;
|
|
468
|
+
/* Center the arrow */
|
|
469
|
+
border-width: 9px;
|
|
470
|
+
/* Slightly larger to act as border */
|
|
471
|
+
border-style: solid;
|
|
472
|
+
border-color: transparent transparent #bee0ff transparent;
|
|
473
|
+
/* Border color */
|
|
474
|
+
transform: translateX(-20%);
|
|
475
|
+
z-index: -1;
|
|
476
|
+
/* Ensure it's behind the ::after pseudo-element */
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.custom-tooltip::after {
|
|
480
|
+
content: "";
|
|
481
|
+
position: absolute;
|
|
482
|
+
bottom: 100%;
|
|
483
|
+
left: 20%;
|
|
484
|
+
border-width: 8px;
|
|
485
|
+
border-style: solid;
|
|
486
|
+
border-color: transparent transparent #deefff transparent;
|
|
487
|
+
transform: translateX(-20%);
|
|
488
|
+
z-index: 1;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.custom-tooltip-container:hover .custom-tooltip {
|
|
492
|
+
top: 100%;
|
|
493
|
+
opacity: 1;
|
|
494
|
+
visibility: visible;
|
|
495
|
+
background: #deefff;
|
|
496
|
+
transform: translate(-20%, 10px);
|
|
497
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.qbs-tree-list-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
}
|
|
5
|
+
.qbs-tree-list-container-sub {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
gap: 7px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.qbs-tree-list-container-sub .no-children {
|
|
13
|
+
margin-left: 1.75rem; /* Corresponds to ml-7 in Tailwind */
|
|
14
|
+
}
|
|
15
|
+
.qbs-tree-list-container-sub-icon {
|
|
16
|
+
margin-top: 0.25rem; /* Corresponds to mt-1 in Tailwind */
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
padding-top: 0.5rem; /* Corresponds to py-2 in Tailwind */
|
|
19
|
+
padding-bottom: 0.5rem;
|
|
20
|
+
transition: transform 0.3s ease; /* Smooth rotation transition */
|
|
21
|
+
color: #003c71;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.qbs-tree-list-container-sub-icon.expanded {
|
|
25
|
+
transform: rotate(90deg); /* Corresponds to rotate-90 in Tailwind */
|
|
26
|
+
}
|
|
27
|
+
.qbs-tree-list-container-sub-container {
|
|
28
|
+
display: flex;
|
|
29
|
+
gap: 15px; /* Corresponds to gap-2 in Tailwind */
|
|
30
|
+
padding: 0.5rem; /* Corresponds to p-2 in Tailwind */
|
|
31
|
+
flex-direction: row; /* Corresponds to flex-row in Tailwind */
|
|
32
|
+
width: 100%; /* Corresponds to w-full in Tailwind */
|
|
33
|
+
color: #3d414a;
|
|
34
|
+
}
|
|
35
|
+
.qbs-tree-list-container-sub-container-hideicon {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 6px; /* Corresponds to gap-2 in Tailwind */
|
|
38
|
+
padding: 0.5rem; /* Corresponds to p-2 in Tailwind */
|
|
39
|
+
flex-direction: row; /* Corresponds to flex-row in Tailwind */
|
|
40
|
+
width: 100%; /* Corresponds to w-full in Tailwind */
|
|
41
|
+
color: #3d414a;
|
|
42
|
+
}
|
|
43
|
+
.qbs-tree-list-container-sub-container-hideicon:hover {
|
|
44
|
+
color: #003c71;
|
|
45
|
+
background-color: rgba(141, 194, 240, 0.15) !important;
|
|
46
|
+
}
|
|
47
|
+
.qbs-tree-list-container-sub-container:hover {
|
|
48
|
+
color: #003c71;
|
|
49
|
+
background-color: rgba(141, 194, 240, 0.15) !important;
|
|
50
|
+
}
|
|
51
|
+
.qbs-tree-list-container-sub-container.qbs-expanded-child {
|
|
52
|
+
color: #003c71;
|
|
53
|
+
}
|
|
54
|
+
.qbs-tree-list-container-sub-text.qbs-expanded-child {
|
|
55
|
+
color: #003c71;
|
|
56
|
+
}
|
|
57
|
+
.qbs-tree-list-container-sub-text:hover {
|
|
58
|
+
color: #003c71;
|
|
59
|
+
/* background-color: rgba(141, 194, 240, 0.15) !important; */
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.qbs-tree-list-container-sub-container.checked,
|
|
63
|
+
.qbs-tree-list-container-sub-container-hideicon.checked {
|
|
64
|
+
color: #003c71;
|
|
65
|
+
background-color: rgba(
|
|
66
|
+
141,
|
|
67
|
+
194,
|
|
68
|
+
240,
|
|
69
|
+
0.15
|
|
70
|
+
) !important; /* Corresponds to bg-green-200 in Tailwind */
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.marginLeft {
|
|
74
|
+
margin-left: 28px; /* Corresponds to ml-2 in Tailwind */
|
|
75
|
+
}
|
|
76
|
+
.lightmarginLeft {
|
|
77
|
+
margin-left: 19px; /* Corresponds to ml-2 in Tailwind */
|
|
78
|
+
}
|
|
79
|
+
.qbs-tree-list-container-sub- {
|
|
80
|
+
line-height: 18px; /* Corresponds to leading-[18px] in Tailwind */
|
|
81
|
+
font-size: 0.875rem; /* Corresponds to text-sm in Tailwind (14px) */
|
|
82
|
+
}
|
|
83
|
+
.qbs-tree-list-container-child {
|
|
84
|
+
margin-left: 1rem; /* Corresponds to ml-4 in Tailwind */
|
|
85
|
+
margin-top: 0.5rem; /* Corresponds to mt-2 in Tailwind */
|
|
86
|
+
display: flex; /* Corresponds to flex in Tailwind */
|
|
87
|
+
flex-direction: column; /* Corresponds to flex-col in Tailwind */
|
|
88
|
+
gap: 0.5rem; /* Corresponds to gap-2 in Tailwind */
|
|
89
|
+
}
|
|
90
|
+
.qbs-tree-list-container-sub-text {
|
|
91
|
+
line-height: 18px; /* Corresponds to leading-[18px] in Tailwind */
|
|
92
|
+
font-size: 14px; /* Corresponds to text-sm in Tailwind (14px) */
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
letter-spacing: 0.28px;
|
|
95
|
+
font-family: 'Noto Sans';
|
|
96
|
+
/* color: #3d414a; */
|
|
97
|
+
}
|