Spaces:
Running
Running
File size: 4,663 Bytes
ca23205 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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
@import '@angular/material/prebuilt-themes/indigo-pink.css';
/* Global Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
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;
}
.btn {
display: inline-block;
padding: 8px 16px;
font-size: 14px;
font-weight: 500;
text-align: center;
text-decoration: none;
border: none;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
&.btn-primary {
background-color: #007bff;
color: white;
&:hover {
background-color: #0056b3;
}
}
&.btn-secondary {
background-color: #6c757d;
color: white;
&:hover {
background-color: #545b62;
}
}
&.btn-danger {
background-color: #dc3545;
color: white;
&:hover {
background-color: #c82333;
}
}
&:disabled {
opacity: 0.6;
cursor: not-allowed;
}
}
/* Form Styles */
.form-group {
margin-bottom: 1rem;
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #495057;
}
input,
select,
textarea {
display: block;
width: 100%;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out;
&:focus {
color: #495057;
background-color: #fff;
border-color: #80bdff;
outline: 0;
}
}
textarea {
min-height: 100px;
resize: vertical;
}
}
/* Table Styles */
.table {
width: 100%;
margin-bottom: 1rem;
background-color: white;
border-collapse: collapse;
th,
td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #dee2e6;
}
th {
background-color: #f8f9fa;
font-weight: 600;
color: #495057;
}
tbody tr:hover {
background-color: #f8f9fa;
}
}
/* Card Styles */
.card {
background-color: white;
border: 1px solid #dee2e6;
border-radius: 0.25rem;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
margin-bottom: 1rem;
.card-header {
padding: 0.75rem 1.25rem;
background-color: #f8f9fa;
border-bottom: 1px solid #dee2e6;
font-weight: 600;
}
.card-body {
padding: 1.25rem;
}
}
/* Tab Styles */
.tabs {
display: flex;
border-bottom: 2px solid #dee2e6;
margin-bottom: 1rem;
.tab {
padding: 0.5rem 1rem;
cursor: pointer;
border: none;
background: none;
font-weight: 500;
color: #6c757d;
transition: all 0.3s ease;
&.active {
color: #007bff;
border-bottom: 2px solid #007bff;
margin-bottom: -2px;
}
&:hover {
color: #007bff;
}
}
}
/* Alert Styles */
.alert {
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: 0.25rem;
&.alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
}
&.alert-success {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
}
}
/* Loading 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); }
}
/* Dialog/Modal Styles */
.dialog-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.dialog {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 600px;
width: 90%;
max-height: 90vh;
overflow: hidden;
display: flex;
flex-direction: column;
.dialog-header {
padding: 1rem 1.5rem;
border-bottom: 1px solid #dee2e6;
font-size: 1.25rem;
font-weight: 600;
}
.dialog-body {
padding: 1.5rem;
overflow-y: auto;
flex: 1;
}
.dialog-footer {
padding: 1rem 1.5rem;
border-top: 1px solid #dee2e6;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
} |