|
113 | 113 | </div> |
114 | 114 | </div> |
115 | 115 |
|
116 | | -<style> |
117 | | - /* Fluent UI 风格样式 - 修复容器溢出问题 */ |
118 | | - .fluent-container { |
119 | | - max-width: 1200px; |
120 | | - margin: 0 auto; |
121 | | - padding: 24px; |
122 | | - font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; |
123 | | - color: #323130; |
124 | | - width: 100%; |
125 | | - box-sizing: border-box; |
126 | | - } |
127 | | -
|
128 | | - .fluent-header { |
129 | | - margin-bottom: 24px; |
130 | | - } |
131 | | -
|
132 | | - .fluent-title { |
133 | | - font-size: 28px; |
134 | | - font-weight: 600; |
135 | | - margin: 0 0 8px 0; |
136 | | - color: #0078d4; |
137 | | - word-wrap: break-word; |
138 | | - } |
139 | | -
|
140 | | - .fluent-subtitle { |
141 | | - font-size: 16px; |
142 | | - margin: 0; |
143 | | - color: #605e5c; |
144 | | - word-wrap: break-word; |
145 | | - } |
146 | | -
|
147 | | - .fluent-content { |
148 | | - display: grid; |
149 | | - grid-template-columns: 2fr 1fr; |
150 | | - gap: 24px; |
151 | | - width: 100%; |
152 | | - } |
153 | | -
|
154 | | - @@media (max-width: 768px) { |
155 | | - .fluent-content { |
156 | | - grid-template-columns: 1fr; |
157 | | - } |
158 | | - |
159 | | - .fluent-container { |
160 | | - padding: 16px; |
161 | | - } |
162 | | - |
163 | | - .fluent-actions { |
164 | | - flex-direction: column; |
165 | | - } |
166 | | - |
167 | | - .fluent-button { |
168 | | - width: 100%; |
169 | | - } |
170 | | - } |
171 | | -
|
172 | | - .fluent-card { |
173 | | - background: white; |
174 | | - border-radius: 4px; |
175 | | - box-shadow: 0 1.6px 3.6px 0 rgba(0,0,0,0.132), 0 0.3px 0.9px 0 rgba(0,0,0,0.108); |
176 | | - transition: box-shadow 0.3s ease; |
177 | | - overflow: hidden; |
178 | | - margin-bottom: 24px; |
179 | | - width: 100%; |
180 | | - } |
181 | | -
|
182 | | - .fluent-card:hover { |
183 | | - box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,0.132), 0 1.2px 3.6px 0 rgba(0,0,0,0.108); |
184 | | - } |
185 | | -
|
186 | | - .fluent-card-header { |
187 | | - padding: 16px 20px; |
188 | | - border-bottom: 1px solid #edebe9; |
189 | | - } |
190 | | -
|
191 | | - .fluent-card-header h3 { |
192 | | - margin: 0; |
193 | | - font-size: 18px; |
194 | | - font-weight: 600; |
195 | | - } |
196 | | -
|
197 | | - .fluent-card-content { |
198 | | - padding: 20px; |
199 | | - overflow-wrap: break-word; |
200 | | - word-wrap: break-word; |
201 | | - word-break: break-word; |
202 | | - } |
203 | | -
|
204 | | - .fluent-form-group { |
205 | | - margin-bottom: 24px; |
206 | | - } |
207 | | -
|
208 | | - .fluent-label { |
209 | | - display: block; |
210 | | - font-size: 14px; |
211 | | - font-weight: 600; |
212 | | - margin-bottom: 8px; |
213 | | - } |
214 | | -
|
215 | | - .fluent-file-input { |
216 | | - position: relative; |
217 | | - display: flex; |
218 | | - align-items: center; |
219 | | - border: 1px solid #8a8886; |
220 | | - border-radius: 2px; |
221 | | - overflow: hidden; |
222 | | - height: 36px; |
223 | | - width: 100%; |
224 | | - } |
225 | | -
|
226 | | - .fluent-file-input input[type="file"] { |
227 | | - position: absolute; |
228 | | - width: 100%; |
229 | | - height: 100%; |
230 | | - opacity: 0; |
231 | | - cursor: pointer; |
232 | | - z-index: 2; |
233 | | - } |
234 | | -
|
235 | | - .fluent-file-button { |
236 | | - background-color: #f3f2f1; |
237 | | - padding: 0 16px; |
238 | | - height: 100%; |
239 | | - display: flex; |
240 | | - align-items: center; |
241 | | - border-right: 1px solid #8a8886; |
242 | | - font-size: 14px; |
243 | | - } |
244 | | -
|
245 | | - .fluent-file-name { |
246 | | - padding: 0 12px; |
247 | | - font-size: 14px; |
248 | | - color: #605e5c; |
249 | | - white-space: nowrap; |
250 | | - overflow: hidden; |
251 | | - text-overflow: ellipsis; |
252 | | - flex: 1; |
253 | | - min-width: 0; |
254 | | - } |
255 | | -
|
256 | | - .fluent-hint { |
257 | | - font-size: 12px; |
258 | | - color: #605e5c; |
259 | | - margin-top: 4px; |
260 | | - } |
261 | | -
|
262 | | - .fluent-checkbox-group { |
263 | | - display: grid; |
264 | | - grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); |
265 | | - gap: 12px; |
266 | | - width: 100%; |
267 | | - } |
268 | | -
|
269 | | - .fluent-checkbox { |
270 | | - display: flex; |
271 | | - align-items: center; |
272 | | - } |
273 | | -
|
274 | | - .fluent-checkbox input[type="checkbox"] { |
275 | | - width: 20px; |
276 | | - height: 20px; |
277 | | - margin-right: 8px; |
278 | | - cursor: pointer; |
279 | | - } |
280 | | -
|
281 | | - .fluent-checkbox label { |
282 | | - font-size: 14px; |
283 | | - cursor: pointer; |
284 | | - } |
285 | | -
|
286 | | - .fluent-actions { |
287 | | - display: flex; |
288 | | - gap: 12px; |
289 | | - margin-bottom: 24px; |
290 | | - flex-wrap: wrap; |
291 | | - } |
292 | | -
|
293 | | - .fluent-button { |
294 | | - display: flex; |
295 | | - align-items: center; |
296 | | - justify-content: center; |
297 | | - padding: 0 16px; |
298 | | - height: 36px; |
299 | | - border-radius: 2px; |
300 | | - font-size: 14px; |
301 | | - font-weight: 600; |
302 | | - cursor: pointer; |
303 | | - transition: all 0.1s ease; |
304 | | - border: none; |
305 | | - outline: none; |
306 | | - text-decoration: none; |
307 | | - white-space: nowrap; |
308 | | - overflow: hidden; |
309 | | - text-overflow: ellipsis; |
310 | | - } |
311 | | -
|
312 | | - .fluent-primary { |
313 | | - background-color: #0078d4; |
314 | | - color: white; |
315 | | - } |
316 | | -
|
317 | | - .fluent-primary:hover { |
318 | | - background-color: #106ebe; |
319 | | - } |
320 | | -
|
321 | | - .fluent-primary:active { |
322 | | - background-color: #005a9e; |
323 | | - } |
324 | | -
|
325 | | - .fluent-secondary { |
326 | | - background-color: #f3f2f1; |
327 | | - color: #323130; |
328 | | - border: 1px solid #8a8886; |
329 | | - } |
330 | | -
|
331 | | - .fluent-secondary:hover { |
332 | | - background-color: #edebe9; |
333 | | - } |
334 | | -
|
335 | | - .fluent-secondary:active { |
336 | | - background-color: #e1dfdd; |
337 | | - } |
338 | | -
|
339 | | - .fluent-success { |
340 | | - background-color: #107c10; |
341 | | - color: white; |
342 | | - } |
343 | | -
|
344 | | - .fluent-success:hover { |
345 | | - background-color: #0b6a0b; |
346 | | - } |
347 | | -
|
348 | | - .fluent-success:active { |
349 | | - background-color: #094e09; |
350 | | - } |
351 | | -
|
352 | | - .fluent-icon { |
353 | | - width: 18px; |
354 | | - height: 18px; |
355 | | - margin-right: 8px; |
356 | | - fill: currentColor; |
357 | | - flex-shrink: 0; |
358 | | - } |
359 | | -
|
360 | | - .fluent-result { |
361 | | - display: none; |
362 | | - } |
363 | | -
|
364 | | - .fluent-success-message, |
365 | | - .fluent-warning-message { |
366 | | - display: flex; |
367 | | - align-items: flex-start; |
368 | | - padding: 12px 16px; |
369 | | - border-radius: 2px; |
370 | | - margin-bottom: 16px; |
371 | | - word-wrap: break-word; |
372 | | - } |
373 | | - |
374 | | - .fluent-success-message span, |
375 | | - .fluent-warning-message span { |
376 | | - flex: 1; |
377 | | - } |
378 | | -
|
379 | | - .fluent-list { |
380 | | - padding-left: 20px; |
381 | | - margin: 0 0 20px 0; |
382 | | - } |
383 | | -
|
384 | | - .fluent-list li { |
385 | | - margin-bottom: 8px; |
386 | | - line-height: 1.5; |
387 | | - } |
388 | | -
|
389 | | - .fluent-code-block { |
390 | | - background-color: #f3f2f1; |
391 | | - border-radius: 2px; |
392 | | - overflow: hidden; |
393 | | - width: 100%; |
394 | | - } |
395 | | -
|
396 | | - .fluent-code-title { |
397 | | - background-color: #edebe9; |
398 | | - padding: 8px 12px; |
399 | | - font-size: 13px; |
400 | | - font-weight: 600; |
401 | | - } |
402 | | -
|
403 | | - .fluent-code-block pre { |
404 | | - margin: 0; |
405 | | - padding: 12px; |
406 | | - overflow-x: auto; |
407 | | - white-space: pre-wrap; |
408 | | - word-wrap: break-word; |
409 | | - } |
410 | | -
|
411 | | - .fluent-code-block code { |
412 | | - font-family: 'Cascadia Code', Consolas, monospace; |
413 | | - font-size: 13px; |
414 | | - color: #323130; |
415 | | - } |
416 | | -
|
417 | | - /* 确保所有元素都使用border-box盒模型 */ |
418 | | - *, *::before, *::after { |
419 | | - box-sizing: border-box; |
420 | | - } |
421 | | -</style> |
| 116 | +<link href="_content/CodeWF/css/iconconverter.css" rel="stylesheet" /> |
422 | 117 |
|
423 | 118 | @code { |
424 | 119 | public const string Slug = "ico"; |
|
0 commit comments