llmasaservice-ui 0.7.10 → 0.7.12
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/index.css +25 -37
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/AgentPanel.tsx +1 -1
- package/src/ChatPanel.css +111 -39
package/dist/index.css
CHANGED
|
@@ -6,19 +6,17 @@
|
|
|
6
6
|
Helvetica,
|
|
7
7
|
sans-serif;
|
|
8
8
|
font-size: small;
|
|
9
|
-
color: #
|
|
10
|
-
background-color: #
|
|
9
|
+
color: #1a1a1a;
|
|
10
|
+
background-color: #ffffff;
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
padding: 10px;
|
|
15
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
16
|
-
max-height: 90%;
|
|
17
13
|
}
|
|
18
14
|
.side-panel .title {
|
|
19
|
-
font-size:
|
|
15
|
+
font-size: 1.5rem;
|
|
20
16
|
font-weight: bold;
|
|
21
|
-
|
|
17
|
+
padding: 0.5rem 0.75rem;
|
|
18
|
+
margin-bottom: 0.75rem;
|
|
19
|
+
border-bottom: 1px solid #e5e7eb;
|
|
22
20
|
text-align: center;
|
|
23
21
|
color: #007bff;
|
|
24
22
|
}
|
|
@@ -57,13 +55,13 @@
|
|
|
57
55
|
color: white;
|
|
58
56
|
}
|
|
59
57
|
.side-panel .history-entry {
|
|
60
|
-
background-color:
|
|
58
|
+
background-color: white;
|
|
61
59
|
padding-bottom: 10px;
|
|
62
60
|
border-radius: 10px;
|
|
63
61
|
}
|
|
64
62
|
.side-panel .responseArea {
|
|
65
63
|
flex: 1;
|
|
66
|
-
background-color:
|
|
64
|
+
background-color: white;
|
|
67
65
|
border-radius: 10px;
|
|
68
66
|
overflow-y: auto;
|
|
69
67
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
@@ -91,11 +89,7 @@
|
|
|
91
89
|
margin-left: 5%;
|
|
92
90
|
max-width: 90%;
|
|
93
91
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
94
|
-
background:
|
|
95
|
-
linear-gradient(
|
|
96
|
-
to right,
|
|
97
|
-
#e0f7fa,
|
|
98
|
-
#ffefd5);
|
|
92
|
+
background: #e0f7fa;
|
|
99
93
|
color: #000;
|
|
100
94
|
}
|
|
101
95
|
.side-panel .copy-button {
|
|
@@ -110,20 +104,6 @@
|
|
|
110
104
|
justify-content: center;
|
|
111
105
|
align-items: center;
|
|
112
106
|
}
|
|
113
|
-
.side-panel .icon-svg {
|
|
114
|
-
width: 20px;
|
|
115
|
-
height: 20px;
|
|
116
|
-
}
|
|
117
|
-
.side-panel .icon-svg-large {
|
|
118
|
-
margin-right: 4px;
|
|
119
|
-
margin-top: 5px;
|
|
120
|
-
}
|
|
121
|
-
.side-panel .copy-button:hover,
|
|
122
|
-
.side-panel .thumbs-button:hover {
|
|
123
|
-
color: white;
|
|
124
|
-
border-radius: 50%;
|
|
125
|
-
background-color: #0056b3;
|
|
126
|
-
}
|
|
127
107
|
.side-panel .thumbs-button {
|
|
128
108
|
font-size: 12px;
|
|
129
109
|
border: 0;
|
|
@@ -136,6 +116,20 @@
|
|
|
136
116
|
justify-content: center;
|
|
137
117
|
align-items: center;
|
|
138
118
|
}
|
|
119
|
+
.side-panel .copy-button:hover,
|
|
120
|
+
.side-panel .thumbs-button:hover {
|
|
121
|
+
color: white;
|
|
122
|
+
border-radius: 50%;
|
|
123
|
+
background-color: #0056b3;
|
|
124
|
+
}
|
|
125
|
+
.side-panel .icon-svg {
|
|
126
|
+
width: 20px;
|
|
127
|
+
height: 20px;
|
|
128
|
+
}
|
|
129
|
+
.side-panel .icon-svg-large {
|
|
130
|
+
margin-right: 4px;
|
|
131
|
+
margin-top: 5px;
|
|
132
|
+
}
|
|
139
133
|
.side-panel .button-container {
|
|
140
134
|
display: flex;
|
|
141
135
|
margin-top: 10px;
|
|
@@ -171,10 +165,7 @@
|
|
|
171
165
|
margin-bottom: 1em;
|
|
172
166
|
border: 1px solid #777;
|
|
173
167
|
}
|
|
174
|
-
.side-panel th
|
|
175
|
-
border: 1px solid #777;
|
|
176
|
-
padding: 8px;
|
|
177
|
-
}
|
|
168
|
+
.side-panel th,
|
|
178
169
|
.side-panel td {
|
|
179
170
|
border: 1px solid #777;
|
|
180
171
|
padding: 8px;
|
|
@@ -384,10 +375,7 @@
|
|
|
384
375
|
margin-bottom: 1em;
|
|
385
376
|
border: 1px solid #ddd;
|
|
386
377
|
}
|
|
387
|
-
.side-panel-dark th
|
|
388
|
-
border: 1px solid #ddd;
|
|
389
|
-
padding: 8px;
|
|
390
|
-
}
|
|
378
|
+
.side-panel-dark th,
|
|
391
379
|
.side-panel-dark td {
|
|
392
380
|
border: 1px solid #ddd;
|
|
393
381
|
padding: 8px;
|
package/dist/index.js
CHANGED
|
@@ -1191,7 +1191,7 @@ var AgentPanel = ({
|
|
|
1191
1191
|
promptTemplate: (_e = agentData == null ? void 0 : agentData.displayPromptTemplate) != null ? _e : "{{prompt}}",
|
|
1192
1192
|
initialMessage: (agentData == null ? void 0 : agentData.displayStartMessageOrPrompt) === "message" ? (_f = agentData == null ? void 0 : agentData.displayInitialMessageOrPrompt) != null ? _f : "" : void 0,
|
|
1193
1193
|
initialPrompt: (agentData == null ? void 0 : agentData.displayStartMessageOrPrompt) === "prompt" ? (_g = agentData == null ? void 0 : agentData.displayInitialMessageOrPrompt) != null ? _g : "" : void 0,
|
|
1194
|
-
followOnQuestions: followOnQuestions ? followOnQuestions : (_i = (_h = agentData == null ? void 0 : agentData.displayFollowOnPrompts) == null ? void 0 : _h.split("|")) != null ? _i : [],
|
|
1194
|
+
followOnQuestions: followOnQuestions && followOnQuestions.length > 0 ? followOnQuestions : (_i = (_h = agentData == null ? void 0 : agentData.displayFollowOnPrompts) == null ? void 0 : _h.split("|")) != null ? _i : [],
|
|
1195
1195
|
clearFollowOnQuestionsNextPrompt,
|
|
1196
1196
|
historyChangedCallback,
|
|
1197
1197
|
prismStyle: (agentData == null ? void 0 : agentData.displayTheme) === "light" ? import_material_light2.default : import_material_dark2.default,
|
package/dist/index.mjs
CHANGED
|
@@ -1157,7 +1157,7 @@ var AgentPanel = ({
|
|
|
1157
1157
|
promptTemplate: (_e = agentData == null ? void 0 : agentData.displayPromptTemplate) != null ? _e : "{{prompt}}",
|
|
1158
1158
|
initialMessage: (agentData == null ? void 0 : agentData.displayStartMessageOrPrompt) === "message" ? (_f = agentData == null ? void 0 : agentData.displayInitialMessageOrPrompt) != null ? _f : "" : void 0,
|
|
1159
1159
|
initialPrompt: (agentData == null ? void 0 : agentData.displayStartMessageOrPrompt) === "prompt" ? (_g = agentData == null ? void 0 : agentData.displayInitialMessageOrPrompt) != null ? _g : "" : void 0,
|
|
1160
|
-
followOnQuestions: followOnQuestions ? followOnQuestions : (_i = (_h = agentData == null ? void 0 : agentData.displayFollowOnPrompts) == null ? void 0 : _h.split("|")) != null ? _i : [],
|
|
1160
|
+
followOnQuestions: followOnQuestions && followOnQuestions.length > 0 ? followOnQuestions : (_i = (_h = agentData == null ? void 0 : agentData.displayFollowOnPrompts) == null ? void 0 : _h.split("|")) != null ? _i : [],
|
|
1161
1161
|
clearFollowOnQuestionsNextPrompt,
|
|
1162
1162
|
historyChangedCallback,
|
|
1163
1163
|
prismStyle: (agentData == null ? void 0 : agentData.displayTheme) === "light" ? materialLight2 : materialDark2,
|
package/package.json
CHANGED
package/src/AgentPanel.tsx
CHANGED
|
@@ -174,7 +174,7 @@ const AgentPanel: React.FC<AgentPanelProps & ExtraProps> = ({
|
|
|
174
174
|
: undefined
|
|
175
175
|
}
|
|
176
176
|
followOnQuestions={
|
|
177
|
-
followOnQuestions
|
|
177
|
+
followOnQuestions && followOnQuestions.length > 0
|
|
178
178
|
? followOnQuestions
|
|
179
179
|
: agentData?.displayFollowOnPrompts?.split("|") ?? []
|
|
180
180
|
}
|
package/src/ChatPanel.css
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
|
+
/* --------------------------------------------------------
|
|
2
|
+
SIDE PANEL (Light Theme)
|
|
3
|
+
-------------------------------------------------------- */
|
|
4
|
+
|
|
5
|
+
/* Base container for side panel */
|
|
1
6
|
.side-panel {
|
|
2
7
|
font-family: "Roboto", Arial, Helvetica, sans-serif;
|
|
3
8
|
font-size: small;
|
|
4
|
-
color: #
|
|
5
|
-
background-color: #
|
|
9
|
+
color: #1a1a1a;
|
|
10
|
+
background-color: #ffffff;
|
|
6
11
|
display: flex;
|
|
7
12
|
flex-direction: column;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
padding: 10px;
|
|
10
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
11
|
-
max-height: 90%;
|
|
12
13
|
}
|
|
13
14
|
|
|
15
|
+
/* Title inside side panel */
|
|
14
16
|
.side-panel .title {
|
|
15
|
-
font-size:
|
|
17
|
+
font-size: 1.5rem;
|
|
16
18
|
font-weight: bold;
|
|
17
|
-
|
|
19
|
+
padding: 0.5rem 0.75rem;
|
|
20
|
+
margin-bottom: 0.75rem;
|
|
21
|
+
border-bottom: 1px solid #e5e7eb;
|
|
18
22
|
text-align: center;
|
|
19
23
|
color: #007bff;
|
|
20
24
|
}
|
|
21
|
-
|
|
25
|
+
|
|
26
|
+
/* Input container */
|
|
22
27
|
.side-panel .input-container {
|
|
23
28
|
display: flex;
|
|
24
29
|
flex-direction: row;
|
|
@@ -26,6 +31,7 @@
|
|
|
26
31
|
margin-top: 5px;
|
|
27
32
|
}
|
|
28
33
|
|
|
34
|
+
/* Textarea styling */
|
|
29
35
|
.side-panel textarea {
|
|
30
36
|
flex: 1;
|
|
31
37
|
padding: 10px;
|
|
@@ -39,6 +45,7 @@
|
|
|
39
45
|
background-color: #fff;
|
|
40
46
|
}
|
|
41
47
|
|
|
48
|
+
/* Send button */
|
|
42
49
|
.side-panel .send-button {
|
|
43
50
|
background-color: lightblue;
|
|
44
51
|
color: #0056b3;
|
|
@@ -57,20 +64,23 @@
|
|
|
57
64
|
color: white;
|
|
58
65
|
}
|
|
59
66
|
|
|
67
|
+
/* History entry container */
|
|
60
68
|
.side-panel .history-entry {
|
|
61
|
-
background-color:
|
|
69
|
+
background-color: white;
|
|
62
70
|
padding-bottom: 10px;
|
|
63
71
|
border-radius: 10px;
|
|
64
72
|
}
|
|
65
73
|
|
|
74
|
+
/* Response area (scrollable container) */
|
|
66
75
|
.side-panel .responseArea {
|
|
67
76
|
flex: 1;
|
|
68
|
-
background-color:
|
|
77
|
+
background-color: white;
|
|
69
78
|
border-radius: 10px;
|
|
70
79
|
overflow-y: auto;
|
|
71
80
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
72
81
|
}
|
|
73
82
|
|
|
83
|
+
/* Chat prompt bubble */
|
|
74
84
|
.side-panel .prompt {
|
|
75
85
|
align-self: flex-start;
|
|
76
86
|
padding: 10px;
|
|
@@ -86,6 +96,7 @@
|
|
|
86
96
|
color: #000;
|
|
87
97
|
}
|
|
88
98
|
|
|
99
|
+
/* Chat response bubble */
|
|
89
100
|
.side-panel .response {
|
|
90
101
|
align-self: flex-end;
|
|
91
102
|
padding: 10px;
|
|
@@ -95,10 +106,11 @@
|
|
|
95
106
|
margin-left: 5%;
|
|
96
107
|
max-width: 90%;
|
|
97
108
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
98
|
-
background:
|
|
109
|
+
background: #e0f7fa;
|
|
99
110
|
color: #000;
|
|
100
111
|
}
|
|
101
112
|
|
|
113
|
+
/* Copy button */
|
|
102
114
|
.side-panel .copy-button {
|
|
103
115
|
font-size: 12px;
|
|
104
116
|
border: 0;
|
|
@@ -112,23 +124,7 @@
|
|
|
112
124
|
align-items: center;
|
|
113
125
|
}
|
|
114
126
|
|
|
115
|
-
|
|
116
|
-
width: 20px;
|
|
117
|
-
height: 20px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.side-panel .icon-svg-large {
|
|
121
|
-
margin-right: 4px;
|
|
122
|
-
margin-top: 5px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.side-panel .copy-button:hover,
|
|
126
|
-
.side-panel .thumbs-button:hover {
|
|
127
|
-
color: white;
|
|
128
|
-
border-radius: 50%;
|
|
129
|
-
background-color: #0056b3;
|
|
130
|
-
}
|
|
131
|
-
|
|
127
|
+
/* Thumbs button (same style as copy button) */
|
|
132
128
|
.side-panel .thumbs-button {
|
|
133
129
|
font-size: 12px;
|
|
134
130
|
border: 0;
|
|
@@ -142,11 +138,32 @@
|
|
|
142
138
|
align-items: center;
|
|
143
139
|
}
|
|
144
140
|
|
|
141
|
+
/* Hover state for copy and thumbs buttons */
|
|
142
|
+
.side-panel .copy-button:hover,
|
|
143
|
+
.side-panel .thumbs-button:hover {
|
|
144
|
+
color: white;
|
|
145
|
+
border-radius: 50%;
|
|
146
|
+
background-color: #0056b3;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* SVG icons */
|
|
150
|
+
.side-panel .icon-svg {
|
|
151
|
+
width: 20px;
|
|
152
|
+
height: 20px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.side-panel .icon-svg-large {
|
|
156
|
+
margin-right: 4px;
|
|
157
|
+
margin-top: 5px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Button container for layout */
|
|
145
161
|
.side-panel .button-container {
|
|
146
162
|
display: flex;
|
|
147
163
|
margin-top: 10px;
|
|
148
164
|
}
|
|
149
165
|
|
|
166
|
+
/* Button container for actions (with spacing) */
|
|
150
167
|
.side-panel .button-container-actions {
|
|
151
168
|
display: flex;
|
|
152
169
|
margin-top: 10px;
|
|
@@ -154,6 +171,7 @@
|
|
|
154
171
|
gap: 5px;
|
|
155
172
|
}
|
|
156
173
|
|
|
174
|
+
/* Scroll button (fixed at bottom center) */
|
|
157
175
|
.side-panel .scroll-button {
|
|
158
176
|
position: absolute;
|
|
159
177
|
left: 50%;
|
|
@@ -176,22 +194,20 @@
|
|
|
176
194
|
background-color: #0056b3;
|
|
177
195
|
}
|
|
178
196
|
|
|
197
|
+
/* Table styling */
|
|
179
198
|
.side-panel table {
|
|
180
199
|
border-collapse: collapse;
|
|
181
200
|
margin-bottom: 1em;
|
|
182
201
|
border: 1px solid #777;
|
|
183
202
|
}
|
|
184
203
|
|
|
185
|
-
.side-panel th
|
|
186
|
-
border: 1px solid #777;
|
|
187
|
-
padding: 8px;
|
|
188
|
-
}
|
|
189
|
-
|
|
204
|
+
.side-panel th,
|
|
190
205
|
.side-panel td {
|
|
191
206
|
border: 1px solid #777;
|
|
192
207
|
padding: 8px;
|
|
193
208
|
}
|
|
194
209
|
|
|
210
|
+
/* Save button */
|
|
195
211
|
.side-panel .save-button {
|
|
196
212
|
flex: 1;
|
|
197
213
|
background-color: lightblue;
|
|
@@ -210,11 +226,13 @@
|
|
|
210
226
|
color: white;
|
|
211
227
|
}
|
|
212
228
|
|
|
229
|
+
/* Suggestion buttons container */
|
|
213
230
|
.suggestions-container {
|
|
214
231
|
display: flex;
|
|
215
232
|
flex-wrap: wrap;
|
|
216
233
|
}
|
|
217
234
|
|
|
235
|
+
/* Suggestion button */
|
|
218
236
|
.side-panel .suggestion-button {
|
|
219
237
|
background-color: lightblue;
|
|
220
238
|
color: #0056b3;
|
|
@@ -237,6 +255,11 @@
|
|
|
237
255
|
cursor: not-allowed;
|
|
238
256
|
}
|
|
239
257
|
|
|
258
|
+
/* --------------------------------------------------------
|
|
259
|
+
SIDE PANEL (Dark Theme)
|
|
260
|
+
-------------------------------------------------------- */
|
|
261
|
+
|
|
262
|
+
/* Base container for dark side panel */
|
|
240
263
|
.side-panel-dark {
|
|
241
264
|
font-family: "Roboto", Arial, Helvetica, sans-serif;
|
|
242
265
|
font-size: small;
|
|
@@ -249,18 +272,24 @@
|
|
|
249
272
|
box-shadow: 5px 0 5px rgba(0, 0, 0, 0.1);
|
|
250
273
|
max-height: 90%;
|
|
251
274
|
}
|
|
275
|
+
|
|
276
|
+
/* Title */
|
|
252
277
|
.side-panel-dark .title {
|
|
253
278
|
font-size: 24px;
|
|
254
279
|
font-weight: bold;
|
|
255
280
|
margin-bottom: 10px;
|
|
256
281
|
text-align: center;
|
|
257
282
|
}
|
|
283
|
+
|
|
284
|
+
/* Input container */
|
|
258
285
|
.side-panel-dark .input-container {
|
|
259
286
|
display: flex;
|
|
260
287
|
flex-direction: row;
|
|
261
288
|
align-items: center;
|
|
262
289
|
margin-top: 5px;
|
|
263
290
|
}
|
|
291
|
+
|
|
292
|
+
/* Textarea */
|
|
264
293
|
.side-panel-dark textarea {
|
|
265
294
|
flex: 1;
|
|
266
295
|
padding: 10px;
|
|
@@ -272,6 +301,8 @@
|
|
|
272
301
|
color: #333;
|
|
273
302
|
border: 1px solid #ddd;
|
|
274
303
|
}
|
|
304
|
+
|
|
305
|
+
/* Send button */
|
|
275
306
|
.side-panel-dark .send-button {
|
|
276
307
|
background-color: #424242;
|
|
277
308
|
color: white;
|
|
@@ -286,15 +317,20 @@
|
|
|
286
317
|
box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
|
|
287
318
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
288
319
|
}
|
|
320
|
+
|
|
289
321
|
.side-panel-dark .send-button:hover {
|
|
290
322
|
background-color: #0056b3;
|
|
291
323
|
transform: scale(1.1);
|
|
292
324
|
}
|
|
325
|
+
|
|
326
|
+
/* History entry */
|
|
293
327
|
.side-panel-dark .history-entry {
|
|
294
328
|
background-color: #424242;
|
|
295
329
|
padding-bottom: 10px;
|
|
296
330
|
border-radius: 10px;
|
|
297
331
|
}
|
|
332
|
+
|
|
333
|
+
/* Response area */
|
|
298
334
|
.side-panel-dark .responseArea {
|
|
299
335
|
flex: 1;
|
|
300
336
|
background-color: #424242;
|
|
@@ -302,6 +338,8 @@
|
|
|
302
338
|
overflow-y: auto;
|
|
303
339
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
304
340
|
}
|
|
341
|
+
|
|
342
|
+
/* Chat prompt bubble */
|
|
305
343
|
.side-panel-dark .prompt {
|
|
306
344
|
align-self: flex-start;
|
|
307
345
|
background-color: #303030;
|
|
@@ -315,6 +353,8 @@
|
|
|
315
353
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
316
354
|
white-space: pre-wrap;
|
|
317
355
|
}
|
|
356
|
+
|
|
357
|
+
/* Chat response bubble */
|
|
318
358
|
.side-panel-dark .response {
|
|
319
359
|
align-self: flex-end;
|
|
320
360
|
padding: 10px;
|
|
@@ -326,6 +366,8 @@
|
|
|
326
366
|
background-color: #3a3737;
|
|
327
367
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
328
368
|
}
|
|
369
|
+
|
|
370
|
+
/* Copy button */
|
|
329
371
|
.side-panel-dark .copy-button {
|
|
330
372
|
font-size: 12px;
|
|
331
373
|
border: 0;
|
|
@@ -338,20 +380,27 @@
|
|
|
338
380
|
justify-content: center;
|
|
339
381
|
align-items: center;
|
|
340
382
|
}
|
|
383
|
+
|
|
384
|
+
/* SVG icons */
|
|
341
385
|
.side-panel-dark .icon-svg {
|
|
342
386
|
width: 20px;
|
|
343
387
|
height: 20px;
|
|
344
388
|
}
|
|
389
|
+
|
|
345
390
|
.side-panel-dark .icon-svg-large {
|
|
346
391
|
margin-right: 4px;
|
|
347
392
|
margin-top: 5px;
|
|
348
393
|
}
|
|
394
|
+
|
|
395
|
+
/* Hover state for copy and thumbs buttons */
|
|
349
396
|
.side-panel-dark .copy-button:hover,
|
|
350
397
|
.side-panel-dark .thumbs-button:hover {
|
|
351
398
|
color: #0056b3;
|
|
352
399
|
border-radius: 50%;
|
|
353
400
|
background-color: #e2e6ea;
|
|
354
401
|
}
|
|
402
|
+
|
|
403
|
+
/* Thumbs button */
|
|
355
404
|
.side-panel-dark .thumbs-button {
|
|
356
405
|
font-size: 12px;
|
|
357
406
|
border: 0;
|
|
@@ -365,6 +414,7 @@
|
|
|
365
414
|
align-items: center;
|
|
366
415
|
}
|
|
367
416
|
|
|
417
|
+
/* Button containers */
|
|
368
418
|
.side-panel-dark .button-container {
|
|
369
419
|
display: flex;
|
|
370
420
|
margin-top: 10px;
|
|
@@ -377,6 +427,7 @@
|
|
|
377
427
|
gap: 5px;
|
|
378
428
|
}
|
|
379
429
|
|
|
430
|
+
/* Scroll button */
|
|
380
431
|
.side-panel-dark .scroll-button {
|
|
381
432
|
position: absolute;
|
|
382
433
|
left: 50%;
|
|
@@ -399,22 +450,20 @@
|
|
|
399
450
|
background-color: #0056b3;
|
|
400
451
|
}
|
|
401
452
|
|
|
453
|
+
/* Table styling */
|
|
402
454
|
.side-panel-dark table {
|
|
403
455
|
border-collapse: collapse;
|
|
404
456
|
margin-bottom: 1em;
|
|
405
457
|
border: 1px solid #ddd;
|
|
406
458
|
}
|
|
407
459
|
|
|
408
|
-
.side-panel-dark th
|
|
409
|
-
border: 1px solid #ddd;
|
|
410
|
-
padding: 8px;
|
|
411
|
-
}
|
|
412
|
-
|
|
460
|
+
.side-panel-dark th,
|
|
413
461
|
.side-panel-dark td {
|
|
414
462
|
border: 1px solid #ddd;
|
|
415
463
|
padding: 8px;
|
|
416
464
|
}
|
|
417
465
|
|
|
466
|
+
/* Links */
|
|
418
467
|
.side-panel-dark a {
|
|
419
468
|
color: #ddd;
|
|
420
469
|
}
|
|
@@ -423,6 +472,7 @@
|
|
|
423
472
|
color: #fff;
|
|
424
473
|
}
|
|
425
474
|
|
|
475
|
+
/* Save button */
|
|
426
476
|
.side-panel-dark .save-button {
|
|
427
477
|
flex: 1;
|
|
428
478
|
background-color: #3a3737;
|
|
@@ -440,6 +490,7 @@
|
|
|
440
490
|
color: white;
|
|
441
491
|
}
|
|
442
492
|
|
|
493
|
+
/* Suggestion button */
|
|
443
494
|
.side-panel-dark .suggestion-button {
|
|
444
495
|
background-color: #0056b3;
|
|
445
496
|
color: white;
|
|
@@ -456,6 +507,10 @@
|
|
|
456
507
|
color: black;
|
|
457
508
|
}
|
|
458
509
|
|
|
510
|
+
/* --------------------------------------------------------
|
|
511
|
+
POWERED BY / FOOTER
|
|
512
|
+
-------------------------------------------------------- */
|
|
513
|
+
|
|
459
514
|
.powered-by {
|
|
460
515
|
margin-top: 3px;
|
|
461
516
|
display: flex;
|
|
@@ -472,6 +527,11 @@
|
|
|
472
527
|
text-decoration: underline;
|
|
473
528
|
}
|
|
474
529
|
|
|
530
|
+
/* --------------------------------------------------------
|
|
531
|
+
MODAL DIALOG
|
|
532
|
+
-------------------------------------------------------- */
|
|
533
|
+
|
|
534
|
+
/* Modal overlay (full screen dim background) */
|
|
475
535
|
.modal-overlay {
|
|
476
536
|
position: fixed;
|
|
477
537
|
top: 0;
|
|
@@ -484,6 +544,7 @@
|
|
|
484
544
|
align-items: center;
|
|
485
545
|
}
|
|
486
546
|
|
|
547
|
+
/* Modal content container */
|
|
487
548
|
.modal-content {
|
|
488
549
|
background: white;
|
|
489
550
|
padding: 5px;
|
|
@@ -493,16 +554,19 @@
|
|
|
493
554
|
color: #333;
|
|
494
555
|
}
|
|
495
556
|
|
|
557
|
+
/* Modal text */
|
|
496
558
|
.modal-text {
|
|
497
559
|
color: black;
|
|
498
560
|
}
|
|
499
561
|
|
|
562
|
+
/* Modal buttons container */
|
|
500
563
|
.modal-buttons {
|
|
501
564
|
padding: 5px 10px;
|
|
502
565
|
display: flex;
|
|
503
566
|
justify-content: space-between;
|
|
504
567
|
}
|
|
505
568
|
|
|
569
|
+
/* Modal button styling */
|
|
506
570
|
.modal-buttons button {
|
|
507
571
|
padding: 5px 10px;
|
|
508
572
|
border: none;
|
|
@@ -510,19 +574,27 @@
|
|
|
510
574
|
cursor: pointer;
|
|
511
575
|
}
|
|
512
576
|
|
|
577
|
+
/* First modal button */
|
|
513
578
|
.modal-buttons button:first-child {
|
|
514
579
|
background: #ccc;
|
|
515
580
|
}
|
|
516
581
|
|
|
582
|
+
/* Second modal button */
|
|
517
583
|
.modal-buttons button:last-child {
|
|
518
584
|
background: #007bff;
|
|
519
585
|
color: white;
|
|
520
586
|
}
|
|
521
587
|
|
|
588
|
+
/* --------------------------------------------------------
|
|
589
|
+
FORM ERROR STYLING
|
|
590
|
+
-------------------------------------------------------- */
|
|
591
|
+
|
|
592
|
+
/* Invalid field outline */
|
|
522
593
|
.invalid {
|
|
523
594
|
border-color: red;
|
|
524
595
|
}
|
|
525
596
|
|
|
597
|
+
/* Error message text */
|
|
526
598
|
.error-message {
|
|
527
599
|
color: red;
|
|
528
600
|
font-size: 0.8em;
|