mirror of
https://github.com/skidoodle/safebin.git
synced 2026-04-28 03:07:41 +02:00
111 lines
1.8 KiB
CSS
111 lines
1.8 KiB
CSS
:root {
|
|
--bg: #0d1117;
|
|
--fg: #adbac7;
|
|
--accent: #4493f8;
|
|
--border: #30363d;
|
|
--success: #3fb950;
|
|
--header-white: #f0f6fc;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: -apple-system, system-ui, sans-serif;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.header {
|
|
margin-bottom: 30px;
|
|
border-left: 3px solid var(--accent);
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.upload-area {
|
|
border: 2px dashed var(--border);
|
|
border-radius: 12px;
|
|
padding: 60px 20px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
background: #161b22;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.upload-area:hover,
|
|
.upload-area.dragover {
|
|
border-color: var(--accent);
|
|
background: #1c2128;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 6px;
|
|
background: var(--border);
|
|
border-radius: 10px;
|
|
margin: 25px 0;
|
|
overflow: hidden;
|
|
display: none;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
width: 0%;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.copy-box {
|
|
display: flex;
|
|
margin-top: 20px;
|
|
gap: 8px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
flex: 1;
|
|
background: #0d1117;
|
|
border: 1px solid var(--border);
|
|
color: var(--success);
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
font-family: monospace;
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.reset-btn {
|
|
background: transparent;
|
|
color: var(--fg);
|
|
text-decoration: underline;
|
|
margin-top: 20px;
|
|
border: none;
|
|
cursor: pointer;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.dim {
|
|
color: #768390;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.error-text {
|
|
color: #f85149;
|
|
margin-bottom: 10px;
|
|
}
|