@diagramers/admin
Version:
Diagramers Admin Template - React starter for admin dashboards.
144 lines (123 loc) • 2.31 kB
CSS
.setup-page {
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
padding: 2rem 0;
}
.setup-container {
width: 100%;
}
.setup-card {
border: none;
border-radius: 1rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.setup-title {
font-size: 2rem;
font-weight: 700;
color: #333;
}
.setup-subtitle {
font-size: 1.1rem;
}
.logo-upload-area {
border: 2px dashed #dee2e6;
border-radius: 0.5rem;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
}
.logo-upload-area:hover {
border-color: #007bff;
background-color: #f8f9fa;
}
.logo-upload-placeholder {
cursor: pointer;
}
.logo-preview-container {
position: relative;
display: inline-block;
}
.logo-preview {
max-width: 150px;
max-height: 150px;
border-radius: 0.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.remove-logo-btn {
position: absolute;
top: -8px;
right: -8px;
border-radius: 50%;
width: 32px;
height: 32px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
.theme-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.theme-option {
border: 2px solid #dee2e6;
border-radius: 0.5rem;
padding: 1rem;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
background: white;
}
.theme-option:hover {
border-color: #007bff;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-option.selected {
border-color: #007bff;
background-color: #f8f9ff;
}
.theme-color-preview {
width: 100%;
height: 60px;
border-radius: 0.5rem;
margin-bottom: 0.5rem;
}
.theme-name {
margin-bottom: 0.25rem;
font-weight: 600;
}
.theme-description {
font-size: 0.875rem;
color: #6c757d;
margin-bottom: 0;
}
.theme-selected {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background-color: #007bff;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.setup-submit-btn {
min-width: 200px;
padding: 0.75rem 2rem;
}
@media (max-width: 768px) {
.setup-page {
padding: 1rem;
}
.theme-grid {
grid-template-columns: 1fr;
}
}