Spaces:
Building
Building
Create app.component.scss
Browse files
flare-ui/src/app/app.component.scss
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.app-container {
|
2 |
+
padding: 20px;
|
3 |
+
min-height: 100vh;
|
4 |
+
background-color: #f5f5f5;
|
5 |
+
}
|
6 |
+
|
7 |
+
.header {
|
8 |
+
display: flex;
|
9 |
+
justify-content: space-between;
|
10 |
+
align-items: center;
|
11 |
+
margin-bottom: 20px;
|
12 |
+
padding: 15px 20px;
|
13 |
+
background: white;
|
14 |
+
border-radius: 8px;
|
15 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
16 |
+
|
17 |
+
h1 {
|
18 |
+
margin: 0;
|
19 |
+
color: #333;
|
20 |
+
font-size: 24px;
|
21 |
+
}
|
22 |
+
|
23 |
+
.header-actions {
|
24 |
+
display: flex;
|
25 |
+
align-items: center;
|
26 |
+
gap: 20px;
|
27 |
+
|
28 |
+
.user-info {
|
29 |
+
display: flex;
|
30 |
+
align-items: center;
|
31 |
+
gap: 10px;
|
32 |
+
color: #666;
|
33 |
+
|
34 |
+
mat-icon {
|
35 |
+
font-size: 20px;
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
button {
|
40 |
+
mat-icon {
|
41 |
+
margin-right: 4px;
|
42 |
+
}
|
43 |
+
}
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
.main-content {
|
48 |
+
background: white;
|
49 |
+
border-radius: 8px;
|
50 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
51 |
+
overflow: hidden;
|
52 |
+
|
53 |
+
mat-tab-group {
|
54 |
+
::ng-deep {
|
55 |
+
.mat-tab-header {
|
56 |
+
background-color: #fafafa;
|
57 |
+
border-bottom: 1px solid #e0e0e0;
|
58 |
+
}
|
59 |
+
|
60 |
+
.mat-tab-label {
|
61 |
+
min-width: 120px;
|
62 |
+
opacity: 0.8;
|
63 |
+
|
64 |
+
&.mat-tab-label-active {
|
65 |
+
opacity: 1;
|
66 |
+
font-weight: 500;
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
.mat-tab-body-wrapper {
|
71 |
+
padding: 24px;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
}
|
75 |
+
}
|
76 |
+
|
77 |
+
// Responsive adjustments
|
78 |
+
@media (max-width: 768px) {
|
79 |
+
.app-container {
|
80 |
+
padding: 10px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.header {
|
84 |
+
flex-direction: column;
|
85 |
+
gap: 15px;
|
86 |
+
text-align: center;
|
87 |
+
|
88 |
+
h1 {
|
89 |
+
font-size: 20px;
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
.main-content {
|
94 |
+
mat-tab-group ::ng-deep .mat-tab-body-wrapper {
|
95 |
+
padding: 16px;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
}
|