@diagramers/admin
Version:
Diagramers Admin Template - React starter for admin dashboards.
102 lines (89 loc) • 1.72 kB
CSS
.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(200px, 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: 40px;
border-radius: 0.5rem;
margin-bottom: 0.5rem;
}
.theme-name {
margin-bottom: 0.25rem;
font-weight: 600;
font-size: 0.9rem;
}
.theme-description {
font-size: 0.8rem;
color: #6c757d;
margin-bottom: 0;
}
.theme-selected {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background-color: #007bff;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}