@konfuzio/document-validation-ui 0.1.55-dev.0 → 0.1.55-dev.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.
- 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 +66 -23
- package/dist/js/chunk-vendors.js.map +1 -1
- package/jest.config.js +22 -2
- package/package.json +31 -37
- 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 +40 -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 +29 -28
- 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 +2 -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 +10 -10
- package/src/assets/scss/document_viewport_modal.scss +3 -3
- package/src/assets/scss/documents_list.scss +11 -12
- 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/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 +21 -14
- package/src/assets/scss/scrolling_document.scss +1 -1
- package/src/assets/scss/theme.scss +63 -52
- package/src/assets/scss/variables.scss +2 -0
- package/src/components/App.vue +75 -14
- package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +2 -5
- package/src/components/DocumentAnnotations/AnnotationRow.vue +14 -2
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +19 -22
- package/src/components/DocumentDashboard.vue +11 -16
- package/src/components/DocumentEdit/EditPages.vue +48 -48
- package/src/components/DocumentPage/DocumentPage.vue +2 -2
- package/src/components/DocumentPage/EditAnnotation.vue +14 -12
- package/src/components/DocumentPage/NewAnnotation.vue +15 -14
- package/src/constants.js +1 -7
- package/src/i18n.js +2 -5
- package/src/locales/de.json +1 -1
- package/src/locales/en.json +1 -1
- package/src/locales/es.json +1 -1
- package/src/main.js +13 -16
- package/src/store/display.js +33 -22
- package/src/store/document.js +30 -15
- package/src/store/index.js +5 -8
- package/src/utils/utils.js +6 -0
- package/src/assets/scss/imports.scss +0 -1
package/jest.config.js
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
moduleFileExtensions: [
|
|
3
|
+
"vue",
|
|
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
|
+
},
|
|
4
20
|
transformIgnorePatterns: ["node_modules/(?!axios|keycloak-js)"],
|
|
21
|
+
transform: {
|
|
22
|
+
"^.+\\.[t|j]sx?$": "babel-jest",
|
|
23
|
+
"^.+\\.vue$": "@vue/vue3-jest",
|
|
24
|
+
},
|
|
5
25
|
};
|
package/package.json
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konfuzio/document-validation-ui",
|
|
3
|
-
"version": "0.1.55-dev.
|
|
4
|
-
"repository": "
|
|
3
|
+
"version": "0.1.55-dev.1",
|
|
4
|
+
"repository": "https://github.com/konfuzio-ai/document-validation-ui",
|
|
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": "jest",
|
|
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
|
-
],
|
|
20
16
|
"files": [
|
|
21
17
|
"dist/*",
|
|
22
18
|
"src/*",
|
|
@@ -24,44 +20,42 @@
|
|
|
24
20
|
"*.js"
|
|
25
21
|
],
|
|
26
22
|
"dependencies": {
|
|
27
|
-
"@fortawesome/fontawesome-svg-core": "^6.
|
|
28
|
-
"@fortawesome/free-solid-svg-icons": "^6.
|
|
29
|
-
"@fortawesome/vue-fontawesome": "^
|
|
23
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
24
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
25
|
+
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
30
26
|
"@sentry/tracing": "^6.19.4",
|
|
31
27
|
"@sentry/vue": "^6.2.0",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"sass
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"vue
|
|
42
|
-
"vue-
|
|
43
|
-
"vue-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"vuex": "^3.6.2"
|
|
28
|
+
"@vue/compat": "^3.5.13",
|
|
29
|
+
"axios": "^1.8.2",
|
|
30
|
+
"bignumber.js": "^9.1.2",
|
|
31
|
+
"buefy": "npm:@ntohq/buefy-next@^0.2.0",
|
|
32
|
+
"keycloak-js": "^25.0.6",
|
|
33
|
+
"konva": "^9.3.18",
|
|
34
|
+
"sass": "^1.85.0",
|
|
35
|
+
"sass-loader": "^16.0.5",
|
|
36
|
+
"splitpanes": "^3.1.8",
|
|
37
|
+
"vue": "^3.5.13",
|
|
38
|
+
"vue-i18n": "^10.0.5",
|
|
39
|
+
"vue-konva": "^3.2.0",
|
|
40
|
+
"vue3-observe-visibility": "^1.0.3",
|
|
41
|
+
"vuedraggable": "^4.1.0",
|
|
42
|
+
"vuex": "^4.1.0"
|
|
48
43
|
},
|
|
49
44
|
"devDependencies": {
|
|
50
|
-
"@4tw/cypress-drag-drop": "^2.
|
|
51
|
-
"@
|
|
52
|
-
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
53
|
-
"@vue/cli-plugin-unit-jest": "^5.0.8",
|
|
45
|
+
"@4tw/cypress-drag-drop": "^2.3.0",
|
|
46
|
+
"@babel/preset-env": "^7.26.9",
|
|
54
47
|
"@vue/cli-service": "^5.0.8",
|
|
55
|
-
"@vue/
|
|
56
|
-
"@vue/
|
|
57
|
-
"
|
|
48
|
+
"@vue/compiler-sfc": "^3.1.0",
|
|
49
|
+
"@vue/test-utils": "^2.4.6",
|
|
50
|
+
"@vue/vue3-jest": "^29.2.6",
|
|
51
|
+
"babel-jest": "^29.7.0",
|
|
58
52
|
"cypress": "^13.2.0",
|
|
59
53
|
"dotenv": "^16.3.1",
|
|
60
|
-
"eslint": "^8.
|
|
54
|
+
"eslint": "^8.57.1",
|
|
61
55
|
"eslint-config-prettier": "^8.6.0",
|
|
62
|
-
"eslint-plugin-vue": "^9.
|
|
63
|
-
"jest": "^
|
|
64
|
-
"
|
|
56
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
57
|
+
"jest": "^29.2.6",
|
|
58
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
65
59
|
"prettier": "2.8.1"
|
|
66
60
|
}
|
|
67
61
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.scss";
|
|
2
2
|
|
|
3
3
|
.ann-set-table-header {
|
|
4
4
|
position: absolute;
|
|
5
|
-
background-color:
|
|
6
|
-
color:
|
|
5
|
+
background-color: variables.$purple;
|
|
6
|
+
color: variables.$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: variables.$red;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.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: variables.$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: variables.$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: variables.$green !important;
|
|
58
58
|
}
|
|
59
59
|
.save-icon {
|
|
60
|
-
color:
|
|
60
|
+
color: variables.$primary;
|
|
61
61
|
}
|
|
62
62
|
.decline-icon {
|
|
63
|
-
color:
|
|
63
|
+
color: variables.$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: variables.$grey-blue;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.spinner-icon {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.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: variables.$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 variables.$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: variables.$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 variables.$low-opacity-white;
|
|
75
75
|
padding-bottom: 8px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.value {
|
|
79
|
-
color:
|
|
79
|
+
color: variables.$green;
|
|
80
80
|
|
|
81
81
|
&.yellow {
|
|
82
|
-
color:
|
|
82
|
+
color: variables.$yellow;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&.red {
|
|
86
|
-
color:
|
|
86
|
+
color: variables.$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: variables.$white;
|
|
96
96
|
|
|
97
97
|
> div {
|
|
98
98
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.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: variables.$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: variables.$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: variables.$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: variables.$text-color;
|
|
44
44
|
margin-top: 8px;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.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: variables.$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: variables.$white;
|
|
32
32
|
font-size: 14px;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
line-height: 20px;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.scss";
|
|
2
2
|
|
|
3
3
|
#document-annotations {
|
|
4
|
-
font-family:
|
|
5
|
-
background-color:
|
|
4
|
+
font-family: variables.$font-family;
|
|
5
|
+
background-color: variables.$background;
|
|
6
|
+
overflow-y: auto;
|
|
6
7
|
position: relative;
|
|
7
8
|
display: flex;
|
|
8
9
|
flex-direction: column;
|
|
10
|
+
height: 100%;
|
|
9
11
|
|
|
10
12
|
&.disabled {
|
|
11
13
|
pointer-events: none;
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
padding-right: 16px;
|
|
22
24
|
padding-bottom: 8px;
|
|
23
25
|
width: 100%;
|
|
24
|
-
box-shadow: 0px 1px 0px
|
|
26
|
+
box-shadow: 0px 1px 0px variables.$grey-lightest;
|
|
25
27
|
display: flex;
|
|
26
28
|
align-items: center;
|
|
27
29
|
|
|
@@ -45,8 +47,6 @@
|
|
|
45
47
|
|
|
46
48
|
.annotation-set-list {
|
|
47
49
|
padding-bottom: 16px;
|
|
48
|
-
overflow: auto;
|
|
49
|
-
height: 100vh;
|
|
50
50
|
|
|
51
51
|
.annotation-options {
|
|
52
52
|
display: flex;
|
|
@@ -84,14 +84,14 @@
|
|
|
84
84
|
justify-content: space-between;
|
|
85
85
|
|
|
86
86
|
&:hover {
|
|
87
|
-
background-color:
|
|
87
|
+
background-color: variables.$background;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.label-set-name {
|
|
91
91
|
font-weight: 600;
|
|
92
92
|
font-size: 14px;
|
|
93
93
|
line-height: 20px;
|
|
94
|
-
color:
|
|
94
|
+
color: variables.$text;
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
gap: 8px;
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
padding: 4px 8px;
|
|
117
117
|
border-radius: 32px;
|
|
118
118
|
margin-left: 14px;
|
|
119
|
-
background:
|
|
119
|
+
background: variables.$purple-low-opacity;
|
|
120
120
|
display: flex;
|
|
121
121
|
width: fit-content;
|
|
122
122
|
align-items: center;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
flex-direction: row;
|
|
142
142
|
justify-content: space-between;
|
|
143
143
|
align-items: center;
|
|
144
|
-
border-bottom: 1px solid
|
|
144
|
+
border-bottom: 1px solid variables.$grey-lightest;
|
|
145
145
|
min-height: 44px;
|
|
146
146
|
cursor: pointer;
|
|
147
147
|
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
display: flex;
|
|
150
150
|
flex-direction: row;
|
|
151
151
|
padding-left: 16px;
|
|
152
|
-
color:
|
|
152
|
+
color: variables.$text-lighter;
|
|
153
153
|
align-items: center;
|
|
154
154
|
|
|
155
155
|
icon {
|
|
@@ -172,22 +172,22 @@
|
|
|
172
172
|
.label-annotations-pending {
|
|
173
173
|
padding: 0px 8px;
|
|
174
174
|
border-radius: 20px;
|
|
175
|
-
background:
|
|
176
|
-
color:
|
|
175
|
+
background: variables.$grey-lighter-low-opacity;
|
|
176
|
+
color: variables.$text-lighter;
|
|
177
177
|
margin-right: 4px;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.label-annotations-accepted {
|
|
181
181
|
padding: 0px 8px;
|
|
182
182
|
border-radius: 20px;
|
|
183
|
-
background:
|
|
184
|
-
color:
|
|
183
|
+
background: variables.$green-low-opacity;
|
|
184
|
+
color: variables.$green;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
.label-group-annotation-list {
|
|
190
|
-
background-color:
|
|
190
|
+
background-color: variables.$grey-hover;
|
|
191
191
|
|
|
192
192
|
.annotation-row {
|
|
193
193
|
padding-left: 16px;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
.label-name {
|
|
198
|
-
color:
|
|
198
|
+
color: variables.$text-lighter;
|
|
199
199
|
word-break: break-word;
|
|
200
200
|
font-size: 14px;
|
|
201
201
|
line-height: 20px;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
|
|
206
206
|
.annotation-row {
|
|
207
207
|
width: 100%;
|
|
208
|
-
border-bottom: 1px solid
|
|
208
|
+
border-bottom: 1px solid variables.$grey-lightest;
|
|
209
209
|
transition: background-color 0.2s ease-out;
|
|
210
210
|
align-items: center;
|
|
211
211
|
height: 100%;
|
|
@@ -260,13 +260,13 @@
|
|
|
260
260
|
gap: 8px;
|
|
261
261
|
min-width: 216px;
|
|
262
262
|
text-align: left;
|
|
263
|
-
border-bottom: 1px solid
|
|
263
|
+
border-bottom: 1px solid variables.$low-opacity-white;
|
|
264
264
|
padding-bottom: 8px;
|
|
265
265
|
word-wrap: break-all;
|
|
266
266
|
white-space: normal;
|
|
267
267
|
|
|
268
268
|
.translation-title {
|
|
269
|
-
color:
|
|
269
|
+
color: variables.$white;
|
|
270
270
|
font-weight: 400;
|
|
271
271
|
font-size: 12px;
|
|
272
272
|
line-height: 18px;
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
font-weight: 500;
|
|
278
278
|
text-align: right;
|
|
279
279
|
&.no-translation {
|
|
280
|
-
color:
|
|
280
|
+
color: variables.$red;
|
|
281
281
|
font-weight: 400;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
line-height: 18px;
|
|
289
289
|
font-size: 12px;
|
|
290
290
|
opacity: 0.7;
|
|
291
|
-
color:
|
|
291
|
+
color: variables.$white;
|
|
292
292
|
font-weight: 400;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
.spinner {
|
|
339
|
-
color:
|
|
339
|
+
color: variables.$grey;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
.annotation-items {
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
background-image: linear-gradient(
|
|
356
356
|
to right,
|
|
357
357
|
transparent,
|
|
358
|
-
|
|
358
|
+
variables.$grey-hover 20%
|
|
359
359
|
);
|
|
360
360
|
|
|
361
361
|
&.is-ann-editing {
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
|
|
367
367
|
.annotation-value {
|
|
368
368
|
display: inline-block;
|
|
369
|
-
color:
|
|
369
|
+
color: variables.$text;
|
|
370
370
|
padding: 0;
|
|
371
371
|
border: none;
|
|
372
372
|
background-color: transparent;
|
|
@@ -382,12 +382,12 @@
|
|
|
382
382
|
&.label-empty {
|
|
383
383
|
font-weight: 500;
|
|
384
384
|
font-size: 14px;
|
|
385
|
-
color:
|
|
385
|
+
color: variables.$primary;
|
|
386
386
|
|
|
387
387
|
&.clicked-ann {
|
|
388
388
|
user-select: auto;
|
|
389
389
|
font-weight: 400;
|
|
390
|
-
color:
|
|
390
|
+
color: variables.$text-lighter;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
}
|
|
@@ -400,27 +400,27 @@
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
&:hover {
|
|
403
|
-
background-color:
|
|
403
|
+
background-color: variables.$grey-hover !important;
|
|
404
404
|
}
|
|
405
405
|
&.selected {
|
|
406
|
-
background-color:
|
|
406
|
+
background-color: variables.$grey-lightest;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
&.hovered-empty-labels {
|
|
410
|
-
background-color:
|
|
411
|
-
border-bottom-color:
|
|
410
|
+
background-color: variables.$grey-lightest;
|
|
411
|
+
border-bottom-color: variables.$grey-detail;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
&.hovered-pending-annotations {
|
|
415
415
|
position: relative;
|
|
416
|
-
border-bottom-color:
|
|
416
|
+
border-bottom-color: variables.$primary;
|
|
417
417
|
|
|
418
418
|
&:before {
|
|
419
419
|
display: block;
|
|
420
420
|
content: "";
|
|
421
421
|
width: 100%;
|
|
422
422
|
height: 100%;
|
|
423
|
-
background:
|
|
423
|
+
background: variables.$primary;
|
|
424
424
|
opacity: 0.1;
|
|
425
425
|
position: absolute;
|
|
426
426
|
top: 0;
|
|
@@ -429,21 +429,21 @@
|
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
&.editing {
|
|
432
|
-
background-color:
|
|
433
|
-
border-bottom: 1px solid
|
|
432
|
+
background-color: variables.$background;
|
|
433
|
+
border-bottom: 1px solid variables.$primary;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.not-found-text {
|
|
437
|
-
color:
|
|
437
|
+
color: variables.$grey;
|
|
438
438
|
opacity: 0.3;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.saving-changes {
|
|
442
|
-
color:
|
|
442
|
+
color: variables.$grey;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.error-editing {
|
|
446
|
-
color:
|
|
446
|
+
color: variables.$red;
|
|
447
447
|
animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
448
448
|
transform: translate3d(0, 0, 0);
|
|
449
449
|
}
|
|
@@ -478,13 +478,13 @@
|
|
|
478
478
|
display: flex;
|
|
479
479
|
gap: 5px;
|
|
480
480
|
padding-left: 28px;
|
|
481
|
-
color:
|
|
481
|
+
color: variables.$text-lighter;
|
|
482
482
|
font-size: 14px;
|
|
483
483
|
line-height: 20px;
|
|
484
484
|
min-height: 44px;
|
|
485
485
|
|
|
486
486
|
a {
|
|
487
|
-
color:
|
|
487
|
+
color: variables.$white;
|
|
488
488
|
text-decoration: underline;
|
|
489
489
|
font-weight: 500;
|
|
490
490
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "variables.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 variables.$grey-outline;
|
|
9
9
|
border-radius: 4px;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: variables.$white;
|
|
11
11
|
|
|
12
12
|
&:hover {
|
|
13
|
-
border-color:
|
|
13
|
+
border-color: variables.$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: variables.$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: variables.$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: variables.$component-border;
|
|
75
75
|
|
|
76
76
|
.category-info {
|
|
77
77
|
p {
|
|
78
78
|
font-size: 12px;
|
|
79
|
-
color:
|
|
79
|
+
color: variables.$grey;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|