@konfuzio/document-validation-ui 0.1.1

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.
Files changed (131) hide show
  1. package/.eslintrc.js +11 -0
  2. package/.prettierrc.json +1 -0
  3. package/LICENSE +21 -0
  4. package/README.md +13 -0
  5. package/dist/css/app.0c8973f8.css +1 -0
  6. package/dist/css/chunk-vendors.053b6b6e.css +5 -0
  7. package/dist/favicon.ico +0 -0
  8. package/dist/index.html +1 -0
  9. package/dist/js/app.17fe48c4.js +2 -0
  10. package/dist/js/app.17fe48c4.js.map +1 -0
  11. package/dist/js/chunk-vendors.a48fca3f.js +47 -0
  12. package/dist/js/chunk-vendors.a48fca3f.js.map +1 -0
  13. package/jest.config.js +4 -0
  14. package/package.json +60 -0
  15. package/src/.DS_Store +0 -0
  16. package/src/api.js +49 -0
  17. package/src/assets/images/AcceptedCheckMark.vue +8 -0
  18. package/src/assets/images/AcceptedUser.vue +8 -0
  19. package/src/assets/images/ActionIcon.vue +60 -0
  20. package/src/assets/images/ArrowDownKey.vue +11 -0
  21. package/src/assets/images/ArrowUpKey.vue +11 -0
  22. package/src/assets/images/CategoryIconImg.vue +13 -0
  23. package/src/assets/images/CheckMark.vue +8 -0
  24. package/src/assets/images/EditDocIcon.vue +12 -0
  25. package/src/assets/images/EmptyStateImg.vue +129 -0
  26. package/src/assets/images/ErrorIcon.vue +28 -0
  27. package/src/assets/images/EyeIcon.vue +11 -0
  28. package/src/assets/images/FileNameNotSavedImage.vue +26 -0
  29. package/src/assets/images/FileNameSavedImage.vue +14 -0
  30. package/src/assets/images/FitZoomIcon.vue +16 -0
  31. package/src/assets/images/KeyboardIcon.vue +16 -0
  32. package/src/assets/images/MinusIcon.vue +13 -0
  33. package/src/assets/images/NotOptimizedIllustration.vue +651 -0
  34. package/src/assets/images/PlusIcon.vue +13 -0
  35. package/src/assets/images/QuestionMark.vue +12 -0
  36. package/src/assets/images/ServerImage.vue +63 -0
  37. package/src/assets/images/SplitLines.vue +18 -0
  38. package/src/assets/images/SplitZigZag.vue +16 -0
  39. package/src/assets/images/StatusImg.vue +14 -0
  40. package/src/assets/images/UserIcon.vue +8 -0
  41. package/src/assets/scss/annotation_details.scss +126 -0
  42. package/src/assets/scss/categorize_modal.scss +42 -0
  43. package/src/assets/scss/choose_label_set_modal.scss +62 -0
  44. package/src/assets/scss/document_action_bar.scss +37 -0
  45. package/src/assets/scss/document_annotations.scss +472 -0
  46. package/src/assets/scss/document_category.scss +80 -0
  47. package/src/assets/scss/document_dashboard.scss +47 -0
  48. package/src/assets/scss/document_dataset_status.scss +46 -0
  49. package/src/assets/scss/document_edit.scss +431 -0
  50. package/src/assets/scss/document_error.scss +81 -0
  51. package/src/assets/scss/document_handover.scss +200 -0
  52. package/src/assets/scss/document_name.scss +62 -0
  53. package/src/assets/scss/document_page.scss +8 -0
  54. package/src/assets/scss/document_thumbnails.scss +41 -0
  55. package/src/assets/scss/document_toolbar.scss +89 -0
  56. package/src/assets/scss/document_top_bar.scss +139 -0
  57. package/src/assets/scss/document_viewport_modal.scss +25 -0
  58. package/src/assets/scss/documents_list.scss +130 -0
  59. package/src/assets/scss/empty_state.scss +34 -0
  60. package/src/assets/scss/extracting_data.scss +35 -0
  61. package/src/assets/scss/imports.scss +1 -0
  62. package/src/assets/scss/main.scss +24 -0
  63. package/src/assets/scss/multi_ann_table_popup.scss +12 -0
  64. package/src/assets/scss/new_annotation.scss +86 -0
  65. package/src/assets/scss/scrolling_document.scss +19 -0
  66. package/src/assets/scss/variables.scss +696 -0
  67. package/src/components/App.vue +112 -0
  68. package/src/components/DocumentAnnotations/ActionButtons.vue +237 -0
  69. package/src/components/DocumentAnnotations/AnnotationContent.vue +249 -0
  70. package/src/components/DocumentAnnotations/AnnotationDetails.vue +292 -0
  71. package/src/components/DocumentAnnotations/AnnotationRow.vue +616 -0
  72. package/src/components/DocumentAnnotations/CategorizeModal.vue +159 -0
  73. package/src/components/DocumentAnnotations/ChooseLabelSetModal.vue +155 -0
  74. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +502 -0
  75. package/src/components/DocumentAnnotations/DocumentLabel.vue +148 -0
  76. package/src/components/DocumentAnnotations/EmptyAnnotation.vue +222 -0
  77. package/src/components/DocumentAnnotations/EmptyState.vue +21 -0
  78. package/src/components/DocumentAnnotations/ExtractingData.vue +29 -0
  79. package/src/components/DocumentAnnotations/LoadingAnnotations.vue +43 -0
  80. package/src/components/DocumentAnnotations/LoadingLabels.vue +43 -0
  81. package/src/components/DocumentAnnotations/RejectedLabels.vue +96 -0
  82. package/src/components/DocumentAnnotations/index.js +8 -0
  83. package/src/components/DocumentCategory.vue +156 -0
  84. package/src/components/DocumentDashboard.vue +159 -0
  85. package/src/components/DocumentEdit/DocumentEdit.vue +279 -0
  86. package/src/components/DocumentEdit/EditPages.vue +213 -0
  87. package/src/components/DocumentEdit/EditSidebar.vue +118 -0
  88. package/src/components/DocumentEdit/SplitOverview.vue +182 -0
  89. package/src/components/DocumentEdit/index.js +4 -0
  90. package/src/components/DocumentError.vue +53 -0
  91. package/src/components/DocumentPage/ActionBar.vue +48 -0
  92. package/src/components/DocumentPage/BoxSelection.vue +149 -0
  93. package/src/components/DocumentPage/DocumentPage.vue +517 -0
  94. package/src/components/DocumentPage/DocumentToolbar.vue +145 -0
  95. package/src/components/DocumentPage/DummyPage.vue +53 -0
  96. package/src/components/DocumentPage/MultiAnnSelection.vue +302 -0
  97. package/src/components/DocumentPage/MultiAnnotationTablePopup.vue +253 -0
  98. package/src/components/DocumentPage/NewAnnotation.vue +283 -0
  99. package/src/components/DocumentPage/ScrollingDocument.vue +108 -0
  100. package/src/components/DocumentPage/ScrollingPage.vue +184 -0
  101. package/src/components/DocumentPage/index.js +5 -0
  102. package/src/components/DocumentThumbnails/DocumentThumbnails.vue +92 -0
  103. package/src/components/DocumentThumbnails/LoadingThumbnail.vue +25 -0
  104. package/src/components/DocumentThumbnails/index.js +1 -0
  105. package/src/components/DocumentTopBar/DocumentDatasetStatus.vue +103 -0
  106. package/src/components/DocumentTopBar/DocumentHandover.vue +202 -0
  107. package/src/components/DocumentTopBar/DocumentName.vue +224 -0
  108. package/src/components/DocumentTopBar/DocumentTopBar.vue +144 -0
  109. package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +148 -0
  110. package/src/components/DocumentTopBar/KeyboardActionsDescription.vue +71 -0
  111. package/src/components/DocumentTopBar/index.js +5 -0
  112. package/src/components/DocumentsList/DocumentsList.vue +126 -0
  113. package/src/components/DocumentsList/index.js +1 -0
  114. package/src/components/ErrorMessage.vue +40 -0
  115. package/src/components/NotOptimizedViewportModal.vue +54 -0
  116. package/src/constants.js +4 -0
  117. package/src/directives/scroll.js +28 -0
  118. package/src/i18n.js +23 -0
  119. package/src/locales/de.json +114 -0
  120. package/src/locales/en.json +114 -0
  121. package/src/locales/es.json +113 -0
  122. package/src/main.js +87 -0
  123. package/src/store/category.js +193 -0
  124. package/src/store/display.js +238 -0
  125. package/src/store/document.js +1057 -0
  126. package/src/store/edit.js +210 -0
  127. package/src/store/index.js +22 -0
  128. package/src/store/project.js +95 -0
  129. package/src/store/selection.js +179 -0
  130. package/src/utils/utils.js +3 -0
  131. package/vue.config.js +13 -0
