Texte, Medienzuordnung und Einordnung teilen sich einen Arbeitsplatz. Fassungen, Rechte und das Datenmodell bleiben unverändert.
260 lines
7.4 KiB
PHP
260 lines
7.4 KiB
PHP
<style>
|
|
.luf-media {
|
|
--luf-ink: #032551;
|
|
--luf-pine: #3b7b09;
|
|
--luf-paper: #f7f6f2;
|
|
--luf-line: #d5ddd6;
|
|
--luf-yellow: #fcd10a;
|
|
--luf-quiet: #3e4c5c;
|
|
color: var(--luf-ink);
|
|
font-size: 1rem;
|
|
line-height: 1.45;
|
|
min-width: 0;
|
|
}
|
|
.luf-media * { box-sizing: border-box; }
|
|
.luf-media a:focus-visible,
|
|
.luf-media button:focus-visible,
|
|
.luf-media input:focus-visible,
|
|
.luf-media select:focus-visible,
|
|
.luf-media summary:focus-visible {
|
|
outline: 3px solid #1769aa;
|
|
outline-offset: 2px;
|
|
}
|
|
.luf-media-bar,
|
|
.luf-media-reset {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem 1rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 0 0 0.85rem;
|
|
}
|
|
.luf-media-switch { display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
|
.luf-media-quiet {
|
|
font: inherit;
|
|
color: var(--luf-ink);
|
|
background: #fff;
|
|
border: 1px solid var(--luf-line);
|
|
min-height: 2.75rem;
|
|
padding: 0.35rem 0.8rem;
|
|
cursor: pointer;
|
|
}
|
|
.luf-media-quiet[aria-pressed="true"] {
|
|
background: var(--luf-ink);
|
|
color: #fff;
|
|
border-color: var(--luf-ink);
|
|
}
|
|
.luf-media-count { margin: 0; color: var(--luf-quiet); }
|
|
.luf-media-filters {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
|
|
gap: 0.7rem 0.8rem;
|
|
margin: 0 0 0.75rem;
|
|
}
|
|
.luf-media-field { display: grid; gap: 0.3rem; min-width: 0; }
|
|
.luf-media-field.is-wide { grid-column: 1 / -1; }
|
|
@media (min-width: 52rem) {
|
|
.luf-media-field.is-wide { grid-column: span 2; }
|
|
}
|
|
.luf-media-field label { font-weight: 650; }
|
|
.luf-media input,
|
|
.luf-media select {
|
|
width: 100%;
|
|
min-height: 2.75rem;
|
|
font: inherit;
|
|
color: inherit;
|
|
background: #fff;
|
|
border: 1px solid var(--luf-line);
|
|
padding: 0.45rem 0.65rem;
|
|
}
|
|
.luf-media-hint,
|
|
.luf-media-loading {
|
|
margin: 0 0 0.9rem;
|
|
color: var(--luf-quiet);
|
|
}
|
|
.luf-media-empty {
|
|
margin: 0 0 0.9rem;
|
|
padding: 1rem 1.1rem;
|
|
background: #fff;
|
|
border: 1px dashed var(--luf-line);
|
|
color: var(--luf-ink);
|
|
}
|
|
.luf-media-grid,
|
|
.luf-media-rows {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-width: 0;
|
|
}
|
|
.luf-media-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
|
|
gap: 1rem;
|
|
align-items: stretch;
|
|
}
|
|
.luf-media-rows { display: grid; gap: 0.7rem; }
|
|
.luf-medium {
|
|
background: #fff;
|
|
border: 1px solid var(--luf-line);
|
|
border-top: 4px solid var(--luf-pine);
|
|
min-width: 0;
|
|
height: 100%;
|
|
}
|
|
.luf-medium.is-tile { display: flex; flex-direction: column; }
|
|
.luf-medium.is-list {
|
|
display: grid;
|
|
grid-template-columns: 7.5rem minmax(0, 1fr);
|
|
gap: 0.8rem;
|
|
align-items: start;
|
|
height: auto;
|
|
}
|
|
.luf-tone-film { border-top-color: #1b2838; }
|
|
.luf-tone-document { border-top-color: #1769aa; }
|
|
.luf-tone-text { border-top-color: #c4962a; }
|
|
.luf-tone-audio { border-top-color: #6d4c7d; }
|
|
.luf-tone-bild { border-top-color: var(--luf-pine); }
|
|
.luf-medium-figure {
|
|
display: block;
|
|
position: relative;
|
|
aspect-ratio: 16 / 9;
|
|
background: var(--luf-paper);
|
|
color: var(--luf-pine);
|
|
overflow: hidden;
|
|
text-decoration: none;
|
|
}
|
|
.luf-medium.is-list .luf-medium-figure { aspect-ratio: 16 / 10; }
|
|
.luf-medium-figure img,
|
|
.luf-medium-mark,
|
|
.luf-medium-mark svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
.luf-medium-figure img { object-fit: cover; }
|
|
.luf-medium-mark {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.luf-medium-mark svg { height: 72%; }
|
|
.luf-medium-figure-note {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 0.35rem 0.55rem;
|
|
background: rgba(27, 40, 56, 0.88);
|
|
color: #fff;
|
|
font-size: 0.82rem;
|
|
}
|
|
.luf-medium-body {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
padding: 0.8rem 0.9rem 0.95rem;
|
|
min-width: 0;
|
|
}
|
|
.luf-medium-kind {
|
|
margin: 0;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--luf-pine);
|
|
}
|
|
.luf-medium-title {
|
|
color: inherit;
|
|
font-family: Georgia, "Source Serif 4", serif;
|
|
font-size: 1.28rem;
|
|
font-weight: 650;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.25;
|
|
text-decoration: none;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.luf-medium-title:hover { text-decoration: underline; }
|
|
.luf-medium-copy {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.luf-medium.is-tile .luf-medium-copy {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.luf-medium-note { color: var(--luf-quiet); font-size: 0.92rem; }
|
|
.luf-medium-kicker { font-weight: 700; color: var(--luf-ink); }
|
|
.luf-medium-flags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem;
|
|
}
|
|
.luf-flag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 1.7rem;
|
|
padding: 0.1rem 0.45rem;
|
|
border: 1px solid var(--luf-line);
|
|
background: #fff;
|
|
font-size: 0.86rem;
|
|
}
|
|
.luf-flag-ready { background: #e7f3ee; border-color: var(--luf-pine); }
|
|
.luf-flag-draft { background: #fff8e6; border-color: #c4962a; }
|
|
.luf-flag-blocked { background: #f8f1ea; border-color: #8a5a2a; }
|
|
.luf-flag-wait { background: #eef5fb; border-color: #1769aa; }
|
|
.luf-flag-quiet { color: var(--luf-quiet); }
|
|
.luf-medium-usage { display: grid; gap: 0.35rem; }
|
|
.luf-medium-unused,
|
|
.luf-medium-license { margin: 0; color: var(--luf-quiet); font-size: 0.92rem; }
|
|
.luf-medium-usage summary {
|
|
cursor: pointer;
|
|
min-height: 2.4rem;
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: 650;
|
|
}
|
|
.luf-medium-usage ul {
|
|
list-style: none;
|
|
margin: 0.2rem 0 0;
|
|
padding: 0;
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
}
|
|
.luf-medium-usage li {
|
|
display: grid;
|
|
gap: 0.1rem;
|
|
padding-top: 0.35rem;
|
|
border-top: 1px solid var(--luf-line);
|
|
min-width: 0;
|
|
}
|
|
.luf-medium-usage a { color: var(--luf-pine); overflow-wrap: anywhere; }
|
|
.luf-medium-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem 1rem;
|
|
margin-top: 0.15rem;
|
|
}
|
|
.luf-medium-link {
|
|
color: var(--luf-ink);
|
|
font-weight: 650;
|
|
text-underline-offset: 0.18em;
|
|
}
|
|
.luf-sr {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: 0;
|
|
}
|
|
@media (max-width: 40rem) {
|
|
.luf-medium.is-list { grid-template-columns: 5.5rem minmax(0, 1fr); }
|
|
.luf-medium-title { font-size: 1.12rem; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.luf-media * { scroll-behavior: auto; }
|
|
}
|
|
</style>
|