@striae-org/striae 3.0.4
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/.env.example +100 -0
- package/LICENSE +190 -0
- package/NOTICE +18 -0
- package/README.md +133 -0
- package/app/components/actions/case-export/core-export.ts +328 -0
- package/app/components/actions/case-export/data-processing.ts +167 -0
- package/app/components/actions/case-export/download-handlers.ts +900 -0
- package/app/components/actions/case-export/index.ts +41 -0
- package/app/components/actions/case-export/metadata-helpers.ts +107 -0
- package/app/components/actions/case-export/types-constants.ts +56 -0
- package/app/components/actions/case-export/validation-utils.ts +25 -0
- package/app/components/actions/case-export.ts +4 -0
- package/app/components/actions/case-import/annotation-import.ts +35 -0
- package/app/components/actions/case-import/confirmation-import.ts +363 -0
- package/app/components/actions/case-import/image-operations.ts +61 -0
- package/app/components/actions/case-import/index.ts +39 -0
- package/app/components/actions/case-import/orchestrator.ts +420 -0
- package/app/components/actions/case-import/storage-operations.ts +270 -0
- package/app/components/actions/case-import/validation.ts +189 -0
- package/app/components/actions/case-import/zip-processing.ts +413 -0
- package/app/components/actions/case-manage.ts +524 -0
- package/app/components/actions/case-review.ts +4 -0
- package/app/components/actions/confirm-export.ts +351 -0
- package/app/components/actions/generate-pdf.ts +210 -0
- package/app/components/actions/image-manage.ts +385 -0
- package/app/components/actions/notes-manage.ts +33 -0
- package/app/components/actions/signout.module.css +15 -0
- package/app/components/actions/signout.tsx +50 -0
- package/app/components/audit/user-audit-viewer.tsx +975 -0
- package/app/components/audit/user-audit.module.css +568 -0
- package/app/components/auth/auth-provider.tsx +78 -0
- package/app/components/auth/mfa-enrollment.module.css +268 -0
- package/app/components/auth/mfa-enrollment.tsx +398 -0
- package/app/components/auth/mfa-verification.module.css +251 -0
- package/app/components/auth/mfa-verification.tsx +295 -0
- package/app/components/button/button.module.css +63 -0
- package/app/components/button/button.tsx +46 -0
- package/app/components/canvas/box-annotations/box-annotations.module.css +170 -0
- package/app/components/canvas/box-annotations/box-annotations.tsx +634 -0
- package/app/components/canvas/canvas.module.css +314 -0
- package/app/components/canvas/canvas.tsx +449 -0
- package/app/components/canvas/confirmation/confirmation.module.css +187 -0
- package/app/components/canvas/confirmation/confirmation.tsx +214 -0
- package/app/components/colors/colors.module.css +59 -0
- package/app/components/colors/colors.tsx +68 -0
- package/app/components/form/base-form.tsx +21 -0
- package/app/components/form/form-button.tsx +28 -0
- package/app/components/form/form-field.tsx +53 -0
- package/app/components/form/form-message.tsx +17 -0
- package/app/components/form/form-toggle.tsx +23 -0
- package/app/components/form/form.module.css +427 -0
- package/app/components/form/index.ts +6 -0
- package/app/components/icon/icon.module.css +3 -0
- package/app/components/icon/icon.tsx +27 -0
- package/app/components/icon/icons.svg +102 -0
- package/app/components/icon/manifest.json +110 -0
- package/app/components/sidebar/case-export/case-export.module.css +386 -0
- package/app/components/sidebar/case-export/case-export.tsx +317 -0
- package/app/components/sidebar/case-import/case-import.module.css +626 -0
- package/app/components/sidebar/case-import/case-import.tsx +404 -0
- package/app/components/sidebar/case-import/components/CasePreviewSection.tsx +72 -0
- package/app/components/sidebar/case-import/components/ConfirmationDialog.tsx +72 -0
- package/app/components/sidebar/case-import/components/ConfirmationPreviewSection.tsx +71 -0
- package/app/components/sidebar/case-import/components/ExistingCaseSection.tsx +40 -0
- package/app/components/sidebar/case-import/components/FileSelector.tsx +161 -0
- package/app/components/sidebar/case-import/components/ProgressSection.tsx +46 -0
- package/app/components/sidebar/case-import/hooks/useFilePreview.ts +101 -0
- package/app/components/sidebar/case-import/hooks/useImportExecution.ts +152 -0
- package/app/components/sidebar/case-import/hooks/useImportState.ts +88 -0
- package/app/components/sidebar/case-import/index.ts +18 -0
- package/app/components/sidebar/case-import/utils/file-validation.ts +43 -0
- package/app/components/sidebar/cases/case-sidebar.tsx +827 -0
- package/app/components/sidebar/cases/cases-modal.module.css +166 -0
- package/app/components/sidebar/cases/cases-modal.tsx +201 -0
- package/app/components/sidebar/cases/cases.module.css +713 -0
- package/app/components/sidebar/files/files-modal.module.css +209 -0
- package/app/components/sidebar/files/files-modal.tsx +239 -0
- package/app/components/sidebar/hash/hash-utility.module.css +366 -0
- package/app/components/sidebar/hash/hash-utility.tsx +982 -0
- package/app/components/sidebar/notes/notes-modal.tsx +51 -0
- package/app/components/sidebar/notes/notes-sidebar.tsx +491 -0
- package/app/components/sidebar/notes/notes.module.css +360 -0
- package/app/components/sidebar/sidebar-container.tsx +149 -0
- package/app/components/sidebar/sidebar.module.css +321 -0
- package/app/components/sidebar/sidebar.tsx +215 -0
- package/app/components/sidebar/upload/image-upload-zone.module.css +123 -0
- package/app/components/sidebar/upload/image-upload-zone.tsx +330 -0
- package/app/components/theme-provider/theme-provider.tsx +131 -0
- package/app/components/theme-provider/theme.ts +155 -0
- package/app/components/toast/toast.module.css +137 -0
- package/app/components/toast/toast.tsx +56 -0
- package/app/components/toolbar/toolbar-color-selector.module.css +171 -0
- package/app/components/toolbar/toolbar-color-selector.tsx +129 -0
- package/app/components/toolbar/toolbar.module.css +42 -0
- package/app/components/toolbar/toolbar.tsx +167 -0
- package/app/components/user/delete-account.module.css +274 -0
- package/app/components/user/delete-account.tsx +471 -0
- package/app/components/user/inactivity-warning.module.css +145 -0
- package/app/components/user/inactivity-warning.tsx +84 -0
- package/app/components/user/manage-profile.module.css +190 -0
- package/app/components/user/manage-profile.tsx +253 -0
- package/app/components/user/mfa-phone-update.tsx +739 -0
- package/app/config-example/admin-service.json +13 -0
- package/app/config-example/config.json +17 -0
- package/app/config-example/firebase.ts +21 -0
- package/app/config-example/inactivity.ts +13 -0
- package/app/config-example/meta-config.json +6 -0
- package/app/contexts/auth.context.ts +12 -0
- package/app/entry.client.tsx +12 -0
- package/app/entry.server.tsx +44 -0
- package/app/hooks/useInactivityTimeout.ts +110 -0
- package/app/root.tsx +170 -0
- package/app/routes/_index.tsx +16 -0
- package/app/routes/auth/emailActionHandler.module.css +232 -0
- package/app/routes/auth/emailActionHandler.tsx +405 -0
- package/app/routes/auth/emailVerification.tsx +120 -0
- package/app/routes/auth/login.module.css +523 -0
- package/app/routes/auth/login.tsx +654 -0
- package/app/routes/auth/passwordReset.module.css +274 -0
- package/app/routes/auth/passwordReset.tsx +154 -0
- package/app/routes/auth/route.ts +16 -0
- package/app/routes/mobile-prevented/mobilePrevented.module.css +47 -0
- package/app/routes/mobile-prevented/mobilePrevented.tsx +26 -0
- package/app/routes/mobile-prevented/route.ts +14 -0
- package/app/routes/striae/striae.module.css +30 -0
- package/app/routes/striae/striae.tsx +417 -0
- package/app/services/audit-export.service.ts +755 -0
- package/app/services/audit.service.ts +1454 -0
- package/app/services/firebase-errors.ts +106 -0
- package/app/services/firebase.ts +15 -0
- package/app/styles/legal-pages.module.css +113 -0
- package/app/styles/root.module.css +146 -0
- package/app/tailwind.css +225 -0
- package/app/types/annotations.ts +45 -0
- package/app/types/audit.ts +301 -0
- package/app/types/case.ts +90 -0
- package/app/types/export.ts +8 -0
- package/app/types/file.ts +30 -0
- package/app/types/import.ts +107 -0
- package/app/types/index.ts +24 -0
- package/app/types/user.ts +38 -0
- package/app/utils/SHA256.ts +461 -0
- package/app/utils/annotation-timestamp.ts +25 -0
- package/app/utils/audit-export-signature.ts +117 -0
- package/app/utils/auth-action-settings.ts +48 -0
- package/app/utils/auth.ts +34 -0
- package/app/utils/batch-operations.ts +135 -0
- package/app/utils/confirmation-signature.ts +193 -0
- package/app/utils/data-operations.ts +871 -0
- package/app/utils/device-detection.ts +5 -0
- package/app/utils/html-sanitizer.ts +80 -0
- package/app/utils/id-generator.ts +36 -0
- package/app/utils/meta.ts +48 -0
- package/app/utils/mfa-phone.ts +97 -0
- package/app/utils/mfa.ts +79 -0
- package/app/utils/password-policy.ts +28 -0
- package/app/utils/permissions.ts +562 -0
- package/app/utils/signature-utils.ts +160 -0
- package/app/utils/style.ts +83 -0
- package/app/utils/version.ts +5 -0
- package/firebase.json +11 -0
- package/functions/[[path]].ts +10 -0
- package/package.json +138 -0
- package/postcss.config.js +6 -0
- package/public/.well-known/publickey.info@striae.org.asc +17 -0
- package/public/.well-known/security.txt +7 -0
- package/public/_headers +28 -0
- package/public/_routes.json +13 -0
- package/public/assets/striae.jpg +0 -0
- package/public/clear.jpg +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +9 -0
- package/public/icon-256.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/logo-dark.png +0 -0
- package/public/manifest.json +25 -0
- package/public/oin-badge.png +0 -0
- package/public/shortcut.png +0 -0
- package/public/social-image.png +0 -0
- package/public/striae-ascii.txt +10 -0
- package/scripts/deploy-all.sh +100 -0
- package/scripts/deploy-config.sh +940 -0
- package/scripts/deploy-pages.sh +34 -0
- package/scripts/deploy-worker-secrets.sh +215 -0
- package/scripts/dev.cjs +23 -0
- package/scripts/install-workers.sh +88 -0
- package/scripts/run-eslint.cjs +35 -0
- package/scripts/update-compatibility-dates.cjs +124 -0
- package/scripts/update-markdown-versions.cjs +43 -0
- package/tailwind.config.ts +22 -0
- package/tsconfig.json +33 -0
- package/vite.config.ts +35 -0
- package/worker-configuration.d.ts +7490 -0
- package/workers/audit-worker/package.json +17 -0
- package/workers/audit-worker/src/audit-worker.example.ts +195 -0
- package/workers/audit-worker/worker-configuration.d.ts +7448 -0
- package/workers/audit-worker/wrangler.jsonc.example +29 -0
- package/workers/data-worker/package.json +17 -0
- package/workers/data-worker/src/data-worker.example.ts +267 -0
- package/workers/data-worker/src/signature-utils.ts +79 -0
- package/workers/data-worker/src/signing-payload-utils.ts +290 -0
- package/workers/data-worker/worker-configuration.d.ts +7448 -0
- package/workers/data-worker/wrangler.jsonc.example +30 -0
- package/workers/image-worker/package.json +17 -0
- package/workers/image-worker/src/image-worker.example.ts +180 -0
- package/workers/image-worker/worker-configuration.d.ts +7447 -0
- package/workers/image-worker/wrangler.jsonc.example +22 -0
- package/workers/keys-worker/package.json +17 -0
- package/workers/keys-worker/src/keys.example.ts +66 -0
- package/workers/keys-worker/src/keys.ts +66 -0
- package/workers/keys-worker/worker-configuration.d.ts +7447 -0
- package/workers/keys-worker/wrangler.jsonc.example +22 -0
- package/workers/pdf-worker/package.json +17 -0
- package/workers/pdf-worker/src/format-striae.ts +534 -0
- package/workers/pdf-worker/src/pdf-worker.example.ts +119 -0
- package/workers/pdf-worker/src/report-types.ts +69 -0
- package/workers/pdf-worker/worker-configuration.d.ts +7448 -0
- package/workers/pdf-worker/wrangler.jsonc.example +26 -0
- package/workers/user-worker/package.json +17 -0
- package/workers/user-worker/src/user-worker.example.ts +636 -0
- package/workers/user-worker/worker-configuration.d.ts +7448 -0
- package/workers/user-worker/wrangler.jsonc.example +29 -0
- package/wrangler.toml.example +8 -0
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
/* Case Management */
|
|
2
|
+
.caseSection {
|
|
3
|
+
margin-bottom: 2rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.caseSection h4 {
|
|
7
|
+
font-size: 1.3rem;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
color: #495057;
|
|
10
|
+
margin-bottom: 1rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.limitsInfo {
|
|
14
|
+
font-size: 0.85rem;
|
|
15
|
+
color: #6c757d;
|
|
16
|
+
background-color: #f8f9fa;
|
|
17
|
+
padding: 0.5rem;
|
|
18
|
+
border-radius: 4px;
|
|
19
|
+
margin-bottom: 1rem;
|
|
20
|
+
border-left: 3px solid #fd0d0d;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.limitReached {
|
|
24
|
+
background-color: #fff3cd;
|
|
25
|
+
border: 1px solid #ffeaa7;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
padding: 0.5rem;
|
|
28
|
+
margin-bottom: 1rem;
|
|
29
|
+
color: #856404;
|
|
30
|
+
font-size: 0.85rem;
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.caseInput {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: 0.75rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.caseInput input {
|
|
41
|
+
width: 100%;
|
|
42
|
+
padding: 0.75rem;
|
|
43
|
+
border: 1.5px solid #ced4da;
|
|
44
|
+
border-radius: 6px;
|
|
45
|
+
font-size: 0.9rem;
|
|
46
|
+
transition: border-color 0.2s;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.caseInput input:focus {
|
|
51
|
+
outline: none;
|
|
52
|
+
border-color: #0d6efd;
|
|
53
|
+
box-shadow: 0 0 0 2px rgba(13,110,253,.25);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Buttons */
|
|
57
|
+
.caseInput button {
|
|
58
|
+
width: 100%;
|
|
59
|
+
padding: 0.75rem;
|
|
60
|
+
background-color: #4a90e2;
|
|
61
|
+
color: white;
|
|
62
|
+
border: none;
|
|
63
|
+
border-radius: 6px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
transition: all 0.2s;
|
|
67
|
+
margin-top: 0.5rem;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.caseInput button:hover:not(:disabled) {
|
|
72
|
+
background-color: #357abd;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.caseInput button:disabled {
|
|
76
|
+
background-color: #e9ecef;
|
|
77
|
+
color: #6c757d;
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.caseLoad button {
|
|
82
|
+
width: 100%;
|
|
83
|
+
padding: 0.75rem;
|
|
84
|
+
background-color: #198754;
|
|
85
|
+
color: white;
|
|
86
|
+
border: none;
|
|
87
|
+
border-radius: 6px;
|
|
88
|
+
font-weight: 500;
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
transition: all 0.2s;
|
|
91
|
+
margin-top: 0.5rem;
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.caseLoad button:hover:not(:disabled) {
|
|
96
|
+
background-color: #105032;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.caseLoad button:disabled {
|
|
100
|
+
background-color: #e9ecef;
|
|
101
|
+
color: #6c757d;
|
|
102
|
+
cursor: not-allowed;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.listButton {
|
|
106
|
+
width: 100%;
|
|
107
|
+
padding: 0.75rem;
|
|
108
|
+
background-color: #6c757d;
|
|
109
|
+
color: white;
|
|
110
|
+
border: none;
|
|
111
|
+
border-radius: 6px;
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
transition: all 0.2s;
|
|
115
|
+
margin-top: 0.5rem;
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.listButton:hover {
|
|
120
|
+
background-color: #5c636a;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.exportButton {
|
|
124
|
+
width: 100%;
|
|
125
|
+
padding: 0.75rem 1rem;
|
|
126
|
+
background-color: #0d6efd;
|
|
127
|
+
color: white;
|
|
128
|
+
border: none;
|
|
129
|
+
border-radius: 6px;
|
|
130
|
+
font-weight: 500;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
transition: all 0.2s;
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
box-shadow: 0 1px 3px rgba(13, 110, 253, 0.3);
|
|
135
|
+
margin-bottom: 1rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.exportButton:hover {
|
|
139
|
+
background-color: #0b5ed7;
|
|
140
|
+
box-shadow: 0 2px 6px rgba(13, 110, 253, 0.4);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.filesModalSection {
|
|
144
|
+
margin: 1rem 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.filesModalButton {
|
|
148
|
+
width: 100%;
|
|
149
|
+
padding: 0.75rem;
|
|
150
|
+
background-color: #17a2b8;
|
|
151
|
+
color: white;
|
|
152
|
+
border: none;
|
|
153
|
+
border-radius: 6px;
|
|
154
|
+
font-weight: 500;
|
|
155
|
+
cursor: pointer;
|
|
156
|
+
transition: all 0.2s;
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.filesModalButton:hover:not(:disabled) {
|
|
161
|
+
background-color: #138496;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.filesModalButton:disabled {
|
|
165
|
+
background-color: #6c757d;
|
|
166
|
+
cursor: not-allowed;
|
|
167
|
+
opacity: 0.6;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Status Messages */
|
|
171
|
+
.success {
|
|
172
|
+
font-size: 0.875rem;
|
|
173
|
+
margin-top: 0.5rem;
|
|
174
|
+
padding: 0.5rem;
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
color: #198754;
|
|
177
|
+
background-color: rgba(25,135,84,0.1);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Files Section */
|
|
181
|
+
.filesSection {
|
|
182
|
+
margin-top: 2rem;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.filesSection h4 {
|
|
186
|
+
margin-bottom: 1rem;
|
|
187
|
+
font-size: 1.3rem;
|
|
188
|
+
font-weight: 900;
|
|
189
|
+
text-align: center;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.emptyState {
|
|
193
|
+
color: #6c757d;
|
|
194
|
+
font-size: 0.9rem;
|
|
195
|
+
text-align: center;
|
|
196
|
+
padding: 1.5rem;
|
|
197
|
+
background: #f8f9fa;
|
|
198
|
+
border: 1px dashed #dee2e6;
|
|
199
|
+
border-radius: 6px;
|
|
200
|
+
margin: 1rem 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fileList {
|
|
204
|
+
list-style: none;
|
|
205
|
+
padding: 0;
|
|
206
|
+
margin: 0;
|
|
207
|
+
border: 1px solid #dee2e6;
|
|
208
|
+
border-radius: 6px;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
max-height: calc(5 * 3.5rem);
|
|
211
|
+
overflow-y: auto;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.fileList::-webkit-scrollbar {
|
|
215
|
+
width: 6px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.fileList::-webkit-scrollbar-track {
|
|
219
|
+
background: #f1f1f1;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.fileList::-webkit-scrollbar-thumb {
|
|
223
|
+
background: #c1c1c1;
|
|
224
|
+
border-radius: 3px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.fileList::-webkit-scrollbar-thumb:hover {
|
|
228
|
+
background: #a8a8a8;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.fileItem {
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
padding: 0.5rem 1rem;
|
|
235
|
+
border-bottom: 1px solid #dee2e6;
|
|
236
|
+
background: white;
|
|
237
|
+
transition: background-color 0.2s;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.fileButton {
|
|
241
|
+
flex: 1;
|
|
242
|
+
text-align: left;
|
|
243
|
+
padding: 0.5rem;
|
|
244
|
+
background: none;
|
|
245
|
+
border: none;
|
|
246
|
+
cursor: pointer;
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
text-overflow: ellipsis;
|
|
249
|
+
white-space: nowrap;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.fileItem:last-child {
|
|
253
|
+
border-bottom: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.fileItem:hover {
|
|
257
|
+
background-color: #f8f9fa;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.fileItem.active {
|
|
261
|
+
background-color: color-mix(in lab, var(--background) 90%, transparent);
|
|
262
|
+
font-weight: var(--fontWeightMedium);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.fileItem[role="button"] {
|
|
266
|
+
cursor: pointer;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.fileItem[role="button"]:hover {
|
|
270
|
+
background-color: #e9ecef;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.fileItem[role="button"]:active {
|
|
274
|
+
background-color: #dee2e6;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/* Files and Case Management */
|
|
280
|
+
|
|
281
|
+
.fileName {
|
|
282
|
+
flex: 1;
|
|
283
|
+
overflow: hidden;
|
|
284
|
+
text-overflow: ellipsis;
|
|
285
|
+
white-space: nowrap;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
/* Rename and Delete Cases */
|
|
290
|
+
|
|
291
|
+
.caseRename {
|
|
292
|
+
display: flex;
|
|
293
|
+
flex-direction: column;
|
|
294
|
+
gap: 0.75rem;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.caseRename input {
|
|
298
|
+
width: 100%;
|
|
299
|
+
padding: 0.75rem;
|
|
300
|
+
border: 1.5px solid #ced4da;
|
|
301
|
+
border-radius: 6px;
|
|
302
|
+
font-size: 0.9rem;
|
|
303
|
+
transition: border-color 0.2s;
|
|
304
|
+
box-sizing: border-box;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.caseRename input:focus {
|
|
308
|
+
outline: none;
|
|
309
|
+
border-color: #0d6efd;
|
|
310
|
+
box-shadow: 0 0 0 2px rgba(13,110,253,.25);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Buttons */
|
|
314
|
+
.caseRename button {
|
|
315
|
+
width: 100%;
|
|
316
|
+
padding: 0.75rem;
|
|
317
|
+
background-color: #ffc107;
|
|
318
|
+
color: #000;
|
|
319
|
+
border: none;
|
|
320
|
+
border-radius: 6px;
|
|
321
|
+
font-weight: 500;
|
|
322
|
+
cursor: pointer;
|
|
323
|
+
transition: all 0.2s;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.caseRename button:hover:not(:disabled) {
|
|
327
|
+
background-color: #ffca2c;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.caseRename button:disabled {
|
|
331
|
+
background-color: #e9ecef;
|
|
332
|
+
color: #6c757d;
|
|
333
|
+
cursor: not-allowed;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.deleteButton {
|
|
337
|
+
margin-left: auto;
|
|
338
|
+
background: none;
|
|
339
|
+
border: none;
|
|
340
|
+
color: #dc3545;
|
|
341
|
+
font-size: 1.2rem;
|
|
342
|
+
cursor: pointer;
|
|
343
|
+
padding: 0.5rem;
|
|
344
|
+
display: flex;
|
|
345
|
+
align-items: center;
|
|
346
|
+
justify-content: center;
|
|
347
|
+
min-width: 32px;
|
|
348
|
+
height: 32px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.deleteButton:hover {
|
|
352
|
+
color: #bd2130;
|
|
353
|
+
background-color: rgba(220, 53, 69, 0.1);
|
|
354
|
+
border-radius: 4px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.deleteCaseSection {
|
|
358
|
+
margin-top: 2rem;
|
|
359
|
+
padding-top: 1rem;
|
|
360
|
+
border-top: 2px solid #e9ecef;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.deleteWarningButton {
|
|
364
|
+
width: 100%;
|
|
365
|
+
padding: 0.75rem;
|
|
366
|
+
background-color: #dc3545;
|
|
367
|
+
color: white;
|
|
368
|
+
border: none;
|
|
369
|
+
border-radius: 6px;
|
|
370
|
+
font-weight: 500;
|
|
371
|
+
cursor: pointer;
|
|
372
|
+
transition: all 0.2s;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.deleteWarningButton:hover:not(:disabled) {
|
|
376
|
+
background-color: #bd2130;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.deleteWarningButton:disabled {
|
|
380
|
+
background-color: #e9ecef;
|
|
381
|
+
color: #6c757d;
|
|
382
|
+
cursor: not-allowed;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.clearReadOnlyButton {
|
|
386
|
+
width: 100%;
|
|
387
|
+
padding: 0.75rem;
|
|
388
|
+
background-color: #6f42c1;
|
|
389
|
+
color: white;
|
|
390
|
+
border: none;
|
|
391
|
+
border-radius: 6px;
|
|
392
|
+
font-weight: 500;
|
|
393
|
+
cursor: pointer;
|
|
394
|
+
transition: all 0.2s;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.clearReadOnlyButton:hover:not(:disabled) {
|
|
398
|
+
background-color: #5a359a;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.clearReadOnlyButton:disabled {
|
|
402
|
+
background-color: #e9ecef;
|
|
403
|
+
color: #6c757d;
|
|
404
|
+
cursor: not-allowed;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/* Notes Toggle */
|
|
408
|
+
|
|
409
|
+
.sidebarToggle {
|
|
410
|
+
margin-bottom: 1rem;
|
|
411
|
+
padding: 1rem 1rem;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.sidebarToggle button {
|
|
415
|
+
width: 100%;
|
|
416
|
+
padding: 0.75rem;
|
|
417
|
+
background-color: var(--primary);
|
|
418
|
+
color: white;
|
|
419
|
+
border: none;
|
|
420
|
+
border-radius: 6px;
|
|
421
|
+
font-weight: 500;
|
|
422
|
+
cursor: pointer;
|
|
423
|
+
transition: all 0.2s;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.sidebarToggle button:hover:not(:disabled) {
|
|
427
|
+
background-color: color-mix(in lab, var(--primary) 85%, var(--black));
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.sidebarToggle button:disabled {
|
|
431
|
+
background-color: var(--backgroundLight);
|
|
432
|
+
color: var(--textLight);
|
|
433
|
+
cursor: not-allowed;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/* Case Actions Section */
|
|
437
|
+
.caseActionsSection {
|
|
438
|
+
margin-top: 1.5rem;
|
|
439
|
+
border-top: 1px solid #dee2e6;
|
|
440
|
+
padding-top: 1rem;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.caseActionsButton {
|
|
444
|
+
width: 100%;
|
|
445
|
+
padding: 0.75rem;
|
|
446
|
+
background-color: #0d6efd;
|
|
447
|
+
color: white;
|
|
448
|
+
border: none;
|
|
449
|
+
border-radius: 6px;
|
|
450
|
+
font-weight: 500;
|
|
451
|
+
cursor: pointer;
|
|
452
|
+
transition: all 0.2s;
|
|
453
|
+
margin-bottom: 0.75rem;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.caseActionsButton:hover:not(:disabled) {
|
|
457
|
+
background-color: #0b5ed7;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.caseActionsButton:disabled {
|
|
461
|
+
background-color: var(--backgroundLight);
|
|
462
|
+
color: var(--textLight);
|
|
463
|
+
cursor: not-allowed;
|
|
464
|
+
opacity: 0.6;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.caseActionsButton:disabled:hover {
|
|
468
|
+
background-color: var(--backgroundLight);
|
|
469
|
+
transform: none;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.caseActionsButton:active {
|
|
473
|
+
transform: translateY(0);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.caseActionsToggle {
|
|
477
|
+
width: 100%;
|
|
478
|
+
padding: 0.75rem;
|
|
479
|
+
background-color: rgba(212, 0, 0, 0.7);
|
|
480
|
+
color: white;
|
|
481
|
+
border: none;
|
|
482
|
+
border-radius: 6px;
|
|
483
|
+
font-weight: 500;
|
|
484
|
+
cursor: pointer;
|
|
485
|
+
transition: all 0.2s;
|
|
486
|
+
margin-bottom: 0.75rem;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.caseActionsToggle:hover {
|
|
490
|
+
background-color: rgba(180, 0, 0, 0.9);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.caseActionsToggle:disabled {
|
|
494
|
+
background-color: var(--backgroundLight);
|
|
495
|
+
color: var(--textLight);
|
|
496
|
+
cursor: not-allowed;
|
|
497
|
+
opacity: 0.6;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.caseActionsToggle:disabled:hover {
|
|
501
|
+
background-color: var(--backgroundLight);
|
|
502
|
+
transform: none;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.caseActionsToggle:active {
|
|
506
|
+
transform: translateY(0);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.caseActionsContent {
|
|
510
|
+
margin-top: 1rem;
|
|
511
|
+
padding: 1rem;
|
|
512
|
+
background-color: #f8f9fa;
|
|
513
|
+
border-radius: 6px;
|
|
514
|
+
border: 1px solid #dee2e6;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.exportSection {
|
|
518
|
+
margin-bottom: 1rem;
|
|
519
|
+
padding-bottom: 1rem;
|
|
520
|
+
border-bottom: 1px solid #dee2e6;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.exportButton {
|
|
524
|
+
width: 100%;
|
|
525
|
+
padding: 0.75rem;
|
|
526
|
+
background-color: #198754;
|
|
527
|
+
color: white;
|
|
528
|
+
border: none;
|
|
529
|
+
border-radius: 6px;
|
|
530
|
+
font-weight: 500;
|
|
531
|
+
cursor: pointer;
|
|
532
|
+
transition: all 0.2s;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.exportButton:hover:not(:disabled) {
|
|
536
|
+
background-color: #157347;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.exportButton:disabled {
|
|
540
|
+
background-color: #e9ecef;
|
|
541
|
+
color: #6c757d;
|
|
542
|
+
cursor: not-allowed;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.renameDeleteSection {
|
|
546
|
+
margin-top: 1rem;
|
|
547
|
+
padding-top: 1rem;
|
|
548
|
+
border-top: 1px solid #dee2e6;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.caseActionsContent .caseRename {
|
|
552
|
+
margin-bottom: 1rem;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.caseActionsContent .caseRename input {
|
|
556
|
+
width: 100%;
|
|
557
|
+
padding: 0.5rem;
|
|
558
|
+
border: 1px solid #ced4da;
|
|
559
|
+
border-radius: 4px;
|
|
560
|
+
margin-bottom: 0.5rem;
|
|
561
|
+
box-sizing: border-box;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.caseActionsContent .caseRename button {
|
|
565
|
+
width: 100%;
|
|
566
|
+
padding: 0.5rem;
|
|
567
|
+
background-color: #6c757d;
|
|
568
|
+
color: white;
|
|
569
|
+
border: none;
|
|
570
|
+
border-radius: 4px;
|
|
571
|
+
cursor: pointer;
|
|
572
|
+
transition: background-color 0.2s;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.caseActionsContent .caseRename button:hover:not(:disabled) {
|
|
576
|
+
background-color: #5a6268;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.caseActionsContent .caseRename button:disabled {
|
|
580
|
+
background-color: #adb5bd;
|
|
581
|
+
cursor: not-allowed;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.caseActionsContent .deleteCaseSection button {
|
|
585
|
+
width: 100%;
|
|
586
|
+
padding: 0.5rem;
|
|
587
|
+
background-color: #dc3545;
|
|
588
|
+
color: white;
|
|
589
|
+
border: none;
|
|
590
|
+
border-radius: 4px;
|
|
591
|
+
cursor: pointer;
|
|
592
|
+
transition: background-color 0.2s;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.caseActionsContent .deleteCaseSection button:hover:not(:disabled) {
|
|
596
|
+
background-color: #c82333;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.caseActionsContent .deleteCaseSection button:disabled {
|
|
600
|
+
background-color: #f5c6cb;
|
|
601
|
+
cursor: not-allowed;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/* Error Messages - now in component modules */
|
|
605
|
+
.error {
|
|
606
|
+
font-size: 0.875rem;
|
|
607
|
+
color: #dc3545;
|
|
608
|
+
background-color: rgba(220, 53, 69, 0.1);
|
|
609
|
+
margin-top: 0.5rem;
|
|
610
|
+
padding: 0.5rem;
|
|
611
|
+
border-radius: 4px;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.auditTrailSection {
|
|
615
|
+
margin-top: 1rem;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.auditTrailButton {
|
|
619
|
+
width: 100%;
|
|
620
|
+
padding: 0.75rem;
|
|
621
|
+
background-color: #6f42c1;
|
|
622
|
+
color: white;
|
|
623
|
+
border: none;
|
|
624
|
+
border-radius: 6px;
|
|
625
|
+
font-weight: 500;
|
|
626
|
+
cursor: pointer;
|
|
627
|
+
transition: all 0.2s;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.auditTrailButton:hover:not(:disabled) {
|
|
631
|
+
background-color: #5a359a;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.auditTrailButton:disabled {
|
|
635
|
+
background-color: #e9ecef;
|
|
636
|
+
color: #6c757d;
|
|
637
|
+
cursor: not-allowed;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/* Case Header Container */
|
|
641
|
+
.caseHeader {
|
|
642
|
+
/* Normal case header styling (no background) */
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.readOnlyContainer {
|
|
646
|
+
background: #fff3cd;
|
|
647
|
+
border: 1px solid #ffeaa7;
|
|
648
|
+
border-radius: 4px;
|
|
649
|
+
padding: 0.75rem;
|
|
650
|
+
margin-bottom: 1rem;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.caseNumber {
|
|
654
|
+
margin: 0;
|
|
655
|
+
font-size: 1rem;
|
|
656
|
+
font-weight: 600;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/* Case Confirmation Status Indicators */
|
|
660
|
+
.caseNumber.caseNotConfirmed {
|
|
661
|
+
background-color: #fffacd;
|
|
662
|
+
padding: 0.75rem;
|
|
663
|
+
border-radius: 4px;
|
|
664
|
+
margin: 0;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.caseNumber.caseConfirmed {
|
|
668
|
+
background-color: #c8e6c9;
|
|
669
|
+
padding: 0.75rem;
|
|
670
|
+
border-radius: 4px;
|
|
671
|
+
margin: 0;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/* Read-Only Badge */
|
|
675
|
+
.readOnlyBadge {
|
|
676
|
+
font-size: 0.75rem;
|
|
677
|
+
font-weight: 600;
|
|
678
|
+
text-align: center;
|
|
679
|
+
color: #856404;
|
|
680
|
+
margin-top: 0.25rem;
|
|
681
|
+
}
|
|
682
|
+
/* Confirmation Status Indicators */
|
|
683
|
+
.fileItemNotConfirmed {
|
|
684
|
+
background-color: color-mix(in lab, var(--warning) 15%, var(--backgroundLight));
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.fileItemNotConfirmed:hover {
|
|
688
|
+
background-color: color-mix(in lab, var(--warning) 20%, var(--backgroundLight));
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.fileItem.active.fileItemNotConfirmed {
|
|
692
|
+
background-color: color-mix(in lab, var(--warning) 15%, var(--backgroundLight));
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.fileItem.active.fileItemNotConfirmed:hover {
|
|
696
|
+
background-color: color-mix(in lab, var(--warning) 20%, var(--backgroundLight));
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.fileItemConfirmed {
|
|
700
|
+
background-color: color-mix(in lab, var(--success) 20%, var(--backgroundLight));
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.fileItemConfirmed:hover {
|
|
704
|
+
background-color: color-mix(in lab, var(--success) 28%, var(--backgroundLight));
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.fileItem.active.fileItemConfirmed {
|
|
708
|
+
background-color: color-mix(in lab, var(--success) 20%, var(--backgroundLight));
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.fileItem.active.fileItemConfirmed:hover {
|
|
712
|
+
background-color: color-mix(in lab, var(--success) 28%, var(--backgroundLight));
|
|
713
|
+
}
|