oldg591 commited on
Commit
4de28b2
·
1 Parent(s): e673633
backend/open_webui/static/assets/pdf-style.css ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* HTML and Body */
2
+ @font-face {
3
+ font-family: 'NotoSans';
4
+ src: url('fonts/NotoSans-Variable.ttf');
5
+ }
6
+
7
+ @font-face {
8
+ font-family: 'NotoSansJP';
9
+ src: url('fonts/NotoSansJP-Variable.ttf');
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'NotoSansKR';
14
+ src: url('fonts/NotoSansKR-Variable.ttf');
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'NotoSansSC';
19
+ src: url('fonts/NotoSansSC-Variable.ttf');
20
+ }
21
+
22
+ @font-face {
23
+ font-family: 'NotoSansSC-Regular';
24
+ src: url('fonts/NotoSansSC-Regular.ttf');
25
+ }
26
+
27
+ html {
28
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'NotoSans', 'NotoSansJP', 'NotoSansKR',
29
+ 'NotoSansSC', 'Twemoji', 'STSong-Light', 'MSung-Light', 'HeiseiMin-W3', 'HYSMyeongJo-Medium',
30
+ Roboto, 'Helvetica Neue', Arial, sans-serif;
31
+ font-size: 14px; /* Default font size */
32
+ line-height: 1.5;
33
+ }
34
+
35
+ *,
36
+ *::before,
37
+ *::after {
38
+ box-sizing: inherit;
39
+ }
40
+
41
+ body {
42
+ margin: 0;
43
+ padding: 0;
44
+ background-color: #fff;
45
+ width: auto;
46
+ }
47
+
48
+ /* Typography */
49
+ h1,
50
+ h2,
51
+ h3,
52
+ h4,
53
+ h5,
54
+ h6 {
55
+ font-weight: 500;
56
+ margin: 0;
57
+ }
58
+
59
+ h1 {
60
+ font-size: 2.5rem;
61
+ }
62
+
63
+ h2 {
64
+ font-size: 2rem;
65
+ }
66
+
67
+ h3 {
68
+ font-size: 1.75rem;
69
+ }
70
+
71
+ h4 {
72
+ font-size: 1.5rem;
73
+ }
74
+
75
+ h5 {
76
+ font-size: 1.25rem;
77
+ }
78
+
79
+ h6 {
80
+ font-size: 1rem;
81
+ }
82
+
83
+ p {
84
+ margin-top: 0;
85
+ margin-bottom: 1rem;
86
+ }
87
+
88
+ /* Grid System */
89
+ .container {
90
+ width: 100%;
91
+ padding-right: 15px;
92
+ padding-left: 15px;
93
+ margin-right: auto;
94
+ margin-left: auto;
95
+ }
96
+
97
+ /* Utilities */
98
+ .text-center {
99
+ text-align: center;
100
+ }
101
+
102
+ /* Additional Text Utilities */
103
+ .text-muted {
104
+ color: #6c757d; /* Muted text color */
105
+ }
106
+
107
+ /* Small Text */
108
+ small {
109
+ font-size: 80%; /* Smaller font size relative to the base */
110
+ color: #6c757d; /* Lighter text color for secondary information */
111
+ margin-bottom: 0;
112
+ margin-top: 0;
113
+ }
114
+
115
+ /* Strong Element Styles */
116
+ strong {
117
+ font-weight: bolder; /* Ensures the text is bold */
118
+ color: inherit; /* Inherits the color from its parent element */
119
+ }
120
+
121
+ /* link */
122
+ a {
123
+ color: #007bff;
124
+ text-decoration: none;
125
+ background-color: transparent;
126
+ }
127
+
128
+ a:hover {
129
+ color: #0056b3;
130
+ text-decoration: underline;
131
+ }
132
+
133
+ /* General styles for lists */
134
+ ol,
135
+ ul,
136
+ li {
137
+ padding-left: 40px; /* Increase padding to move bullet points to the right */
138
+ margin-left: 20px; /* Indent lists from the left */
139
+ }
140
+
141
+ /* Ordered list styles */
142
+ ol {
143
+ list-style-type: decimal; /* Use numbers for ordered lists */
144
+ margin-bottom: 10px; /* Space after each list */
145
+ }
146
+
147
+ ol li {
148
+ margin-bottom: 0.5rem; /* Space between ordered list items */
149
+ }
150
+
151
+ /* Unordered list styles */
152
+ ul {
153
+ list-style-type: disc; /* Use bullets for unordered lists */
154
+ margin-bottom: 10px; /* Space after each list */
155
+ }
156
+
157
+ ul li {
158
+ margin-bottom: 0.5rem; /* Space between unordered list items */
159
+ }
160
+
161
+ /* List item styles */
162
+ li {
163
+ margin-bottom: 5px; /* Space between list items */
164
+ line-height: 1.5; /* Line height for better readability */
165
+ }
166
+
167
+ /* Nested lists */
168
+ ol ol,
169
+ ol ul,
170
+ ul ol,
171
+ ul ul {
172
+ padding-left: 20px;
173
+ margin-left: 30px; /* Further indent nested lists */
174
+ margin-bottom: 0; /* Remove extra margin at the bottom of nested lists */
175
+ }
176
+
177
+ /* Code blocks */
178
+ pre {
179
+ background-color: #f4f4f4;
180
+ padding: 10px;
181
+ overflow-x: auto;
182
+ max-width: 100%; /* Ensure it doesn't overflow the page */
183
+ width: 80%; /* Set a specific width for a container-like appearance */
184
+ margin: 0 1em; /* Center the pre block */
185
+ box-sizing: border-box; /* Include padding in the width */
186
+ border: 1px solid #ccc; /* Optional: Add a border for better definition */
187
+ border-radius: 4px; /* Optional: Add rounded corners */
188
+ }
189
+
190
+ code {
191
+ font-family: 'Courier New', Courier, monospace;
192
+ background-color: #f4f4f4;
193
+ padding: 2px 4px;
194
+ border-radius: 4px;
195
+ box-sizing: border-box; /* Include padding in the width */
196
+ }
197
+
198
+ .message {
199
+ margin-top: 8px;
200
+ margin-bottom: 8px;
201
+ max-width: 100%;
202
+ overflow-wrap: break-word;
203
+ }
204
+
205
+ /* Table Styles */
206
+ table {
207
+ width: 100%;
208
+ margin-bottom: 1rem;
209
+ color: #212529;
210
+ border-collapse: collapse; /* Removes the space between borders */
211
+ }
212
+
213
+ th,
214
+ td {
215
+ margin: 0;
216
+ padding: 0.75rem;
217
+ vertical-align: top;
218
+ border-top: 1px solid #dee2e6;
219
+ }
220
+
221
+ thead th {
222
+ vertical-align: bottom;
223
+ border-bottom: 2px solid #dee2e6;
224
+ }
225
+
226
+ tbody + tbody {
227
+ border-top: 2px solid #dee2e6;
228
+ }
229
+
230
+ /* markdown-section styles */
231
+ .markdown-section blockquote,
232
+ .markdown-section h1,
233
+ .markdown-section h2,
234
+ .markdown-section h3,
235
+ .markdown-section h4,
236
+ .markdown-section h5,
237
+ .markdown-section h6,
238
+ .markdown-section p,
239
+ .markdown-section pre,
240
+ .markdown-section table,
241
+ .markdown-section ul {
242
+ /* Give most block elements margin top and bottom */
243
+ margin-top: 1rem;
244
+ }
245
+
246
+ /* Remove top margin if it's the first child */
247
+ .markdown-section blockquote:first-child,
248
+ .markdown-section h1:first-child,
249
+ .markdown-section h2:first-child,
250
+ .markdown-section h3:first-child,
251
+ .markdown-section h4:first-child,
252
+ .markdown-section h5:first-child,
253
+ .markdown-section h6:first-child,
254
+ .markdown-section p:first-child,
255
+ .markdown-section pre:first-child,
256
+ .markdown-section table:first-child,
257
+ .markdown-section ul:first-child {
258
+ margin-top: 0;
259
+ }
260
+
261
+ /* Remove top margin of <ul> following a <p> */
262
+ .markdown-section p + ul {
263
+ margin-top: 0;
264
+ }
265
+
266
+ /* Remove bottom margin of <p> if it is followed by a <ul> */
267
+ /* Note: :has is not supported in CSS, so you would need JavaScript for this behavior */
268
+ .markdown-section p {
269
+ margin-bottom: 0;
270
+ }
271
+
272
+ /* Add a rule to reset margin-bottom for <p> not followed by <ul> */
273
+ .markdown-section p + ul {
274
+ margin-top: 0;
275
+ }
276
+
277
+ /* List item styles */
278
+ .markdown-section li {
279
+ padding: 2px;
280
+ }
281
+
282
+ .markdown-section li p {
283
+ margin-bottom: 0;
284
+ padding: 0;
285
+ }
286
+
287
+ /* Avoid margins for nested lists */
288
+ .markdown-section li > ul {
289
+ margin-top: 0;
290
+ margin-bottom: 0;
291
+ }
292
+
293
+ /* Table styles */
294
+ .markdown-section table {
295
+ width: 100%;
296
+ border-collapse: collapse;
297
+ margin: 1rem 0;
298
+ }
299
+
300
+ .markdown-section th,
301
+ .markdown-section td {
302
+ border: 1px solid #ddd;
303
+ padding: 0.5rem;
304
+ text-align: left;
305
+ }
306
+
307
+ .markdown-section th {
308
+ background-color: #f2f2f2;
309
+ }
310
+
311
+ .markdown-section pre {
312
+ padding: 10px;
313
+ margin: 10px;
314
+ }
315
+
316
+ .markdown-section pre code {
317
+ position: relative;
318
+ color: rgb(172, 0, 95);
319
+ }
backend/open_webui/static/favicon.png ADDED
backend/open_webui/static/loader.js ADDED
File without changes
backend/open_webui/static/logo.png ADDED
backend/open_webui/static/splash.png ADDED
backend/open_webui/static/swagger-ui/favicon.png ADDED
backend/open_webui/static/swagger-ui/swagger-ui-bundle.js ADDED
The diff for this file is too large to render. See raw diff
 
backend/open_webui/static/swagger-ui/swagger-ui.css ADDED
The diff for this file is too large to render. See raw diff
 
backend/open_webui/static/user-import.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Name,Email,Password,Role