Files

119 lines
2.8 KiB
CSS

/* ============================================================
League combine page styles
============================================================ */
html, body {
background: #f5f5f5;
min-height: 100vh;
}
.upload-section {
background: white;
padding: 30px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.upload-area {
border: 3px dashed #28a745;
border-radius: 10px;
padding: 40px;
text-align: center;
background: #f8f9fa;
cursor: pointer;
transition: all 0.3s;
}
.upload-area:hover { background: #e9f7ed; border-color: #1e7e34; }
.upload-area.drag-over { background: #d4edda; border-color: #28a745; box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2); }
.file-input { display: none; }
.upload-icon { font-size: 48px; margin-bottom: 10px; }
.uploaded-files { margin-top: 20px; }
.file-item {
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
border-left: 4px solid #28a745;
}
.file-item.error { border-left-color: #dc3545; background: #f8d7da; }
.file-info { display: flex; flex-direction: column; gap: 5px; }
.file-name { font-weight: bold; color: #2c3e50; }
.file-details { font-size: 0.9em; color: #6c757d; }
.remove-btn {
background: #dc3545;
color: white;
border: none;
padding: 8px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.remove-btn:hover { background: #c82333; }
.action-buttons { display: flex; gap: 10px; margin-top: 20px; }
.preview-section {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
display: none;
}
.preview-section.active { display: block; }
.info-box {
background: #d4edda;
border-left: 4px solid #28a745;
padding: 15px;
margin-bottom: 20px;
border-radius: 8px;
}
.info-box h3 { margin: 0 0 10px 0; color: #155724; }
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
.stat-card {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
text-align: center;
border-left: 4px solid #28a745;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.stat-value { font-size: 32px; font-weight: bold; color: #28a745; }
.stat-label { font-size: 14px; color: #6c757d; margin-top: 5px; }
.mode-btn {
flex: 1;
padding: 12px 20px;
border: 2px solid #28a745;
background: white;
color: #28a745;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.mode-btn:hover { background: #e9f7ed; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.mode-btn.active { background: #28a745; color: white; border-color: #1e7e34; }