← All changes
|
media-optimization/assets/css/media-optimization.css
+24
-0
2.6.15
→
2.7.1
View file →
| @@ -1298,8 +1298,27 @@ | ||
| 1298 | 1298 | border-radius: 4px; |
| 1299 | 1299 | display: block; |
| 1300 | 1300 | } |
| 1301 | 1301 | |
| 1302 | +/* Placeholder shown when an attachment's file is missing on disk */ | |
| 1303 | +.metasync-image-thumb-missing { | |
| 1304 | + width: 50px; | |
| 1305 | + height: 50px; | |
| 1306 | + border-radius: 4px; | |
| 1307 | + display: inline-flex; | |
| 1308 | + align-items: center; | |
| 1309 | + justify-content: center; | |
| 1310 | + background: rgba(239, 68, 68, 0.08); | |
| 1311 | + border: 1px dashed rgba(239, 68, 68, 0.4); | |
| 1312 | + color: #ef4444; | |
| 1313 | +} | |
| 1314 | + | |
| 1315 | +.metasync-image-thumb-missing .dashicons { | |
| 1316 | + font-size: 22px; | |
| 1317 | + width: 22px; | |
| 1318 | + height: 22px; | |
| 1319 | +} | |
| 1320 | + | |
| 1302 | 1321 | .metasync-image-info { |
| 1303 | 1322 | display: flex; |
| 1304 | 1323 | flex-direction: column; |
| 1305 | 1324 | gap: 2px; |
| @@ -1376,8 +1395,13 @@ | ||
| 1376 | 1395 | |
| 1377 | 1396 | .metasync-status-unoptimized { |
| 1378 | 1397 | background: rgba(156, 163, 175, 0.15); |
| 1379 | 1398 | color: var(--dashboard-text-secondary); |
| 1399 | +} | |
| 1400 | + | |
| 1401 | +.metasync-status-missing { | |
| 1402 | + background: rgba(239, 68, 68, 0.15); | |
| 1403 | + color: #ef4444; | |
| 1380 | 1404 | } |
| 1381 | 1405 | |
| 1382 | 1406 | /* ── Size Savings ── */ |
| 1383 | 1407 | .metasync-size-savings { |