Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +112 -0
static/styles.css
CHANGED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 3 |
+
background-color: #f4f7f9;
|
| 4 |
+
color: #333;
|
| 5 |
+
display: flex;
|
| 6 |
+
justify-content: center;
|
| 7 |
+
align-items: center;
|
| 8 |
+
min-height: 100vh;
|
| 9 |
+
margin: 0;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.container {
|
| 13 |
+
background-color: #fff;
|
| 14 |
+
padding: 40px;
|
| 15 |
+
border-radius: 12px;
|
| 16 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 17 |
+
width: 100%;
|
| 18 |
+
max-width: 600px;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
h1 {
|
| 22 |
+
color: #007bff;
|
| 23 |
+
text-align: center;
|
| 24 |
+
margin-bottom: 10px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
p {
|
| 28 |
+
text-align: center;
|
| 29 |
+
margin-bottom: 30px;
|
| 30 |
+
color: #666;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
input[type="file"] {
|
| 34 |
+
display: block;
|
| 35 |
+
width: 100%;
|
| 36 |
+
padding: 10px;
|
| 37 |
+
margin-bottom: 20px;
|
| 38 |
+
border: 2px dashed #ccc;
|
| 39 |
+
border-radius: 6px;
|
| 40 |
+
cursor: pointer;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
button {
|
| 44 |
+
width: 100%;
|
| 45 |
+
padding: 12px;
|
| 46 |
+
background-color: #28a745;
|
| 47 |
+
color: white;
|
| 48 |
+
border: none;
|
| 49 |
+
border-radius: 6px;
|
| 50 |
+
font-size: 1.1em;
|
| 51 |
+
cursor: pointer;
|
| 52 |
+
transition: background-color 0.3s;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
button:hover:not(:disabled) {
|
| 56 |
+
background-color: #218838;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
button:disabled {
|
| 60 |
+
background-color: #90c69e;
|
| 61 |
+
cursor: not-allowed;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
#fileList {
|
| 65 |
+
margin-bottom: 20px;
|
| 66 |
+
padding: 10px;
|
| 67 |
+
border: 1px solid #eee;
|
| 68 |
+
background-color: #f9f9f9;
|
| 69 |
+
border-radius: 4px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
#fileList ul {
|
| 73 |
+
list-style: none;
|
| 74 |
+
padding: 0;
|
| 75 |
+
margin: 0;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
#fileList li {
|
| 79 |
+
padding: 5px 0;
|
| 80 |
+
border-bottom: 1px dotted #ddd;
|
| 81 |
+
font-size: 0.9em;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
#fileList li:last-child {
|
| 85 |
+
border-bottom: none;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
#statusMessage {
|
| 89 |
+
margin-top: 20px;
|
| 90 |
+
padding: 10px;
|
| 91 |
+
border-radius: 4px;
|
| 92 |
+
font-weight: bold;
|
| 93 |
+
text-align: center;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.success {
|
| 97 |
+
background-color: #d4edda;
|
| 98 |
+
color: #155724;
|
| 99 |
+
border: 1px solid #c3e6cb;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.error {
|
| 103 |
+
background-color: #f8d7da;
|
| 104 |
+
color: #721c24;
|
| 105 |
+
border: 1px solid #f5c6cb;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.info {
|
| 109 |
+
background-color: #d1ecf1;
|
| 110 |
+
color: #0c5460;
|
| 111 |
+
border: 1px solid #bee5eb;
|
| 112 |
+
}
|