Filesharing / static /style.css
Gemini CLI
fix: refine cleanup logic, disable default self-destruct, and premium web redesign
0fae7dc
Raw History Blame Contribute Delete
6.87 kB
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
:root {
--primary: #6366f1;
--primary-glow: rgba(99, 102, 241, 0.4);
--bg: #030712;
--card: #0f172a;
--surface: #1e293b;
--text: #f8fafc;
--text-dim: #94a3b8;
--border: #334155;
--success: #10b981;
--danger: #ef4444;
--glass: rgba(15, 23, 42, 0.7);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Plus Jakarta Sans', sans-serif;
background-color: var(--bg);
background-image:
radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
color: var(--text);
line-height: 1.6;
display: flex;
justify-content: center;
padding: 2rem 1rem;
min-height: 100vh;
}
.container {
width: 100%;
max-width: 1000px;
animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
header {
text-align: center;
margin-bottom: 4rem;
}
header h1 {
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -1.5px;
background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 0.5rem;
}
header p {
color: var(--text-dim);
font-weight: 500;
font-size: 1.1rem;
}
.drop-zone {
background: var(--glass);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 2px dashed var(--border);
border-radius: 24px;
padding: 4rem 2rem;
text-align: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
margin-bottom: 2.5rem;
box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.drop-zone:hover, .drop-zone.drag-over {
border-color: var(--primary);
background: rgba(99, 102, 241, 0.05);
box-shadow: 0 0 40px -5px var(--primary-glow);
transform: scale(1.01);
}
.drop-zone-content i {
color: var(--primary);
margin-bottom: 1.5rem;
filter: drop-shadow(0 0 10px var(--primary-glow));
}
.btn-primary {
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
color: white;
border: none;
padding: 1rem 2.5rem;
border-radius: 14px;
font-weight: 700;
font-size: 1rem;
cursor: pointer;
margin-top: 1.5rem;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}
.hidden { display: none; }
.upload-progress-container {
background: var(--glass);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2rem;
margin-bottom: 2.5rem;
border: 1px solid var(--border);
}
.progress-item { margin-bottom: 1.5rem; }
.progress-info {
display: flex;
justify-content: space-between;
margin-bottom: 0.75rem;
font-size: 0.95rem;
font-weight: 600;
}
.progress-bar-bg {
background: #0f172a;
height: 12px;
border-radius: 6px;
overflow: hidden;
border: 1px solid var(--border);
}
.progress-bar-fill {
background: linear-gradient(90deg, #6366f1, #a855f7);
height: 100%;
width: 0%;
transition: width 0.3s ease;
}
.cli-section {
background: rgba(30, 41, 59, 0.4);
border-radius: 20px;
padding: 2rem;
margin-bottom: 3rem;
border: 1px solid var(--border);
}
.cli-section h2 { font-size: 1.2rem; margin-bottom: 1rem; color: #fff; }
.cli-section p { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text-dim); }
.cli-section code {
background: #000 !important;
padding: 1rem !important;
border-radius: 12px !important;
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem !important;
display: block;
margin: 1rem 0;
}
.file-list-section {
background: var(--glass);
backdrop-filter: blur(12px);
border-radius: 24px;
padding: 2.5rem;
border: 1px solid var(--border);
}
.section-header h2 { font-size: 1.75rem; font-weight: 800; color: #fff; }
.btn-icon {
width: 40px;
height: 40px;
border-radius: 10px;
background: var(--surface);
border: 1px solid var(--border);
color: var(--text-dim);
transition: all 0.2s;
}
.btn-icon:hover { color: #fff; background: var(--border); border-color: var(--primary); }
.file-list { display: grid; gap: 1rem; margin-top: 1rem; }
.file-item {
background: rgba(15, 23, 42, 0.5);
padding: 1.25rem;
border-radius: 18px;
border: 1px solid var(--border);
transition: 0.3s;
display: flex;
align-items: flex-start;
}
.file-item:hover {
border-color: var(--primary);
background: rgba(30, 41, 59, 0.5);
transform: translateX(5px);
}
.file-icon {
width: 50px;
height: 50px;
background: var(--surface);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin-right: 1.25rem;
color: var(--primary);
}
.file-info { flex: 1; min-width: 0; }
.file-name {
font-size: 1.1rem;
font-weight: 700;
color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-meta { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; margin-bottom: 1rem; }
.file-links { display: flex; flex-direction: column; gap: 0.75rem; }
.link-group { position: relative; width: 100%; }
.file-links code {
background: #000;
padding: 0.75rem 1rem;
border-radius: 10px;
font-size: 0.75rem;
color: var(--primary);
border: 1px solid var(--border);
display: block;
width: 100%;
}
.copy-btn {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
background: var(--surface);
border: 1px solid var(--border);
color: var(--text-dim);
padding: 6px 12px;
border-radius: 8px;
font-size: 0.7rem;
}
.file-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.action-btn {
flex: 1;
padding: 0.75rem;
border-radius: 12px;
font-weight: 700;
font-size: 0.85rem;
text-decoration: none;
text-align: center;
transition: 0.3s;
}
.download-btn { background: var(--primary); color: #fff; }
.delete-btn { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.action-btn:hover { filter: brightness(1.2); transform: translateY(-2px); }
footer { margin-top: 5rem; padding-bottom: 2rem; color: var(--text-dim); font-size: 0.9rem; }
/* Mobile */
@media (max-width: 768px) {
header h1 { font-size: 2.5rem; }
.file-item { flex-direction: column; }
.file-icon { margin-bottom: 1rem; }
.file-actions { width: 100%; }
}