ciyidogan commited on
Commit
0866ece
·
verified ·
1 Parent(s): 6d42cab

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

Browse files
flare-ui/src/app/components/projects/projects.component.scss CHANGED
@@ -11,42 +11,18 @@
11
  flex-wrap: wrap;
12
  gap: 16px;
13
 
14
- .toolbar-left {
15
- display: flex;
16
- gap: 8px;
17
- align-items: center;
18
-
19
- h2 {
20
- margin: 0;
21
- font-size: 24px;
22
- font-weight: 400;
23
- }
24
- }
25
-
26
  .toolbar-right {
27
  display: flex;
28
  gap: 16px;
29
  align-items: center;
30
-
31
- .search-field {
32
- width: 300px;
33
- }
34
-
35
- .view-toggle {
36
- border: 1px solid #e0e0e0;
37
- border-radius: 4px;
38
- }
39
  }
40
  }
41
 
42
- mat-progress-bar {
43
- margin-bottom: 20px;
44
- }
45
-
46
- .content {
47
- flex: 1;
48
- overflow: auto;
49
- }
50
 
51
  .projects-grid {
52
  display: grid;
@@ -56,24 +32,9 @@
56
 
57
  .project-card {
58
  transition: all 0.3s ease;
59
-
60
- &:hover {
61
- transform: translateY(-2px);
62
- box-shadow: 0 4px 8px rgba(0,0,0,0.15);
63
- }
64
-
65
- &.disabled {
66
- opacity: 0.7;
67
-
68
- .project-icon {
69
- background-color: #999 !important;
70
- }
71
- }
72
-
73
- &.deleted {
74
- opacity: 0.5;
75
- background-color: #fafafa;
76
- }
77
 
78
  .project-icon {
79
  background-color: #3f51b5;
@@ -81,43 +42,22 @@
81
  display: flex;
82
  align-items: center;
83
  justify-content: center;
84
-
85
- mat-icon {
86
- font-size: 24px;
87
- width: 24px;
88
- height: 24px;
89
- }
90
  }
91
 
92
- mat-card-title {
93
- font-size: 18px;
94
- font-weight: 500;
95
- }
96
-
97
- mat-card-subtitle {
98
- margin-top: 4px;
99
- }
100
 
101
  .project-info {
102
  margin-top: 16px;
103
-
104
  .info-item {
105
  display: flex;
106
  align-items: center;
107
  gap: 8px;
108
  margin-bottom: 8px;
109
  color: #666;
110
-
111
- mat-icon {
112
- font-size: 18px;
113
- width: 18px;
114
- height: 18px;
115
- color: #999;
116
- }
117
-
118
- span {
119
- font-size: 14px;
120
- }
121
  }
122
  }
123
 
@@ -125,10 +65,7 @@
125
  padding: 8px 16px;
126
  display: flex;
127
  justify-content: space-between;
128
-
129
- button:last-child {
130
- margin-left: auto;
131
- }
132
  }
133
  }
134
  }
@@ -141,27 +78,10 @@
141
 
142
  .projects-table {
143
  width: 100%;
144
-
145
- .deleted-icon {
146
- color: #f44336;
147
- font-size: 16px;
148
- vertical-align: middle;
149
- margin-left: 8px;
150
- }
151
-
152
- .deleted-row {
153
- opacity: 0.5;
154
- background-color: #fafafa;
155
- }
156
-
157
- mat-chip {
158
- font-size: 12px;
159
- margin: 2px;
160
- }
161
-
162
- mat-chip-list {
163
- margin: 0;
164
- }
165
  }
166
  }
167
 
@@ -169,19 +89,8 @@
169
  text-align: center;
170
  padding: 60px 20px;
171
  color: #999;
172
-
173
- mat-icon {
174
- font-size: 64px;
175
- height: 64px;
176
- width: 64px;
177
- margin-bottom: 16px;
178
- color: #e0e0e0;
179
- }
180
-
181
- p {
182
- font-size: 16px;
183
- margin: 0 0 24px 0;
184
- }
185
  }
186
 
187
  .message-container {
@@ -193,31 +102,15 @@
193
 
194
  mat-card {
195
  min-width: 300px;
196
-
197
- &.success {
198
- mat-card-content {
199
- color: #4caf50;
200
- }
201
- }
202
-
203
- &.error {
204
- mat-card-content {
205
- color: #f44336;
206
- }
207
- }
208
-
209
  mat-card-content {
210
  display: flex;
211
  align-items: center;
212
  gap: 12px;
213
  padding: 12px 16px;
214
  margin: 0;
215
-
216
- mat-icon {
217
- font-size: 20px;
218
- width: 20px;
219
- height: 20px;
220
- }
221
  }
222
  }
223
  }
