Spaces:
Paused
Paused
Update flare-ui/src/app/components/projects/projects.component.scss
Browse files
flare-ui/src/app/components/projects/projects.component.scss
CHANGED
|
@@ -15,6 +15,12 @@
|
|
| 15 |
display: flex;
|
| 16 |
gap: 8px;
|
| 17 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
.toolbar-right {
|
|
@@ -37,6 +43,11 @@
|
|
| 37 |
margin-bottom: 20px;
|
| 38 |
}
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
.projects-grid {
|
| 41 |
display: grid;
|
| 42 |
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
@@ -67,6 +78,15 @@
|
|
| 67 |
.project-icon {
|
| 68 |
background-color: #3f51b5;
|
| 69 |
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
}
|
| 71 |
|
| 72 |
mat-card-title {
|
|
@@ -114,11 +134,10 @@
|
|
| 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%;
|
|
@@ -137,6 +156,11 @@
|
|
| 137 |
|
| 138 |
mat-chip {
|
| 139 |
font-size: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
}
|
| 141 |
}
|
| 142 |
}
|
|
@@ -151,6 +175,7 @@
|
|
| 151 |
height: 64px;
|
| 152 |
width: 64px;
|
| 153 |
margin-bottom: 16px;
|
|
|
|
| 154 |
}
|
| 155 |
|
| 156 |
p {
|
|
@@ -158,6 +183,44 @@
|
|
| 158 |
margin: 0 0 24px 0;
|
| 159 |
}
|
| 160 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
}
|
| 162 |
|
| 163 |
@media (max-width: 768px) {
|
|
|
|
| 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 {
|
|
|
|
| 43 |
margin-bottom: 20px;
|
| 44 |
}
|
| 45 |
|
| 46 |
+
.content {
|
| 47 |
+
flex: 1;
|
| 48 |
+
overflow: auto;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
.projects-grid {
|
| 52 |
display: grid;
|
| 53 |
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
|
|
| 78 |
.project-icon {
|
| 79 |
background-color: #3f51b5;
|
| 80 |
color: white;
|
| 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 {
|
|
|
|
| 134 |
}
|
| 135 |
|
| 136 |
.table-container {
|
|
|
|
|
|
|
| 137 |
background: white;
|
| 138 |
border-radius: 8px;
|
| 139 |
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 140 |
+
overflow: hidden;
|
| 141 |
|
| 142 |
.projects-table {
|
| 143 |
width: 100%;
|
|
|
|
| 156 |
|
| 157 |
mat-chip {
|
| 158 |
font-size: 12px;
|
| 159 |
+
margin: 2px;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
mat-chip-list {
|
| 163 |
+
margin: 0;
|
| 164 |
}
|
| 165 |
}
|
| 166 |
}
|
|
|
|
| 175 |
height: 64px;
|
| 176 |
width: 64px;
|
| 177 |
margin-bottom: 16px;
|
| 178 |
+
color: #e0e0e0;
|
| 179 |
}
|
| 180 |
|
| 181 |
p {
|
|
|
|
| 183 |
margin: 0 0 24px 0;
|
| 184 |
}
|
| 185 |
}
|
| 186 |
+
|
| 187 |
+
.message-container {
|
| 188 |
+
position: fixed;
|
| 189 |
+
bottom: 20px;
|
| 190 |
+
left: 50%;
|
| 191 |
+
transform: translateX(-50%);
|
| 192 |
+
z-index: 1000;
|
| 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 |
+
}
|
| 224 |
}
|
| 225 |
|
| 226 |
@media (max-width: 768px) {
|