File size: 5,813 Bytes
54d50c8
 
 
 
 
 
 
af63a14
 
54d50c8
 
 
 
 
 
 
af63a14
 
54d50c8
 
 
 
af63a14
54d50c8
 
 
af63a14
 
54d50c8
 
 
 
 
 
 
af63a14
 
54d50c8
 
 
 
53235cb
 
54d50c8
 
 
 
 
 
 
 
53235cb
 
54d50c8
 
53235cb
 
54d50c8
 
53235cb
 
54d50c8
 
 
 
 
53235cb
54d50c8
 
 
 
c6d4eb8
54d50c8
 
 
 
73e0ab4
54d50c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c6d4eb8
54d50c8
 
 
 
 
c6d4eb8
54d50c8
 
c6d4eb8
 
54d50c8
 
 
 
af63a14
54d50c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
af63a14
c6d4eb8
54d50c8
c6d4eb8
54d50c8
c6d4eb8
54d50c8
 
c6d4eb8
 
54d50c8
 
 
 
c6d4eb8
 
54d50c8
 
 
 
 
 
c6d4eb8
 
54d50c8
 
 
 
 
 
 
c6d4eb8
 
54d50c8
 
 
 
af63a14
 
54d50c8
 
 
 
af63a14
 
54d50c8
 
 
af63a14
 
54d50c8
 
 
 
 
 
 
 
 
53235cb
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
/* Left column styling */
#left-column {
    background-color: #E0E0E0; /* Light gray background */
    padding: 20px;
    height: calc(100vh - 120px); /* Adjust based on title and dot height */
    overflow-y: auto;
    word-wrap: break-word;
}

/* Right column styling */
#right-column {
    background-color: #FFFFFF; /* White background */
    padding: 20px;
    height: calc(100vh - 120px); /* Adjust based on title and dot height */
    overflow-y: auto;
    word-wrap: break-word;
}

/* Title styling */
#app-title {
    background-color: #1C304A; /* Dark blue background */
    color: white;
    padding: 15px;
    text-align: center;
    margin-bottom: 0; /* Remove bottom margin */
    width: 100%;
}

/* Progress Indicator Styling */
.dot-container {
    text-align: center;
    padding: 10px 0;
    width: 100%;
    background-color: #F8F9FA; /* Light background for the dot area */
    height: 40px; /* Fixed height for dot container */
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #1C304A; /* Match primary button color */
    border-radius: 50%;
    margin: 0 5px;
    animation: blink 1.4s infinite both;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Button Styling */
.btn-primary {
    background-color: #1C304A !important;
    border-color: #1C304A !important;
    color: white !important;
}
.btn-primary:hover {
    background-color: #116F70 !important;
    border-color: #116F70 !important;
    color: white !important;
}
.btn-secondary {
    background-color: #116F70 !important;
    border-color: #116F70 !important;
    color: white !important;
}
.btn-secondary:hover {
    background-color: #00AEAF !important;
    border-color: #00AEAF !important;
    color: white !important;
}
.btn-tertiary {
    background-color: #E0E0E0 !important;
    border-color: #E0E0E0 !important;
    color: #1C304A !important;
}
.btn-tertiary:hover {
    background-color: #DEF4F4 !important;
    border-color: #DEF4F4 !important;
    color: #1C304A !important;
}

/* Style for the document type buttons (using btn-link class in code) */
.custom-button.btn.btn-link {
  background-color: #FFFFFF; /* White background */
  border: 1px solid #CCCCCC; /* Light grey border */
  color: #1C304A !important; /* Dark blue text, important to override link default */
  text-align: left !important;
  padding: 10px 15px !important;
  margin-bottom: 8px !important;
  border-radius: 4px !important;
  width: 100% !important;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  white-space: normal !important; /* Allow text wrapping */
  word-wrap: break-word !important; /* Break long words */
  text-decoration: none !important; /* Remove underline from link */
  display: block; /* Ensure it takes full width */
}

.custom-button.btn.btn-link:hover {
  background-color: #DEF4F4 !important; /* Light teal background on hover */
  border-color: #DEF4F4 !important;
  color: #1C304A !important;
  text-decoration: none !important;
}

/* Style for upload area */
.upload-style {
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-width: 1px;
    border-style: dashed;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
    border-color: #CCCCCC; /* Neutral border color */
    background-color: #FAFAFA; /* Slightly off-white background */
    word-wrap: break-word;
}
.upload-style:hover {
    border-color: #116F70; /* Match secondary hover */
}

/* Style for document preview area */
#document-preview {
    border: 1px solid #E0E0E0;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 250px; /* Adjusted minimum height */
    max-height: 55vh; /* Limit height and allow scrolling */
    overflow-y: auto;
    background-color: #FFFFFF; /* Ensure white background */
    word-wrap: break-word; /* Ensure text wraps */
    white-space: pre-wrap; /* Preserve whitespace and wrap */
}

/* Style for file list items */
#file-list div {
   word-wrap: break-word;
   white-space: normal;
   padding: 5px;
   border: 1px solid #ccc;
   margin-bottom: 5px;
   background-color: #fff;
   border-radius: 3px;
   display: flex;
   justify-content: space-between;
   align-items: center;
}
#file-list button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-weight: bold;
    padding: 0 5px;
}

/* Ensure chat input and output have word wrap */
#chat-input, #chat-output, #status-bar {
    word-wrap: break-word;
    white-space: normal; /* Ensure text wraps normally */
}

/* Ensure body and html take full height */
html, body, #react-entry-point, .dash-template {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General container adjustments */
.dbc-container-fluid, .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Row adjustments */
.dbc-row, .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Full height row for content */
.content-row {
    flex-grow: 1; /* Allow content row to fill remaining space */
    min-height: 0; /* Override potential min-height issues */
}

/* Ensure columns take full height within their row */
#left-column, #right-column {
   height: 100%; /* Make columns fill the content-row height */
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    #left-column, #right-column {
        height: auto; /* Allow height to adjust on smaller screens */
        min-height: 300px; /* Set a minimum height */
    }
    .content-row {
        flex-direction: column;
    }
}