@@ -226,19 +119,9 @@
226
  @media (max-width: 768px) {
227
  .projects-container {
228
  .toolbar {
229
- .toolbar-left,
230
- .toolbar-right {
231
- width: 100%;
232
- justify-content: center;
233
- }
234
-
235
- .search-field {
236
- width: 100%;
237
- }
238
- }
239
-
240
- .projects-grid {
241
- grid-template-columns: 1fr;
242
  }
 
243
  }
244
  }
 
11
  flex-wrap: wrap;
12
  gap: 16px;
13
 
14
+ .toolbar-left h2 { margin: 0; font-size: 24px; font-weight: 400; }
 
 
 
 
 
 
 
 
 
 
 
15
  .toolbar-right {
16
  display: flex;
17
  gap: 16px;
18
  align-items: center;
19
+ .search-field { width: 300px; }
20
+ .view-toggle { border: 1px solid #e0e0e0; border-radius: 4px; }
 
 
 
 
 
 
 
21
  }
22
  }
23
 
24
+ mat-progress-bar { margin-bottom: 20px; }
25
+ .content { flex: 1; overflow: auto; }
 
 
 
 
 
 
26
 
27
  .projects-grid {
28
  display: grid;
 
32
 
33
  .project-card {
34
  transition: all 0.3s ease;
35
+ &:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
36
+ &.disabled { opacity: 0.7; .project-icon { background-color: #999 !important; } }
37
+ &.deleted { opacity: 0.5; background-color: #fafafa; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  .project-icon {
40
  background-color: #3f51b5;
 
42
  display: flex;
43
  align-items: center;
44
  justify-content: center;
45
+ mat-icon { font-size: 24px; width: 24px; height: 24px; }
 
 
 
 
 
46
  }
47
 
48
+ mat-card-title { font-size: 18px; font-weight: 500; }
49
+ mat-card-subtitle { margin-top: 4px; }
 
 
 
 
 
 
50
 
51
  .project-info {
52
  margin-top: 16px;
 
53
  .info-item {
54
  display: flex;
55
  align-items: center;
56
  gap: 8px;
57
  margin-bottom: 8px;
58
  color: #666;
59
+ mat-icon { font-size: 18px; width: 18px; height: 18px; color: #999; }
60
+ span { font-size: 14px; }
 
 
 
 
 
 
 
 
 
61
  }
62
  }
63
 
 
65
  padding: 8px 16px;
66
  display: flex;
67
  justify-content: space-between;
68
+ button:last-child { margin-left: auto; }
 
 
 
69
  }
70
  }
71
  }
 
78
 
79
  .projects-table {
80
  width: 100%;
81
+ .deleted-icon { color: #f44336; font-size: 16px; vertical-align: middle; margin-left: 8px; }
82
+ .deleted-row { opacity: 0.5; background-color: #fafafa; }
83
+ mat-chip { font-size: 12px; margin: 2px; }
84
+ mat-chip-list { margin: 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  }
86
  }
87
 
 
89
  text-align: center;
90
  padding: 60px 20px;
91
  color: #999;
92
+ mat-icon { font-size: 64px; height: 64px; width: 64px; margin-bottom: 16px; color: #e0e0e0; }
93
+ p { font-size: 16px; margin: 0 0 24px 0; }
 
 
 
 
 
 
 
 
 
 
 
94
  }
95
 
96
  .message-container {
 
102
 
103
  mat-card {
104
  min-width: 300px;
105
+ &.success mat-card-content { color: #4caf50; }
106
+ &.error mat-card-content { color: #f44336; }
 
 
 
 
 
 
 
 
 
 
 
107
  mat-card-content {
108
  display: flex;
109
  align-items: center;
110
  gap: 12px;
111
  padding: 12px 16px;
112
  margin: 0;
113
+ mat-icon { font-size: 20px; width: 20px; height: 20px; }
 
 
 
 
 
114
  }
115
  }
116
  }
 
119
  @media (max-width: 768px) {
120
  .projects-container {
121
  .toolbar {
122
+ .toolbar-left, .toolbar-right { width: 100%; justify-content: center; }
123
+ .search-field { width: 100%; }
 
 
 
 
 
 
 
 
 
 
 
124
  }
125
+ .projects-grid { grid-template-columns: 1fr; }
126
  }
127
  }