summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css92
1 files changed, 54 insertions, 38 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 0e11747..ef6cb11 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -1042,10 +1042,6 @@ div#page_editor {
1042 select { 1042 select {
1043 font-size: 1.5rem; 1043 font-size: 1.5rem;
1044 } 1044 }
1045
1046 #metadata ul#image_box {
1047 width: 100% !important;
1048 }
1049} 1045}
1050 1046
1051/* ============================================================ 1047/* ============================================================
@@ -1264,31 +1260,6 @@ div#draft_list table td.actions a {
1264 Image box / browser 1260 Image box / browser
1265 ============================================================ */ 1261 ============================================================ */
1266 1262
1267#metadata ul#image_box {
1268 box-sizing: border-box;
1269 margin: 0;
1270 padding: 10px 5px 10px 5px;
1271 height: 100px;
1272 width: 702px;
1273 border: 1px solid #989898;
1274}
1275
1276#metadata ul#image_box li {
1277 float: left;
1278 list-style-type: none;
1279 margin: 5px;
1280}
1281
1282div#image_browser {
1283 position: absolute;
1284 top: 40px;
1285 left: 800px;
1286}
1287
1288div#image_browser ul li {
1289 list-style-type: none;
1290}
1291
1292.thumbnail_list { 1263.thumbnail_list {
1293 display: flex; 1264 display: flex;
1294 flex-wrap: wrap; 1265 flex-wrap: wrap;
@@ -1316,6 +1287,30 @@ div#image_browser ul li {
1316 border-radius: 4px; 1287 border-radius: 4px;
1317} 1288}
1318 1289
1290.thumbnail_list li {
1291 position: relative;
1292}
1293
1294.thumbnail_list li .headline_indicator {
1295 position: absolute;
1296 top: 4px;
1297 right: 4px;
1298 width: 1.4rem;
1299 height: 1.4rem;
1300 display: flex;
1301 align-items: center;
1302 justify-content: center;
1303 border-radius: 50%;
1304 background: rgba(255, 255, 255, 0.85);
1305 color: #f5b400;
1306}
1307
1308.thumbnail_list li .headline_indicator svg {
1309 width: 0.9rem;
1310 height: 0.9rem;
1311 fill: currentColor;
1312}
1313
1319.related_asset_handle { 1314.related_asset_handle {
1320 display: flex; 1315 display: flex;
1321 color: #969696; 1316 color: #969696;
@@ -1327,15 +1322,6 @@ div#image_browser ul li {
1327 height: 1rem; 1322 height: 1rem;
1328} 1323}
1329 1324
1330.related_asset_headline_badge {
1331 background: #fff3cd;
1332 color: #6b5900;
1333 border-radius: 999px;
1334 padding: 0.1rem 0.6rem;
1335 font-size: 0.75em;
1336 white-space: nowrap;
1337}
1338
1339.related_asset_remove { 1325.related_asset_remove {
1340 display: flex; 1326 display: flex;
1341 align-items: center; 1327 align-items: center;
@@ -1372,6 +1358,36 @@ div#image_browser ul li {
1372 border-radius: 4px; 1358 border-radius: 4px;
1373} 1359}
1374 1360
1361.related_asset_set_headline {
1362 display: flex;
1363 align-items: center;
1364 justify-content: center;
1365 background: none;
1366 border: none;
1367 padding: 2px;
1368 cursor: pointer;
1369 color: #969696;
1370}
1371
1372.related_asset_set_headline svg {
1373 width: 0.9rem;
1374 height: 0.9rem;
1375}
1376
1377.related_asset_set_headline:hover,
1378.related_asset_set_headline[aria-pressed="true"] {
1379 color: #f5b400;
1380}
1381
1382.related_asset_set_headline[aria-pressed="true"] svg {
1383 fill: currentColor;
1384}
1385
1386.thumbnail_list li.is_headline {
1387 border-color: #fff3cd;
1388 background-color: #fffdf5;
1389}
1390
1375/* ============================================================ 1391/* ============================================================
1376 Live edit preview 1392 Live edit preview
1377 ============================================================ */ 1393 ============================================================ */