174 lines
3 KiB
CSS
174 lines
3 KiB
CSS
/* Custom Angular Material integration styles */
|
|
|
|
/* Sidenav styles */
|
|
.mat-sidenav-container {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.mat-sidenav {
|
|
border-radius: 0;
|
|
width: 16rem;
|
|
background-color: white !important;
|
|
border-right: 1px solid #e5e7eb !important;
|
|
}
|
|
|
|
/* Toolbar styles */
|
|
.mat-toolbar {
|
|
background-color: white;
|
|
color: #374151;
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
}
|
|
|
|
/* Button styles */
|
|
.mat-mdc-button.nav-button {
|
|
width: 100%;
|
|
text-align: left;
|
|
justify-content: flex-start;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 0.375rem;
|
|
margin-bottom: 0.25rem;
|
|
background-color: transparent;
|
|
transition: background-color 0.15s ease-in-out;
|
|
}
|
|
|
|
.mat-mdc-button.nav-button:hover {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.mat-mdc-button.nav-button.bg-blue-50 {
|
|
background-color: #eff6ff !important;
|
|
color: #1d4ed8 !important;
|
|
}
|
|
|
|
/* Card styles */
|
|
.mat-mdc-card {
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
border: 1px solid #f3f4f6;
|
|
background-color: white !important;
|
|
}
|
|
|
|
/* Tab styles */
|
|
.mat-mdc-tab-group .mat-mdc-tab-header {
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.mat-mdc-tab-label {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.mat-mdc-tab-label:hover {
|
|
color: #111827;
|
|
}
|
|
|
|
.mat-mdc-tab-label-active {
|
|
color: #2563eb;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Chip styles for status indicators */
|
|
.mat-mdc-chip-set .mat-mdc-chip {
|
|
background-color: white;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.chip-green {
|
|
background-color: #dcfce7 !important;
|
|
color: #166534 !important;
|
|
border: 1px solid #bbf7d0 !important;
|
|
}
|
|
|
|
.chip-blue {
|
|
background-color: #dbeafe !important;
|
|
color: #1e40af !important;
|
|
border: 1px solid #bfdbfe !important;
|
|
}
|
|
|
|
.status-chip-active {
|
|
background-color: #dcfce7;
|
|
color: #166534;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-chip-medium {
|
|
background-color: #dbeafe;
|
|
color: #1e40af;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Table styles */
|
|
.mat-mdc-table {
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
border: 1px solid #f3f4f6;
|
|
background-color: white;
|
|
}
|
|
|
|
.mat-mdc-header-row {
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.mat-mdc-header-cell {
|
|
font-weight: 500;
|
|
color: #374151;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.mat-mdc-cell {
|
|
color: #111827;
|
|
font-size: 0.875rem;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.mat-mdc-row:hover {
|
|
background-color: #f9fafb;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
/* Custom utility classes for the dashboard */
|
|
.portfolio-card {
|
|
background-color: white !important;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
border: 1px solid #f3f4f6;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.875rem;
|
|
color: #6b7280;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.metric-change-positive {
|
|
color: #16a34a;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.metric-change-negative {
|
|
color: #dc2626;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Responsive styles */
|
|
@media (max-width: 768px) {
|
|
.mat-sidenav {
|
|
width: 100%;
|
|
}
|
|
|
|
.hide-mobile {
|
|
display: none;
|
|
}
|
|
}
|