Spaces:
Building
Building
Update flare-ui/src/app/components/projects/projects.component.scss
Browse files
flare-ui/src/app/components/projects/projects.component.scss
CHANGED
@@ -1,181 +1,181 @@
|
|
1 |
-
.projects-container {
|
2 |
-
height: 100%;
|
3 |
-
display: flex;
|
4 |
-
flex-direction: column;
|
5 |
-
|
6 |
-
.toolbar {
|
7 |
-
display: flex;
|
8 |
-
justify-content: space-between;
|
9 |
-
align-items: center;
|
10 |
-
margin-bottom: 20px;
|
11 |
-
flex-wrap: wrap;
|
12 |
-
gap: 16px;
|
13 |
-
|
14 |
-
.toolbar-left {
|
15 |
-
display: flex;
|
16 |
-
gap: 8px;
|
17 |
-
align-items: center;
|
18 |
-
}
|
19 |
-
|
20 |
-
.toolbar-right {
|
21 |
-
display: flex;
|
22 |
-
gap: 16px;
|
23 |
-
align-items: center;
|
24 |
-
|
25 |
-
.search-field {
|
26 |
-
width: 300px;
|
27 |
-
}
|
28 |
-
|
29 |
-
.view-toggle {
|
30 |
-
border: 1px solid #e0e0e0;
|
31 |
-
border-radius: 4px;
|
32 |
-
}
|
33 |
-
}
|
34 |
-
}
|
35 |
-
|
36 |
-
mat-progress-bar {
|
37 |
-
margin-bottom: 20px;
|
38 |
-
}
|
39 |
-
|
40 |
-
.projects-grid {
|
41 |
-
display: grid;
|
42 |
-
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
43 |
-
gap: 20px;
|
44 |
-
padding-bottom: 20px;
|
45 |
-
|
46 |
-
.project-card {
|
47 |
-
transition: all 0.3s ease;
|
48 |
-
|
49 |
-
&:hover {
|
50 |
-
transform: translateY(-2px);
|
51 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
52 |
-
}
|
53 |
-
|
54 |
-
&.disabled {
|
55 |
-
opacity: 0.7;
|
56 |
-
|
57 |
-
.project-icon {
|
58 |
-
background-color: #999 !important;
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
&.deleted {
|
63 |
-
opacity: 0.5;
|
64 |
-
background-color: #fafafa;
|
65 |
-
}
|
66 |
-
|
67 |
-
.project-icon {
|
68 |
-
background-color: #3f51b5;
|
69 |
-
color: white;
|
70 |
-
}
|
71 |
-
|
72 |
-
mat-card-title {
|
73 |
-
font-size: 18px;
|
74 |
-
font-weight: 500;
|
75 |
-
}
|
76 |
-
|
77 |
-
mat-card-subtitle {
|
78 |
-
margin-top: 4px;
|
79 |
-
}
|
80 |
-
|
81 |
-
.project-info {
|
82 |
-
margin-top: 16px;
|
83 |
-
|
84 |
-
.info-item {
|
85 |
-
display: flex;
|
86 |
-
align-items: center;
|
87 |
-
gap: 8px;
|
88 |
-
margin-bottom: 8px;
|
89 |
-
color: #666;
|
90 |
-
|
91 |
-
mat-icon {
|
92 |
-
font-size: 18px;
|
93 |
-
width: 18px;
|
94 |
-
height: 18px;
|
95 |
-
color: #999;
|
96 |
-
}
|
97 |
-
|
98 |
-
span {
|
99 |
-
font-size: 14px;
|
100 |
-
}
|
101 |
-
}
|
102 |
-
}
|
103 |
-
|
104 |
-
mat-card-actions {
|
105 |
-
padding: 8px 16px;
|
106 |
-
display: flex;
|
107 |
-
justify-content: space-between;
|
108 |
-
|
109 |
-
button:last-child {
|
110 |
-
margin-left: auto;
|
111 |
-
}
|
112 |
-
}
|
113 |
-
}
|
114 |
-
}
|
115 |
-
|
116 |
-
.table-container {
|
117 |
-
flex: 1;
|
118 |
-
overflow: auto;
|
119 |
-
background: white;
|
120 |
-
border-radius: 8px;
|
121 |
-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
122 |
-
|
123 |
-
.projects-table {
|
124 |
-
width: 100%;
|
125 |
-
|
126 |
-
.deleted-icon {
|
127 |
-
color: #f44336;
|
128 |
-
font-size: 16px;
|
129 |
-
vertical-align: middle;
|
130 |
-
margin-left: 8px;
|
131 |
-
}
|
132 |
-
|
133 |
-
.deleted-row {
|
134 |
-
opacity: 0.5;
|
135 |
-
background-color: #fafafa;
|
136 |
-
}
|
137 |
-
|
138 |
-
mat-chip {
|
139 |
-
font-size: 12px;
|
140 |
-
}
|
141 |
-
}
|
142 |
-
}
|
143 |
-
|
144 |
-
.no-data {
|
145 |
-
text-align: center;
|
146 |
-
padding: 60px 20px;
|
147 |
-
color: #999;
|
148 |
-
|
149 |
-
mat-icon {
|
150 |
-
font-size: 64px;
|
151 |
-
height: 64px;
|
152 |
-
width: 64px;
|
153 |
-
margin-bottom: 16px;
|
154 |
-
}
|
155 |
-
|
156 |
-
p {
|
157 |
-
font-size: 16px;
|
158 |
-
margin: 0 0 24px 0;
|
159 |
-
}
|
160 |
-
}
|
161 |
-
}
|
162 |
-
|
163 |
-
@media (max-width: 768px) {
|
164 |
-
.projects-container {
|
165 |
-
.toolbar {
|
166 |
-
.toolbar-left,
|
167 |
-
.toolbar-right {
|
168 |
-
width: 100%;
|
169 |
-
justify-content: center;
|
170 |
-
}
|
171 |
-
|
172 |
-
.search-field {
|
173 |
-
width: 100%;
|
174 |
-
}
|
175 |
-
}
|
176 |
-
|
177 |
-
.projects-grid {
|
178 |
-
grid-template-columns: 1fr;
|
179 |
-
}
|
180 |
-
}
|
181 |
}
|
|
|
1 |
+
.projects-container {
|
2 |
+
height: 100%;
|
3 |
+
display: flex;
|
4 |
+
flex-direction: column;
|
5 |
+
|
6 |
+
.toolbar {
|
7 |
+
display: flex;
|
8 |
+
justify-content: space-between;
|
9 |
+
align-items: center;
|
10 |
+
margin-bottom: 20px;
|
11 |
+
flex-wrap: wrap;
|
12 |
+
gap: 16px;
|
13 |
+
|
14 |
+
.toolbar-left {
|
15 |
+
display: flex;
|
16 |
+
gap: 8px;
|
17 |
+
align-items: center;
|
18 |
+
}
|
19 |
+
|
20 |
+
.toolbar-right {
|
21 |
+
display: flex;
|
22 |
+
gap: 16px;
|
23 |
+
align-items: center;
|
24 |
+
|
25 |
+
.search-field {
|
26 |
+
width: 300px;
|
27 |
+
}
|
28 |
+
|
29 |
+
.view-toggle {
|
30 |
+
border: 1px solid #e0e0e0;
|
31 |
+
border-radius: 4px;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
mat-progress-bar {
|
37 |
+
margin-bottom: 20px;
|
38 |
+
}
|
39 |
+
|
40 |
+
.projects-grid {
|
41 |
+
display: grid;
|
42 |
+
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
43 |
+
gap: 20px;
|
44 |
+
padding-bottom: 20px;
|
45 |
+
|
46 |
+
.project-card {
|
47 |
+
transition: all 0.3s ease;
|
48 |
+
|
49 |
+
&:hover {
|
50 |
+
transform: translateY(-2px);
|
51 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
52 |
+
}
|
53 |
+
|
54 |
+
&.disabled {
|
55 |
+
opacity: 0.7;
|
56 |
+
|
57 |
+
.project-icon {
|
58 |
+
background-color: #999 !important;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
&.deleted {
|
63 |
+
opacity: 0.5;
|
64 |
+
background-color: #fafafa;
|
65 |
+
}
|
66 |
+
|
67 |
+
.project-icon {
|
68 |
+
background-color: #3f51b5;
|
69 |
+
color: white;
|
70 |
+
}
|
71 |
+
|
72 |
+
mat-card-title {
|
73 |
+
font-size: 18px;
|
74 |
+
font-weight: 500;
|
75 |
+
}
|
76 |
+
|
77 |
+
mat-card-subtitle {
|
78 |
+
margin-top: 4px;
|
79 |
+
}
|
80 |
+
|
81 |
+
.project-info {
|
82 |
+
margin-top: 16px;
|
83 |
+
|
84 |
+
.info-item {
|
85 |
+
display: flex;
|
86 |
+
align-items: center;
|
87 |
+
gap: 8px;
|
88 |
+
margin-bottom: 8px;
|
89 |
+
color: #666;
|
90 |
+
|
91 |
+
mat-icon {
|
92 |
+
font-size: 18px;
|
93 |
+
width: 18px;
|
94 |
+
height: 18px;
|
95 |
+
color: #999;
|
96 |
+
}
|
97 |
+
|
98 |
+
span {
|
99 |
+
font-size: 14px;
|
100 |
+
}
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
mat-card-actions {
|
105 |
+
padding: 8px 16px;
|
106 |
+
display: flex;
|
107 |
+
justify-content: space-between;
|
108 |
+
|
109 |
+
button:last-child {
|
110 |
+
margin-left: auto;
|
111 |
+
}
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
.table-container {
|
117 |
+
flex: 1;
|
118 |
+
overflow: auto;
|
119 |
+
background: white;
|
120 |
+
border-radius: 8px;
|
121 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
122 |
+
|
123 |
+
.projects-table {
|
124 |
+
width: 100%;
|
125 |
+
|
126 |
+
.deleted-icon {
|
127 |
+
color: #f44336;
|
128 |
+
font-size: 16px;
|
129 |
+
vertical-align: middle;
|
130 |
+
margin-left: 8px;
|
131 |
+
}
|
132 |
+
|
133 |
+
.deleted-row {
|
134 |
+
opacity: 0.5;
|
135 |
+
background-color: #fafafa;
|
136 |
+
}
|
137 |
+
|
138 |
+
mat-chip {
|
139 |
+
font-size: 12px;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
}
|
143 |
+
|
144 |
+
.no-data {
|
145 |
+
text-align: center;
|
146 |
+
padding: 60px 20px;
|
147 |
+
color: #999;
|
148 |
+
|
149 |
+
mat-icon {
|
150 |
+
font-size: 64px;
|
151 |
+
height: 64px;
|
152 |
+
width: 64px;
|
153 |
+
margin-bottom: 16px;
|
154 |
+
}
|
155 |
+
|
156 |
+
p {
|
157 |
+
font-size: 16px;
|
158 |
+
margin: 0 0 24px 0;
|
159 |
+
}
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
+
@media (max-width: 768px) {
|
164 |
+
.projects-container {
|
165 |
+
.toolbar {
|
166 |
+
.toolbar-left,
|
167 |
+
.toolbar-right {
|
168 |
+
width: 100%;
|
169 |
+
justify-content: center;
|
170 |
+
}
|
171 |
+
|
172 |
+
.search-field {
|
173 |
+
width: 100%;
|
174 |
+
}
|
175 |
+
}
|
176 |
+
|
177 |
+
.projects-grid {
|
178 |
+
grid-template-columns: 1fr;
|
179 |
+
}
|
180 |
+
}
|
181 |
}
|