@@ -0,0 +1,696 @@
1
+ /* Theme */
2
+
3
+ $konfuzio-green: #41af85;
4
+ $green: #4bb543;
5
+ $green-low-opacity: rgba(75, 181, 67, 0.11);
6
+ $green-border: #67d19f;
7
+ $green-hover-background: rgba(18, 183, 106, 0.05);
8
+ $darker-green: #3a9c76;
9
+ $dark-green-hover: #0c4b33;
10
+ $primary-low-opacity: rgba(52, 171, 125, 0.16);
11
+
12
+ $red: #e7423a;
13
+ $low-opacity-red: rgba(231, 66, 58, 0.08);
14
+ $lightest-red: #fdf4f6;
15
+ $error-background: #d4453d;
16
+
17
+ $grey-dark: #344054;
18
+ $grey: #798190;
19
+ $grey-low-opacity: rgba(133, 140, 154, 0.4);
20
+ $grey-lighter-low-opacity: rgba(223, 224, 228, 0.5);
21
+ $grey-lightest: #f0f0f0;
22
+ $grey-outline: #d0d5dd;
23
+ $grey-detail: #dfe0e4;
24
+ $subtle-grey: #f2f4f7;
25
+ $subtlest-grey: #e3e4e5;
26
+ $grey-darker: #101828;
27
+ $grey-hover: #fafafa;
28
+ $grey-blue: #667085;
29
+ $detail: #e2e3e4;
30
+
31
+ $dark: #2f3032;
32
+ $full-black: #000;
33
+
34
+ $white: #fff;
35
+ $low-opacity-white: rgba(255, 255, 255, 0.1);
36
+
37
+ $yellow: #ffd600;
38
+ $warning-yellow: #fec84b;
39
+
40
+ $blue: #2f80ed;
41
+ $dark-blue: #2b3545;
42
+
43
+ :root {
44
+ --font-family: #{"Inter", sans-serif};
45
+ --background-color: #{$white};
46
+ --primary-color: #{$konfuzio-green};
47
+ --primary-hover: #{$dark-green-hover};
48
+ --toolbar-color: #{$dark-blue};
49
+ --toolbar-elements: #{$white};
50
+ --tooltip-color: #{$dark};
51
+ --error-background: #{$error-background};
52
+ --error-text: #{$white};
53
+ }
54
+
55
+ $font-family: var(--font-family);
56
+ $background: var(--background-color);
57
+ $toolbar: var(--toolbar-color);
58
+ $primary: var(--primary-color);
59
+ $primary-dark: var(--primary-hover);
60
+ $tooltip: var(--tooltip-color);
61
+ $toolbar-elements: var(--toolbar-elements);
62
+
63
+ $link: $primary;
64
+ $info: $blue;
65
+ $danger: $red;
66
+ $warning: $warning-yellow;
67
+ $success: $green;
68
+ $text: $grey-dark;
69
+ $text-strong: $dark;
70
+ $text-lighter: $grey;
71
+ $black: $dark;
72
+
73
+ $input-shadow: none;
74
+ $top-bar-height: 56px;
75
+ $component-border: 1px solid $detail;
76
+
77
+ button {
78
+ &.is-primary {
79
+ background-color: $primary !important;
80
+ color: $white !important;
81
+
82
+ &:hover:enabled {
83
+ background-color: $primary-dark !important;
84
+ }
85
+
86
+ &:disabled {
87
+ background-color: $grey;
88
+ }
89
+ }
90
+
91
+ &.reject-decline-btn {
92
+ font-size: 14px;
93
+ color: $grey-blue !important;
94
+ font-weight: 500;
95
+ background-color: transparent;
96
+ width: auto;
97
+
98
+ &:not([disabled]) {
99
+ &:hover {
100
+ text-decoration: none;
101
+ color: $dark-blue !important;
102
+ }
103
+ }
104
+
105
+ &:focus {
106
+ box-shadow: none;
107
+ }
108
+ }
109
+
110
+ &:not(.is-text, .is-primary, .reject-btn) {
111
+ background-color: $white;
112
+ color: $dark-blue;
113
+ }
114
+
115
+ &.is-text {
116
+ text-decoration: none;
117
+
118
+ &:hover {
119
+ background-color: transparent;
120
+ }
121
+ }
122
+
123
+ &.annotation-cancel-btn {
124
+ .icon {
125
+ svg {
126
+ width: 15px !important;
127
+ height: 15px !important;
128
+ }
129
+ }
130
+ }
131
+
132
+ &.accept-all-btn {
133
+ padding-left: 4px;
134
+ padding-right: 4px;
135
+ }
136
+
137
+ &.reject-all-btn {
138
+ padding-right: 4px;
139
+ }
140
+
141
+ &.action-bar-save-btn {
142
+ border-radius: 20px;
143
+ height: 32px;
144
+ padding: 6px 12px 6px 12px !important;
145
+ font-size: 14px;
146
+ font-weight: 500;
147
+ }
148
+
149
+ &.finish-review-btn {
150
+ border-radius: 4px;
151
+ margin-right: 2px;
152
+
153
+ &:focus {
154
+ box-shadow: none;
155
+ outline: 3px solid $grey-dark;
156
+ border: 2px solid;
157
+ margin-right: 1px;
158
+ }
159
+
160
+ .spinner {
161
+ margin: auto !important;
162
+ }
163
+ }
164
+
165
+ &.rotate-button[disabled] {
166
+ border: 1px solid $detail;
167
+ }
168
+
169
+ &[disabled] {
170
+ border: none;
171
+
172
+ &:hover {
173
+ text-decoration: none;
174
+ }
175
+ }
176
+ }
177
+
178
+ .carousel-list {
179
+ &.has-shadow {
180
+ box-shadow: none !important;
181
+ }
182
+
183
+ .carousel-slides .carousel-slide {
184
+ border: none !important;
185
+ }
186
+
187
+ .carousel-arrow {
188
+ .icon {
189
+ color: $primary;
190
+
191
+ &:hover {
192
+ border: 1px solid $primary;
193
+ }
194
+
195
+ svg {
196
+ height: 100%;
197
+ }
198
+ }
199
+ }
200
+ }
201
+
202
+ .error-message {
203
+ position: absolute;
204
+ width: 100%;
205
+
206
+ .message {
207
+ padding: 0;
208
+ }
209
+
210
+ .message-body {
211
+ background-color: var(--error-background);
212
+ color: var(--error-text);
213
+ font-size: 14px;
214
+ border: 0;
215
+ border-radius: 0%;
216
+ line-height: 20px;
217
+ padding: 7px 0 7px 0;
218
+ }
219
+
220
+ .media-content {
221
+ display: flex;
222
+ justify-content: flex-end;
223
+ }
224
+
225
+ .message-container {
226
+ display: flex;
227
+ width: 100%;
228
+ justify-content: center;
229
+ align-items: center;
230
+
231
+ .server-error {
232
+ display: flex;
233
+
234
+ .contact-support {
235
+ text-decoration: underline;
236
+ font-weight: 600;
237
+ display: flex;
238
+ align-items: center;
239
+ padding-left: 5px;
240
+
241
+ .icon {
242
+ padding-left: 10px;
243
+ }
244
+
245
+ &:hover {
246
+ cursor: pointer;
247
+ }
248
+ }
249
+ }
250
+ }
251
+
252
+ .btn-container {
253
+ cursor: pointer;
254
+ display: flex;
255
+ align-items: center;
256
+ }
257
+
258
+ &.handover {
259
+ position: relative;
260
+ margin-right: 15px;
261
+ margin-left: 15px;
262
+ margin-top: 7px;
263
+ width: auto;
264
+
265
+ .message {
266
+ display: flex;
267
+ }
268
+
269
+ .message-body {
270
+ border-radius: 4px;
271
+ border: 1px solid $red;
272
+ background-color: $lightest-red !important;
273
+ color: $red;
274
+ width: 100%;
275
+ }
276
+
277
+ .media-content {
278
+ margin: 0px 10px 0px 10px !important;
279
+ }
280
+
281
+ .message-container {
282
+ justify-content: flex-start !important;
283
+ text-align: left;
284
+ }
285
+ }
286
+ }
287
+
288
+ .message {
289
+ &.label-message {
290
+ .message-body {
291
+ padding: 5px 15px 5px 15px !important;
292
+ }
293
+ }
294
+ }
295
+
296
+ .dropdown {
297
+ height: 100%;
298
+
299
+ &.no-padding-bottom {
300
+ .dropdown-content {
301
+ padding-bottom: 0;
302
+ }
303
+ }
304
+
305
+ &.no-padding-top {
306
+ .dropdown-content {
307
+ padding-top: 0;
308
+ }
309
+ }
310
+
311
+ + .dropdown {
312
+ margin-left: 0;
313
+ }
314
+
315
+ .dropdown-trigger {
316
+ justify-content: space-between;
317
+ width: 100%;
318
+ }
319
+
320
+ .dropdown-menu {
321
+ padding-top: 0px;
322
+ }
323
+
324
+ a.dropdown-item.is-active {
325
+ background-color: $primary;
326
+ }
327
+
328
+ &.dropdown-menu-animation {
329
+ a.navbar-item {
330
+ color: $dark-blue;
331
+ font-size: 16px;
332
+ line-height: 24px;
333
+
334
+ &:hover {
335
+ color: $primary;
336
+ background: none;
337
+ border: none;
338
+ }
339
+ }
340
+
341
+ &.label-dropdown {
342
+ width: 100%;
343
+ }
344
+ }
345
+ }
346
+
347
+ .b-checkbox.checkbox {
348
+ &:hover input[type="checkbox"]:not(:disabled) + .check {
349
+ border-color: $primary !important;
350
+ }
351
+
352
+ input[type="checkbox"]:checked + .check {
353
+ border-color: $primary !important;
354
+ background-color: $primary;
355
+ }
356
+ }
357
+
358
+ .modal {
359
+ z-index: 999;
360
+
361
+ &.modal-text-center {
362
+ text-align: center;
363
+ }
364
+
365
+ &.modal-400 {
366
+ .modal-content {
367
+ max-width: 400px !important;
368
+ }
369
+ }
370
+
371
+ &.is-active {
372
+ &.modal-no-footer {
373
+ .modal-content {
374
+ .modal-card-body {
375
+ border-radius: 16px 16px 16px 16px !important;
376
+ }
377
+ }
378
+ }
379
+
380
+ .modal-content {
381
+ height: auto;
382
+ margin-left: auto;
383
+ margin-right: auto;
384
+ position: relative;
385
+
386
+ .modal-close {
387
+ position: absolute;
388
+ top: 14px;
389
+
390
+ &::before,
391
+ &::after {
392
+ background-color: $grey;
393
+ }
394
+
395
+ &:hover {
396
+ background-color: $white;
397
+ }
398
+ }
399
+
400
+ .modal-card-body {
401
+ background: $white;
402
+ border-radius: 16px 16px 0 0 !important;
403
+ }
404
+
405
+ .modal-card-foot {
406
+ display: flex;
407
+ justify-content: center;
408
+ border: none;
409
+ background: $white;
410
+ border-radius: 0 0 16px 16px;
411
+ }
412
+ }
413
+ }
414
+
415
+ &.modal-absolute {
416
+ position: absolute;
417
+ }
418
+
419
+ .modal-background {
420
+ background-color: $full-black;
421
+ opacity: 0.5;
422
+ }
423
+ }
424
+
425
+ .invisible-parent-modal {
426
+ background-color: transparent;
427
+
428
+ .modal-content {
429
+ height: 100vh !important;
430
+ top: 25%;
431
+
432
+ .modal-card-body {
433
+ overflow: visible;
434
+ }
435
+ }
436
+ }
437
+
438
+ .loading-background {
439
+ background-color: transparent !important;
440
+ }
441
+
442
+ .loading-icon-size {
443
+ width: 13px;
444
+ height: 13px;
445
+ }
446
+
447
+ .notices {
448
+ .snackbar {
449
+ background-color: $dark-blue;
450
+ min-height: 40px;
451
+
452
+ .text {
453
+ display: flex;
454
+ font-size: 14px;
455
+ }
456
+ }
457
+ }
458
+
459
+ .label-action-btn {
460
+ .dropdown-trigger {
461
+ width: 100%;
462
+ display: flex;
463
+ justify-content: center;
464
+ }
465
+ }
466
+
467
+ .slide-fade-enter-active {
468
+ transition: all 0.3s ease;
469
+ }
470
+
471
+ .slide-fade-leave-active {
472
+ transition: all 0.3s ease;
473
+ }
474
+
475
+ .slide-fade-enter,
476
+ .slide-fade-leave-to {
477
+ transform: translateY(-10px);
478
+ opacity: 0;
479
+ }
480
+
481
+ .b-tooltip {
482
+ &.left-aligned {
483
+ .tooltip-content {
484
+ left: 10px !important;
485
+ transform: none !important;
486
+ padding: 8px 10px !important;
487
+
488
+ &::before {
489
+ left: 16px !important;
490
+ right: auto !important;
491
+ }
492
+ }
493
+ }
494
+
495
+ &.right-aligned {
496
+ .tooltip-content {
497
+ right: -20px !important;
498
+ left: auto !important;
499
+ transform: none !important;
500
+ padding: 8px 10px !important;
501
+
502
+ &::before {
503
+ right: 16px !important;
504
+ left: auto !important;
505
+ }
506
+ }
507
+ }
508
+
509
+ &.width-184 {
510
+ .tooltip-content {
511
+ width: 184px !important;
512
+ }
513
+ }
514
+
515
+ &.left-down-aligned {
516
+ .tooltip-content {
517
+ font-size: 14px;
518
+ padding: 12px 12px;
519
+ top: 45px;
520
+ background-color: $dark-blue;
521
+ border-radius: 4px !important;
522
+
523
+ &::before {
524
+ top: 17px;
525
+ border-left-color: $dark-blue !important;
526
+ }
527
+ }
528
+ }
529
+ }
530
+
531
+ .rejected-tag-container {
532
+ .tags {
533
+ margin: 0 !important;
534
+
535
+ .tag {
536
+ margin-bottom: 0 !important;
537
+ color: $dark;
538
+ font-weight: 400;
539
+ background-color: $detail;
540
+ border-style: none !important;
541
+
542
+ &:hover {
543
+ background-color: $detail !important;
544
+ }
545
+
546
+ &.is-delete {
547
+ cursor: pointer;
548
+
549
+ &::before {
550
+ height: 1.5px;
551
+ border-radius: 4px;
552
+ }
553
+
554
+ &::after {
555
+ width: 1.5px;
556
+ border-radius: 4px;
557
+ }
558
+ }
559
+ }
560
+
561
+ &.loading-active {
562
+ .is-delete {
563
+ display: none !important;
564
+ }
565
+
566
+ .tag {
567
+ border-radius: 4px;
568
+ }
569
+ }
570
+ }
571
+ }
572
+
573
+ .no-icon-margin .icon {
574
+ margin: 0 !important;
575
+ }
576
+
577
+ .icon.is-small,
578
+ .button .icon.is-small {
579
+ width: 14px;
580
+ height: 14px;
581
+
582
+ svg {
583
+ width: 14px;
584
+ height: 14px;
585
+ }
586
+
587
+ &.caret {
588
+ svg {
589
+ height: 12px;
590
+ }
591
+
592
+ &.split-mode-caret {
593
+ svg {
594
+ color: $grey;
595
+ }
596
+ }
597
+ }
598
+
599
+ &.close-btn {
600
+ width: 10px;
601
+ height: 10px;
602
+
603
+ &.error-icon {
604
+ color: $white;
605
+ padding-right: 20px;
606
+ padding-left: 20px;
607
+
608
+ svg {
609
+ height: 15px !important;
610
+ }
611
+ }
612
+ }
613
+ }
614
+
615
+ .dropdown {
616
+ &.split-mode {
617
+ .dropdown-trigger {
618
+ font-size: 14px;
619
+ }
620
+ }
621
+
622
+ &.width-12 {
623
+ .dropdown-trigger {
624
+ width: 12px;
625
+ }
626
+ }
627
+
628
+ .dropdown-trigger {
629
+ height: 100%;
630
+ display: flex;
631
+ justify-content: center;
632
+ align-items: center;
633
+ }
634
+ }
635
+
636
+ .b-table {
637
+ &.full-height {
638
+ height: 100%;
639
+ .table-wrapper {
640
+ height: 100%;
641
+ .table {
642
+ height: 100%;
643
+ }
644
+ }
645
+ }
646
+ .table {
647
+ cursor: text;
648
+ thead {
649
+ background-color: #7b61ff;
650
+ font-weight: 500;
651
+ font-size: 10px;
652
+ line-height: 18px;
653
+ th {
654
+ .th-wrap {
655
+ text-transform: none;
656
+ .icon {
657
+ margin: 0;
658
+ }
659
+ }
660
+ background-color: #7b61ff;
661
+ color: white;
662
+ vertical-align: middle;
663
+ &[draggable="true"] {
664
+ cursor: move;
665
+ }
666
+ }
667
+ }
668
+ tbody {
669
+ background-color: rgba(123, 97, 255, 0.1);
670
+ font-weight: 500;
671
+ font-size: 10px;
672
+ line-height: 18px;
673
+ tr {
674
+ background-color: white;
675
+ color: black;
676
+ td {
677
+ &.has-text-centered {
678
+ vertical-align: middle;
679
+ }
680
+ }
681
+ }
682
+ }
683
+ &.is-striped {
684
+ tbody {
685
+ tr {
686
+ &:not(.is-selected) {
687
+ background-color: rgba(123, 97, 255, 0.1);
688
+ &:nth-child(even) {
689
+ background-color: rgba(123, 97, 255, 0.3);
690
+ }
691
+ }
692
+ }
693
+ }
694
+ }
695
+ }
696
+ }