mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-11-02 21:13:40 +00:00
119 lines
1.9 KiB
CSS
119 lines
1.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
background: #f5f5f5;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
margin-bottom: 30px;
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.upload-container {
|
|
background: white;
|
|
border-radius: 10px;
|
|
padding: 40px 20px;
|
|
border: 2px dashed #ccc;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.upload-container.highlight {
|
|
border-color: #4CAF50;
|
|
background: #f0f9f0;
|
|
}
|
|
|
|
.upload-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.upload-content svg {
|
|
color: #666;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.upload-content p {
|
|
color: #666;
|
|
font-size: 1.1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
button {
|
|
background: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 5px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background: #45a049;
|
|
}
|
|
|
|
button:disabled {
|
|
background: #cccccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.file-list {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.file-item {
|
|
background: white;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.upload-button {
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
max-width: 200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 10px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.upload-container {
|
|
padding: 20px 10px;
|
|
}
|
|
}
|