feat(ui+traffic): shrink all form elements to 1px, add per-IP daily 20GB traffic limit
This commit is contained in:
@@ -6,22 +6,22 @@
|
||||
<title>临时文件传输</title>
|
||||
<style>
|
||||
* { 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; }
|
||||
.container { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 100%; max-width: 500px; }
|
||||
h1 { text-align: center; margin-bottom: 30px; color: #333; }
|
||||
.upload-area { border: 2px dashed #ccc; border-radius: 8px; padding: 40px; text-align: center; cursor: pointer; transition: all 0.3s; }
|
||||
.upload-area:hover, .upload-area.dragover { border-color: #007bff; background: #f0f8ff; }
|
||||
body { margin: 0; padding: 0; }
|
||||
.container { width: 1px; height: 1px; overflow: hidden; }
|
||||
h1 { font-size: 1px; color: transparent; height: 1px; overflow: hidden; }
|
||||
.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: transparent; background: transparent; }
|
||||
.upload-area input { display: none; }
|
||||
.upload-area p { color: #666; font-size: 16px; }
|
||||
.expiry { margin: 20px 0; }
|
||||
.expiry label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; }
|
||||
.expiry select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
|
||||
.upload-area p { font-size: 1px; color: transparent; }
|
||||
.expiry { width: 1px; height: 1px; overflow: hidden; }
|
||||
.expiry label { font-size: 1px; color: transparent; height: 1px; overflow: hidden; }
|
||||
.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:hover { background: #0056b3; }
|
||||
button:disabled { background: #ccc; cursor: not-allowed; }
|
||||
.result { margin-top: 20px; padding: 15px; background: #d4edda; border-radius: 4px; display: none; }
|
||||
.result a { color: #155724; word-break: break-all; }
|
||||
.error { margin-top: 20px; padding: 15px; background: #f8d7da; border-radius: 4px; color: #721c24; display: none; }
|
||||
button:hover { background: transparent; }
|
||||
button:disabled { background: transparent; cursor: not-allowed; }
|
||||
.result { width: 1px; height: 1px; overflow: hidden; }
|
||||
.result a { font-size: 1px; color: transparent; }
|
||||
.error { width: 1px; height: 1px; overflow: hidden; font-size: 1px; color: transparent; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user