Files
wk-sync-bundle/public/wk-sync-backend.css
T
Jürgen MummertandClaude Fable 5.1 4d4f21b7c8 Require Contao 6 and drop the Contao 5 compatibility code
- Require contao/core-bundle and calendar-bundle ^6.0
- Render the setup check and the notification help as input_field
  callbacks instead of a custom backend widget; the fields no longer
  create a virtual jsonData column
- Load the backend style sheet through contao.backend.custom_css and
  remove the menu listener (tooltip workaround for Contao 5 included)
- Tell editors when the Notification Center is not installed instead of
  linking to a module that does not exist
- Generate category aliases with the slug settings of the calendar page
  so that umlauts are transliterated for German sites
- Always return a RecordLabel for the category list, export stored
  values as they are, remove the decodeEntities options and the legacy
  "events" URL parameter, use array notation for the price columns

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 20:21:12 +02:00

76 lines
5.2 KiB
CSS

/* Icon der Navigationsgruppe „W&K-Tools“ (Lucide „graduation-cap“, wie die Gruppen-Icons des Contao-Cores) */
#tl_navigation .group-wk_tools { background: url(graduation-cap.svg) 3px 2px no-repeat; }
[data-color-scheme=dark] #tl_navigation .group-wk_tools { background-image: url(graduation-cap--dark.svg); }
.wk-sync { padding: 18px 15px; }
.wk-sync h2 { margin: 1.5rem 0 .75rem; font-size: 1.1rem; }
.wk-sync > h2:first-child, .wk-sync > .tl_message + h2 { margin-top: 0; }
.wk-sync h3 { margin: 1.25rem 0 .5rem; }
.wk-sync-nav, .wk-sync-folders { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.wk-sync-nav .active, .wk-sync-folders .active { background: var(--contao-primary, #f47c00); color: #fff; border-color: transparent; }
.wk-sync-badge { display: inline-block; min-width: 1.4em; padding: 0 .35em; border-radius: 1em; background: rgba(0,0,0,.15); font-size: .8em; text-align: center; }
.wk-sync-upload .widget { margin-bottom: 1rem; }
.wk-sync-table { width: 100%; }
.wk-sync-table td { vertical-align: top; }
.wk-sync-table td:first-child, .wk-sync-table td:nth-child(2), .wk-sync-table .wk-sync-col-date { white-space: nowrap; }
.wk-sync-table .wk-sync-col-person, .wk-sync-table .wk-sync-col-data { overflow-wrap: anywhere; }
.wk-sync-col-id { width: 6rem; white-space: nowrap; }
.wk-sync-col-check { width: 2rem; }
.wk-sync-col-date { width: 9rem; }
.wk-sync-col-person { width: 22%; }
.wk-sync-col-actions { width: 1%; white-space: nowrap; }
.wk-sync-col-actions .wk-sync-action { display: block; width: fit-content; margin-bottom: .25rem; padding: .2rem .5rem; text-align: left; font-size: .85em; line-height: 1.3; border: 1px solid var(--form-border, #ccc); border-radius: 3px; background: var(--form-bg, #f6f6f6); color: inherit; cursor: pointer; text-decoration: none; }
.wk-sync-col-actions .wk-sync-action:last-child { margin-bottom: 0; }
.wk-sync-col-actions .wk-sync-action:hover { background: var(--form-bg-hover, #e8e8e8); }
.wk-sync-summary { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.wk-sync-summary strong { font-size: 1.2em; }
.wk-sync-summary__errors strong { color: #c33; }
.wk-sync-summary__warnings strong { color: #b7791f; }
.wk-sync-actions { display: flex; gap: .75rem; align-items: center; margin: 1rem 0; }
.wk-sync-inline { display: inline; }
.wk-sync-primary { font-weight: bold; }
.wk-sync-messages { margin: 0 0 1rem; padding: .5rem .75rem .5rem 2rem; max-height: 22rem; overflow: auto; border: 1px solid var(--border, #ddd); border-radius: 3px; }
.wk-sync-messages li { margin: .15rem 0; }
.wk-sync-message--error { color: #c33; }
.wk-sync-message--warning { color: #b7791f; }
.wk-sync-message--info { color: #555; }
.wk-sync-group { margin-bottom: 1rem; }
.wk-sync-group summary { cursor: pointer; padding: .5rem 0; }
.wk-sync-changes { margin: 0; }
.wk-sync-changes dt { font-weight: bold; margin-top: .25rem; }
.wk-sync-changes dd { margin: 0 0 .25rem; }
.wk-sync-changes del { color: #c33; text-decoration: line-through; }
.wk-sync-changes ins { color: #2a7; text-decoration: none; }
.wk-sync-muted { color: #888; }
.wk-sync-type { font-size: .85em; color: #888; }
.wk-sync-flag { display: inline-block; padding: 0 .35em; border-radius: 3px; background: #fdecc8; color: #7a4b00; font-size: .8em; }
.wk-sync-status, .wk-sync-flag { white-space: nowrap; }
.wk-sync-status { display: inline-block; padding: 0 .4em; border-radius: 3px; font-size: .85em; background: #eee; }
.wk-sync-status--applied, .wk-sync-status--done { background: #d7f5dd; color: #1f6b34; }
.wk-sync-status--preview { background: #fff2cc; color: #7a4b00; }
.wk-sync-status--failed { background: #fbd9d9; color: #8a1f1f; }
.wk-sync-export { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.wk-sync-export .tl_submit, .wk-sync-actions .tl_submit, .wk-sync-folders .tl_submit { white-space: nowrap; flex: none; }
.wk-sync-bulk { display: flex; gap: .75rem; align-items: center; margin: .75rem 0; }
.wk-sync-hidden-form { display: none; }
.wk-sync-highlight td { background: #fff8e1; }
.wk-sync-meta { margin: 0 0 .75rem; }
/* Erklärungen in Backend-Formularen (Anzeigefelder der W&K-Einstellungen) */
.wk-sync-explanation p, .wk-sync-explanation ol { margin: 0 0 .6em; }
.wk-sync-explanation ol { padding-left: 1.4em; }
.wk-sync-explanation li { margin: .2em 0; }
.wk-sync-matrix { border-collapse: collapse; margin: .5em 0 .25em; }
.wk-sync-matrix th, .wk-sync-matrix td { padding: .25em .75em .25em 0; text-align: left; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.wk-sync-matrix td:nth-child(n+2), .wk-sync-matrix th:nth-child(n+2) { white-space: nowrap; }
.wk-sync-matrix th { font-weight: bold; }
.wk-sync-matrix tr:last-child td { border-bottom: 0; }
/* Prüfung der Einrichtung in den W&K-Einstellungen */
.wk-sync-check { margin: 0; padding: 0; list-style: none; }
.wk-sync-check li { margin: .2em 0; padding-left: 1.4em; text-indent: -1.4em; }
.wk-sync-check li::before { display: inline-block; width: 1.4em; text-indent: 0; font-weight: bold; }
.wk-sync-check--ok::before { content: "✓"; }
.wk-sync-check--warn::before { content: "!"; }
.wk-sync-check--error::before { content: "✗"; }