359 lines
24 KiB
CSS
359 lines
24 KiB
CSS
:root {
|
|
--bg: #f4f6fb;
|
|
--panel: #ffffff;
|
|
--ink: #1f2937;
|
|
--muted: #6b7280;
|
|
--line: #e5e7eb;
|
|
--brand: #2563eb;
|
|
--brand-soft: #eef2ff;
|
|
--on: #16a34a;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; font-family: system-ui, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
|
|
|
|
.app { min-height: 100vh; }
|
|
|
|
.topbar {
|
|
position: sticky; top: 0; z-index: 50;
|
|
background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 10px 24px 8px;
|
|
}
|
|
.topbar-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
|
|
.topbar-user { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
|
|
.top-tabs { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
|
|
.top-tabs-settings { display: flex; align-items: center; gap: 6px; margin-left: auto; padding-left: 10px; border-left: 1px solid var(--line); }
|
|
|
|
/* Instellingen als cog-menu (popover via hover of klik) */
|
|
.cog-menu { position: relative; }
|
|
.cog-btn { display: inline-flex; align-items: center; min-height: 38px; background: transparent; border: 0; border-radius: 8px; padding: 0 10px; font-size: 18px; cursor: pointer; color: var(--muted); }
|
|
.cog-btn:hover { background: var(--bg); color: var(--ink); }
|
|
.cog-dropdown { display: none; position: absolute; right: 0; top: 100%; margin-top: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); min-width: 200px; padding: 6px; z-index: 60; }
|
|
.cog-menu:hover .cog-dropdown, .cog-menu.open .cog-dropdown { display: block; }
|
|
.cog-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; font: inherit; color: var(--ink); }
|
|
.cog-item:hover { background: var(--bg); }
|
|
.cog-item.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
|
|
.top-tab {
|
|
display: inline-flex; align-items: center; gap: 8px;
|
|
min-height: 38px; flex: 0 0 auto;
|
|
border: 1px solid transparent; border-radius: 8px;
|
|
background: transparent; color: var(--ink);
|
|
padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer;
|
|
}
|
|
.top-tab:hover { background: var(--bg); border-color: var(--line); }
|
|
.top-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 700; }
|
|
.top-tab.compact { color: var(--muted); }
|
|
.top-tab.compact.active { color: #fff; }
|
|
.brand { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--brand); }
|
|
.brand-logo { display: inline-flex; color: var(--brand); }
|
|
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: 0; }
|
|
.nav-item {
|
|
display: flex; align-items: center; gap: 10px;
|
|
width: 100%; text-align: left;
|
|
background: transparent; border: 0; border-radius: 8px;
|
|
padding: 10px 10px; font-size: 14px; color: var(--ink); cursor: pointer;
|
|
}
|
|
.nav-item:hover { background: var(--bg); }
|
|
.nav-item.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
|
|
.ico { width: 18px; text-align: center; }
|
|
.hint { margin-top: auto; font-size: 12px; color: var(--muted); padding: 12px 8px 0; }
|
|
|
|
.content { width: 100%; padding: 22px 24px 32px; }
|
|
.content-wide { padding-left: 18px; padding-right: 18px; }
|
|
h1 { margin: 0 0 6px; font-size: 24px; }
|
|
.muted { color: var(--muted); }
|
|
|
|
.banner { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
|
|
.banner.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
|
|
|
|
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
|
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
|
|
.card.on { border-color: #bbf7d0; }
|
|
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
|
|
.card-title { font-weight: 600; }
|
|
.card-cat { font-size: 12px; color: var(--muted); margin-top: 2px; }
|
|
.card-desc { font-size: 14px; color: #374151; margin: 10px 0 12px; }
|
|
.card-foot { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
|
|
.tag { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: #f3f4f6; color: var(--muted); }
|
|
.tag.on { background: #dcfce7; color: var(--on); }
|
|
.tag.core { background: var(--brand-soft); color: var(--brand); }
|
|
.tag.dep { background: #fef9c3; color: #854d0e; }
|
|
|
|
.toggle { width: 44px; height: 26px; border-radius: 999px; border: 0; background: #d1d5db; position: relative; cursor: pointer; transition: background .15s; flex: none; }
|
|
.toggle.on { background: var(--on); }
|
|
.toggle:disabled { opacity: .5; cursor: not-allowed; }
|
|
.knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: left .15s; }
|
|
.toggle.on .knob { left: 21px; }
|
|
|
|
/* --- Formulieren --- */
|
|
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
|
|
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 18px 0; }
|
|
.form-card .form-row { margin: 0 0 12px; }
|
|
input, select {
|
|
font: inherit; padding: 9px 11px; border: 1px solid var(--line);
|
|
border-radius: 8px; background: #fff; color: var(--ink); min-width: 150px;
|
|
}
|
|
input:focus, select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
|
|
|
|
.btn { font: inherit; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
|
|
.btn:hover { background: var(--bg); }
|
|
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
|
|
.btn.primary:hover { filter: brightness(1.05); }
|
|
|
|
.link { background: none; border: 0; color: var(--brand); cursor: pointer; padding: 2px 4px; font: inherit; }
|
|
.link:hover { text-decoration: underline; }
|
|
.link.danger { color: #b91c1c; }
|
|
|
|
/* --- Tabel --- */
|
|
.grid { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
|
|
.grid th, .grid td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
|
|
.grid th { background: #fafbff; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
|
|
.grid tr:last-child td { border-bottom: 0; }
|
|
.row-actions { display: flex; gap: 10px; white-space: nowrap; }
|
|
.small { font-size: 12px; }
|
|
|
|
/* --- Chips / filters --- */
|
|
.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
|
|
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
|
|
.chip { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
|
|
.chip:hover { background: var(--bg); }
|
|
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
|
|
.leden-keuze { margin: 4px 0 12px; }
|
|
|
|
.badge { display: inline-block; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; }
|
|
|
|
/* --- Fase 2 --- */
|
|
.kleur-stip { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: middle; border: 1px solid rgba(0,0,0,.1); }
|
|
.veld { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
|
|
.veld input, .veld select { min-width: auto; }
|
|
.rij-actief { background: var(--brand-soft); }
|
|
input[type="color"] { padding: 2px; width: 44px; min-width: 44px; height: 38px; }
|
|
|
|
.subpaneel { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fafbff; }
|
|
.subpaneel h2 { margin: 0 0 12px; font-size: 18px; }
|
|
|
|
.tag.dag-studiedag { background: #e0e7ff; color: #3730a3; }
|
|
.tag.dag-vrije_dag { background: #fee2e2; color: #b91c1c; }
|
|
.tag.dag-vakantie { background: #dcfce7; color: #166534; }
|
|
|
|
.rooster-scherm { width: 100%; }
|
|
.rooster-grid { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 10px; margin-top: 18px; width: 100%; }
|
|
.rooster-kolom { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 80px; }
|
|
.rooster-dag { position: relative; font-weight: 600; font-size: 13px; text-align: center; padding: 6px 32px 6px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; min-height: 36px; }
|
|
.rooster-blok { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; padding: 8px; margin-bottom: 8px; background: #fff; }
|
|
.rooster-blok.open { box-shadow: 0 0 0 2px var(--brand-soft); }
|
|
.rb-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
|
|
.rb-top strong { min-width: 0; flex: 1; }
|
|
.link.small { font-size: 16px; line-height: 1; padding: 0 4px; }
|
|
@media (max-width: 900px) { .rooster-grid { grid-template-columns: 1fr; } }
|
|
|
|
/* --- Fase 3: weekweergave, drag-and-drop, touch --- */
|
|
.rooster-balk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
|
|
.week-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
.week-label { font-weight: 600; }
|
|
|
|
.rooster-kolom.vrij { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 8px, #f1f1f4 8px, #f1f1f4 16px); }
|
|
.rooster-dag .tag { display: inline-block; margin-top: 4px; }
|
|
|
|
.slot-cel { border: 1px dashed transparent; border-radius: 8px; padding: 4px; margin-bottom: 8px; transition: background .1s, border-color .1s; }
|
|
.slot-cel.hover { border-color: var(--brand); background: var(--brand-soft); }
|
|
.slot-tijd { font-size: 11px; color: var(--muted); padding: 2px 2px 4px; }
|
|
|
|
.rooster-blok { touch-action: none; }
|
|
.rooster-blok.vervallen { opacity: .55; }
|
|
.rooster-blok.vervallen strong { text-decoration: line-through; }
|
|
.rb-greep { cursor: grab; color: var(--muted); font-size: 16px; padding: 0 4px; touch-action: none; user-select: none; }
|
|
.rb-greep:active { cursor: grabbing; }
|
|
.rb-x { margin-left: auto; }
|
|
.icon-btn { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; line-height: 1; flex: none; }
|
|
.icon-btn:hover { background: var(--bg); color: var(--ink); border-color: var(--line); }
|
|
.icon-btn.danger { color: #b91c1c; }
|
|
.icon-label { display: inline-flex; align-items: center; gap: 6px; }
|
|
.rb-status { color: #b91c1c; font-weight: 600; }
|
|
.rb-verv { color: #166534; font-weight: 600; }
|
|
.rb-verval { display: inline-block; margin-top: 4px; }
|
|
.afwezig { text-decoration: line-through; color: #b91c1c; }
|
|
|
|
.drag-ghost { position: fixed; z-index: 1000; pointer-events: none; background: var(--brand); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
|
|
|
|
.dag-actie { position: absolute; right: 0; top: 3px; margin: 0; }
|
|
.sneltoets-hint { margin: -4px 0 12px; }
|
|
|
|
/* --- Groepsindeling --- */
|
|
.indeling { margin-top: 12px; }
|
|
.indeling-hoofd { background: var(--brand); color: #fff; border-radius: 10px; padding: 12px 16px; font-weight: 700; font-size: 16px; text-align: center; }
|
|
.indeling-groepen { display: grid; gap: 14px; margin: 12px 0 16px; }
|
|
.indeling-groep { border: 1px solid var(--line); border-radius: 8px; background: #fafbff; padding: 10px; }
|
|
.indeling-groep-kop { font-weight: 700; margin-bottom: 8px; color: var(--brand); }
|
|
.indeling-kolommen { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 12px 0 16px; }
|
|
.indeling-kolom { border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 10px; padding: 10px 12px; background: var(--panel); display: flex; flex-direction: column; gap: 4px; }
|
|
.indeling-kop { font-weight: 600; margin-bottom: 2px; }
|
|
@media (max-width: 700px) { .indeling-kolommen { grid-template-columns: 1fr; } }
|
|
|
|
.blok-splitsing { position: relative; border: 1px solid #bfdbfe; border-radius: 8px; background: linear-gradient(180deg, #eff6ff 0, #f8fbff 42px, #fff 100%); padding: 8px; margin-bottom: 8px; }
|
|
.split-header { display: flex; align-items: center; gap: 8px; border: 1px solid #bfdbfe; border-radius: 7px; background: #fff; padding: 6px 8px; margin-bottom: 12px; }
|
|
.split-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 800; flex: none; }
|
|
.split-title { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.15; flex: 1; }
|
|
.split-title strong { font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.split-title span { font-size: 11px; color: var(--muted); }
|
|
.split-count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; }
|
|
.split-groep { font-size: 12px; font-weight: 800; color: var(--brand); margin: 0 2px 7px; }
|
|
.split-kolommen { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-left: 12px; padding: 12px 0 0 16px; border-left: 2px solid #bfdbfe; }
|
|
.split-kolommen::before { content: ""; position: absolute; top: 0; left: -2px; height: 12px; border-left: 2px solid #bfdbfe; }
|
|
.split-kolom { position: relative; min-width: 0; height: 100%; padding-left: 0; }
|
|
.split-kolom::before { content: ""; position: absolute; top: 14px; left: -16px; width: 16px; border-top: 2px solid #bfdbfe; }
|
|
.split-kop { font-size: 11px; font-weight: 700; color: var(--muted); margin: 0 0 4px; }
|
|
.split-node-kop { display: inline-flex; max-width: 100%; align-items: center; border: 1px solid #bfdbfe; border-radius: 6px; background: #fff; color: var(--brand); padding: 4px 7px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.split-vakken { display: grid; gap: 6px; }
|
|
.split-vak { position: relative; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 6px; background: #fff; padding: 6px 6px 5px; margin-bottom: 6px; cursor: pointer; box-shadow: 0 1px 0 rgba(31,41,55,.03); }
|
|
.split-vak.open { box-shadow: 0 0 0 2px var(--brand-soft); }
|
|
.split-vak.vervallen { opacity: .55; }
|
|
.split-vak-kop { display: flex; align-items: center; gap: 5px; }
|
|
.split-vak-kop strong { min-width: 0; flex: 1; font-size: 12px; }
|
|
.split-vak-meta { display: flex; flex-direction: column; gap: 1px; color: var(--muted); font-size: 11px; margin-top: 2px; }
|
|
.klas-strip { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
|
|
|
|
/* --- Blok-bewerker --- */
|
|
.blok-editor { margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #f9fafb; cursor: default; }
|
|
.blok-editor-kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
|
|
.editor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 7px; margin: 7px 0; }
|
|
.editor-grid input, .editor-grid select { width: 100%; min-width: 0; font-size: 12px; padding: 7px 8px; }
|
|
.editor-detail { border-top: 1px dashed var(--line); padding-top: 7px; margin-top: 7px; }
|
|
.editor-detail summary { cursor: pointer; color: var(--brand); font-size: 12px; font-weight: 700; }
|
|
.editor-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
|
|
.editor-check { margin: 6px 0; }
|
|
.chips.compact { gap: 5px; margin-top: 6px; }
|
|
.chips.compact .chip { font-size: 12px; padding: 5px 8px; }
|
|
.split-editor { background: #f8fbff; border: 1px solid #dbeafe; border-radius: 7px; padding: 7px; }
|
|
.split-preview { margin: 8px 0; padding: 8px; border-radius: 7px; background: #fff; border: 1px solid #dbeafe; }
|
|
.split-preview-root { display: inline-block; padding: 5px 9px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
|
|
.split-preview-children { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 13px; }
|
|
.split-preview-children::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; border-top: 2px solid #bfdbfe; }
|
|
.split-preview-children span { position: relative; padding: 5px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }
|
|
.split-preview-children span::before { content: ""; position: absolute; top: -13px; left: 50%; width: 2px; height: 13px; background: #bfdbfe; }
|
|
.indeling-form h2 { margin: 0 0 10px; font-size: 17px; }
|
|
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 7px; margin-top: 8px; }
|
|
.check-item { display: flex; align-items: center; gap: 7px; min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 7px 9px; font-size: 13px; }
|
|
.check-item input { min-width: auto; }
|
|
.check-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.lijst-kop { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
|
|
.indeling-tree { display: grid; gap: 14px; margin-top: 18px; }
|
|
.tree-root { border: 1px solid #bfdbfe; border-radius: 8px; background: #f8fbff; padding: 12px; }
|
|
.tree-node { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 12px; }
|
|
.tree-node-main { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
|
|
.tree-node-main > div { min-width: 0; }
|
|
.tree-node-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.tree-parent { border-color: #bfdbfe; background: #fff; }
|
|
.tree-group { border-left: 4px solid var(--brand); }
|
|
.tree-subgroup { border-left: 4px solid #93c5fd; background: #f9fafb; }
|
|
.tree-dot { width: 12px; height: 12px; border-radius: 999px; margin-top: 4px; flex: none; background: var(--line); }
|
|
.tree-dot.parent { background: var(--brand); }
|
|
.tree-dot.group { background: #38bdf8; }
|
|
.tree-dot.sub { background: #93c5fd; }
|
|
.tree-children { position: relative; display: grid; gap: 10px; margin: 10px 0 0 22px; padding-left: 16px; border-left: 2px solid #bfdbfe; }
|
|
.tree-branch { display: grid; gap: 7px; }
|
|
.tree-subchildren { margin-top: 0; border-left-color: #dbeafe; }
|
|
.tree-meta { padding-left: 16px; }
|
|
.tree-empty { padding: 8px 0 8px 12px; }
|
|
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 900; overflow: auto; }
|
|
.modal { background: var(--panel); border-radius: 12px; padding: 18px 20px; width: min(560px, 100%); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
|
|
.modal-kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
|
|
.modal-kop h2 { margin: 0; font-size: 18px; }
|
|
.rooster-modal { width: min(920px, calc(100vw - 32px)); padding: 16px; }
|
|
.modal-editor { margin-top: 0; padding: 12px; background: #f9fafb; }
|
|
.modal-editor .editor-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
|
|
.modal-editor .editor-grid input, .modal-editor .editor-grid select { font-size: 13px; padding: 9px 10px; }
|
|
.modal-editor .editor-detail { padding-top: 10px; margin-top: 10px; }
|
|
.modal-hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0 12px; }
|
|
.rooster-blok.klikbaar { cursor: pointer; }
|
|
.rooster-blok.klikbaar:hover { box-shadow: 0 0 0 2px var(--brand-soft); }
|
|
.scope-balk { margin-top: -6px; }
|
|
|
|
/* --- Afdrukken --- */
|
|
.print-knop { margin-left: auto; background: #fff; }
|
|
@media print {
|
|
.sidebar, .topbar, .no-print, .tabbar, .rooster-balk, .banner,
|
|
.rb-greep, .rb-x, .rb-verval, .icon-btn, .print-knop, .drag-ghost { display: none !important; }
|
|
body { background: #fff; }
|
|
.app { display: block; }
|
|
.content { padding: 0; }
|
|
.rooster-scherm h1 { margin: 0 0 8px; }
|
|
.rooster-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
|
|
.rooster-kolom { border-color: #999; }
|
|
.rooster-blok { break-inside: avoid; }
|
|
}
|
|
|
|
/* --- Onderkant zijbalk: subtiel Instellingen-blok --- */
|
|
.sidebar-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
|
|
.nav-group-head.subtiel { color: var(--muted); opacity: .8; }
|
|
.nav-group-head.subtiel:hover { opacity: 1; }
|
|
|
|
/* --- Submenu's in de zijbalk --- */
|
|
.nav-group { margin-top: 2px; }
|
|
.nav-group-head { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; border: 0; cursor: pointer; padding: 10px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
|
|
.nav-chev { font-size: 10px; }
|
|
.nav-item.nav-sub { padding-left: 26px; font-size: 13.5px; }
|
|
|
|
/* --- Tabs (o.a. in het Rooster) --- */
|
|
.tabbar { display: flex; gap: 6px; margin: 8px 0 16px; border-bottom: 1px solid var(--line); }
|
|
.tab { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; cursor: pointer; color: var(--muted); }
|
|
.tab:hover { color: var(--ink); }
|
|
.tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
|
|
.instellingen > section { margin-top: 24px; padding-top: 8px; border-top: 1px dashed var(--line); }
|
|
.instellingen > section:first-of-type { border-top: 0; }
|
|
|
|
/* --- Conflicten --- */
|
|
.conflict { border: 1px solid var(--line); border-left: 4px solid #b91c1c; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; background: #fff; }
|
|
.conflict.waarschuwing { border-left-color: #b45309; }
|
|
.conflict-kop { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
|
|
|
|
/* Touch-vriendelijk: ruimere tikdoelen op kleinere/aanraakschermen. */
|
|
@media (pointer: coarse) {
|
|
.btn, .chip, input, select { min-height: 44px; }
|
|
.nav-item, .top-tab { padding: 12px 12px; font-size: 15px; }
|
|
.link { padding: 8px 6px; display: inline-block; }
|
|
.rb-greep { font-size: 22px; padding: 4px 10px; }
|
|
.grid th, .grid td { padding: 14px; }
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.topbar { padding: 10px 12px 8px; }
|
|
.topbar-main { align-items: flex-start; }
|
|
.topbar-user { flex-direction: column; align-items: flex-end; gap: 2px; }
|
|
.content, .content-wide { padding: 18px 12px 28px; }
|
|
.top-tabs-settings { margin-left: 0; border-left: 0; padding-left: 0; }
|
|
.split-kolommen { grid-template-columns: 1fr; margin-left: 8px; padding-left: 14px; }
|
|
.split-kolom::before { left: -14px; width: 14px; }
|
|
.tree-node { flex-direction: column; align-items: stretch; }
|
|
.tree-children { margin-left: 10px; padding-left: 12px; }
|
|
.tree-meta { padding-left: 0; }
|
|
}
|
|
|
|
/* --- Login --- */
|
|
.center-msg { text-align: center; margin-top: 20vh; color: var(--muted); }
|
|
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
.login-card {
|
|
background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
|
|
padding: 28px; width: 320px; display: flex; flex-direction: column; gap: 12px;
|
|
box-shadow: 0 8px 30px rgba(31, 41, 55, .06);
|
|
}
|
|
.login-brand { margin: 0 0 4px; justify-content: center; }
|
|
.login-card input { width: 100%; }
|
|
.login-card .btn { width: 100%; }
|
|
|
|
/* --- Gebruiker in zijbalk --- */
|
|
.sidebar-user {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
gap: 8px; padding: 10px 8px 0; border-top: 1px solid var(--line); margin-top: 12px;
|
|
}
|
|
|
|
/* Stage in het rooster + stagelocatie-beheer */
|
|
.rb-stage { color: #b45309; font-weight: 600; }
|
|
.rooster-blok.vervallen .rb-stage,
|
|
.split-vak.vervallen .rb-stage { opacity: .7; }
|
|
.subsectie { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
|
|
.subsectie h2 { margin: 0 0 4px; font-size: 18px; }
|
|
.veld-kol { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 120px; }
|
|
.veld-kop { font-size: 11px; font-weight: 700; color: var(--muted); }
|