Spaces:
Building
Building
// Angular Material Theme | |
@use '@angular/material' as mat; | |
@include mat.core(); | |
// Define custom theme | |
$primary: mat.define-palette(mat.$indigo-palette); | |
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400); | |
$warn: mat.define-palette(mat.$red-palette); | |
$theme: mat.define-light-theme(( | |
color: ( | |
primary: $primary, | |
accent: $accent, | |
warn: $warn, | |
) | |
)); | |
@include mat.all-component-themes($theme); | |
// Material Icons | |
@import url('https://fonts.googleapis.com/icon?family=Material+Icons'); | |
// Inter Font | |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
/* Global Styles */ | |
* { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
html, body { | |
height: 100%; | |
} | |
body { | |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
font-size: 14px; | |
line-height: 1.5; | |
color: #333; | |
background-color: #f5f5f5; | |
} | |
/* Utility Classes */ | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 0 20px; | |
} | |
/* Form Styles */ | |
.form-group { | |
margin-bottom: 1rem; | |
} | |
/* Material Overrides */ | |
.mat-mdc-form-field { | |
width: 100%; | |
} | |
.mat-mdc-button { | |
text-transform: none ; | |
} | |
/* Tab Styles */ | |
.mat-mdc-tab-link { | |
text-transform: none; | |
font-weight: 500; | |
} | |
/* Card Styles */ | |
.mat-mdc-card { | |
margin-bottom: 1rem; | |
} | |
/* Checkbox alignment fix */ | |
.mat-mdc-checkbox { | |
margin-right: 8px; | |
} | |
/* Progress bar height */ | |
.mat-mdc-progress-bar { | |
height: 4px ; | |
} | |
/* Chip styles */ | |
.mat-mdc-chip { | |
font-size: 12px ; | |
min-height: 24px ; | |
padding: 4px 12px ; | |
} | |
/* Icon size consistency */ | |
.mat-icon { | |
font-size: 24px; | |
width: 24px; | |
height: 24px; | |
line-height: 24px; | |
} | |
.mat-mdc-form-field { | |
margin: 8px 0; /* üst–alt */ | |
} | |
/* Spinner */ | |
.spinner { | |
display: inline-block; | |
width: 20px; | |
height: 20px; | |
border: 3px solid rgba(0, 0, 0, 0.1); | |
border-radius: 50%; | |
border-top-color: #007bff; | |
animation: spin 1s ease-in-out infinite; | |
} | |
@keyframes spin { | |
to { transform: rotate(360deg); } | |
} | |
.section-header { | |
margin-bottom: 3px; | |
} | |
// Global mat-icon alignment fix | |
.mdc-button, | |
.mat-mdc-button, | |
.mat-mdc-raised-button, | |
.mat-mdc-unelevated-button, | |
.mat-mdc-outlined-button, | |
.mat-mdc-icon-button { | |
mat-icon { | |
//line-height:0; | |
//padding-top:10px; | |
vertical-align: middle; | |
} | |
} | |
.code-textarea { | |
font-family: 'Fira Code', 'Consolas', 'Monaco', monospace ; | |
font-size: 14px ; | |
line-height: 1.5 ; | |
} |