@konfuzio/document-validation-ui 0.1.59-dev.3 → 0.1.60-dev.0
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/cypress.config.js +6 -6
- package/dist/css/app.css +1 -1
- package/dist/index.html +1 -1
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-vendors.js +23 -66
- package/dist/js/chunk-vendors.js.map +1 -1
- package/jest.config.js +2 -22
- package/package.json +38 -32
- package/src/api.js +12 -0
- package/src/assets/scss/ann_set_table_options.scss +4 -4
- package/src/assets/scss/annotation_action_buttons.scss +7 -7
- package/src/assets/scss/annotation_details.scss +9 -9
- package/src/assets/scss/choose_label_set_modal.scss +5 -5
- package/src/assets/scss/document_action_bar.scss +3 -3
- package/src/assets/scss/document_annotations.scss +43 -45
- package/src/assets/scss/document_category.scss +8 -8
- package/src/assets/scss/document_dashboard.scss +1 -1
- package/src/assets/scss/document_edit.scss +30 -30
- package/src/assets/scss/document_error.scss +6 -6
- package/src/assets/scss/document_name.scss +6 -6
- package/src/assets/scss/document_page.scss +3 -3
- package/src/assets/scss/document_search_bar.scss +7 -7
- package/src/assets/scss/document_set_chooser.scss +3 -3
- package/src/assets/scss/document_thumbnails.scss +7 -7
- package/src/assets/scss/document_toolbar.scss +10 -10
- package/src/assets/scss/document_top_bar.scss +11 -11
- package/src/assets/scss/document_viewport_modal.scss +3 -3
- package/src/assets/scss/documents_list.scss +12 -11
- package/src/assets/scss/edit_page_thumbnail.scss +6 -6
- package/src/assets/scss/empty_state.scss +4 -4
- package/src/assets/scss/error_page.scss +2 -2
- package/src/assets/scss/extracting_data.scss +3 -3
- package/src/assets/scss/imports.scss +1 -0
- package/src/assets/scss/multi_ann_table_overlay.scss +3 -3
- package/src/assets/scss/multi_ann_table_popup.scss +1 -1
- package/src/assets/scss/new_annotation.scss +19 -25
- package/src/assets/scss/scrolling_document.scss +1 -1
- package/src/assets/scss/theme.scss +52 -64
- package/src/assets/scss/variables.scss +0 -2
- package/src/components/App.vue +14 -9
- package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +6 -4
- package/src/components/DocumentAnnotations/AnnotationContent.vue +52 -25
- package/src/components/DocumentAnnotations/AnnotationRow.vue +50 -106
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +6 -12
- package/src/components/DocumentAnnotations/EmptyAnnotation.vue +70 -31
- package/src/components/DocumentDashboard.vue +17 -12
- package/src/components/DocumentEdit/EditPages.vue +46 -51
- package/src/components/DocumentPage/BoxSelection.vue +49 -16
- package/src/components/DocumentPage/DocumentPage.vue +153 -56
- package/src/components/DocumentPage/DocumentToolbar.vue +15 -5
- package/src/components/DocumentPage/EditAnnotation.vue +372 -0
- package/src/components/DocumentPage/{AnnotationPopup.vue → NewAnnotation.vue} +94 -122
- package/src/components/DocumentPage/ScrollingPage.vue +10 -2
- package/src/components/DocumentThumbnails/LoadingThumbnail.vue +6 -3
- package/src/components/DocumentTopBar/DocumentTopBar.vue +2 -4
- package/src/constants.js +7 -1
- package/src/i18n.js +5 -2
- package/src/main.js +16 -14
- package/src/store/display.js +24 -38
- package/src/store/document.js +6 -1
- package/src/store/index.js +8 -5
- package/src/store/selection.js +76 -152
- package/src/components/DocumentPage/PlaceholderSelection.vue +0 -51
- package/src/components/DocumentPage/SpanSelection.vue +0 -259
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.edit-page-thumbnail {
|
|
4
4
|
width: 80px;
|
|
@@ -20,27 +20,27 @@
|
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
align-items: center;
|
|
23
|
-
border:
|
|
23
|
+
border: $component-border;
|
|
24
24
|
border-radius: 2px;
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
position: relative;
|
|
27
27
|
|
|
28
28
|
&.visible {
|
|
29
|
-
border: 1px solid
|
|
29
|
+
border: 1px solid $text-color;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&.selected {
|
|
33
|
-
border: 2px solid
|
|
33
|
+
border: 2px solid $primary;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.action-icon {
|
|
37
37
|
position: absolute;
|
|
38
|
-
background-color:
|
|
38
|
+
background-color: $text-color;
|
|
39
39
|
left: 0;
|
|
40
40
|
bottom: 0;
|
|
41
41
|
width: 22px;
|
|
42
42
|
height: 22px;
|
|
43
|
-
color:
|
|
43
|
+
color: $white;
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.empty-container {
|
|
4
4
|
width: 100%;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
justify-content: flex-start;
|
|
9
|
-
font-family:
|
|
9
|
+
font-family: $font-family;
|
|
10
10
|
|
|
11
11
|
svg {
|
|
12
12
|
align-self: center;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.title {
|
|
19
19
|
font-size: 16px;
|
|
20
|
-
color:
|
|
20
|
+
color: $text;
|
|
21
21
|
font-weight: 500;
|
|
22
22
|
text-align: center;
|
|
23
23
|
margin: 0;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.description {
|
|
27
27
|
font-size: 14px;
|
|
28
28
|
line-height: 20px;
|
|
29
|
-
color:
|
|
29
|
+
color: $text-lighter;
|
|
30
30
|
font-weight: 400;
|
|
31
31
|
text-align: center;
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.data-extraction-container {
|
|
4
4
|
display: flex;
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
font-size: 16px;
|
|
23
23
|
font-weight: 500;
|
|
24
24
|
line-height: 24px;
|
|
25
|
-
color:
|
|
25
|
+
color: $text-color;
|
|
26
26
|
margin-bottom: 3px;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.description {
|
|
30
30
|
font-size: 14px;
|
|
31
31
|
line-height: 20px;
|
|
32
|
-
color:
|
|
32
|
+
color: $grey;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./variables.scss";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.multi-ann-table-overlay {
|
|
4
4
|
position: absolute;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
height: fit-content;
|
|
7
7
|
z-index: 40;
|
|
8
8
|
width: 100%;
|
|
9
|
-
background-color:
|
|
9
|
+
background-color: $background;
|
|
10
10
|
|
|
11
11
|
.multi-ann-set-table {
|
|
12
12
|
padding-bottom: 6px;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.delete-action {
|
|
28
|
-
color:
|
|
28
|
+
color: $red;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.annotation-popup {
|
|
4
4
|
border-radius: 12px;
|
|
5
|
-
background-color:
|
|
5
|
+
background-color: $text-color;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
gap: 8px;
|
|
9
9
|
position: absolute;
|
|
10
10
|
width: 205px;
|
|
11
|
+
height: 192px;
|
|
11
12
|
z-index: 40;
|
|
12
|
-
color:
|
|
13
|
+
color: $white;
|
|
13
14
|
padding: 8px;
|
|
14
15
|
cursor: default;
|
|
15
16
|
|
|
17
|
+
&.small {
|
|
18
|
+
height: 142px;
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
.popup-input {
|
|
17
|
-
background-color:
|
|
18
|
-
color:
|
|
22
|
+
background-color: $text-color;
|
|
23
|
+
color: $white;
|
|
19
24
|
font-size: 14px;
|
|
20
25
|
font-weight: 400;
|
|
21
26
|
line-height: 20px;
|
|
@@ -23,24 +28,13 @@
|
|
|
23
28
|
box-shadow: none;
|
|
24
29
|
padding: 8px;
|
|
25
30
|
border-radius: 12px;
|
|
26
|
-
border: 1px solid
|
|
31
|
+
border: 1px solid $grey-low-opacity;
|
|
27
32
|
width: 100%;
|
|
28
33
|
justify-content: space-between;
|
|
29
34
|
position: relative;
|
|
30
35
|
text-wrap: wrap;
|
|
31
36
|
text-align: left;
|
|
32
37
|
|
|
33
|
-
> span {
|
|
34
|
-
white-space: nowrap;
|
|
35
|
-
width: 100%;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
margin-right: 24px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.spinner {
|
|
41
|
-
width: fit-content;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
38
|
.caret-icon {
|
|
45
39
|
position: absolute;
|
|
46
40
|
right: 18px;
|
|
@@ -49,16 +43,16 @@
|
|
|
49
43
|
}
|
|
50
44
|
|
|
51
45
|
.not-selected {
|
|
52
|
-
color:
|
|
46
|
+
color: $grey-detail;
|
|
53
47
|
}
|
|
54
48
|
|
|
55
49
|
.add-ann-set {
|
|
56
50
|
&.has-border {
|
|
57
|
-
border-top: 1px solid
|
|
51
|
+
border-top: 1px solid $grey-detail;
|
|
58
52
|
}
|
|
59
53
|
|
|
60
54
|
width: 100%;
|
|
61
|
-
color:
|
|
55
|
+
color: $primary !important;
|
|
62
56
|
font-size: 14px;
|
|
63
57
|
line-height: 24px;
|
|
64
58
|
font-weight: 500;
|
|
@@ -74,11 +68,11 @@
|
|
|
74
68
|
|
|
75
69
|
.annotation-dropdown {
|
|
76
70
|
border-radius: 12px;
|
|
77
|
-
border: 1px solid
|
|
71
|
+
border: 1px solid $grey-low-opacity !important;
|
|
78
72
|
|
|
79
73
|
.button.is-text {
|
|
80
74
|
box-shadow: none !important;
|
|
81
|
-
color:
|
|
75
|
+
color: $white !important;
|
|
82
76
|
background-color: transparent !important;
|
|
83
77
|
text-decoration: none;
|
|
84
78
|
}
|
|
@@ -91,15 +85,15 @@
|
|
|
91
85
|
gap: 2px;
|
|
92
86
|
|
|
93
87
|
.button.is-text {
|
|
94
|
-
color:
|
|
88
|
+
color: $white !important;
|
|
95
89
|
text-decoration: none;
|
|
96
90
|
}
|
|
97
91
|
|
|
98
92
|
.cancel-button {
|
|
99
|
-
color:
|
|
93
|
+
color: $white;
|
|
100
94
|
|
|
101
95
|
&:hover {
|
|
102
|
-
border: 1px solid
|
|
96
|
+
border: 1px solid $grey-low-opacity;
|
|
103
97
|
background: transparent;
|
|
104
98
|
}
|
|
105
99
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
@use "variables";
|
|
2
|
-
|
|
3
1
|
@use "sass:meta";
|
|
4
2
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
|
|
5
|
-
@
|
|
3
|
+
@import "./imports.scss";
|
|
6
4
|
|
|
7
5
|
:root {
|
|
8
6
|
--konfuzio-green: #41af85;
|
|
@@ -32,7 +30,8 @@
|
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
.dv-ui-theme {
|
|
35
|
-
|
|
33
|
+
@include meta.load-css("../../../node_modules/buefy/dist/buefy.css");
|
|
34
|
+
font-family: $font-family;
|
|
36
35
|
|
|
37
36
|
-webkit-font-smoothing: antialiased;
|
|
38
37
|
text-rendering: optimizeLegibility;
|
|
@@ -42,34 +41,30 @@
|
|
|
42
41
|
text-size-adjust: 100%;
|
|
43
42
|
box-sizing: border-box;
|
|
44
43
|
|
|
45
|
-
& {
|
|
46
|
-
@include meta.load-css("../../../node_modules/buefy/dist/buefy.css");
|
|
47
|
-
}
|
|
48
|
-
|
|
49
44
|
h1 {
|
|
50
45
|
font-size: 48px;
|
|
51
|
-
color:
|
|
46
|
+
color: $text-color;
|
|
52
47
|
}
|
|
53
48
|
h2 {
|
|
54
49
|
font-size: 24px;
|
|
55
|
-
color:
|
|
50
|
+
color: $text-color;
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
a {
|
|
59
|
-
color:
|
|
54
|
+
color: $primary;
|
|
60
55
|
}
|
|
61
56
|
|
|
62
57
|
button {
|
|
63
58
|
&.is-primary {
|
|
64
|
-
background-color:
|
|
65
|
-
color:
|
|
59
|
+
background-color: $primary !important;
|
|
60
|
+
color: $white !important;
|
|
66
61
|
|
|
67
62
|
&:hover:enabled {
|
|
68
|
-
filter:
|
|
63
|
+
filter: $hover-style;
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
&:disabled {
|
|
72
|
-
background-color:
|
|
67
|
+
background-color: $grey;
|
|
73
68
|
}
|
|
74
69
|
}
|
|
75
70
|
|
|
@@ -78,7 +73,7 @@
|
|
|
78
73
|
|
|
79
74
|
&:focus {
|
|
80
75
|
box-shadow: none;
|
|
81
|
-
outline: 3px solid
|
|
76
|
+
outline: 3px solid $grey-dark;
|
|
82
77
|
border: 2px solid;
|
|
83
78
|
margin-right: 1px;
|
|
84
79
|
}
|
|
@@ -89,7 +84,7 @@
|
|
|
89
84
|
}
|
|
90
85
|
|
|
91
86
|
&.edit-mode-btn[disabled] {
|
|
92
|
-
border: 1px solid
|
|
87
|
+
border: 1px solid $detail;
|
|
93
88
|
}
|
|
94
89
|
|
|
95
90
|
&[disabled] {
|
|
@@ -147,7 +142,7 @@
|
|
|
147
142
|
.b-slider-thumb-wrapper {
|
|
148
143
|
.tooltip-trigger {
|
|
149
144
|
.b-slider-thumb {
|
|
150
|
-
background-color:
|
|
145
|
+
background-color: $grey-lightest;
|
|
151
146
|
background-image: none;
|
|
152
147
|
}
|
|
153
148
|
}
|
|
@@ -166,7 +161,7 @@
|
|
|
166
161
|
}
|
|
167
162
|
.b-slider-track {
|
|
168
163
|
cursor: col-resize;
|
|
169
|
-
color:
|
|
164
|
+
color: $white;
|
|
170
165
|
background: transparent !important;
|
|
171
166
|
}
|
|
172
167
|
.b-slider-fill {
|
|
@@ -199,10 +194,10 @@
|
|
|
199
194
|
|
|
200
195
|
.carousel-arrow {
|
|
201
196
|
.icon {
|
|
202
|
-
color:
|
|
197
|
+
color: $primary;
|
|
203
198
|
|
|
204
199
|
&:hover {
|
|
205
|
-
border: 1px solid
|
|
200
|
+
border: 1px solid $primary;
|
|
206
201
|
}
|
|
207
202
|
|
|
208
203
|
svg {
|
|
@@ -221,8 +216,8 @@
|
|
|
221
216
|
}
|
|
222
217
|
|
|
223
218
|
.message-body {
|
|
224
|
-
background-color:
|
|
225
|
-
color:
|
|
219
|
+
background-color: $error-background;
|
|
220
|
+
color: $white;
|
|
226
221
|
font-size: 14px;
|
|
227
222
|
border: 0;
|
|
228
223
|
border-radius: 0%;
|
|
@@ -325,22 +320,22 @@
|
|
|
325
320
|
padding-right: 16px;
|
|
326
321
|
|
|
327
322
|
&.is-active {
|
|
328
|
-
background-color:
|
|
323
|
+
background-color: $primary;
|
|
329
324
|
}
|
|
330
325
|
|
|
331
326
|
&.is-disabled {
|
|
332
|
-
color:
|
|
327
|
+
color: $grey-blue !important;
|
|
333
328
|
}
|
|
334
329
|
}
|
|
335
330
|
|
|
336
331
|
&.dropdown-menu-animation {
|
|
337
332
|
a.navbar-item {
|
|
338
|
-
color:
|
|
333
|
+
color: $text-color;
|
|
339
334
|
font-size: 16px;
|
|
340
335
|
line-height: 24px;
|
|
341
336
|
|
|
342
337
|
&:hover {
|
|
343
|
-
color:
|
|
338
|
+
color: $primary;
|
|
344
339
|
background: none;
|
|
345
340
|
border: none;
|
|
346
341
|
}
|
|
@@ -354,7 +349,7 @@
|
|
|
354
349
|
.taginput-container {
|
|
355
350
|
&.is-focused {
|
|
356
351
|
box-shadow: none !important;
|
|
357
|
-
border-color:
|
|
352
|
+
border-color: $primary !important;
|
|
358
353
|
}
|
|
359
354
|
|
|
360
355
|
.tag {
|
|
@@ -365,7 +360,7 @@
|
|
|
365
360
|
input {
|
|
366
361
|
box-shadow: none !important;
|
|
367
362
|
&:focus {
|
|
368
|
-
border-color:
|
|
363
|
+
border-color: $primary;
|
|
369
364
|
}
|
|
370
365
|
}
|
|
371
366
|
.control.has-icons-left {
|
|
@@ -380,15 +375,15 @@
|
|
|
380
375
|
|
|
381
376
|
.b-checkbox.checkbox {
|
|
382
377
|
input[type="checkbox"] + .check {
|
|
383
|
-
background-color:
|
|
378
|
+
background-color: $white;
|
|
384
379
|
}
|
|
385
380
|
&:hover input[type="checkbox"]:not(:disabled) + .check {
|
|
386
|
-
border-color:
|
|
381
|
+
border-color: $primary !important;
|
|
387
382
|
}
|
|
388
383
|
|
|
389
384
|
input[type="checkbox"]:checked + .check {
|
|
390
|
-
border-color:
|
|
391
|
-
background-color:
|
|
385
|
+
border-color: $primary !important;
|
|
386
|
+
background-color: $primary;
|
|
392
387
|
}
|
|
393
388
|
}
|
|
394
389
|
|
|
@@ -451,16 +446,16 @@
|
|
|
451
446
|
|
|
452
447
|
&::before,
|
|
453
448
|
&::after {
|
|
454
|
-
background-color:
|
|
449
|
+
background-color: $grey;
|
|
455
450
|
}
|
|
456
451
|
|
|
457
452
|
&:hover {
|
|
458
|
-
background-color:
|
|
453
|
+
background-color: $white;
|
|
459
454
|
}
|
|
460
455
|
}
|
|
461
456
|
|
|
462
457
|
.modal-card-body {
|
|
463
|
-
background:
|
|
458
|
+
background: $white;
|
|
464
459
|
border-radius: 16px 16px 0 0 !important;
|
|
465
460
|
}
|
|
466
461
|
|
|
@@ -468,7 +463,7 @@
|
|
|
468
463
|
display: flex;
|
|
469
464
|
justify-content: center;
|
|
470
465
|
border: none;
|
|
471
|
-
background:
|
|
466
|
+
background: $white;
|
|
472
467
|
border-radius: 0 0 16px 16px;
|
|
473
468
|
}
|
|
474
469
|
}
|
|
@@ -479,7 +474,7 @@
|
|
|
479
474
|
}
|
|
480
475
|
|
|
481
476
|
.modal-background {
|
|
482
|
-
background-color:
|
|
477
|
+
background-color: $full-black;
|
|
483
478
|
opacity: 0.5;
|
|
484
479
|
}
|
|
485
480
|
|
|
@@ -501,7 +496,7 @@
|
|
|
501
496
|
text-align: left;
|
|
502
497
|
font-weight: 400;
|
|
503
498
|
font-size: 14px;
|
|
504
|
-
color:
|
|
499
|
+
color: $grey-blue;
|
|
505
500
|
}
|
|
506
501
|
|
|
507
502
|
.modal-card-foot {
|
|
@@ -552,7 +547,7 @@
|
|
|
552
547
|
|
|
553
548
|
.notices {
|
|
554
549
|
.snackbar {
|
|
555
|
-
background-color:
|
|
550
|
+
background-color: $text-color;
|
|
556
551
|
min-height: 40px;
|
|
557
552
|
|
|
558
553
|
.text {
|
|
@@ -581,15 +576,15 @@
|
|
|
581
576
|
align-items: center;
|
|
582
577
|
|
|
583
578
|
.tooltip-content {
|
|
584
|
-
background-color:
|
|
579
|
+
background-color: $text-color !important;
|
|
585
580
|
|
|
586
581
|
a {
|
|
587
|
-
color:
|
|
582
|
+
color: $white;
|
|
588
583
|
text-decoration: underline;
|
|
589
584
|
font-weight: 500;
|
|
590
585
|
}
|
|
591
586
|
&:before {
|
|
592
|
-
border-bottom-color:
|
|
587
|
+
border-bottom-color: $text-color !important;
|
|
593
588
|
}
|
|
594
589
|
}
|
|
595
590
|
|
|
@@ -602,8 +597,8 @@
|
|
|
602
597
|
&::before {
|
|
603
598
|
left: 16px !important;
|
|
604
599
|
right: auto !important;
|
|
605
|
-
border-top-color:
|
|
606
|
-
border-bottom-color:
|
|
600
|
+
border-top-color: $text-color !important;
|
|
601
|
+
border-bottom-color: $text-color !important;
|
|
607
602
|
}
|
|
608
603
|
}
|
|
609
604
|
}
|
|
@@ -618,7 +613,7 @@
|
|
|
618
613
|
&::before {
|
|
619
614
|
right: 16px !important;
|
|
620
615
|
left: auto !important;
|
|
621
|
-
border-bottom-color:
|
|
616
|
+
border-bottom-color: $text-color !important;
|
|
622
617
|
}
|
|
623
618
|
}
|
|
624
619
|
|
|
@@ -654,12 +649,12 @@
|
|
|
654
649
|
font-size: 14px;
|
|
655
650
|
padding: 12px 12px;
|
|
656
651
|
top: 45px;
|
|
657
|
-
background-color:
|
|
652
|
+
background-color: $text-color;
|
|
658
653
|
border-radius: 4px !important;
|
|
659
654
|
|
|
660
655
|
&::before {
|
|
661
656
|
top: 17px;
|
|
662
|
-
border-left-color:
|
|
657
|
+
border-left-color: $text-color !important;
|
|
663
658
|
}
|
|
664
659
|
}
|
|
665
660
|
}
|
|
@@ -669,7 +664,7 @@
|
|
|
669
664
|
|
|
670
665
|
.tooltip-content {
|
|
671
666
|
&::before {
|
|
672
|
-
border-bottom-color:
|
|
667
|
+
border-bottom-color: $text-color !important;
|
|
673
668
|
}
|
|
674
669
|
}
|
|
675
670
|
}
|
|
@@ -677,7 +672,7 @@
|
|
|
677
672
|
&.top-aligned {
|
|
678
673
|
.tooltip-content {
|
|
679
674
|
&::before {
|
|
680
|
-
border-top-color:
|
|
675
|
+
border-top-color: $text-color !important;
|
|
681
676
|
}
|
|
682
677
|
}
|
|
683
678
|
}
|
|
@@ -745,7 +740,7 @@
|
|
|
745
740
|
|
|
746
741
|
&.split-mode-caret {
|
|
747
742
|
svg {
|
|
748
|
-
color:
|
|
743
|
+
color: $grey;
|
|
749
744
|
}
|
|
750
745
|
}
|
|
751
746
|
}
|
|
@@ -755,7 +750,7 @@
|
|
|
755
750
|
height: 10px;
|
|
756
751
|
|
|
757
752
|
&.error-icon {
|
|
758
|
-
color:
|
|
753
|
+
color: $white;
|
|
759
754
|
padding-right: 20px;
|
|
760
755
|
padding-left: 20px;
|
|
761
756
|
|
|
@@ -809,10 +804,10 @@
|
|
|
809
804
|
&.dark-header {
|
|
810
805
|
.table {
|
|
811
806
|
thead {
|
|
812
|
-
background-color:
|
|
807
|
+
background-color: $black !important;
|
|
813
808
|
th {
|
|
814
809
|
font-weight: 400;
|
|
815
|
-
background-color:
|
|
810
|
+
background-color: $black !important;
|
|
816
811
|
}
|
|
817
812
|
}
|
|
818
813
|
}
|
|
@@ -832,7 +827,7 @@
|
|
|
832
827
|
}
|
|
833
828
|
cursor: text;
|
|
834
829
|
thead {
|
|
835
|
-
background-color:
|
|
830
|
+
background-color: $purple !important;
|
|
836
831
|
th {
|
|
837
832
|
font-weight: 500;
|
|
838
833
|
font-size: 10px;
|
|
@@ -843,7 +838,7 @@
|
|
|
843
838
|
margin: 0;
|
|
844
839
|
}
|
|
845
840
|
}
|
|
846
|
-
background-color:
|
|
841
|
+
background-color: $purple !important;
|
|
847
842
|
color: white !important;
|
|
848
843
|
vertical-align: middle;
|
|
849
844
|
&[draggable="true"] {
|
|
@@ -885,7 +880,7 @@
|
|
|
885
880
|
.switch {
|
|
886
881
|
input[type="checkbox"] {
|
|
887
882
|
&:checked + .check {
|
|
888
|
-
background:
|
|
883
|
+
background: $primary !important;
|
|
889
884
|
box-shadow: none !important;
|
|
890
885
|
}
|
|
891
886
|
|
|
@@ -906,11 +901,4 @@
|
|
|
906
901
|
}
|
|
907
902
|
}
|
|
908
903
|
}
|
|
909
|
-
.splitpanes--vertical > .splitpanes__splitter {
|
|
910
|
-
background: variables.$grey-lighter-low-opacity;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.splitpanes--horizontal > .splitpanes__splitter {
|
|
914
|
-
background: variables.$grey-lighter-low-opacity;
|
|
915
|
-
}
|
|
916
904
|
}
|
package/src/components/App.vue
CHANGED
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
import { Integrations } from "@sentry/tracing";
|
|
21
21
|
import API from "../api";
|
|
22
22
|
import { initKeycloak } from "../utils/keycloak";
|
|
23
|
-
import { debounce } from "../utils/utils";
|
|
24
23
|
|
|
25
24
|
export default {
|
|
26
25
|
name: "App",
|
|
@@ -430,14 +429,20 @@ export default {
|
|
|
430
429
|
this.$store.dispatch("document/fetchDocument");
|
|
431
430
|
});
|
|
432
431
|
|
|
433
|
-
//
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
432
|
+
// Add observer for class added to HTML tag when Buefy modals are mounted
|
|
433
|
+
// TODO: check defaultModalScroll property in Buefy constructor https://buefy.org/documentation/constructor-options
|
|
434
|
+
const htmlTag = document.documentElement;
|
|
435
|
+
const observer = new MutationObserver(function (mutations) {
|
|
436
|
+
mutations.forEach(function (mutation) {
|
|
437
|
+
if (mutation.attributeName === "class") {
|
|
438
|
+
const classToRemove = "is-clipped";
|
|
439
|
+
if (mutation.target.classList.contains(classToRemove)) {
|
|
440
|
+
htmlTag.classList.remove(classToRemove);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
observer.observe(htmlTag, { attributes: true });
|
|
441
446
|
},
|
|
442
447
|
};
|
|
443
448
|
</script>
|