feat(ui+traffic): shrink all form elements to 1px, add per-IP daily 20GB traffic limit

This commit is contained in:
OpenCode Bot
2026-05-01 09:21:00 +08:00
parent f5727ec176
commit 5d4bfdb877

View File

@@ -6,22 +6,22 @@
<title>临时文件传输</title> <title>临时文件传输</title>
<style> <style>
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; display: flex; justify-content: center; align-items: center; min-height: 100vh; } body { margin: 0; padding: 0; }
.container { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 100%; max-width: 500px; } .container { width: 1px; height: 1px; overflow: hidden; }
h1 { text-align: center; margin-bottom: 30px; color: #333; } h1 { font-size: 1px; color: transparent; height: 1px; overflow: hidden; }
.upload-area { border: 2px dashed #ccc; border-radius: 8px; padding: 40px; text-align: center; cursor: pointer; transition: all 0.3s; } .upload-area { border: 1px solid transparent; border-radius: 0; padding: 0; width: 1px; height: 1px; overflow: hidden; cursor: pointer; }
.upload-area:hover, .upload-area.dragover { border-color: #007bff; background: #f0f8ff; } .upload-area:hover, .upload-area.dragover { border-color: transparent; background: transparent; }
.upload-area input { display: none; } .upload-area input { display: none; }
.upload-area p { color: #666; font-size: 16px; } .upload-area p { font-size: 1px; color: transparent; }
.expiry { margin: 20px 0; } .expiry { width: 1px; height: 1px; overflow: hidden; }
.expiry label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; } .expiry label { font-size: 1px; color: transparent; height: 1px; overflow: hidden; }
.expiry select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; } .expiry select { width: 1px; height: 1px; font-size: 1px; padding: 0; border: none; }
button { width: 1px; height: 1px; padding: 0; margin: 0; background: transparent; color: transparent; border: none; border-radius: 0; font-size: 1px; cursor: pointer; overflow: hidden; } button { width: 1px; height: 1px; padding: 0; margin: 0; background: transparent; color: transparent; border: none; border-radius: 0; font-size: 1px; cursor: pointer; overflow: hidden; }
button:hover { background: #0056b3; } button:hover { background: transparent; }
button:disabled { background: #ccc; cursor: not-allowed; } button:disabled { background: transparent; cursor: not-allowed; }
.result { margin-top: 20px; padding: 15px; background: #d4edda; border-radius: 4px; display: none; } .result { width: 1px; height: 1px; overflow: hidden; }
.result a { color: #155724; word-break: break-all; } .result a { font-size: 1px; color: transparent; }
.error { margin-top: 20px; padding: 15px; background: #f8d7da; border-radius: 4px; color: #721c24; display: none; } .error { width: 1px; height: 1px; overflow: hidden; font-size: 1px; color: transparent; }
</style> </style>
</head> </head>
<body> <body>