@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,62 @@
1
+ @import "./imports.scss";
2
+
3
+ .document-name-component {
4
+ flex: 3;
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ width: 100%;
9
+ gap: 12px;
10
+ line-height: 20px;
11
+
12
+ .document-icon {
13
+ display: flex;
14
+ align-items: center;
15
+ border: 1px solid $grey-detail;
16
+ border-radius: 1px;
17
+ }
18
+
19
+ .document-name {
20
+ display: inline-block;
21
+ vertical-align: middle;
22
+
23
+ &.is-editable {
24
+ display: inline-block;
25
+ overflow-x: hidden;
26
+ white-space: nowrap;
27
+ border-radius: 8px;
28
+ padding: 6px 14px 6px 14px;
29
+ outline: 1px solid $grey-outline;
30
+ max-width: 420px;
31
+ }
32
+ }
33
+
34
+ .btn {
35
+ color: $primary;
36
+ font-weight: 500;
37
+ }
38
+
39
+ .btn:hover {
40
+ cursor: pointer;
41
+ }
42
+
43
+ .message-container {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: 8px;
47
+ color: $grey;
48
+
49
+ .notification {
50
+ background-color: transparent;
51
+ padding: 6px;
52
+ }
53
+
54
+ .spinner {
55
+ color: $grey;
56
+ }
57
+
58
+ .cloud-icon {
59
+ display: flex;
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,8 @@
1
+ @import "./imports.scss";
2
+
3
+ .pdf-page-container {
4
+ position: relative;
5
+ cursor: crosshair;
6
+ width: fit-content;
7
+ margin: 0 auto;
8
+ }
@@ -0,0 +1,41 @@
1
+ @import "./imports.scss";
2
+
3
+ .document-pages {
4
+ background: $background;
5
+ min-width: 80px;
6
+ overflow-y: auto;
7
+ font-family: $font-family;
8
+ height: 100%;
9
+ border-right: $component-border;
10
+
11
+ .document-thumbnail {
12
+ text-align: center;
13
+ padding: 16px 0;
14
+ margin: 0 8px 16px 8px;
15
+ cursor: pointer;
16
+
17
+ .image-container {
18
+ display: flex;
19
+ justify-content: center;
20
+
21
+ .img-thumbnail {
22
+ border: 1px solid $grey-detail;
23
+ border-radius: 4px;
24
+
25
+ &.selected {
26
+ border: 2px solid $primary;
27
+ }
28
+
29
+ img {
30
+ border-radius: 4px;
31
+ }
32
+ }
33
+ }
34
+
35
+ .number-thumbnail {
36
+ color: $text-lighter;
37
+ font-size: 12px;
38
+ margin-top: 4px;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,89 @@
1
+ @import "./imports.scss";
2
+
3
+ .toolbar-container {
4
+ position: absolute;
5
+ width: fit-content;
6
+ bottom: 20px;
7
+ left: 0;
8
+ right: 0;
9
+ margin: 0 auto;
10
+
11
+ .toolbar {
12
+ background-color: $toolbar;
13
+ height: 40px;
14
+ width: fit-content;
15
+ border-radius: 8px;
16
+ margin-left: auto;
17
+ margin-right: auto;
18
+ padding: 10px;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+
23
+ &.hidden {
24
+ display: none;
25
+ }
26
+
27
+ .toolbar-divider {
28
+ width: 1px;
29
+ background-color: $grey-detail;
30
+ height: 20px;
31
+ margin-left: 10px;
32
+ margin-right: 10px;
33
+ opacity: 30%;
34
+ }
35
+
36
+ .icons {
37
+ display: flex;
38
+ align-items: center;
39
+
40
+ .icon {
41
+ svg {
42
+ fill: $toolbar-elements;
43
+ }
44
+ }
45
+
46
+ &.icons-left {
47
+ padding-right: 10px;
48
+
49
+ &:hover {
50
+ cursor: pointer;
51
+ background: $low-opacity-white;
52
+ border-radius: 4px;
53
+ }
54
+
55
+ &.edit-mode-disabled {
56
+ opacity: 30%;
57
+
58
+ &:hover {
59
+ cursor: not-allowed !important;
60
+ background: inherit;
61
+ }
62
+ }
63
+
64
+ .edit-text {
65
+ color: $toolbar-elements;
66
+ }
67
+ }
68
+
69
+ .percentage {
70
+ color: $toolbar-elements;
71
+ width: 32px;
72
+ padding: 7px;
73
+ margin-right: 20px;
74
+ }
75
+
76
+ .icon {
77
+ width: 32px;
78
+ height: 32px;
79
+ padding: 7px;
80
+
81
+ &:hover:not(.edit-icon) {
82
+ cursor: pointer;
83
+ background: $low-opacity-white;
84
+ border-radius: 4px;
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,139 @@
1
+ @import "./imports.scss";
2
+
3
+ .document-top-bar-component {
4
+ width: 100%;
5
+ height: $top-bar-height;
6
+ border-bottom: $component-border;
7
+
8
+ .loading-top-bar {
9
+ height: 100%;
10
+ display: flex;
11
+ align-items: center;
12
+ }
13
+
14
+ .document-top-bar {
15
+ width: 100%;
16
+ height: 100%;
17
+ background-color: $background;
18
+ position: sticky;
19
+ z-index: 39;
20
+ display: flex;
21
+ justify-content: space-between;
22
+
23
+ flex: 1;
24
+ top: 0;
25
+ font-size: 14px;
26
+ color: $dark-blue;
27
+ font-weight: 400px;
28
+
29
+ .left-bar-components {
30
+ flex-direction: row;
31
+ display: flex;
32
+ flex: 1;
33
+ }
34
+
35
+ .right-bar-components {
36
+ align-items: center;
37
+ justify-content: flex-end;
38
+ display: flex;
39
+ flex: 1;
40
+
41
+ .handover {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: flex-end;
45
+ padding-right: 16px;
46
+ }
47
+
48
+ .read-only-info {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: flex-end;
52
+ padding-right: 24px;
53
+ color: $text-lighter;
54
+ font-size: 14px;
55
+ line-height: 20px;
56
+ font-weight: 400;
57
+ height: 100%;
58
+
59
+ .info-icon {
60
+ margin-left: 14px;
61
+ vertical-align: text-top;
62
+
63
+ &.info-reviewed {
64
+ color: $primary;
65
+ }
66
+ }
67
+
68
+ .doc-reviewed {
69
+ color: $primary;
70
+ }
71
+
72
+ .read-only-details {
73
+ white-space: normal;
74
+ font-size: 12px;
75
+ }
76
+ }
77
+
78
+ .keyboard-actions-info {
79
+ margin-right: 16px;
80
+
81
+ .tooltip-title {
82
+ font-weight: 600;
83
+ padding-bottom: 10px;
84
+ }
85
+
86
+ .tooltip-description {
87
+ display: flex;
88
+ flex-direction: column;
89
+ row-gap: 8px;
90
+
91
+ .content-line,
92
+ .action-item {
93
+ display: flex;
94
+ flex-wrap: nowrap;
95
+ justify-content: flex-start;
96
+ gap: 6px;
97
+
98
+ .tooltip-divider {
99
+ width: 1px;
100
+ background-color: $grey-detail;
101
+ height: 15px;
102
+ margin-top: 3px;
103
+ opacity: 30%;
104
+ }
105
+
106
+ .key {
107
+ font-size: 12px;
108
+ font-weight: 500;
109
+ display: flex;
110
+ align-items: center;
111
+ background-color: $low-opacity-white;
112
+ border-radius: 4px;
113
+ padding: 0 5px 0 5px;
114
+ }
115
+
116
+ .keyboard-action-text {
117
+ font-weight: 400;
118
+ line-height: 20px;
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+ .top-bar-buttons {
125
+ .buttons {
126
+ display: flex;
127
+ align-items: center;
128
+ margin-right: 16px;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ .btn-container {
136
+ display: flex;
137
+ align-items: center;
138
+ cursor: pointer;
139
+ }
@@ -0,0 +1,25 @@
1
+ @import "./imports.scss";
2
+
3
+ .viewport-modal {
4
+ text-align: center;
5
+
6
+ .content {
7
+ h3 {
8
+ font-weight: 600 !important;
9
+ font-size: 20px !important;
10
+ line-height: 26px !important;
11
+ color: $dark-blue !important;
12
+ padding-bottom: 5px;
13
+ }
14
+
15
+ p {
16
+ color: $grey;
17
+ }
18
+
19
+ p,
20
+ button {
21
+ line-height: 20px;
22
+ font-size: 14px;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,130 @@
1
+ @import "./imports.scss";
2
+ $documents-list-height: 52px;
3
+
4
+ .documents-list {
5
+ background-color: $background;
6
+ font-family: $font-family;
7
+
8
+ .documents-list-top {
9
+ display: flex;
10
+ flex-direction: row;
11
+ padding: 40px;
12
+ margin-bottom: 14px;
13
+
14
+ .documents-list-top-left {
15
+ flex: 1;
16
+
17
+ h2 {
18
+ font-size: 26px;
19
+ color: $text;
20
+ font-weight: 600;
21
+ line-height: 33px;
22
+ margin: 0;
23
+ }
24
+
25
+ p {
26
+ font-size: 14px;
27
+ color: $text-lighter;
28
+ font-weight: 400;
29
+ line-height: 20px;
30
+ margin: 16px 0 0 0;
31
+ }
32
+ }
33
+
34
+ .documents-list-top-right {
35
+ flex: 1;
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ height: 80px;
40
+ align-self: center;
41
+
42
+ .action-box {
43
+ align-self: center;
44
+ width: 75%;
45
+ height: 100%;
46
+ background-color: $primary-low-opacity;
47
+ display: flex;
48
+ justify-content: center;
49
+ align-items: flex-start;
50
+ position: relative;
51
+
52
+ span {
53
+ margin-top: 20px;
54
+ font-weight: 600;
55
+ font-size: 16px;
56
+ line-height: 24px;
57
+ color: $text;
58
+ }
59
+
60
+ .action-button {
61
+ position: absolute;
62
+ bottom: -20px;
63
+ padding: 0 16px;
64
+ font-weight: 500;
65
+ font-size: 14px;
66
+ line-height: 20px;
67
+ cursor: pointer;
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ .documents-list-bottom {
74
+ display: flex;
75
+ flex-direction: row;
76
+ border-bottom: $component-border;
77
+
78
+ .documents-list-thumbnail {
79
+ cursor: pointer;
80
+ flex: 1;
81
+ display: flex;
82
+ flex-direction: row;
83
+ justify-content: center;
84
+ align-items: center;
85
+ height: $documents-list-height;
86
+ padding: 8px;
87
+
88
+ &.selected {
89
+ background-color: white;
90
+ box-sizing: border-box;
91
+ -moz-box-sizing: border-box;
92
+ -webkit-box-sizing: border-box;
93
+ border-bottom: 3px solid $primary;
94
+ }
95
+
96
+ .img-thumbnail {
97
+ height: 100%;
98
+
99
+ img {
100
+ height: 100%;
101
+ }
102
+
103
+ &.selected {
104
+ outline: 1px solid $dark;
105
+ }
106
+ }
107
+
108
+ .document-name {
109
+ margin-left: 14px;
110
+ font-weight: 400;
111
+ font-size: 14px;
112
+ line-height: 20px;
113
+ text-align: center;
114
+ white-space: nowrap;
115
+ overflow: hidden;
116
+ text-overflow: ellipsis;
117
+ max-width: 90%;
118
+
119
+ &.selected {
120
+ font-weight: 600;
121
+ }
122
+ }
123
+
124
+ .error-icon {
125
+ display: flex;
126
+ padding-left: 10px;
127
+ }
128
+ }
129
+ }
130
+ }
@@ -0,0 +1,34 @@
1
+ @import "./imports.scss";
2
+
3
+ .empty-container {
4
+ width: 100%;
5
+ margin-top: 74px;
6
+ display: flex;
7
+ flex-direction: column;
8
+ justify-content: flex-start;
9
+ font-family: $font-family;
10
+
11
+ svg {
12
+ align-self: center;
13
+ }
14
+
15
+ .empty-text {
16
+ align-self: center;
17
+
18
+ .title {
19
+ font-size: 16px;
20
+ color: $text;
21
+ font-weight: 500;
22
+ text-align: center;
23
+ margin: 0;
24
+ }
25
+
26
+ .description {
27
+ font-size: 14px;
28
+ line-height: 20px;
29
+ color: $text-lighter;
30
+ font-weight: 400;
31
+ text-align: center;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,35 @@
1
+ @import "./imports.scss";
2
+
3
+ .data-extraction-container {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ height: 100%;
8
+ margin-top: 142px;
9
+
10
+ img {
11
+ width: 121px;
12
+ height: 121px;
13
+ }
14
+
15
+ .data-extraction-text {
16
+ width: 50%;
17
+ margin-left: auto;
18
+ margin-right: auto;
19
+ text-align: center;
20
+
21
+ .title {
22
+ font-size: 16px;
23
+ font-weight: 500;
24
+ line-height: 24px;
25
+ color: $dark-blue;
26
+ margin-bottom: 3px;
27
+ }
28
+
29
+ .description {
30
+ font-size: 14px;
31
+ line-height: 20px;
32
+ color: $grey;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1 @@
1
+ @import "./variables.scss";
@@ -0,0 +1,24 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
2
+ @import "./variables.scss";
3
+
4
+ body {
5
+ margin: 0;
6
+ font-family: $font-family;
7
+
8
+ .app-container {
9
+ display: flex;
10
+ height: 100%;
11
+ flex-direction: column;
12
+ }
13
+
14
+ .overlay {
15
+ height: 100%;
16
+ width: 100%;
17
+ position: fixed;
18
+ z-index: 999;
19
+ top: 0;
20
+ left: 0;
21
+ background-color: rgba(0, 0, 0, 0);
22
+ overflow-x: hidden;
23
+ }
24
+ }
@@ -0,0 +1,12 @@
1
+ @import "./imports.scss";
2
+
3
+ .multi-ann-table-popup {
4
+ position: absolute;
5
+ z-index: 40;
6
+
7
+ .label-header {
8
+ display: flex;
9
+ flex-direction: row;
10
+ align-items: center;
11
+ }
12
+ }
@@ -0,0 +1,86 @@
1
+ @import "./imports.scss";
2
+
3
+ .annotation-popup {
4
+ border-radius: 12px;
5
+ background-color: $dark-blue;
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 8px;
9
+ position: absolute;
10
+ width: 205px;
11
+ height: 192px;
12
+ z-index: 40;
13
+ color: $white;
14
+ padding: 8px;
15
+
16
+ .popup-input {
17
+ background-color: $dark-blue;
18
+ color: $white;
19
+ font-size: 14px;
20
+ font-weight: 400;
21
+ line-height: 20px;
22
+ outline: none;
23
+ box-shadow: none;
24
+ padding: 8px;
25
+ border-radius: 12px;
26
+ border: 1px solid $grey-low-opacity;
27
+ width: 100%;
28
+ justify-content: space-between;
29
+ position: relative;
30
+
31
+ .caret-icon {
32
+ position: absolute;
33
+ right: 18px;
34
+ padding-top: 1px;
35
+ }
36
+ }
37
+
38
+ .not-selected {
39
+ color: $grey-detail;
40
+ }
41
+
42
+ .add-ann-set {
43
+ &.has-border {
44
+ border-top: 1px solid $grey-detail;
45
+ }
46
+
47
+ width: 100%;
48
+ color: $primary !important;
49
+ font-size: 14px;
50
+ line-height: 24px;
51
+ font-weight: 500;
52
+ }
53
+
54
+ .add-ann-set-modal {
55
+ position: fixed;
56
+ width: 100vw;
57
+ height: 100vh;
58
+ top: 0;
59
+ left: 0;
60
+ }
61
+
62
+ .annotation-dropdowns {
63
+ display: flex;
64
+ flex-direction: column;
65
+ }
66
+
67
+ .annotation-buttons {
68
+ display: flex;
69
+ justify-content: flex-end;
70
+ flex-direction: row;
71
+ gap: 2px;
72
+
73
+ .cancel-button {
74
+ color: $white;
75
+
76
+ &:hover {
77
+ border: 1px solid $grey-low-opacity;
78
+ }
79
+ }
80
+
81
+ .popup-button {
82
+ font-size: 14px;
83
+ border-radius: 8px;
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,19 @@
1
+ @import "./imports.scss";
2
+
3
+ .scrolling-document {
4
+ overflow: auto;
5
+ height: 100%;
6
+ scroll-behavior: smooth;
7
+
8
+ .scrolling-page {
9
+ margin: 8px 0;
10
+ }
11
+
12
+ .loading-page {
13
+ overflow: hidden;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ padding: 12px;
18
+ }
19
+ }