304 lines
5.1 KiB
CSS
304 lines
5.1 KiB
CSS
|
|
/* Dashboard Styles */
|
||
|
|
.dashboard {
|
||
|
|
min-height: 100vh;
|
||
|
|
background: #f8fafc;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Header */
|
||
|
|
.dashboard-header {
|
||
|
|
background: white;
|
||
|
|
border-bottom: 1px solid #e2e8f0;
|
||
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-content {
|
||
|
|
max-width: 1200px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 1rem 2rem;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #667eea;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo-icon {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-actions {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.welcome-text {
|
||
|
|
color: #64748b;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logout-btn {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
background: #ef4444;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 0.5rem 1rem;
|
||
|
|
border-radius: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logout-btn:hover {
|
||
|
|
background: #dc2626;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dashboard Content */
|
||
|
|
.dashboard-content {
|
||
|
|
max-width: 1200px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 2rem;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* User Info Section */
|
||
|
|
.user-info-section {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 2fr;
|
||
|
|
gap: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-card {
|
||
|
|
background: white;
|
||
|
|
padding: 2rem;
|
||
|
|
border-radius: 16px;
|
||
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-avatar {
|
||
|
|
width: 80px;
|
||
|
|
height: 80px;
|
||
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
||
|
|
border-radius: 50%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
color: white;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-details h2 {
|
||
|
|
margin: 0 0 0.5rem 0;
|
||
|
|
color: #1e293b;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-email {
|
||
|
|
color: #64748b;
|
||
|
|
margin: 0 0 0.5rem 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.join-date {
|
||
|
|
color: #94a3b8;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Stats Grid */
|
||
|
|
.stats-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card {
|
||
|
|
background: white;
|
||
|
|
padding: 1.5rem;
|
||
|
|
border-radius: 12px;
|
||
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
border-radius: 12px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card:nth-child(1) .stat-icon {
|
||
|
|
background: linear-gradient(45deg, #06b6d4, #0891b2);
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card:nth-child(2) .stat-icon {
|
||
|
|
background: linear-gradient(45deg, #10b981, #059669);
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card:nth-child(3) .stat-icon {
|
||
|
|
background: linear-gradient(45deg, #f59e0b, #d97706);
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-info h3 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 2rem;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #1e293b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-info p {
|
||
|
|
margin: 0;
|
||
|
|
color: #64748b;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Meetings Section */
|
||
|
|
.meetings-section {
|
||
|
|
background: white;
|
||
|
|
border-radius: 16px;
|
||
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header {
|
||
|
|
padding: 2rem 2rem 1rem 2rem;
|
||
|
|
border-bottom: 1px solid #e2e8f0;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title h2 {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
margin: 0 0 0.5rem 0;
|
||
|
|
color: #1e293b;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title p {
|
||
|
|
margin: 0;
|
||
|
|
color: #64748b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.create-meeting-btn {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
background: linear-gradient(135deg, #667eea, #764ba2);
|
||
|
|
color: white;
|
||
|
|
text-decoration: none;
|
||
|
|
padding: 0.75rem 1.5rem;
|
||
|
|
border-radius: 10px;
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 0.95rem;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.create-meeting-btn:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
|
||
|
|
color: white;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Loading and Error States */
|
||
|
|
.loading-container, .error-container {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
height: 50vh;
|
||
|
|
color: #64748b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-spinner {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border: 3px solid #e2e8f0;
|
||
|
|
border-top: 3px solid #667eea;
|
||
|
|
border-radius: 50%;
|
||
|
|
animation: spin 1s linear infinite;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes spin {
|
||
|
|
0% { transform: rotate(0deg); }
|
||
|
|
100% { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.retry-btn {
|
||
|
|
background: #667eea;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 0.5rem 1rem;
|
||
|
|
border-radius: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
margin-top: 1rem;
|
||
|
|
transition: background 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.retry-btn:hover {
|
||
|
|
background: #5a67d8;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive Design */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.dashboard-content {
|
||
|
|
padding: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-info-section {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stats-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-content {
|
||
|
|
padding: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-actions {
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.5rem;
|
||
|
|
align-items: flex-end;
|
||
|
|
}
|
||
|
|
|
||
|
|
.welcome-text {
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
}
|