Spaces:
Running
Running
File size: 2,384 Bytes
2f31a3e c6a8aee 3f6561f 11a49cf 2f31a3e 11a49cf 3f6561f cc7988f d482833 2766662 9b0faf0 2766662 7ad9a3d 03d9a38 2adee84 ce527fd d482833 3b93905 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
// 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 !important;
}
/* 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 !important;
}
/* Chip styles */
.mat-mdc-chip {
font-size: 12px !important;
min-height: 24px !important;
padding: 4px 12px !important;
}
/* 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;
}
} |