ciyidogan commited on
Commit
9b446a9
·
verified ·
1 Parent(s): b842078

Update flare-ui/src/app/components/projects/projects.component.scss

Browse files
flare-ui/src/app/components/projects/projects.component.scss CHANGED
@@ -1,76 +1,36 @@
1
  .projects-container {
 
 
 
 
 
2
  .toolbar {
3
  display: flex;
4
  justify-content: space-between;
5
  align-items: center;
6
  margin-bottom: 20px;
 
7
  flex-wrap: wrap;
8
- gap: 16px;
9
 
10
- .toolbar-left h2 {
11
- margin: 0;
12
- font-size: 24px;
13
- font-weight: 400;
14
  }
15
-
16
  .toolbar-right {
17
  display: flex;
18
- gap: 16px;
19
  align-items: center;
20
- flex-wrap: wrap;
21
-
22
- .search-field {
23
- width: 300px;
24
-
25
- ::ng-deep {
26
- .mat-mdc-text-field-wrapper {
27
- background-color: white;
28
- }
29
-
30
- .mat-mdc-form-field-subscript-wrapper {
31
- display: none;
32
- }
33
- }
34
- }
35
-
36
- .view-toggle {
37
- background-color: white;
38
- border: 1px solid #e0e0e0;
39
- border-radius: 4px;
40
- overflow: hidden;
41
-
42
- ::ng-deep {
43
- .mat-button-toggle-group {
44
- border: none;
45
- }
46
-
47
- .mat-button-toggle {
48
- border: none;
49
-
50
- &.mat-button-toggle-checked {
51
- background-color: #e3f2fd;
52
-
53
- .mat-icon {
54
- color: #1976d2;
55
- }
56
- }
57
- }
58
-
59
- .mat-icon {
60
- font-size: 20px;
61
- width: 20px;
62
- height: 20px;
63
- line-height: 20px;
64
- }
65
- }
66
- }
67
-
68
- ::ng-deep .mat-mdc-checkbox {
69
- .mdc-form-field {
70
- font-size: 14px;
71
- color: #666;
72
- }
73
- }
74
  }
75
  }
76
 
@@ -155,86 +115,65 @@
155
  font-size: 18px;
156
  width: 18px;
157
  height: 18px;
158
- color: #999;
 
159
  }
160
 
161
- span {
162
- font-size: 14px;
 
 
163
  }
164
- }
165
- }
166
-
167
- mat-card-actions {
168
- padding: 12px 16px;
169
- display: flex;
170
- justify-content: space-between;
171
- flex-wrap: wrap;
172
- gap: 8px;
173
- border-top: 1px solid #e0e0e0;
174
-
175
- button {
176
- &:last-child {
177
- margin-left: auto;
178
  }
179
  }
180
  }
181
  }
182
  }
183
 
184
- .table-container {
185
- background: white;
186
- border-radius: 8px;
187
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
188
- overflow: hidden;
189
-
190
- .projects-table {
191
- width: 100%;
192
-
193
- .deleted-icon {
194
- color: #f44336;
195
- font-size: 16px;
196
- vertical-align: middle;
197
- margin-left: 8px;
198
- }
199
-
200
- .deleted-row {
201
- opacity: 0.5;
202
- background-color: #fafafa;
203
- }
204
 
205
- ::ng-deep {
206
- .mat-mdc-chip-set {
207
- display: inline-flex;
208
- min-height: auto;
209
- }
210
-
211
- .mat-mdc-chip {
212
- font-size: 12px;
213
- min-height: 24px;
214
- padding: 4px 12px;
215
- margin: 2px;
216
- }
217
  }
218
  }
219
  }
220
 
221
- .no-data {
222
  text-align: center;
223
  padding: 60px 20px;
224
- color: #999;
225
- background: white;
226
- border-radius: 8px;
227
 
228
  mat-icon {
229
  font-size: 64px;
230
- height: 64px;
231
  width: 64px;
 
 
232
  margin-bottom: 16px;
233
- color: #e0e0e0;
234
  }
235
 
236
- p {
237
- font-size: 16px;
238
  margin: 0 0 24px 0;
239
  }
240
  }
 
1
  .projects-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ height: 100%;
5
+ padding: 20px;
6
+
7
  .toolbar {
8
  display: flex;
9
  justify-content: space-between;
10
  align-items: center;
11
  margin-bottom: 20px;
12
+ gap: 20px;
13
  flex-wrap: wrap;
 
14
 
15
+ .toolbar-left {
16
+ display: flex;
17
+ align-items: center;
18
+ gap: 16px;
19
  }
20
+
21
  .toolbar-right {
22
  display: flex;
 
23
  align-items: center;
24
+ gap: 16px;
25
+ }
26
+
27
+ .search-field {
28
+ width: 300px;
29
+ }
30
+
31
+ .view-toggle {
32
+ border: 1px solid rgba(0, 0, 0, 0.12);
33
+ border-radius: 4px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  }
35
  }
36
 
 
115
  font-size: 18px;
116
  width: 18px;
117
  height: 18px;
118
+ color: #999;
119
+ vertical-align: middle;
120
  }
121
 
122
+ .info-label {
123
+ font-size: 13px;
124
+ vertical-align: middle;
125
+ line-height: 18px;
126
  }
127
+
128
+ mat-checkbox {
129
+ margin-left: 4px;
130
+ vertical-align: middle;
131
+
132
+ ::ng-deep .mat-mdc-checkbox-touch-target {
133
+ height: 18px;
134
+ }
135
+ }
136
+
137
+ .time-text {
138
+ font-size: 12px;
139
+ color: #999;
 
140
  }
141
  }
142
  }
143
  }
144
  }
145
 
146
+ .projects-table {
147
+ overflow: auto;
148
+
149
+ mat-checkbox {
150
+ vertical-align: middle;
151
+ }
152
+
153
+ .action-buttons {
154
+ display: flex;
155
+ gap: 8px;
 
 
 
 
 
 
 
 
 
 
156
 
157
+ button {
158
+ min-width: auto;
 
 
 
 
 
 
 
 
 
 
159
  }
160
  }
161
  }
162
 
163
+ .empty-state {
164
  text-align: center;
165
  padding: 60px 20px;
 
 
 
166
 
167
  mat-icon {
168
  font-size: 64px;
 
169
  width: 64px;
170
+ height: 64px;
171
+ color: #ccc;
172
  margin-bottom: 16px;
 
173
  }
174
 
175
+ h3 {
176
+ color: #666;
177
  margin: 0 0 24px 0;
178
  }
179
  }