File size: 4,726 Bytes
7647e70
59aaeae
7647e70
 
 
 
59aaeae
 
7647e70
 
 
 
 
59aaeae
 
42dc069
7647e70
836388f
7647e70
 
 
836388f
 
7647e70
 
59aaeae
7647e70
 
42dc069
7647e70
 
 
42dc069
7647e70
 
42dc069
 
7647e70
42dc069
7647e70
 
 
 
 
42dc069
7647e70
42dc069
7647e70
 
 
 
 
 
 
 
 
 
 
 
42dc069
7647e70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59aaeae
836388f
7647e70
 
 
 
 
 
 
 
 
 
 
 
 
 
836388f
7647e70
 
 
 
 
 
 
 
 
 
 
836388f
7647e70
 
 
836388f
7647e70
 
 
 
 
836388f
7647e70
 
 
836388f
7647e70
836388f
 
7647e70
836388f
7647e70
 
 
 
 
59aaeae
 
 
 
 
 
 
 
 
 
7647e70
836388f
59aaeae
 
 
 
7647e70
59aaeae
 
 
7647e70
 
836388f
59aaeae
 
 
7647e70
 
 
 
 
 
 
59aaeae
 
 
836388f
 
7647e70
 
 
836388f
59aaeae
 
 
7647e70
59aaeae
7647e70
3f83f08
 
7647e70
 
836388f
3f83f08
 
7647e70
 
 
3f83f08
 
7647e70
 
 
6601c56
 
7647e70
 
 
 
6601c56
 
7647e70
 
 
 
 
2f2eb30
 
7647e70
 
 
 
836388f
7647e70
 
2f2eb30
 
7647e70
 
2f2eb30
 
7647e70
 
836388f
2f2eb30
 
7647e70
 
 
836388f
 
7647e70
 
 
2f2eb30
 
7647e70
 
 
2f2eb30
 
7647e70
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/* Custom CSS for Historical OCR Application */

/* Global styles */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
}

/* Header styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: #1E3A8A;
}

/* Document content styling - with lower specificity to allow layout.py to override text formatting */
.document-content {
    margin-top: 12px;
}

.document-section {
    margin-bottom: 12px;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Preserve headings style while allowing font to be overridden */
.document-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    /* color moved to layout.py */
}

/* Subject tag styling - lower priority than layout.py versions */
/* These styles will be overridden by the more specific selectors in layout.py */
.subject-tag {
    /* Basic sizing only - styling comes from layout.py */
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Tag colors moved to layout.py with !important rules */

/* Image and text side-by-side styling - layout only */
.image-text-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.image-container {
    flex: 1;
}

.text-container {
    flex: 1;
    /* Text styling will come from layout.py */
}

/* Sidebar styling */
.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Button styling */
.primary-button {
    background-color: #1E88E5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.primary-button:hover {
    background-color: #1565C0;
}

.secondary-button {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.secondary-button:hover {
    background-color: #e9ecef;
}

/* Processing status styling */
.processing-status {
    padding: 8px 12px;
    border-left: 4px solid #1E88E5;
    background-color: #E3F2FD;
    border-radius: 0 4px 4px 0;
    margin: 8px 0;
    font-size: 14px;
}

/* Previous results styling */
.previous-results-container {
    margin-top: 12px;
}

.result-card {
    background-color: transparent;    
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    color: #333; /* Ensure text has good contrast with background */
}

.result-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #c0c0c0;
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.result-filename {
    font-weight: bold;
    font-size: 16px;
    color: #333; /* Explicit text color */
}

.result-date {
    color: #666;
    font-size: 14px;
}

.result-metadata {
    margin-top: 10px;
    font-size: 14px;
    color: #333; /* Ensure metadata text has good contrast */
}

.result-tag {
    margin-bottom: 5px;
    color: #555;
}

.result-action-button {
    margin-top: 10px;
    text-align: right;
}

.selected-result-container {
    margin-top: 16px;
    padding: 12px;
    background-color: #f0f2f6;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    color: #333; /* Ensure text has good contrast with background */
}

.selected-result-title {
    font-size: 18px;
    font-weight: bold;
    color: #1E3A8A;
}

/* About tab styling */
.about-section {
    margin-bottom: 16px;
}

.about-section h3 {
    color: #1E3A8A;
    margin-bottom: 10px;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1E88E5;
}

/* File uploader styling */
.file-uploader {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: border-color 0.2s;
}

.file-uploader:hover {
    border-color: #1E88E5;
}

/* Example documents styling */
.example-documents {
    margin-top: 12px;
}

.example-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #c0c0c0;
}

.example-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.example-description {
    font-size: 14px;
    color: #555;
}