Spaces:
Building
Building
Update flare-ui/src/styles.scss
Browse files- flare-ui/src/styles.scss +261 -259
flare-ui/src/styles.scss
CHANGED
@@ -1,260 +1,262 @@
|
|
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 |
-
color: #
|
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 |
-
border
|
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 |
-
max-
|
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 |
}
|
|
|
1 |
+
@import '@angular/material/prebuilt-themes/indigo-pink.css';
|
2 |
+
|
3 |
+
/* Global Styles */
|
4 |
+
* {
|
5 |
+
box-sizing: border-box;
|
6 |
+
margin: 0;
|
7 |
+
padding: 0;
|
8 |
+
}
|
9 |
+
|
10 |
+
body {
|
11 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
12 |
+
font-size: 14px;
|
13 |
+
line-height: 1.5;
|
14 |
+
color: #333;
|
15 |
+
background-color: #f5f5f5;
|
16 |
+
}
|
17 |
+
|
18 |
+
/* Utility Classes */
|
19 |
+
.container {
|
20 |
+
max-width: 1200px;
|
21 |
+
margin: 0 auto;
|
22 |
+
padding: 0 20px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.btn {
|
26 |
+
display: inline-block;
|
27 |
+
padding: 8px 16px;
|
28 |
+
font-size: 14px;
|
29 |
+
font-weight: 500;
|
30 |
+
text-align: center;
|
31 |
+
text-decoration: none;
|
32 |
+
border: none;
|
33 |
+
border-radius: 4px;
|
34 |
+
cursor: pointer;
|
35 |
+
transition: all 0.3s ease;
|
36 |
+
|
37 |
+
&.btn-primary {
|
38 |
+
background-color: #007bff;
|
39 |
+
color: white;
|
40 |
+
|
41 |
+
&:hover {
|
42 |
+
background-color: #0056b3;
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
&.btn-secondary {
|
47 |
+
background-color: #6c757d;
|
48 |
+
color: white;
|
49 |
+
|
50 |
+
&:hover {
|
51 |
+
background-color: #545b62;
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
&.btn-danger {
|
56 |
+
background-color: #dc3545;
|
57 |
+
color: white;
|
58 |
+
|
59 |
+
&:hover {
|
60 |
+
background-color: #c82333;
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
&:disabled {
|
65 |
+
opacity: 0.6;
|
66 |
+
cursor: not-allowed;
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
/* Form Styles */
|
71 |
+
.form-group {
|
72 |
+
margin-bottom: 1rem;
|
73 |
+
|
74 |
+
label {
|
75 |
+
display: block;
|
76 |
+
margin-bottom: 0.5rem;
|
77 |
+
font-weight: 500;
|
78 |
+
color: #495057;
|
79 |
+
}
|
80 |
+
|
81 |
+
input,
|
82 |
+
select,
|
83 |
+
textarea {
|
84 |
+
display: block;
|
85 |
+
width: 100%;
|
86 |
+
padding: 0.375rem 0.75rem;
|
87 |
+
font-size: 1rem;
|
88 |
+
line-height: 1.5;
|
89 |
+
color: #495057;
|
90 |
+
background-color: #fff;
|
91 |
+
background-clip: padding-box;
|
92 |
+
border: 1px solid #ced4da;
|
93 |
+
border-radius: 0.25rem;
|
94 |
+
transition: border-color 0.15s ease-in-out;
|
95 |
+
|
96 |
+
&:focus {
|
97 |
+
color: #495057;
|
98 |
+
background-color: #fff;
|
99 |
+
border-color: #80bdff;
|
100 |
+
outline: 0;
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
textarea {
|
105 |
+
min-height: 100px;
|
106 |
+
resize: vertical;
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
+
/* Table Styles */
|
111 |
+
.table {
|
112 |
+
width: 100%;
|
113 |
+
margin-bottom: 1rem;
|
114 |
+
background-color: white;
|
115 |
+
border-collapse: collapse;
|
116 |
+
|
117 |
+
th,
|
118 |
+
td {
|
119 |
+
padding: 0.75rem;
|
120 |
+
text-align: left;
|
121 |
+
border-bottom: 1px solid #dee2e6;
|
122 |
+
}
|
123 |
+
|
124 |
+
th {
|
125 |
+
background-color: #f8f9fa;
|
126 |
+
font-weight: 600;
|
127 |
+
color: #495057;
|
128 |
+
}
|
129 |
+
|
130 |
+
tbody tr:hover {
|
131 |
+
background-color: #f8f9fa;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
/* Card Styles */
|
136 |
+
.card {
|
137 |
+
background-color: white;
|
138 |
+
border: 1px solid #dee2e6;
|
139 |
+
border-radius: 0.25rem;
|
140 |
+
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
141 |
+
margin-bottom: 1rem;
|
142 |
+
|
143 |
+
.card-header {
|
144 |
+
padding: 0.75rem 1.25rem;
|
145 |
+
background-color: #f8f9fa;
|
146 |
+
border-bottom: 1px solid #dee2e6;
|
147 |
+
font-weight: 600;
|
148 |
+
}
|
149 |
+
|
150 |
+
.card-body {
|
151 |
+
padding: 1.25rem;
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
/* Tab Styles */
|
156 |
+
.tabs {
|
157 |
+
display: flex;
|
158 |
+
border-bottom: 2px solid #dee2e6;
|
159 |
+
margin-bottom: 1rem;
|
160 |
+
|
161 |
+
.tab {
|
162 |
+
padding: 0.5rem 1rem;
|
163 |
+
cursor: pointer;
|
164 |
+
border: none;
|
165 |
+
background: none;
|
166 |
+
font-weight: 500;
|
167 |
+
color: #6c757d;
|
168 |
+
transition: all 0.3s ease;
|
169 |
+
|
170 |
+
&.active {
|
171 |
+
color: #007bff;
|
172 |
+
border-bottom: 2px solid #007bff;
|
173 |
+
margin-bottom: -2px;
|
174 |
+
}
|
175 |
+
|
176 |
+
&:hover {
|
177 |
+
color: #007bff;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
/* Alert Styles */
|
183 |
+
.alert {
|
184 |
+
padding: 0.75rem 1.25rem;
|
185 |
+
margin-bottom: 1rem;
|
186 |
+
border: 1px solid transparent;
|
187 |
+
border-radius: 0.25rem;
|
188 |
+
|
189 |
+
&.alert-danger {
|
190 |
+
color: #721c24;
|
191 |
+
background-color: #f8d7da;
|
192 |
+
border-color: #f5c6cb;
|
193 |
+
}
|
194 |
+
|
195 |
+
&.alert-success {
|
196 |
+
color: #155724;
|
197 |
+
background-color: #d4edda;
|
198 |
+
border-color: #c3e6cb;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
|
202 |
+
/* Loading Spinner */
|
203 |
+
.spinner {
|
204 |
+
display: inline-block;
|
205 |
+
width: 20px;
|
206 |
+
height: 20px;
|
207 |
+
border: 3px solid rgba(0, 0, 0, 0.1);
|
208 |
+
border-radius: 50%;
|
209 |
+
border-top-color: #007bff;
|
210 |
+
animation: spin 1s ease-in-out infinite;
|
211 |
+
}
|
212 |
+
|
213 |
+
@keyframes spin {
|
214 |
+
to { transform: rotate(360deg); }
|
215 |
+
}
|
216 |
+
|
217 |
+
/* Dialog/Modal Styles */
|
218 |
+
.dialog-backdrop {
|
219 |
+
position: fixed;
|
220 |
+
top: 0;
|
221 |
+
left: 0;
|
222 |
+
width: 100%;
|
223 |
+
height: 100%;
|
224 |
+
background-color: rgba(0, 0, 0, 0.5);
|
225 |
+
display: flex;
|
226 |
+
align-items: center;
|
227 |
+
justify-content: center;
|
228 |
+
z-index: 1000;
|
229 |
+
}
|
230 |
+
|
231 |
+
.dialog {
|
232 |
+
background-color: white;
|
233 |
+
border-radius: 8px;
|
234 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
235 |
+
max-width: 600px;
|
236 |
+
width: 90%;
|
237 |
+
max-height: 90vh;
|
238 |
+
overflow: hidden;
|
239 |
+
display: flex;
|
240 |
+
flex-direction: column;
|
241 |
+
|
242 |
+
.dialog-header {
|
243 |
+
padding: 1rem 1.5rem;
|
244 |
+
border-bottom: 1px solid #dee2e6;
|
245 |
+
font-size: 1.25rem;
|
246 |
+
font-weight: 600;
|
247 |
+
}
|
248 |
+
|
249 |
+
.dialog-body {
|
250 |
+
padding: 1.5rem;
|
251 |
+
overflow-y: auto;
|
252 |
+
flex: 1;
|
253 |
+
}
|
254 |
+
|
255 |
+
.dialog-footer {
|
256 |
+
padding: 1rem 1.5rem;
|
257 |
+
border-top: 1px solid #dee2e6;
|
258 |
+
display: flex;
|
259 |
+
justify-content: flex-end;
|
260 |
+
gap: 0.5rem;
|
261 |
+
}
|
262 |
}
|