@konfuzio/document-validation-ui 0.1.10-dev.12 → 0.1.10-dev.13

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.
@@ -11,7 +11,6 @@
11
11
  }
12
12
 
13
13
  .dv-ui-app-container {
14
- @include meta.load-css("../../../node_modules/buefy/dist/buefy.css");
15
14
  display: flex;
16
15
  height: 100%;
17
16
  flex-direction: column;
@@ -27,742 +26,753 @@
27
26
  background-color: rgba(0, 0, 0, 0);
28
27
  overflow-x: hidden;
29
28
  }
29
+ }
30
30
 
31
- &.dv-ui-theme {
32
- font-family: $font-family;
33
-
34
- -webkit-font-smoothing: antialiased;
35
- text-rendering: optimizeLegibility;
36
- -webkit-text-size-adjust: 100%;
37
- -moz-text-size-adjust: 100%;
38
- -ms-text-size-adjust: 100%;
39
- text-size-adjust: 100%;
40
- box-sizing: border-box;
41
- button {
42
- &.is-primary {
43
- background-color: $primary !important;
44
- color: $white !important;
45
-
46
- &:hover:enabled {
47
- filter: $hover-style;
48
- }
49
-
50
- &:disabled {
51
- background-color: $grey;
52
- }
53
- }
31
+ .dv-ui-theme {
32
+ @include meta.load-css("../../../node_modules/buefy/dist/buefy.css");
33
+ font-family: $font-family;
54
34
 
55
- // TODO: custom classes should have the styles under the component file
56
- &.missing-decline-btn {
57
- font-size: 14px;
58
- color: $grey-blue !important;
59
- font-weight: 500;
60
- background-color: transparent;
61
- width: auto;
35
+ -webkit-font-smoothing: antialiased;
36
+ text-rendering: optimizeLegibility;
37
+ -webkit-text-size-adjust: 100%;
38
+ -moz-text-size-adjust: 100%;
39
+ -ms-text-size-adjust: 100%;
40
+ text-size-adjust: 100%;
41
+ box-sizing: border-box;
42
+ button {
43
+ &.is-primary {
44
+ background-color: $primary !important;
45
+ color: $white !important;
62
46
 
63
- &:not([disabled]) {
64
- &:hover {
65
- text-decoration: none;
66
- color: $text-color !important;
67
- }
68
- }
47
+ &:hover:enabled {
48
+ filter: $hover-style;
49
+ }
69
50
 
70
- &:focus {
71
- box-shadow: none;
72
- }
51
+ &:disabled {
52
+ background-color: $grey;
73
53
  }
54
+ }
74
55
 
75
- &.is-text {
76
- text-decoration: none;
56
+ // TODO: custom classes should have the styles under the component file
57
+ &.missing-decline-btn {
58
+ font-size: 14px;
59
+ color: $grey-blue !important;
60
+ font-weight: 500;
61
+ background-color: transparent;
62
+ width: auto;
77
63
 
64
+ &:not([disabled]) {
78
65
  &:hover {
79
- background-color: transparent;
66
+ text-decoration: none;
67
+ color: $text-color !important;
80
68
  }
81
69
  }
82
70
 
83
- &.annotation-cancel-btn {
84
- .icon {
85
- svg {
86
- width: 15px !important;
87
- height: 15px !important;
88
- }
89
- }
71
+ &:focus {
72
+ box-shadow: none;
90
73
  }
74
+ }
91
75
 
92
- &.accept-all-btn {
93
- padding-left: 4px;
94
- padding-right: 4px;
95
- }
76
+ &.is-text {
77
+ text-decoration: none;
96
78
 
97
- &.all-missing-btn {
98
- padding-right: 4px;
79
+ &:hover {
80
+ background-color: transparent;
99
81
  }
82
+ }
100
83
 
101
- &.action-bar-save-btn {
102
- height: 32px;
103
- padding: 6px 12px 6px 12px !important;
104
- font-size: 14px;
105
- font-weight: 500;
84
+ &.annotation-cancel-btn {
85
+ .icon {
86
+ svg {
87
+ width: 15px !important;
88
+ height: 15px !important;
89
+ }
106
90
  }
91
+ }
107
92
 
108
- &.finish-review-btn {
109
- margin-right: 2px;
93
+ &.accept-all-btn {
94
+ padding-left: 4px;
95
+ padding-right: 4px;
96
+ }
110
97
 
111
- &:focus {
112
- box-shadow: none;
113
- outline: 3px solid $grey-dark;
114
- border: 2px solid;
115
- margin-right: 1px;
116
- }
98
+ &.all-missing-btn {
99
+ padding-right: 4px;
100
+ }
117
101
 
118
- .spinner {
119
- margin: auto !important;
120
- }
102
+ &.action-bar-save-btn {
103
+ height: 32px;
104
+ padding: 6px 12px 6px 12px !important;
105
+ font-size: 14px;
106
+ font-weight: 500;
107
+ }
108
+
109
+ &.finish-review-btn {
110
+ margin-right: 2px;
111
+
112
+ &:focus {
113
+ box-shadow: none;
114
+ outline: 3px solid $grey-dark;
115
+ border: 2px solid;
116
+ margin-right: 1px;
121
117
  }
122
118
 
123
- &.edit-mode-btn[disabled] {
124
- border: 1px solid $detail;
119
+ .spinner {
120
+ margin: auto !important;
125
121
  }
122
+ }
126
123
 
127
- &[disabled] {
128
- border: none;
124
+ &.edit-mode-btn[disabled] {
125
+ border: 1px solid $detail;
126
+ }
129
127
 
130
- &:hover {
131
- text-decoration: none;
132
- }
133
- }
128
+ &[disabled] {
129
+ border: none;
134
130
 
135
- &.primary-button {
136
- border-radius: var(--primary-button) !important;
131
+ &:hover {
132
+ text-decoration: none;
137
133
  }
134
+ }
138
135
 
139
- &.tertiary-button {
140
- border-radius: 20px !important;
141
- }
136
+ &.primary-button {
137
+ border-radius: var(--primary-button) !important;
142
138
  }
143
139
 
144
- .carousel-list {
145
- &.has-shadow {
146
- box-shadow: none !important;
147
- }
140
+ &.tertiary-button {
141
+ border-radius: 20px !important;
142
+ }
143
+ }
148
144
 
149
- .carousel-slides .carousel-slide {
150
- border: none !important;
151
- }
145
+ .carousel-list {
146
+ &.has-shadow {
147
+ box-shadow: none !important;
148
+ }
152
149
 
153
- .carousel-arrow {
154
- .icon {
155
- color: $primary;
150
+ .carousel-slides .carousel-slide {
151
+ border: none !important;
152
+ }
156
153
 
157
- &:hover {
158
- border: 1px solid $primary;
159
- }
154
+ .carousel-arrow {
155
+ .icon {
156
+ color: $primary;
160
157
 
161
- svg {
162
- height: 100%;
163
- }
158
+ &:hover {
159
+ border: 1px solid $primary;
160
+ }
161
+
162
+ svg {
163
+ height: 100%;
164
164
  }
165
165
  }
166
166
  }
167
+ }
167
168
 
168
- .error-message {
169
- position: absolute;
170
- width: 100%;
169
+ .error-message {
170
+ position: absolute;
171
+ width: 100%;
171
172
 
172
- .message {
173
- padding: 0;
174
- }
173
+ .message {
174
+ padding: 0;
175
+ }
175
176
 
176
- .message-body {
177
- background-color: $error-background;
178
- color: $white;
179
- font-size: 14px;
180
- border: 0;
181
- border-radius: 0%;
182
- line-height: 20px;
183
- padding: 7px 0 7px 0;
184
- }
177
+ .message-body {
178
+ background-color: $error-background;
179
+ color: $white;
180
+ font-size: 14px;
181
+ border: 0;
182
+ border-radius: 0%;
183
+ line-height: 20px;
184
+ padding: 7px 0 7px 0;
185
+ }
185
186
 
186
- .media-content {
187
- display: flex;
188
- justify-content: flex-end;
189
- }
187
+ .media-content {
188
+ display: flex;
189
+ justify-content: flex-end;
190
+ }
190
191
 
191
- .message-container {
192
+ .message-container {
193
+ display: flex;
194
+ width: 100%;
195
+ justify-content: center;
196
+ align-items: center;
197
+
198
+ .server-error {
192
199
  display: flex;
193
- width: 100%;
194
- justify-content: center;
195
- align-items: center;
196
200
 
197
- .server-error {
201
+ .contact-support {
202
+ text-decoration: underline;
203
+ font-weight: 600;
198
204
  display: flex;
205
+ align-items: center;
206
+ padding-left: 5px;
199
207
 
200
- .contact-support {
201
- text-decoration: underline;
202
- font-weight: 600;
203
- display: flex;
204
- align-items: center;
205
- padding-left: 5px;
206
-
207
- .icon {
208
- padding-left: 10px;
209
- }
208
+ .icon {
209
+ padding-left: 10px;
210
+ }
210
211
 
211
- &:hover {
212
- cursor: pointer;
213
- }
212
+ &:hover {
213
+ cursor: pointer;
214
214
  }
215
215
  }
216
216
  }
217
+ }
217
218
 
218
- .btn-container {
219
- cursor: pointer;
220
- display: flex;
221
- align-items: center;
222
- }
219
+ .btn-container {
220
+ cursor: pointer;
221
+ display: flex;
222
+ align-items: center;
223
223
  }
224
+ }
224
225
 
225
- .message {
226
- &.label-message {
227
- .message-body {
228
- padding: 5px 15px 5px 15px !important;
229
- }
226
+ .message {
227
+ &.label-message {
228
+ .message-body {
229
+ padding: 5px 15px 5px 15px !important;
230
230
  }
231
231
  }
232
+ }
232
233
 
233
- .dropdown {
234
- &.no-padding-bottom {
235
- .dropdown-content {
236
- padding-bottom: 0;
237
- }
234
+ .dropdown {
235
+ &.no-padding-bottom {
236
+ .dropdown-content {
237
+ padding-bottom: 0;
238
238
  }
239
+ }
239
240
 
240
- &.no-padding-top {
241
- .dropdown-content {
242
- padding-top: 0;
243
- }
241
+ &.no-padding-top {
242
+ .dropdown-content {
243
+ padding-top: 0;
244
244
  }
245
+ }
245
246
 
246
- + .dropdown {
247
- margin-left: 0;
248
- }
247
+ + .dropdown {
248
+ margin-left: 0;
249
+ }
249
250
 
250
- .dropdown-trigger {
251
- justify-content: space-between;
252
- width: 100%;
253
- }
251
+ .dropdown-trigger {
252
+ justify-content: space-between;
253
+ width: 100%;
254
+ }
254
255
 
255
- .dropdown-menu {
256
- padding-top: 0px;
257
- min-width: 40px;
258
- width: 100%;
259
- }
256
+ .dropdown-menu {
257
+ padding-top: 0px;
258
+ min-width: 40px;
259
+ width: auto;
260
+ }
260
261
 
261
- a.dropdown-item {
262
- padding-right: 16px;
262
+ a.dropdown-item {
263
+ padding-right: 16px;
263
264
 
264
- &.is-active {
265
- background-color: $primary;
266
- }
265
+ &.is-active {
266
+ background-color: $primary;
267
+ }
267
268
 
268
- &.is-disabled {
269
- color: $grey-blue !important;
270
- }
269
+ &.is-disabled {
270
+ color: $grey-blue !important;
271
271
  }
272
+ }
272
273
 
273
- &.dropdown-menu-animation {
274
- a.navbar-item {
275
- color: $text-color;
276
- font-size: 16px;
277
- line-height: 24px;
274
+ &.dropdown-menu-animation {
275
+ a.navbar-item {
276
+ color: $text-color;
277
+ font-size: 16px;
278
+ line-height: 24px;
278
279
 
279
- &:hover {
280
- color: $primary;
281
- background: none;
282
- border: none;
283
- }
280
+ &:hover {
281
+ color: $primary;
282
+ background: none;
283
+ border: none;
284
284
  }
285
+ }
285
286
 
286
- &.label-dropdown {
287
- width: 100%;
288
- }
287
+ &.label-dropdown {
288
+ width: 100%;
289
289
  }
290
290
  }
291
+ }
291
292
 
292
- .b-checkbox.checkbox {
293
- .check {
294
- background-color: $white;
295
- }
296
- &:hover input[type="checkbox"]:not(:disabled) + .check {
297
- border-color: $primary !important;
298
- }
293
+ .b-checkbox.checkbox {
294
+ .check {
295
+ background-color: $white;
296
+ }
297
+ &:hover input[type="checkbox"]:not(:disabled) + .check {
298
+ border-color: $primary !important;
299
+ }
299
300
 
300
- input[type="checkbox"]:checked + .check {
301
- border-color: $primary !important;
302
- background-color: $primary;
303
- }
301
+ input[type="checkbox"]:checked + .check {
302
+ border-color: $primary !important;
303
+ background-color: $primary;
304
304
  }
305
+ }
305
306
 
306
- .modal {
307
- z-index: 999;
307
+ .modal {
308
+ z-index: 999;
308
309
 
309
- &.modal-text-center {
310
- text-align: center;
310
+ &.model-overflow-visible {
311
+ .modal-content {
312
+ overflow: visible;
313
+ }
314
+ .modal-card-body {
315
+ overflow: visible;
311
316
  }
317
+ }
312
318
 
313
- &.modal-400 {
314
- position: absolute !important;
319
+ &.modal-text-center {
320
+ text-align: center;
321
+ }
315
322
 
316
- .modal-content {
317
- max-width: 400px !important;
323
+ &.modal-400 {
324
+ position: absolute !important;
318
325
 
319
- .scroll-hidden {
320
- overflow: hidden;
321
- padding: 0;
326
+ .modal-content {
327
+ max-width: 400px !important;
322
328
 
323
- .content {
324
- overflow: auto;
325
- padding: 20px;
326
- }
329
+ .scroll-hidden {
330
+ overflow: hidden;
331
+ padding: 0;
332
+
333
+ .content {
334
+ overflow: auto;
335
+ padding: 20px;
327
336
  }
328
337
  }
329
338
  }
339
+ }
330
340
 
331
- &.is-active {
332
- &.modal-no-footer {
333
- .modal-content {
334
- .modal-card-body {
335
- border-radius: 16px 16px 16px 16px !important;
341
+ &.is-active {
342
+ &.modal-no-footer {
343
+ .modal-content {
344
+ .modal-card-body {
345
+ border-radius: 16px 16px 16px 16px !important;
336
346
 
337
- &.split-modal {
338
- padding-bottom: 0;
339
- }
347
+ &.split-modal {
348
+ padding-bottom: 0;
340
349
  }
341
350
  }
342
351
  }
352
+ }
343
353
 
344
- .modal-content {
345
- height: auto;
346
- margin-left: auto;
347
- margin-right: auto;
348
- position: relative;
349
-
350
- .modal-close {
351
- position: absolute;
352
- top: 14px;
353
-
354
- &::before,
355
- &::after {
356
- background-color: $grey;
357
- }
358
-
359
- &:hover {
360
- background-color: $white;
361
- }
354
+ .modal-content {
355
+ height: auto;
356
+ margin-left: auto;
357
+ margin-right: auto;
358
+ position: relative;
359
+
360
+ .modal-close {
361
+ position: absolute;
362
+ top: 14px;
363
+
364
+ &::before,
365
+ &::after {
366
+ background-color: $grey;
362
367
  }
363
368
 
364
- .modal-card-body {
365
- background: $white;
366
- border-radius: 16px 16px 0 0 !important;
369
+ &:hover {
370
+ background-color: $white;
367
371
  }
372
+ }
368
373
 
369
- .modal-card-foot {
370
- display: flex;
371
- justify-content: center;
372
- border: none;
373
- background: $white;
374
- border-radius: 0 0 16px 16px;
375
- }
374
+ .modal-card-body {
375
+ background: $white;
376
+ border-radius: 16px 16px 0 0 !important;
376
377
  }
377
- }
378
378
 
379
- &.modal-absolute {
380
- position: absolute;
379
+ .modal-card-foot {
380
+ display: flex;
381
+ justify-content: center;
382
+ border: none;
383
+ background: $white;
384
+ border-radius: 0 0 16px 16px;
385
+ }
381
386
  }
387
+ }
382
388
 
383
- .modal-background {
384
- background-color: $full-black;
385
- opacity: 0.5;
386
- }
389
+ &.modal-absolute {
390
+ position: absolute;
391
+ }
387
392
 
388
- &.edit-modal {
389
- .modal-content {
390
- max-width: 440px !important;
393
+ .modal-background {
394
+ background-color: $full-black;
395
+ opacity: 0.5;
396
+ }
391
397
 
392
- .header {
393
- display: flex;
394
- align-items: center;
395
- gap: 8px;
396
- padding-bottom: 15px;
397
- font-weight: 500;
398
- font-size: 18px;
399
- }
398
+ // TODO: since edit modal is a specific one, should be on the component styles
399
+ &.edit-modal {
400
+ .modal-content {
401
+ max-width: 440px !important;
400
402
 
401
- .content {
402
- text-align: left;
403
- font-weight: 400;
404
- font-size: 14px;
405
- color: $grey-blue;
406
- }
403
+ .header {
404
+ display: flex;
405
+ align-items: center;
406
+ gap: 8px;
407
+ padding-bottom: 15px;
408
+ font-weight: 500;
409
+ font-size: 18px;
410
+ }
407
411
 
408
- .modal-card-foot {
409
- display: flex;
410
- gap: 5px;
412
+ .content {
413
+ text-align: left;
414
+ font-weight: 400;
415
+ font-size: 14px;
416
+ color: $grey-blue;
417
+ }
411
418
 
412
- .recommended {
413
- font-weight: 600;
414
- font-size: 11px;
415
- background-color: rgba(255, 255, 255, 0.2);
416
- padding: 2px 5px;
417
- border-radius: 36px;
418
- }
419
+ .modal-card-foot {
420
+ display: flex;
421
+ gap: 5px;
419
422
 
420
- .button {
421
- width: 100%;
423
+ .recommended {
424
+ font-weight: 600;
425
+ font-size: 11px;
426
+ background-color: rgba(255, 255, 255, 0.2);
427
+ padding: 2px 5px;
428
+ border-radius: 36px;
429
+ }
422
430
 
423
- &.is-primary {
424
- font-weight: 500;
425
- }
431
+ .button {
432
+ width: 100%;
433
+
434
+ &.is-primary {
435
+ font-weight: 500;
426
436
  }
427
437
  }
428
438
  }
429
439
  }
430
440
  }
441
+ }
431
442
 
432
- &.invisible-parent-modal {
433
- background-color: transparent;
443
+ &.invisible-parent-modal {
444
+ background-color: transparent;
434
445
 
435
- .modal-content {
436
- height: 100vh !important;
437
- top: 25%;
446
+ .modal-content {
447
+ height: 100vh !important;
448
+ top: 25%;
438
449
 
439
- .modal-card-body {
440
- overflow: visible;
441
- }
450
+ .modal-card-body {
451
+ overflow: visible;
442
452
  }
443
453
  }
454
+ }
444
455
 
445
- .loading-background {
446
- background-color: transparent !important;
447
- }
456
+ .loading-background {
457
+ background-color: transparent !important;
458
+ }
448
459
 
449
- .loading-icon-size {
450
- width: 13px;
451
- height: 13px;
452
- }
460
+ .loading-icon-size {
461
+ width: 13px;
462
+ height: 13px;
463
+ }
453
464
 
454
- .notices {
455
- .snackbar {
456
- background-color: $text-color;
457
- min-height: 40px;
465
+ .notices {
466
+ .snackbar {
467
+ background-color: $text-color;
468
+ min-height: 40px;
458
469
 
459
- .text {
460
- display: flex;
461
- font-size: 14px;
462
- }
463
- }
464
- }
465
-
466
- .label-action-btn {
467
- .dropdown-trigger {
468
- width: 100%;
470
+ .text {
469
471
  display: flex;
470
- justify-content: center;
472
+ font-size: 14px;
471
473
  }
472
474
  }
475
+ }
473
476
 
474
- .slide-fade-enter-active {
475
- transition: all 0.3s ease;
477
+ .label-action-btn {
478
+ .dropdown-trigger {
479
+ width: 100%;
480
+ display: flex;
481
+ justify-content: center;
476
482
  }
483
+ }
477
484
 
478
- .slide-fade-leave-active {
479
- transition: all 0.3s ease;
480
- }
485
+ .slide-fade-enter-active {
486
+ transition: all 0.3s ease;
487
+ }
488
+
489
+ .slide-fade-leave-active {
490
+ transition: all 0.3s ease;
491
+ }
492
+
493
+ .slide-fade-enter,
494
+ .slide-fade-leave-to {
495
+ transform: translateY(-10px);
496
+ opacity: 0;
497
+ }
481
498
 
482
- .slide-fade-enter,
483
- .slide-fade-leave-to {
484
- transform: translateY(-10px);
485
- opacity: 0;
499
+ .b-tooltip {
500
+ height: 100%;
501
+ align-items: center;
502
+ .tooltip-content {
503
+ background-color: $text-color !important;
504
+
505
+ a {
506
+ color: $white;
507
+ text-decoration: underline;
508
+ font-weight: 500;
509
+ }
510
+ &:before {
511
+ border-bottom-color: $text-color !important;
512
+ }
486
513
  }
487
514
 
488
- .b-tooltip {
489
- height: 100%;
490
- align-items: center;
515
+ &.left-aligned {
491
516
  .tooltip-content {
492
- background-color: $text-color !important;
493
-
494
- a {
495
- color: $white;
496
- text-decoration: underline;
497
- font-weight: 500;
498
- }
499
- &:before {
517
+ left: -3px !important;
518
+ transform: none !important;
519
+ padding: 8px 10px !important;
520
+
521
+ &::before {
522
+ left: 16px !important;
523
+ right: auto !important;
524
+ border-top-color: $text-color !important;
500
525
  border-bottom-color: $text-color !important;
501
526
  }
502
527
  }
528
+ }
503
529
 
504
- &.left-aligned {
505
- .tooltip-content {
506
- left: -3px !important;
507
- transform: none !important;
508
- padding: 8px 10px !important;
509
-
510
- &::before {
511
- left: 16px !important;
512
- right: auto !important;
513
- border-top-color: $text-color !important;
514
- border-bottom-color: $text-color !important;
515
- }
516
- }
517
- }
530
+ &.right-aligned {
531
+ .tooltip-content {
532
+ right: -20px !important;
533
+ left: auto !important;
534
+ transform: none !important;
535
+ padding: 8px 10px !important;
518
536
 
519
- &.right-aligned {
520
- .tooltip-content {
521
- right: -20px !important;
537
+ &::before {
538
+ right: 16px !important;
522
539
  left: auto !important;
523
- transform: none !important;
524
- padding: 8px 10px !important;
525
-
526
- &::before {
527
- right: 16px !important;
528
- left: auto !important;
529
- border-bottom-color: $text-color !important;
530
- }
531
- }
532
-
533
- &.no-right-margin {
534
- .tooltip-content {
535
- right: 0 !important;
536
- }
540
+ border-bottom-color: $text-color !important;
537
541
  }
542
+ }
538
543
 
539
- &.full-height-tooltip {
540
- height: 100%;
541
-
542
- .tooltip-content {
543
- right: 0 !important;
544
- }
544
+ &.no-right-margin {
545
+ .tooltip-content {
546
+ right: 0 !important;
545
547
  }
546
548
  }
547
549
 
548
550
  &.full-height-tooltip {
549
- .tooltip-trigger {
550
- height: 100%;
551
- }
552
- }
551
+ height: 100%;
553
552
 
554
- &.width-184 {
555
553
  .tooltip-content {
556
- width: 184px !important;
554
+ right: 0 !important;
557
555
  }
558
556
  }
557
+ }
559
558
 
560
- &.left-down-aligned {
561
- .tooltip-content {
562
- font-size: 14px;
563
- padding: 12px 12px;
564
- top: 45px;
565
- background-color: $text-color;
566
- border-radius: 4px !important;
567
-
568
- &::before {
569
- top: 17px;
570
- border-left-color: $text-color !important;
571
- }
572
- }
559
+ &.full-height-tooltip {
560
+ .tooltip-trigger {
561
+ height: 100%;
573
562
  }
563
+ }
574
564
 
575
- &.bottom-aligned {
576
- width: 100%;
565
+ &.width-184 {
566
+ .tooltip-content {
567
+ width: 184px !important;
568
+ }
569
+ }
577
570
 
578
- .tooltip-content {
579
- &::before {
580
- border-bottom-color: $text-color !important;
581
- }
571
+ &.left-down-aligned {
572
+ .tooltip-content {
573
+ font-size: 14px;
574
+ padding: 12px 12px;
575
+ top: 45px;
576
+ background-color: $text-color;
577
+ border-radius: 4px !important;
578
+
579
+ &::before {
580
+ top: 17px;
581
+ border-left-color: $text-color !important;
582
582
  }
583
583
  }
584
+ }
584
585
 
585
- &.top-aligned {
586
- .tooltip-content {
587
- &::before {
588
- border-top-color: $text-color !important;
589
- }
586
+ &.bottom-aligned {
587
+ width: 100%;
588
+
589
+ .tooltip-content {
590
+ &::before {
591
+ border-bottom-color: $text-color !important;
590
592
  }
591
593
  }
594
+ }
592
595
 
593
- &.split-tooltip {
594
- width: 100%;
596
+ &.top-aligned {
597
+ .tooltip-content {
598
+ &::before {
599
+ border-top-color: $text-color !important;
600
+ }
595
601
  }
596
602
  }
597
603
 
598
- .no-icon-margin .icon {
599
- margin: 0 !important;
604
+ &.split-tooltip {
605
+ width: 100%;
600
606
  }
607
+ }
608
+
609
+ .no-icon-margin .icon {
610
+ margin: 0 !important;
611
+ }
612
+
613
+ .icon.is-small,
614
+ .button .icon.is-small {
615
+ width: 14px;
616
+ height: 14px;
601
617
 
602
- .icon.is-small,
603
- .button .icon.is-small {
618
+ svg {
604
619
  width: 14px;
605
620
  height: 14px;
621
+ }
606
622
 
623
+ &.caret {
607
624
  svg {
608
- width: 14px;
609
- height: 14px;
625
+ height: 12px;
610
626
  }
611
627
 
612
- &.caret {
628
+ &.split-mode-caret {
613
629
  svg {
614
- height: 12px;
615
- }
616
-
617
- &.split-mode-caret {
618
- svg {
619
- color: $grey;
620
- }
630
+ color: $grey;
621
631
  }
622
632
  }
633
+ }
623
634
 
624
- &.close-btn {
625
- width: 10px;
626
- height: 10px;
635
+ &.close-btn {
636
+ width: 10px;
637
+ height: 10px;
627
638
 
628
- &.error-icon {
629
- color: $white;
630
- padding-right: 20px;
631
- padding-left: 20px;
639
+ &.error-icon {
640
+ color: $white;
641
+ padding-right: 20px;
642
+ padding-left: 20px;
632
643
 
633
- svg {
634
- height: 15px !important;
635
- }
644
+ svg {
645
+ height: 15px !important;
636
646
  }
637
647
  }
638
648
  }
649
+ }
639
650
 
640
- .dropdown {
641
- &.split-mode {
642
- .dropdown-trigger {
643
- font-size: 14px;
644
- height: 38px;
645
- }
646
- }
647
-
648
- &.width-12 {
649
- .dropdown-trigger {
650
- width: 12px;
651
- }
651
+ .dropdown {
652
+ &.split-mode {
653
+ .dropdown-trigger {
654
+ font-size: 14px;
655
+ height: 38px;
652
656
  }
657
+ }
653
658
 
659
+ &.width-12 {
654
660
  .dropdown-trigger {
655
- height: 100%;
656
- display: flex;
657
- justify-content: center;
658
- align-items: center;
661
+ width: 12px;
659
662
  }
663
+ }
660
664
 
661
- &.is-disabled {
662
- cursor: not-allowed;
663
- }
665
+ .dropdown-trigger {
666
+ height: 100%;
667
+ display: flex;
668
+ justify-content: center;
669
+ align-items: center;
664
670
  }
665
671
 
666
- .b-table {
672
+ &.is-disabled {
673
+ cursor: not-allowed;
674
+ }
675
+ }
676
+
677
+ .b-table {
678
+ .table-wrapper {
679
+ overflow: visible !important;
680
+ }
681
+ &.full-height {
682
+ height: 100%;
667
683
  .table-wrapper {
668
- overflow: visible !important;
669
- }
670
- &.full-height {
671
684
  height: 100%;
672
- .table-wrapper {
685
+ .table {
673
686
  height: 100%;
674
- .table {
675
- height: 100%;
676
- }
677
687
  }
678
688
  }
689
+ }
679
690
 
680
- &.dark-header {
681
- .table {
682
- thead {
691
+ &.dark-header {
692
+ .table {
693
+ thead {
694
+ background-color: $black !important;
695
+ th {
696
+ font-weight: 400;
683
697
  background-color: $black !important;
684
- th {
685
- font-weight: 400;
686
- background-color: $black !important;
687
- }
688
698
  }
689
699
  }
690
700
  }
701
+ }
691
702
 
692
- &.header-32 {
693
- thead {
694
- height: 32px;
695
- }
703
+ &.header-32 {
704
+ thead {
705
+ height: 32px;
696
706
  }
707
+ }
697
708
 
698
- .table,
699
- .table-wrapper {
700
- &.has-sticky-header {
701
- max-height: 200px;
702
- height: fit-content;
703
- }
704
- cursor: text;
705
- thead {
709
+ .table,
710
+ .table-wrapper {
711
+ &.has-sticky-header {
712
+ max-height: 200px;
713
+ height: fit-content;
714
+ }
715
+ cursor: text;
716
+ thead {
717
+ background-color: $purple !important;
718
+ th {
719
+ font-weight: 500;
720
+ font-size: 10px;
721
+ line-height: 18px;
722
+ .th-wrap {
723
+ text-transform: none;
724
+ .icon {
725
+ margin: 0;
726
+ }
727
+ }
706
728
  background-color: $purple !important;
707
- th {
729
+ color: white !important;
730
+ vertical-align: middle;
731
+ &[draggable="true"] {
732
+ cursor: move;
733
+ }
734
+ }
735
+ }
736
+ tbody {
737
+ background-color: rgba(123, 97, 255, 0.1);
738
+ tr {
739
+ background-color: white;
740
+ color: black;
741
+ td {
708
742
  font-weight: 500;
709
743
  font-size: 10px;
710
744
  line-height: 18px;
711
- .th-wrap {
712
- text-transform: none;
713
- .icon {
714
- margin: 0;
715
- }
716
- }
717
- background-color: $purple !important;
718
- color: white !important;
719
- vertical-align: middle;
720
- &[draggable="true"] {
721
- cursor: move;
745
+
746
+ &.has-text-centered {
747
+ vertical-align: middle;
722
748
  }
723
749
  }
724
750
  }
751
+ }
752
+ &.is-striped {
725
753
  tbody {
726
- background-color: rgba(123, 97, 255, 0.1);
727
754
  tr {
728
- background-color: white;
729
- color: black;
730
- td {
731
- font-weight: 500;
732
- font-size: 10px;
733
- line-height: 18px;
734
-
735
- &.has-text-centered {
736
- vertical-align: middle;
737
- }
738
- }
739
- }
740
- }
741
- &.is-striped {
742
- tbody {
743
- tr {
744
- &:not(.is-selected) {
745
- background-color: rgba(123, 97, 255, 0.1);
746
- &:nth-child(even) {
747
- background-color: rgba(123, 97, 255, 0.3);
748
- }
755
+ &:not(.is-selected) {
756
+ background-color: rgba(123, 97, 255, 0.1);
757
+ &:nth-child(even) {
758
+ background-color: rgba(123, 97, 255, 0.3);
749
759
  }
750
760
  }
751
761
  }
752
762
  }
753
763
  }
754
764
  }
765
+ }
755
766
 
756
- .switch {
757
- input[type="checkbox"] {
758
- &:checked + .check {
759
- background: $primary !important;
760
- box-shadow: none !important;
761
- }
767
+ .switch {
768
+ input[type="checkbox"] {
769
+ &:checked + .check {
770
+ background: $primary !important;
771
+ box-shadow: none !important;
772
+ }
762
773
 
763
- &:focus + .check {
764
- box-shadow: none !important;
765
- }
774
+ &:focus + .check {
775
+ box-shadow: none !important;
766
776
  }
767
777
  }
768
778
  }