.bc-root { display: flex; flex-direction: column; height: 100%; min-height: 480px; font-size: var(--font-ui-small); color: var(--text-normal); } /* Toolbar */ .bc-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--background-modifier-border); } .bc-toolbar .bc-spacer { flex: 1; } .bc-toolbar .bc-label { font-weight: var(--font-semibold); font-size: var(--font-ui-medium); min-width: 170px; text-transform: capitalize; } .bc-btn-group { display: inline-flex; } .bc-btn-group button { border-radius: 0; } .bc-btn-group button:first-child { border-radius: var(--button-radius) 0 0 var(--button-radius); } .bc-btn-group button:last-child { border-radius: 0 var(--button-radius) var(--button-radius) 0; } .bc-btn-group button.is-active { background: var(--interactive-accent); color: var(--text-on-accent); } .bc-weekend-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; } .bc-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } /* Monatsansicht */ .bc-month-head { display: grid; border-bottom: 1px solid var(--background-modifier-border); } .bc-dow { padding: 4px 6px; text-align: center; color: var(--text-muted); font-weight: var(--font-medium); } .bc-month { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; } .bc-weekrow { display: grid; position: relative; flex: 1 0 auto; min-height: 96px; } .bc-allday-row { min-height: 28px; flex: none; } .bc-cell { border-right: 1px solid var(--background-modifier-border); border-bottom: 1px solid var(--background-modifier-border); } .bc-cell.is-other { background: var(--background-secondary); } .bc-cell.is-weekend:not(.is-other) { background: var(--background-primary-alt); } .bc-cell.bc-sel-cell { background: var(--background-modifier-hover); outline: 2px solid var(--interactive-accent); outline-offset: -2px; } .bc-cell.bc-drop-target { outline: 2px dashed var(--interactive-accent); outline-offset: -2px; } .bc-daynum { pointer-events: none; padding: 2px 6px; text-align: right; color: var(--text-muted); z-index: 1; } .bc-daynum.is-today span { display: inline-block; min-width: 1.6em; padding: 0 4px; border-radius: 999px; text-align: center; background: var(--interactive-accent); color: var(--text-on-accent); } /* Termine */ .bc-event { position: relative; z-index: 1; box-sizing: border-box; margin: 1px 2px; padding: 1px 5px; overflow: hidden; border-radius: 4px; cursor: grab; user-select: none; background: var(--bc-color, var(--interactive-accent)); color: var(--bc-fg, var(--text-on-accent)); line-height: 1.45; } .bc-event.bc-dragging { opacity: 0.8; z-index: 4; pointer-events: none; cursor: grabbing; box-shadow: var(--shadow-s); } .bc-event.is-past, .bc-event.is-done { filter: saturate(0.3); opacity: 0.7; } .bc-event.is-done .bc-ev-time, .bc-event.is-done .bc-ev-title, .bc-event.is-done .bc-desc-text, .bc-event.is-done .bc-desc-line, .bc-event.is-done .bc-pill { text-decoration: line-through; } .bc-done-cb { flex: none; margin: 0; cursor: pointer; } .bc-event.is-cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; } .bc-event.is-cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; } .bc-ev-head { display: flex; align-items: center; gap: 4px; min-width: 0; } .bc-ev-time { opacity: 0.85; font-variant-numeric: tabular-nums; white-space: nowrap; } .bc-ev-title { font-weight: var(--font-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bc-ev-desc { opacity: 0.95; font-size: var(--font-smallest); margin-top: 2px; } .bc-desc-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 0; } .bc-task { display: flex; align-items: center; gap: 4px; } .bc-task input[type="checkbox"] { flex: none; margin: 0; cursor: pointer; } .bc-task.is-done .bc-desc-text { text-decoration: line-through; opacity: 0.7; } .bc-task .bc-desc-text { overflow: hidden; text-overflow: ellipsis; } /* Zeitgebundene Einzeltermine im Monat: Punkt statt Balken */ .bc-event.bc-dot { background: transparent; color: var(--text-normal); } .bc-event.bc-dot .bc-ev-head::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bc-color, var(--interactive-accent)); } .bc-event.bc-dot:hover { background: var(--background-modifier-hover); } /* Status-Pillen */ .bc-pills { display: inline-flex; flex-wrap: wrap; gap: 3px; } .bc-pill { display: inline-block; padding: 0 7px; border-radius: 999px; font-size: var(--font-smallest); line-height: 1.5; white-space: nowrap; background: var(--pc); color: var(--pf); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45); } .bc-dot .bc-pill { box-shadow: none; } .bc-pill-toggle { cursor: pointer; box-shadow: none; } .bc-pill-toggle:not(.is-on) { background: transparent; color: var(--text-muted); border: 1px solid var(--pc); line-height: 1.3; } /* Zeitraster */ .bc-tg { --bc-gutter: 52px; flex: 1 1 auto; min-height: 0; max-height: calc(100vh - 150px); overflow: auto; position: relative; } .bc-tg-sticky { position: sticky; top: 0; z-index: 5; background: var(--background-primary); } .bc-tg-head, .bc-tg-allday, .bc-tg-body { display: flex; } .bc-tg-head { border-bottom: 1px solid var(--background-modifier-border); } .bc-tg-allday { border-bottom: 1px solid var(--background-modifier-border); } .bc-gutter { flex: none; width: var(--bc-gutter); box-sizing: border-box; } .bc-tg-allday .bc-gutter { padding: 4px 4px 0 0; text-align: right; font-size: var(--font-smallest); color: var(--text-muted); } .bc-tg-days { flex: 1; min-width: 0; } .bc-head-days, .bc-cols { display: grid; } .bc-dayhead { padding: 6px 4px; text-align: center; color: var(--text-muted); border-left: 1px solid var(--background-modifier-border); } .bc-dayhead.is-today { color: var(--interactive-accent); font-weight: var(--font-semibold); } .bc-hour-label { box-sizing: border-box; padding-right: 6px; text-align: right; font-size: var(--font-smallest); color: var(--text-muted); transform: translateY(-0.6em); } .bc-hours { padding-top: 0; } .bc-col { position: relative; border-left: 1px solid var(--background-modifier-border); background-image: linear-gradient(to bottom, var(--background-modifier-border) 1px, transparent 1px); background-size: 100% var(--bc-hh); } .bc-col.is-weekend { background-color: var(--background-primary-alt); } .bc-tevent { position: absolute; margin: 0; padding: 0; flex-direction: column; white-space: normal; } .bc-tevent .bc-ev-head { flex-wrap: wrap; row-gap: 0; } .bc-tevent .bc-ev-title { white-space: normal; } .bc-tevent .bc-pills { margin-top: 2px; } .bc-tevent .bc-ev-desc { margin-top: 3px; } .bc-tevent .bc-desc-line { white-space: normal; } .bc-tcontent { position: absolute; inset: 0; box-sizing: border-box; padding: 2px 18px 2px 5px; overflow-y: auto; scrollbar-width: none; } .bc-tcontent::-webkit-scrollbar { display: none; } .bc-more { position: absolute; right: 2px; display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; background: var(--bc-fg, var(--text-on-accent)); color: var(--bc-color, var(--interactive-accent)); } .bc-more .svg-icon { width: 12px; height: 12px; stroke-width: 3; } .bc-more-up { top: 2px; } .bc-more-down { bottom: 8px; } .bc-resize { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; cursor: ns-resize; } .bc-sel { position: absolute; left: 2px; right: 2px; z-index: 2; pointer-events: none; border-radius: 4px; background: var(--interactive-accent); opacity: 0.35; } .bc-now { position: absolute; left: 0; right: 0; z-index: 3; height: 2px; background: var(--color-red); pointer-events: none; } /* Dialog */ .bc-modal .bc-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .bc-modal textarea { width: 100%; min-height: 90px; resize: vertical; } .bc-modal input[type="text"] { width: 100%; } .bc-field-label { margin: 12px 0 4px; font-weight: var(--font-medium); } .bc-swatches { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .bc-swatch { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; } .bc-swatch.is-on { border-color: var(--text-normal); } .bc-status-box { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .bc-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; } .bc-buttons .bc-spacer { flex: 1; }