@konfuzio/document-validation-ui 0.1.19-dev.2 → 0.1.19

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 (143) hide show
  1. package/.eslintrc.js +10 -10
  2. package/.prettierrc.json +1 -1
  3. package/LICENSE +21 -21
  4. package/README.md +24 -24
  5. package/cypress.config.js +13 -13
  6. package/dist/js/app.js +1 -1
  7. package/dist/js/app.js.map +1 -1
  8. package/dist/js/chunk-vendors.js +1 -1
  9. package/dist/js/chunk-vendors.js.map +1 -1
  10. package/jest.config.js +4 -4
  11. package/package.json +66 -66
  12. package/src/api.js +82 -82
  13. package/src/assets/images/AcceptedCheckMark.vue +8 -8
  14. package/src/assets/images/AcceptedUser.vue +8 -8
  15. package/src/assets/images/ActionIcon.vue +60 -60
  16. package/src/assets/images/ArrowDownKey.vue +11 -11
  17. package/src/assets/images/ArrowUpKey.vue +11 -11
  18. package/src/assets/images/CategoryIconImg.vue +13 -13
  19. package/src/assets/images/CheckMark.vue +8 -8
  20. package/src/assets/images/DraggableIcon.vue +14 -14
  21. package/src/assets/images/EditDocIcon.vue +12 -12
  22. package/src/assets/images/EmptyStateImg.vue +129 -129
  23. package/src/assets/images/ErrorIcon.vue +28 -28
  24. package/src/assets/images/EyeIcon.vue +11 -11
  25. package/src/assets/images/FileNameNotSavedImage.vue +26 -26
  26. package/src/assets/images/FileNameSavedImage.vue +14 -14
  27. package/src/assets/images/FitZoomIcon.vue +16 -16
  28. package/src/assets/images/GridIcon.vue +16 -16
  29. package/src/assets/images/KeyboardIcon.vue +16 -16
  30. package/src/assets/images/MagicWandIcon.vue +16 -16
  31. package/src/assets/images/MinusIcon.vue +13 -13
  32. package/src/assets/images/NotFoundIcon.vue +16 -16
  33. package/src/assets/images/NotOptimizedIllustration.vue +651 -651
  34. package/src/assets/images/PlusIcon.vue +13 -13
  35. package/src/assets/images/QuestionMark.vue +12 -12
  36. package/src/assets/images/ServerImage.vue +73 -73
  37. package/src/assets/images/SettingsIcon.vue +14 -14
  38. package/src/assets/images/SplitLines.vue +18 -18
  39. package/src/assets/images/SplitZigZag.vue +49 -49
  40. package/src/assets/images/StarIcon.vue +16 -16
  41. package/src/assets/images/StatusImg.vue +14 -14
  42. package/src/assets/images/TranslateArrows.vue +33 -33
  43. package/src/assets/scss/ann_set_table_options.scss +26 -26
  44. package/src/assets/scss/annotation_details.scss +141 -141
  45. package/src/assets/scss/choose_label_set_modal.scss +65 -65
  46. package/src/assets/scss/document_action_bar.scss +37 -37
  47. package/src/assets/scss/document_annotations.scss +558 -558
  48. package/src/assets/scss/document_category.scss +85 -85
  49. package/src/assets/scss/document_dashboard.scss +52 -52
  50. package/src/assets/scss/document_edit.scss +410 -410
  51. package/src/assets/scss/document_error.scss +81 -81
  52. package/src/assets/scss/document_name.scss +60 -60
  53. package/src/assets/scss/document_page.scss +12 -12
  54. package/src/assets/scss/document_thumbnails.scss +41 -41
  55. package/src/assets/scss/document_toolbar.scss +111 -111
  56. package/src/assets/scss/document_top_bar.scss +171 -171
  57. package/src/assets/scss/document_viewport_modal.scss +25 -25
  58. package/src/assets/scss/documents_list.scss +141 -141
  59. package/src/assets/scss/edit_page_thumbnail.scss +53 -53
  60. package/src/assets/scss/empty_state.scss +34 -34
  61. package/src/assets/scss/extracting_data.scss +35 -35
  62. package/src/assets/scss/imports.scss +1 -1
  63. package/src/assets/scss/multi_ann_table_overlay.scss +38 -38
  64. package/src/assets/scss/multi_ann_table_popup.scss +12 -12
  65. package/src/assets/scss/new_annotation.scss +102 -102
  66. package/src/assets/scss/scrolling_document.scss +19 -19
  67. package/src/assets/scss/theme.scss +801 -801
  68. package/src/assets/scss/variables.scss +66 -66
  69. package/src/components/App.cy.js +7 -7
  70. package/src/components/App.vue +187 -187
  71. package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +152 -152
  72. package/src/components/DocumentAnnotations/AnnotationContent.vue +210 -210
  73. package/src/components/DocumentAnnotations/AnnotationDetails.vue +251 -251
  74. package/src/components/DocumentAnnotations/AnnotationRow.vue +752 -752
  75. package/src/components/DocumentAnnotations/AnnotationSetActionButtons.vue +89 -89
  76. package/src/components/DocumentAnnotations/ChooseLabelSetModal.vue +186 -186
  77. package/src/components/DocumentAnnotations/DocumentAnnotations.cy.js +441 -441
  78. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +534 -534
  79. package/src/components/DocumentAnnotations/DocumentLabel.vue +189 -189
  80. package/src/components/DocumentAnnotations/EmptyAnnotation.vue +193 -193
  81. package/src/components/DocumentAnnotations/EmptyState.vue +21 -21
  82. package/src/components/DocumentAnnotations/ExtractingData.vue +41 -41
  83. package/src/components/DocumentAnnotations/LoadingAnnotations.vue +43 -43
  84. package/src/components/DocumentAnnotations/LoadingLabels.vue +43 -43
  85. package/src/components/DocumentAnnotations/MultiAnnotationTableOverlay.vue +338 -338
  86. package/src/components/DocumentAnnotations/index.js +8 -8
  87. package/src/components/DocumentCategory.vue +281 -281
  88. package/src/components/DocumentDashboard.vue +170 -170
  89. package/src/components/DocumentEdit/DocumentEdit.cy.js +541 -541
  90. package/src/components/DocumentEdit/DocumentEdit.vue +503 -503
  91. package/src/components/DocumentEdit/EditConfirmationModal.vue +55 -55
  92. package/src/components/DocumentEdit/EditPageThumbnail.vue +114 -114
  93. package/src/components/DocumentEdit/EditPages.vue +161 -161
  94. package/src/components/DocumentEdit/EditSidebar.vue +154 -154
  95. package/src/components/DocumentEdit/RenameAndCategorize.vue +184 -184
  96. package/src/components/DocumentEdit/SidebarButtons.vue +53 -53
  97. package/src/components/DocumentEdit/SplitInfoBar.vue +21 -21
  98. package/src/components/DocumentEdit/index.js +4 -4
  99. package/src/components/DocumentModals/DocumentErrorModal.vue +58 -58
  100. package/src/components/DocumentModals/NotOptimizedViewportModal.vue +51 -51
  101. package/src/components/DocumentPage/ActionBar.vue +48 -48
  102. package/src/components/DocumentPage/AnnSetTableOptions.vue +111 -111
  103. package/src/components/DocumentPage/BoxSelection.vue +152 -152
  104. package/src/components/DocumentPage/DocumentPage.cy.js +92 -92
  105. package/src/components/DocumentPage/DocumentPage.vue +568 -568
  106. package/src/components/DocumentPage/DocumentToolbar.cy.js +215 -215
  107. package/src/components/DocumentPage/DocumentToolbar.vue +228 -228
  108. package/src/components/DocumentPage/DummyPage.vue +55 -55
  109. package/src/components/DocumentPage/MultiAnnSelection.vue +371 -371
  110. package/src/components/DocumentPage/NewAnnotation.vue +308 -308
  111. package/src/components/DocumentPage/ScrollingDocument.vue +149 -149
  112. package/src/components/DocumentPage/ScrollingPage.vue +179 -179
  113. package/src/components/DocumentPage/index.js +5 -5
  114. package/src/components/DocumentThumbnails/DocumentThumbnails.cy.js +67 -67
  115. package/src/components/DocumentThumbnails/DocumentThumbnails.vue +132 -132
  116. package/src/components/DocumentThumbnails/LoadingThumbnail.vue +25 -25
  117. package/src/components/DocumentThumbnails/index.js +1 -1
  118. package/src/components/DocumentTopBar/DocumentName.vue +236 -236
  119. package/src/components/DocumentTopBar/DocumentTopBar.cy.js +222 -222
  120. package/src/components/DocumentTopBar/DocumentTopBar.vue +202 -202
  121. package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +183 -183
  122. package/src/components/DocumentTopBar/KeyboardActionsDescription.vue +74 -74
  123. package/src/components/DocumentTopBar/index.js +3 -3
  124. package/src/components/DocumentsList/DocumentsList.vue +121 -121
  125. package/src/components/DocumentsList/index.js +1 -1
  126. package/src/components/ErrorMessage.vue +40 -40
  127. package/src/components/index.js +1 -1
  128. package/src/constants.js +5 -5
  129. package/src/directives/scroll.js +28 -28
  130. package/src/i18n.js +22 -22
  131. package/src/icons.js +45 -45
  132. package/src/locales/de.json +148 -148
  133. package/src/locales/en.json +148 -148
  134. package/src/main.js +26 -26
  135. package/src/store/category.js +191 -191
  136. package/src/store/display.js +311 -311
  137. package/src/store/document.js +1438 -1438
  138. package/src/store/edit.js +316 -316
  139. package/src/store/index.js +21 -21
  140. package/src/store/project.js +143 -143
  141. package/src/store/selection.js +210 -210
  142. package/src/utils/utils.js +54 -54
  143. package/vue.config.js +25 -25
