-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.css
More file actions
324 lines (276 loc) · 6.08 KB
/
Copy pathoptions.css
File metadata and controls
324 lines (276 loc) · 6.08 KB
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
/* ToS Summarizer AI v1.1 - Enhanced Options Styles */
* {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
padding: 0;
margin: 0;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
min-height: 100vh;
color: #2c3e50;
line-height: 1.6;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.header h1 {
margin: 0;
font-size: 2.5em;
font-weight: 300;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.subtitle {
margin: 10px 0 0 0;
font-size: 1.1em;
opacity: 0.9;
font-weight: 300;
}
section {
max-width: 800px;
margin: 30px auto;
background: white;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
overflow: hidden;
}
section h2 {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
margin: 0;
padding: 20px 30px;
border-bottom: 1px solid #dee2e6;
font-size: 1.4em;
font-weight: 600;
color: #495057;
}
.api-section, .model-section, .about-section {
padding: 30px;
}
.api-section h2 {
background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
color: #2e7d32;
}
.model-section h2 {
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
color: #1565c0;
}
.about-section {
padding-top: 0;
}
.about-section h2 {
background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
color: #e65100;
}
.info-box {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 20px;
margin-bottom: 25px;
border-left: 4px solid #6c757d;
}
.info-box p {
margin: 0 0 10px 0;
color: #495057;
}
.info-box p:last-child {
margin-bottom: 0;
}
.info-box a {
color: #007bff;
text-decoration: none;
font-weight: 500;
}
.info-box a:hover {
text-decoration: underline;
}
.input-group {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
flex-wrap: wrap;
}
label {
font-weight: 600;
color: #495057;
min-width: 80px;
font-size: 0.95em;
}
input[type="password"], select {
flex: 1;
min-width: 300px;
padding: 12px 16px;
border: 2px solid #dee2e6;
border-radius: 8px;
font-size: 0.95em;
font-family: inherit;
transition: all 0.2s ease;
background: white;
}
input[type="password"]:focus, select:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
.primary-btn, .secondary-btn {
padding: 12px 20px;
border: none;
border-radius: 8px;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
text-align: center;
font-family: inherit;
}
.primary-btn {
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
color: white;
box-shadow: 0 4px 6px rgba(0,123,255,0.2);
}
.primary-btn:hover {
background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
transform: translateY(-1px);
box-shadow: 0 6px 12px rgba(0,123,255,0.3);
}
.primary-btn:disabled {
background: #6c757d;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.secondary-btn {
background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
color: white;
box-shadow: 0 4px 6px rgba(108,117,125,0.2);
margin-right: 10px;
margin-bottom: 10px;
}
.secondary-btn:hover {
background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
transform: translateY(-1px);
box-shadow: 0 6px 12px rgba(108,117,125,0.3);
}
.action-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 20px;
}
.status {
margin-top: 15px;
padding: 12px 16px;
border-radius: 8px;
font-weight: 500;
font-size: 0.9em;
display: block;
transition: all 0.3s ease;
}
.status.success {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
border: 1px solid #c3e6cb;
}
.status.error {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
color: #721c24;
border: 1px solid #f5c6cb;
}
.status.info {
background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
color: #0c5460;
border: 1px solid #bee5eb;
}
/* Responsive Design */
@media (max-width: 768px) {
.header {
padding: 20px 15px;
}
.header h1 {
font-size: 2em;
}
section {
margin: 20px 15px;
}
.api-section, .model-section, .about-section {
padding: 20px;
}
section h2 {
padding: 15px 20px;
font-size: 1.2em;
}
.input-group {
flex-direction: column;
align-items: stretch;
}
input[type="password"], select {
min-width: 100%;
}
label {
min-width: auto;
}
.action-buttons {
flex-direction: column;
}
.secondary-btn {
margin-right: 0;
width: 100%;
}
}
/* Model Display */
.model-display {
display: flex;
align-items: center;
gap: 15px;
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
border: 1px solid #90caf9;
border-left: 4px solid #1565c0;
border-radius: 8px;
padding: 18px 24px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.model-label {
font-size: 0.8em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #1565c0;
min-width: 80px;
}
.model-name {
font-size: 1.15em;
font-weight: 700;
color: #0d47a1;
flex: 1;
}
.model-badge {
font-size: 0.75em;
font-weight: 600;
background: #1565c0;
color: white;
padding: 4px 10px;
border-radius: 12px;
white-space: nowrap;
}
/* Animation for status messages */
.status {
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}