@konfuzio/document-validation-ui 0.1.55-dev.1 → 0.1.55
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/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 +37 -31
- 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 +38 -40
- 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 +28 -29
- 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 -2
- 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 +21 -10
- 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 +14 -21
- package/src/assets/scss/scrolling_document.scss +1 -1
- package/src/assets/scss/theme.scss +52 -63
- package/src/assets/scss/variables.scss +0 -2
- package/src/components/App.vue +28 -9
- package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +5 -2
- package/src/components/DocumentAnnotations/AnnotationRow.vue +2 -9
- package/src/components/DocumentAnnotations/ChooseLabelSetModal.vue +8 -2
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +10 -11
- package/src/components/DocumentDashboard.vue +16 -11
- package/src/components/DocumentEdit/EditPages.vue +48 -48
- package/src/components/DocumentModals/DocumentErrorModal.vue +5 -0
- package/src/components/DocumentPage/DocumentPage.vue +15 -5
- package/src/components/DocumentPage/EditAnnotation.vue +23 -14
- package/src/components/DocumentPage/NewAnnotation.vue +27 -27
- package/src/components/DocumentTopBar/DocumentTopBar.vue +13 -1
- package/src/components/DocumentsList/DocumentsList.vue +2 -1
- package/src/components/ErrorMessage.vue +6 -1
- package/src/constants.js +7 -1
- package/src/i18n.js +5 -2
- package/src/locales/de.json +5 -2
- package/src/locales/en.json +5 -2
- package/src/locales/es.json +5 -2
- package/src/main.js +16 -13
- package/src/store/display.js +30 -33
- package/src/store/index.js +8 -5
package/jest.config.js
CHANGED
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"js",
|
|
5
|
-
"mjs",
|
|
6
|
-
"cjs",
|
|
7
|
-
"jsx",
|
|
8
|
-
"ts",
|
|
9
|
-
"tsx",
|
|
10
|
-
"json",
|
|
11
|
-
"node",
|
|
12
|
-
],
|
|
13
|
-
moduleNameMapper: {
|
|
14
|
-
"\\.(css|less)$": "<rootDir>/tests/mock/styleMock.js",
|
|
15
|
-
},
|
|
16
|
-
testEnvironment: "jsdom",
|
|
17
|
-
testEnvironmentOptions: {
|
|
18
|
-
customExportConditions: ["node", "node-addons"],
|
|
19
|
-
},
|
|
2
|
+
preset: "@vue/cli-plugin-unit-jest/presets/no-babel",
|
|
3
|
+
setupFiles: ["./tests/setup.js"],
|
|
20
4
|
transformIgnorePatterns: ["node_modules/(?!axios|keycloak-js)"],
|
|
21
|
-
transform: {
|
|
22
|
-
"^.+\\.[t|j]sx?$": "babel-jest",
|
|
23
|
-
"^.+\\.vue$": "@vue/vue3-jest",
|
|
24
|
-
},
|
|
25
5
|
};
|
package/package.json
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konfuzio/document-validation-ui",
|
|
3
|
-
"version": "0.1.55
|
|
4
|
-
"repository": "
|
|
3
|
+
"version": "0.1.55",
|
|
4
|
+
"repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
|
|
5
5
|
"main": "dist/app.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"serve": "vue-cli-service serve",
|
|
8
8
|
"build": "vue-cli-service build --name DocumentValidationUi ./src/main.js",
|
|
9
|
-
"test:unit": "
|
|
9
|
+
"test:unit": "vue-cli-service test:unit",
|
|
10
10
|
"cypress:open": "cypress open",
|
|
11
11
|
"i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"",
|
|
12
12
|
"lint": "vue-cli-service lint",
|
|
13
13
|
"format": "prettier . --write",
|
|
14
14
|
"prepublishOnly": "npm run build"
|
|
15
15
|
},
|
|
16
|
+
"pre-commit": [
|
|
17
|
+
"test:unit",
|
|
18
|
+
"lint"
|
|
19
|
+
],
|
|
16
20
|
"files": [
|
|
17
21
|
"dist/*",
|
|
18
22
|
"src/*",
|
|
@@ -20,42 +24,44 @@
|
|
|
20
24
|
"*.js"
|
|
21
25
|
],
|
|
22
26
|
"dependencies": {
|
|
23
|
-
"@fortawesome/fontawesome-svg-core": "^6.
|
|
24
|
-
"@fortawesome/free-solid-svg-icons": "^6.
|
|
25
|
-
"@fortawesome/vue-fontawesome": "^
|
|
27
|
+
"@fortawesome/fontawesome-svg-core": "^6.3.0",
|
|
28
|
+
"@fortawesome/free-solid-svg-icons": "^6.3.0",
|
|
29
|
+
"@fortawesome/vue-fontawesome": "^2.0.10",
|
|
26
30
|
"@sentry/tracing": "^6.19.4",
|
|
27
31
|
"@sentry/vue": "^6.2.0",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"sass": "^1.
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"vue": "^
|
|
38
|
-
"vue-
|
|
39
|
-
"vue-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
32
|
+
"axios": "^1.7.4",
|
|
33
|
+
"bignumber.js": "^9.1.0",
|
|
34
|
+
"buefy": "^0.9.22",
|
|
35
|
+
"keycloak-js": "^26.0.6",
|
|
36
|
+
"konva": "^8.3.13",
|
|
37
|
+
"sass": "^1.56.0",
|
|
38
|
+
"sass-loader": "^13.1.0",
|
|
39
|
+
"vue": "^2.6.14",
|
|
40
|
+
"vue-i18n": "^8.27.1",
|
|
41
|
+
"vue-i18n-bridge": "^9.2.2",
|
|
42
|
+
"vue-konva": "^2.1.7",
|
|
43
|
+
"vue-observe-visibility": "^1.0.0",
|
|
44
|
+
"vue-split-panel": "^1.0.4",
|
|
45
|
+
"vue-template-compiler": "^2.6.10",
|
|
46
|
+
"vuedraggable": "^2.24.3",
|
|
47
|
+
"vuex": "^3.6.2"
|
|
43
48
|
},
|
|
44
49
|
"devDependencies": {
|
|
45
|
-
"@4tw/cypress-drag-drop": "^2.
|
|
46
|
-
"@
|
|
50
|
+
"@4tw/cypress-drag-drop": "^2.2.5",
|
|
51
|
+
"@intlify/vue-i18n-loader": "^1.x",
|
|
52
|
+
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
53
|
+
"@vue/cli-plugin-unit-jest": "^5.0.8",
|
|
47
54
|
"@vue/cli-service": "^5.0.8",
|
|
48
|
-
"@vue/
|
|
49
|
-
"@vue/
|
|
50
|
-
"
|
|
51
|
-
"babel-jest": "^29.7.0",
|
|
55
|
+
"@vue/test-utils": "^1.1.3",
|
|
56
|
+
"@vue/vue2-jest": "^27.0.0",
|
|
57
|
+
"babel-jest": "^27.0.6",
|
|
52
58
|
"cypress": "^13.2.0",
|
|
53
59
|
"dotenv": "^16.3.1",
|
|
54
|
-
"eslint": "^8.
|
|
60
|
+
"eslint": "^8.30.0",
|
|
55
61
|
"eslint-config-prettier": "^8.6.0",
|
|
56
|
-
"eslint-plugin-vue": "^9.
|
|
57
|
-
"jest": "^
|
|
58
|
-
"
|
|
62
|
+
"eslint-plugin-vue": "^9.8.0",
|
|
63
|
+
"jest": "^27.0.5",
|
|
64
|
+
"pre-commit": "^1.2.2",
|
|
59
65
|
"prettier": "2.8.1"
|
|
60
66
|
}
|
|
61
67
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.ann-set-table-header {
|
|
4
4
|
position: absolute;
|
|
5
|
-
background-color:
|
|
6
|
-
color:
|
|
5
|
+
background-color: $purple;
|
|
6
|
+
color: $white;
|
|
7
7
|
font-size: 14px;
|
|
8
8
|
padding: 4px;
|
|
9
9
|
z-index: 9;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.delete-action {
|
|
23
|
-
color:
|
|
23
|
+
color: $red;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
.action-buttons {
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
|
|
23
23
|
&.is-button-text-ghost {
|
|
24
24
|
height: 26px;
|
|
25
|
-
color:
|
|
25
|
+
color: $grey-blue;
|
|
26
26
|
font-size: 14px;
|
|
27
27
|
font-weight: 500;
|
|
28
28
|
|
|
29
29
|
&:hover {
|
|
30
30
|
text-decoration: none;
|
|
31
|
-
color:
|
|
31
|
+
color: $text-color;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:focus {
|
|
@@ -54,20 +54,20 @@
|
|
|
54
54
|
.accept-icon,
|
|
55
55
|
.restore-icon,
|
|
56
56
|
.accept-all-icon {
|
|
57
|
-
color:
|
|
57
|
+
color: $green !important;
|
|
58
58
|
}
|
|
59
59
|
.save-icon {
|
|
60
|
-
color:
|
|
60
|
+
color: $primary;
|
|
61
61
|
}
|
|
62
62
|
.decline-icon {
|
|
63
|
-
color:
|
|
63
|
+
color: $red;
|
|
64
64
|
}
|
|
65
65
|
.cancel-icon,
|
|
66
66
|
.search-icon,
|
|
67
67
|
.missing-icon,
|
|
68
68
|
.link-icon,
|
|
69
69
|
.spinner-icon {
|
|
70
|
-
color:
|
|
70
|
+
color: $grey-blue;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.spinner-icon {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.annotation-details {
|
|
4
4
|
.label-icon {
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
|
|
48
48
|
.label-description {
|
|
49
49
|
opacity: 0.7;
|
|
50
|
-
color:
|
|
50
|
+
color: $white;
|
|
51
51
|
font-weight: 400;
|
|
52
52
|
font-size: 12px;
|
|
53
53
|
line-height: 18px;
|
|
54
|
-
border-bottom: 1px solid
|
|
54
|
+
border-bottom: 1px solid $low-opacity-white;
|
|
55
55
|
padding-bottom: 8px;
|
|
56
56
|
word-wrap: break-all;
|
|
57
57
|
white-space: normal;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.confidence {
|
|
65
|
-
color:
|
|
65
|
+
color: $white;
|
|
66
66
|
font-weight: 400;
|
|
67
67
|
font-size: 12px;
|
|
68
68
|
line-height: 18px;
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
justify-content: space-between;
|
|
72
72
|
|
|
73
73
|
&:not(.tooltip-in-public-view) {
|
|
74
|
-
border-bottom: 1px solid
|
|
74
|
+
border-bottom: 1px solid $low-opacity-white;
|
|
75
75
|
padding-bottom: 8px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.value {
|
|
79
|
-
color:
|
|
79
|
+
color: $green;
|
|
80
80
|
|
|
81
81
|
&.yellow {
|
|
82
|
-
color:
|
|
82
|
+
color: $yellow;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&.red {
|
|
86
|
-
color:
|
|
86
|
+
color: $red;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
font-weight: 400;
|
|
93
93
|
font-size: 12px;
|
|
94
94
|
line-height: 18px;
|
|
95
|
-
color:
|
|
95
|
+
color: $white;
|
|
96
96
|
|
|
97
97
|
> div {
|
|
98
98
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.choose-label-set-modal {
|
|
4
4
|
.content {
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
font-weight: 500;
|
|
7
7
|
font-size: 18px;
|
|
8
8
|
line-height: 28px;
|
|
9
|
-
color:
|
|
9
|
+
color: $grey-darker;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
p {
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
font-size: 14px;
|
|
15
15
|
line-height: 20px;
|
|
16
|
-
color:
|
|
16
|
+
color: $text-strong;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.label-set-list {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.labels-list {
|
|
32
|
-
color:
|
|
32
|
+
color: $grey-blue;
|
|
33
33
|
font-size: 14px;
|
|
34
34
|
font-weight: 400;
|
|
35
35
|
line-height: 20px;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
font-size: 12px;
|
|
41
41
|
line-height: 18px;
|
|
42
42
|
text-align: center;
|
|
43
|
-
color:
|
|
43
|
+
color: $text-color;
|
|
44
44
|
margin-top: 8px;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
.action-bar {
|
|
3
3
|
position: absolute;
|
|
4
4
|
width: fit-content;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
z-index: 100;
|
|
10
10
|
|
|
11
11
|
.action-bar-elements {
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: $text-color;
|
|
13
13
|
height: 40px;
|
|
14
14
|
width: fit-content;
|
|
15
15
|
padding: 4px 4px 4px 12px;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.action-text {
|
|
31
|
-
color:
|
|
31
|
+
color: $white;
|
|
32
32
|
font-size: 14px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
line-height: 20px;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
#document-annotations {
|
|
4
|
-
font-family:
|
|
5
|
-
background-color:
|
|
6
|
-
overflow-y: auto;
|
|
4
|
+
font-family: $font-family;
|
|
5
|
+
background-color: $background;
|
|
7
6
|
position: relative;
|
|
8
7
|
display: flex;
|
|
9
8
|
flex-direction: column;
|
|
10
|
-
height: 100%;
|
|
11
9
|
|
|
12
10
|
&.disabled {
|
|
13
11
|
pointer-events: none;
|
|
@@ -23,7 +21,7 @@
|
|
|
23
21
|
padding-right: 16px;
|
|
24
22
|
padding-bottom: 8px;
|
|
25
23
|
width: 100%;
|
|
26
|
-
box-shadow: 0px 1px 0px
|
|
24
|
+
box-shadow: 0px 1px 0px $grey-lightest;
|
|
27
25
|
display: flex;
|
|
28
26
|
align-items: center;
|
|
29
27
|
|
|
@@ -84,14 +82,14 @@
|
|
|
84
82
|
justify-content: space-between;
|
|
85
83
|
|
|
86
84
|
&:hover {
|
|
87
|
-
background-color:
|
|
85
|
+
background-color: $background;
|
|
88
86
|
}
|
|
89
87
|
|
|
90
88
|
.label-set-name {
|
|
91
89
|
font-weight: 600;
|
|
92
90
|
font-size: 14px;
|
|
93
91
|
line-height: 20px;
|
|
94
|
-
color:
|
|
92
|
+
color: $text;
|
|
95
93
|
display: flex;
|
|
96
94
|
align-items: center;
|
|
97
95
|
gap: 8px;
|
|
@@ -116,7 +114,7 @@
|
|
|
116
114
|
padding: 4px 8px;
|
|
117
115
|
border-radius: 32px;
|
|
118
116
|
margin-left: 14px;
|
|
119
|
-
background:
|
|
117
|
+
background: $purple-low-opacity;
|
|
120
118
|
display: flex;
|
|
121
119
|
width: fit-content;
|
|
122
120
|
align-items: center;
|
|
@@ -141,7 +139,7 @@
|
|
|
141
139
|
flex-direction: row;
|
|
142
140
|
justify-content: space-between;
|
|
143
141
|
align-items: center;
|
|
144
|
-
border-bottom: 1px solid
|
|
142
|
+
border-bottom: 1px solid $grey-lightest;
|
|
145
143
|
min-height: 44px;
|
|
146
144
|
cursor: pointer;
|
|
147
145
|
|
|
@@ -149,7 +147,7 @@
|
|
|
149
147
|
display: flex;
|
|
150
148
|
flex-direction: row;
|
|
151
149
|
padding-left: 16px;
|
|
152
|
-
color:
|
|
150
|
+
color: $text-lighter;
|
|
153
151
|
align-items: center;
|
|
154
152
|
|
|
155
153
|
icon {
|
|
@@ -172,22 +170,22 @@
|
|
|
172
170
|
.label-annotations-pending {
|
|
173
171
|
padding: 0px 8px;
|
|
174
172
|
border-radius: 20px;
|
|
175
|
-
background:
|
|
176
|
-
color:
|
|
173
|
+
background: $grey-lighter-low-opacity;
|
|
174
|
+
color: $text-lighter;
|
|
177
175
|
margin-right: 4px;
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
.label-annotations-accepted {
|
|
181
179
|
padding: 0px 8px;
|
|
182
180
|
border-radius: 20px;
|
|
183
|
-
background:
|
|
184
|
-
color:
|
|
181
|
+
background: $green-low-opacity;
|
|
182
|
+
color: $green;
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
}
|
|
188
186
|
|
|
189
187
|
.label-group-annotation-list {
|
|
190
|
-
background-color:
|
|
188
|
+
background-color: $grey-hover;
|
|
191
189
|
|
|
192
190
|
.annotation-row {
|
|
193
191
|
padding-left: 16px;
|
|
@@ -195,7 +193,7 @@
|
|
|
195
193
|
}
|
|
196
194
|
|
|
197
195
|
.label-name {
|
|
198
|
-
color:
|
|
196
|
+
color: $text-lighter;
|
|
199
197
|
word-break: break-word;
|
|
200
198
|
font-size: 14px;
|
|
201
199
|
line-height: 20px;
|
|
@@ -205,7 +203,7 @@
|
|
|
205
203
|
|
|
206
204
|
.annotation-row {
|
|
207
205
|
width: 100%;
|
|
208
|
-
border-bottom: 1px solid
|
|
206
|
+
border-bottom: 1px solid $grey-lightest;
|
|
209
207
|
transition: background-color 0.2s ease-out;
|
|
210
208
|
align-items: center;
|
|
211
209
|
height: 100%;
|
|
@@ -260,13 +258,13 @@
|
|
|
260
258
|
gap: 8px;
|
|
261
259
|
min-width: 216px;
|
|
262
260
|
text-align: left;
|
|
263
|
-
border-bottom: 1px solid
|
|
261
|
+
border-bottom: 1px solid $low-opacity-white;
|
|
264
262
|
padding-bottom: 8px;
|
|
265
263
|
word-wrap: break-all;
|
|
266
264
|
white-space: normal;
|
|
267
265
|
|
|
268
266
|
.translation-title {
|
|
269
|
-
color:
|
|
267
|
+
color: $white;
|
|
270
268
|
font-weight: 400;
|
|
271
269
|
font-size: 12px;
|
|
272
270
|
line-height: 18px;
|
|
@@ -277,7 +275,7 @@
|
|
|
277
275
|
font-weight: 500;
|
|
278
276
|
text-align: right;
|
|
279
277
|
&.no-translation {
|
|
280
|
-
color:
|
|
278
|
+
color: $red;
|
|
281
279
|
font-weight: 400;
|
|
282
280
|
}
|
|
283
281
|
}
|
|
@@ -288,7 +286,7 @@
|
|
|
288
286
|
line-height: 18px;
|
|
289
287
|
font-size: 12px;
|
|
290
288
|
opacity: 0.7;
|
|
291
|
-
color:
|
|
289
|
+
color: $white;
|
|
292
290
|
font-weight: 400;
|
|
293
291
|
}
|
|
294
292
|
}
|
|
@@ -336,7 +334,7 @@
|
|
|
336
334
|
}
|
|
337
335
|
|
|
338
336
|
.spinner {
|
|
339
|
-
color:
|
|
337
|
+
color: $grey;
|
|
340
338
|
}
|
|
341
339
|
|
|
342
340
|
.annotation-items {
|
|
@@ -355,7 +353,7 @@
|
|
|
355
353
|
background-image: linear-gradient(
|
|
356
354
|
to right,
|
|
357
355
|
transparent,
|
|
358
|
-
|
|
356
|
+
$grey-hover 20%
|
|
359
357
|
);
|
|
360
358
|
|
|
361
359
|
&.is-ann-editing {
|
|
@@ -366,7 +364,7 @@
|
|
|
366
364
|
|
|
367
365
|
.annotation-value {
|
|
368
366
|
display: inline-block;
|
|
369
|
-
color:
|
|
367
|
+
color: $text;
|
|
370
368
|
padding: 0;
|
|
371
369
|
border: none;
|
|
372
370
|
background-color: transparent;
|
|
@@ -382,12 +380,12 @@
|
|
|
382
380
|
&.label-empty {
|
|
383
381
|
font-weight: 500;
|
|
384
382
|
font-size: 14px;
|
|
385
|
-
color:
|
|
383
|
+
color: $primary;
|
|
386
384
|
|
|
387
385
|
&.clicked-ann {
|
|
388
386
|
user-select: auto;
|
|
389
387
|
font-weight: 400;
|
|
390
|
-
color:
|
|
388
|
+
color: $text-lighter;
|
|
391
389
|
}
|
|
392
390
|
}
|
|
393
391
|
}
|
|
@@ -400,27 +398,27 @@
|
|
|
400
398
|
}
|
|
401
399
|
|
|
402
400
|
&:hover {
|
|
403
|
-
background-color:
|
|
401
|
+
background-color: $grey-hover !important;
|
|
404
402
|
}
|
|
405
403
|
&.selected {
|
|
406
|
-
background-color:
|
|
404
|
+
background-color: $grey-lightest;
|
|
407
405
|
}
|
|
408
406
|
|
|
409
407
|
&.hovered-empty-labels {
|
|
410
|
-
background-color:
|
|
411
|
-
border-bottom-color:
|
|
408
|
+
background-color: $grey-lightest;
|
|
409
|
+
border-bottom-color: $grey-detail;
|
|
412
410
|
}
|
|
413
411
|
|
|
414
412
|
&.hovered-pending-annotations {
|
|
415
413
|
position: relative;
|
|
416
|
-
border-bottom-color:
|
|
414
|
+
border-bottom-color: $primary;
|
|
417
415
|
|
|
418
416
|
&:before {
|
|
419
417
|
display: block;
|
|
420
418
|
content: "";
|
|
421
419
|
width: 100%;
|
|
422
420
|
height: 100%;
|
|
423
|
-
background:
|
|
421
|
+
background: $primary;
|
|
424
422
|
opacity: 0.1;
|
|
425
423
|
position: absolute;
|
|
426
424
|
top: 0;
|
|
@@ -429,21 +427,21 @@
|
|
|
429
427
|
}
|
|
430
428
|
|
|
431
429
|
&.editing {
|
|
432
|
-
background-color:
|
|
433
|
-
border-bottom: 1px solid
|
|
430
|
+
background-color: $background;
|
|
431
|
+
border-bottom: 1px solid $primary;
|
|
434
432
|
}
|
|
435
433
|
|
|
436
434
|
.not-found-text {
|
|
437
|
-
color:
|
|
435
|
+
color: $grey;
|
|
438
436
|
opacity: 0.3;
|
|
439
437
|
}
|
|
440
438
|
|
|
441
439
|
.saving-changes {
|
|
442
|
-
color:
|
|
440
|
+
color: $grey;
|
|
443
441
|
}
|
|
444
442
|
|
|
445
443
|
.error-editing {
|
|
446
|
-
color:
|
|
444
|
+
color: $red;
|
|
447
445
|
animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
448
446
|
transform: translate3d(0, 0, 0);
|
|
449
447
|
}
|
|
@@ -478,13 +476,13 @@
|
|
|
478
476
|
display: flex;
|
|
479
477
|
gap: 5px;
|
|
480
478
|
padding-left: 28px;
|
|
481
|
-
color:
|
|
479
|
+
color: $text-lighter;
|
|
482
480
|
font-size: 14px;
|
|
483
481
|
line-height: 20px;
|
|
484
482
|
min-height: 44px;
|
|
485
483
|
|
|
486
484
|
a {
|
|
487
|
-
color:
|
|
485
|
+
color: $white;
|
|
488
486
|
text-decoration: underline;
|
|
489
487
|
font-weight: 500;
|
|
490
488
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "./imports.scss";
|
|
2
2
|
|
|
3
3
|
.category-chooser {
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
height: 100%;
|
|
6
6
|
|
|
7
7
|
&.split-mode {
|
|
8
|
-
border: 1px solid
|
|
8
|
+
border: 1px solid $grey-outline;
|
|
9
9
|
border-radius: 4px;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: $white;
|
|
11
11
|
|
|
12
12
|
&:hover {
|
|
13
|
-
border-color:
|
|
13
|
+
border-color: $grey-outline-dark;
|
|
14
14
|
background-color: transparent;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
&:not(.split-mode) {
|
|
23
23
|
.category-drop-down {
|
|
24
|
-
border-right:
|
|
24
|
+
border-right: $component-border;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
.category-drop-down {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
.category-title {
|
|
55
55
|
font-size: 12px;
|
|
56
|
-
color:
|
|
56
|
+
color: $grey;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.category-name {
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: space-evenly;
|
|
74
|
-
border-right:
|
|
74
|
+
border-right: $component-border;
|
|
75
75
|
|
|
76
76
|
.category-info {
|
|
77
77
|
p {
|
|
78
78
|
font-size: 12px;
|
|
79
|
-
color:
|
|
79
|
+
color: $grey;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|