@@ -1,171 +1,171 @@
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: $top-bar-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: $text-color;
27
- font-weight: 400px;
28
-
29
- .left-bar-components {
30
- flex-direction: row;
31
- display: flex;
32
- flex: 1;
33
- }
34
-
35
- .center-bar-components {
36
- display: flex;
37
- align-items: center;
38
- gap: 38px;
39
-
40
- &.single-component {
41
- flex: 1;
42
- align-items: center;
43
- justify-content: center;
44
- }
45
-
46
- .navigation-arrow {
47
- &:hover {
48
- cursor: pointer;
49
- }
50
- }
51
- }
52
-
53
- .right-bar-components {
54
- align-items: center;
55
- justify-content: flex-end;
56
- display: flex;
57
- flex: 1;
58
-
59
- .read-only-info {
60
- display: flex;
61
- align-items: center;
62
- justify-content: flex-end;
63
- padding-right: 24px;
64
- color: $text-lighter;
65
- font-size: 14px;
66
- line-height: 20px;
67
- font-weight: 400;
68
- height: 100%;
69
-
70
- .info-icon {
71
- margin-left: 14px;
72
- vertical-align: text-top;
73
-
74
- &.info-reviewed {
75
- color: $primary;
76
- }
77
- }
78
-
79
- .doc-reviewed {
80
- color: $primary;
81
- }
82
-
83
- .read-only-details {
84
- white-space: normal;
85
- font-size: 12px;
86
- }
87
- }
88
-
89
- .keyboard-actions-info {
90
- margin-right: 16px;
91
-
92
- .tooltip-title {
93
- font-weight: 600;
94
- padding-bottom: 10px;
95
- }
96
-
97
- .tooltip-description {
98
- display: flex;
99
- flex-direction: column;
100
- row-gap: 8px;
101
-
102
- .content-line,
103
- .action-item {
104
- display: flex;
105
- flex-wrap: nowrap;
106
- justify-content: flex-start;
107
- gap: 6px;
108
-
109
- .tooltip-divider {
110
- width: 1px;
111
- background-color: $grey-detail;
112
- height: 15px;
113
- margin-top: 3px;
114
- opacity: 30%;
115
- }
116
-
117
- .key {
118
- font-size: 12px;
119
- font-weight: 500;
120
- display: flex;
121
- align-items: center;
122
- background-color: $low-opacity-white;
123
- border-radius: 4px;
124
- padding: 0 5px 0 5px;
125
- }
126
-
127
- .keyboard-action-text {
128
- font-weight: 400;
129
- line-height: 20px;
130
- }
131
- }
132
- }
133
- }
134
-
135
- .top-bar-buttons {
136
- .buttons {
137
- display: flex;
138
- align-items: center;
139
- margin-right: 16px;
140
-
141
- .edit-mode-btn {
142
- font-size: 14px;
143
- }
144
- }
145
- }
146
- }
147
- }
148
-
149
- @media (max-width: 1300px) {
150
- .edit-mode-top-bar {
151
- .center-bar-components {
152
- flex: 1;
153
- justify-content: right;
154
- }
155
-
156
- .right-bar-components {
157
- flex: 2;
158
- }
159
-
160
- .left-bar-components {
161
- display: none;
162
- }
163
- }
164
- }
165
- }
166
-
167
- .btn-container {
168
- display: flex;
169
- align-items: center;
170
- cursor: pointer;
171
- }
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: $top-bar-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: $text-color;
27
+ font-weight: 400px;
28
+
29
+ .left-bar-components {
30
+ flex-direction: row;
31
+ display: flex;
32
+ flex: 1;
33
+ }
34
+
35
+ .center-bar-components {
36
+ display: flex;
37
+ align-items: center;
38
+ gap: 38px;
39
+
40
+ &.single-component {
41
+ flex: 1;
42
+ align-items: center;
43
+ justify-content: center;
44
+ }
45
+
46
+ .navigation-arrow {
47
+ &:hover {
48
+ cursor: pointer;
49
+ }
50
+ }
51
+ }
52
+
53
+ .right-bar-components {
54
+ align-items: center;
55
+ justify-content: flex-end;
56
+ display: flex;
57
+ flex: 1;
58
+
59
+ .read-only-info {
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: flex-end;
63
+ padding-right: 24px;
64
+ color: $text-lighter;
65
+ font-size: 14px;
66
+ line-height: 20px;
67
+ font-weight: 400;
68
+ height: 100%;
69
+
70
+ .info-icon {
71
+ margin-left: 14px;
72
+ vertical-align: text-top;
73
+
74
+ &.info-reviewed {
75
+ color: $primary;
76
+ }
77
+ }
78
+
79
+ .doc-reviewed {
80
+ color: $primary;
81
+ }
82
+
83
+ .read-only-details {
84
+ white-space: normal;
85
+ font-size: 12px;
86
+ }
87
+ }
88
+
89
+ .keyboard-actions-info {
90
+ margin-right: 16px;
91
+
92
+ .tooltip-title {
93
+ font-weight: 600;
94
+ padding-bottom: 10px;
95
+ }
96
+
97
+ .tooltip-description {
98
+ display: flex;
99
+ flex-direction: column;
100
+ row-gap: 8px;
101
+
102
+ .content-line,
103
+ .action-item {
104
+ display: flex;
105
+ flex-wrap: nowrap;
106
+ justify-content: flex-start;
107
+ gap: 6px;
108
+
109
+ .tooltip-divider {
110
+ width: 1px;
111
+ background-color: $grey-detail;
112
+ height: 15px;
113
+ margin-top: 3px;
114
+ opacity: 30%;
115
+ }
116
+
117
+ .key {
118
+ font-size: 12px;
119
+ font-weight: 500;
120
+ display: flex;
121
+ align-items: center;
122
+ background-color: $low-opacity-white;
123
+ border-radius: 4px;
124
+ padding: 0 5px 0 5px;
125
+ }
126
+
127
+ .keyboard-action-text {
128
+ font-weight: 400;
129
+ line-height: 20px;
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ .top-bar-buttons {
136
+ .buttons {
137
+ display: flex;
138
+ align-items: center;
139
+ margin-right: 16px;
140
+
141
+ .edit-mode-btn {
142
+ font-size: 14px;
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+
149
+ @media (max-width: 1300px) {
150
+ .edit-mode-top-bar {
151
+ .center-bar-components {
152
+ flex: 1;
153
+ justify-content: right;
154
+ }
155
+
156
+ .right-bar-components {
157
+ flex: 2;
158
+ }
159
+
160
+ .left-bar-components {
161
+ display: none;
162
+ }
163
+ }
164
+ }
165
+ }
166
+
167
+ .btn-container {
168
+ display: flex;
169
+ align-items: center;
170
+ cursor: pointer;
171
+ }
@@ -1,25 +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: $text-color !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
- }
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: $text-color !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
+ }
@@ -1,141 +1,141 @@
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
- display: flex;
47
- justify-content: center;
48
- align-items: flex-start;
49
- position: relative;
50
-
51
- &:before {
52
- display: block;
53
- content: "";
54
- width: 100%;
55
- height: 100%;
56
- background: $primary;
57
- opacity: 0.1;
58
- position: absolute;
59
- top: 0;
60
- left: 0;
61
- }
62
-
63
- span {
64
- margin-top: 20px;
65
- font-weight: 600;
66
- font-size: 16px;
67
- line-height: 24px;
68
- color: $text;
69
- }
70
-
71
- .action-button {
72
- position: absolute;
73
- bottom: -20px;
74
- padding: 0 16px;
75
- font-weight: 500;
76
- font-size: 14px;
77
- line-height: 20px;
78
- cursor: pointer;
79
- }
80
- }
81
- }
82
- }
83
-
84
- .documents-list-bottom {
85
- display: flex;
86
- flex-direction: row;
87
- border-bottom: $component-border;
88
-
89
- .documents-list-thumbnail {
90
- cursor: pointer;
91
- flex: 1;
92
- display: flex;
93
- flex-direction: row;
94
- justify-content: center;
95
- align-items: center;
96
- height: $documents-list-height;
97
- padding: 8px;
98
-
99
- &.selected {
100
- background-color: white;
101
- box-sizing: border-box;
102
- -moz-box-sizing: border-box;
103
- -webkit-box-sizing: border-box;
104
- border-bottom: 3px solid $primary;
105
- }
106
-
107
- .img-thumbnail {
108
- height: 100%;
109
-
110
- img {
111
- height: 100%;
112
- }
113
-
114
- &.selected {
115
- outline: 1px solid $dark;
116
- }
117
- }
118
-
119
- .document-name {
120
- margin-left: 14px;
121
- font-weight: 400;
122
- font-size: 14px;
123
- line-height: 20px;
124
- text-align: center;
125
- white-space: nowrap;
126
- overflow: hidden;
127
- text-overflow: ellipsis;
128
- max-width: 90%;
129
-
130
- &.selected {
131
- font-weight: 600;
132
- }
133
- }
134
-
135
- .error-icon {
136
- display: flex;
137
- padding-left: 10px;
138
- }
139
- }
140
- }
141
- }
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
+ display: flex;
47
+ justify-content: center;
48
+ align-items: flex-start;
49
+ position: relative;
50
+
51
+ &:before {
52
+ display: block;
53
+ content: "";
54
+ width: 100%;
55
+ height: 100%;
56
+ background: $primary;
57
+ opacity: 0.1;
58
+ position: absolute;
59
+ top: 0;
60
+ left: 0;
61
+ }
62
+
63
+ span {
64
+ margin-top: 20px;
65
+ font-weight: 600;
66
+ font-size: 16px;
67
+ line-height: 24px;
68
+ color: $text;
69
+ }
70
+
71
+ .action-button {
72
+ position: absolute;
73
+ bottom: -20px;
74
+ padding: 0 16px;
75
+ font-weight: 500;
76
+ font-size: 14px;
77
+ line-height: 20px;
78
+ cursor: pointer;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ .documents-list-bottom {
85
+ display: flex;
86
+ flex-direction: row;
87
+ border-bottom: $component-border;
88
+
89
+ .documents-list-thumbnail {
90
+ cursor: pointer;
91
+ flex: 1;
92
+ display: flex;
93
+ flex-direction: row;
94
+ justify-content: center;
95
+ align-items: center;
96
+ height: $documents-list-height;
97
+ padding: 8px;
98
+
99
+ &.selected {
100
+ background-color: white;
101
+ box-sizing: border-box;
102
+ -moz-box-sizing: border-box;
103
+ -webkit-box-sizing: border-box;
104
+ border-bottom: 3px solid $primary;
105
+ }
106
+
107
+ .img-thumbnail {
108
+ height: 100%;
109
+
110
+ img {
111
+ height: 100%;
112
+ }
113
+
114
+ &.selected {
115
+ outline: 1px solid $dark;
116
+ }
117
+ }
118
+
119
+ .document-name {
120
+ margin-left: 14px;
121
+ font-weight: 400;
122
+ font-size: 14px;
123
+ line-height: 20px;
124
+ text-align: center;
125
+ white-space: nowrap;
126
+ overflow: hidden;
127
+ text-overflow: ellipsis;
128
+ max-width: 90%;
129
+
130
+ &.selected {
131
+ font-weight: 600;
132
+ }
133
+ }
134
+
135
+ .error-icon {
136
+ display: flex;
137
+ padding-left: 10px;
138
+ }
139
+ }
140
+ }
141
+ }