db3558872e
Modernisiert die öffentliche Oberfläche mit Inter, Dark Mode und Live-Suche, ergänzt KI-gestützte Entwürfe im Admin mit Nachweis-Uploads und dokumentiert Daphne/Nginx für den Serverbetrieb. Co-authored-by: Cursor <cursoragent@cursor.com>
198 lines
3.7 KiB
CSS
198 lines
3.7 KiB
CSS
/* Faktenkompass – Redaktions-Admin */
|
||
|
||
.fk-admin-dashboard {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
gap: 1rem;
|
||
margin-bottom: 1.5rem;
|
||
}
|
||
|
||
.fk-admin-card {
|
||
display: block;
|
||
padding: 1rem 1.1rem;
|
||
border: 1px solid #d1d5db;
|
||
border-radius: 10px;
|
||
background: #fff;
|
||
text-decoration: none;
|
||
color: #111827;
|
||
transition: border-color 0.15s, box-shadow 0.15s;
|
||
}
|
||
|
||
.fk-admin-card:hover {
|
||
border-color: #0d9488;
|
||
box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
|
||
color: #111827;
|
||
}
|
||
|
||
.fk-admin-card strong {
|
||
display: block;
|
||
margin-bottom: 0.35rem;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.fk-admin-card span {
|
||
color: #6b7280;
|
||
font-size: 0.85rem;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.change-form .fk-admin-wide,
|
||
.change-form .fk-admin-textarea,
|
||
.change-form textarea.vLargeTextField,
|
||
.change-form textarea.large {
|
||
width: 100% !important;
|
||
max-width: 100% !important;
|
||
box-sizing: border-box;
|
||
font-size: 0.95rem !important;
|
||
line-height: 1.5 !important;
|
||
}
|
||
|
||
.change-form .fk-admin-textarea,
|
||
.change-form textarea.vLargeTextField,
|
||
.change-form textarea.large {
|
||
min-height: 6rem;
|
||
padding: 0.65rem 0.75rem !important;
|
||
}
|
||
|
||
.change-form .fk-admin-wide {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.module h2,
|
||
.inline-group h2 {
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
.inline-group .tabular tr.has_original td {
|
||
padding-top: 0.75rem;
|
||
padding-bottom: 0.75rem;
|
||
}
|
||
|
||
/* Behauptung bearbeiten */
|
||
.fk-claim-help {
|
||
margin: 0 0 1.25rem;
|
||
padding: 0.85rem 1rem;
|
||
border-left: 4px solid #0d9488;
|
||
background: #f0fdfa;
|
||
border-radius: 0 8px 8px 0;
|
||
font-size: 0.9rem;
|
||
color: #374151;
|
||
}
|
||
|
||
.fk-claim-meta-links {
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.fk-claim-meta-links a {
|
||
margin-right: 1rem;
|
||
}
|
||
|
||
.fk-evidence-preview {
|
||
margin: 0.5rem 0 0;
|
||
}
|
||
|
||
.fk-evidence-preview img {
|
||
display: block;
|
||
max-width: min(100%, 360px);
|
||
max-height: 240px;
|
||
object-fit: contain;
|
||
border: 1px solid #e5e7eb;
|
||
border-radius: 8px;
|
||
background: #f9fafb;
|
||
padding: 0.35rem;
|
||
}
|
||
|
||
.fk-evidence-preview a {
|
||
font-weight: 500;
|
||
}
|
||
|
||
.fk-evidence-preview-live {
|
||
margin-top: 0.5rem;
|
||
}
|
||
|
||
.fk-evidence-preview-live img {
|
||
max-width: min(100%, 280px);
|
||
max-height: 200px;
|
||
border: 1px dashed #9ca3af;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.inline-related fieldset.module {
|
||
margin-bottom: 1.25rem;
|
||
}
|
||
|
||
.inline-group .stacked .inline-related {
|
||
padding: 1rem;
|
||
margin-bottom: 0.75rem;
|
||
border: 1px solid #e5e7eb;
|
||
border-radius: 10px;
|
||
background: #fafafa;
|
||
}
|
||
|
||
.inline-group .stacked .inline-related h3 {
|
||
margin-top: 0;
|
||
padding: 0.35rem 0 0.75rem;
|
||
border-bottom: 1px solid #e5e7eb;
|
||
}
|
||
|
||
.field-public_link readonly {
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.change-form .form-row .field-short_answer textarea,
|
||
.change-form .form-row .field-detailed_explanation textarea {
|
||
min-width: 100%;
|
||
}
|
||
}
|
||
|
||
/* Changelist: Suche über der Tabelle, Filter rechts */
|
||
#changelist {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
flex-direction: row;
|
||
}
|
||
|
||
#changelist .changelist-form-container {
|
||
display: block !important;
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
width: 100%;
|
||
}
|
||
|
||
#changelist #toolbar,
|
||
#changelist .toplinks,
|
||
#changelist #changelist-form,
|
||
#changelist .results,
|
||
#changelist .paginator {
|
||
display: block;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
#changelist #changelist-search {
|
||
display: block;
|
||
width: 100%;
|
||
}
|
||
|
||
#changelist-filter {
|
||
flex: 0 0 240px;
|
||
order: 1;
|
||
margin: 0 0 0 30px;
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
#changelist {
|
||
flex-direction: column !important;
|
||
}
|
||
|
||
#changelist-filter {
|
||
flex-basis: auto;
|
||
width: 100%;
|
||
margin: 1.5rem 0 0 !important;
|
||
order: 2;
|
||
}
|
||
}
|