Initial commit
This commit is contained in:
commit
536ff43ce4
158 files changed
+30355
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
@@ -0,0 +1,589 @@
|
||||
/* ==========================================================================
|
||||
PIVOT – GLOBALE HUISSTIJL
|
||||
Eén stylesheet voor alle pagina's. Pagina's erven van templates/base.html
|
||||
en gebruiken de klassen hieronder; paginaspecifieke CSS blijft beperkt
|
||||
tot {% block extra_css %}.
|
||||
========================================================================== */
|
||||
|
||||
/* ---------- 1. Design tokens ---------- */
|
||||
:root {
|
||||
/* Merkkleuren */
|
||||
--primary-color: #1e6fa5;
|
||||
--primary-dark: #17577f;
|
||||
--primary-light: #e8f1f8;
|
||||
--background-color: #F4F7FA;
|
||||
|
||||
/* Neutralen */
|
||||
--surface: #ffffff;
|
||||
--surface-muted: #f8fafc;
|
||||
--border: #e2e8f0;
|
||||
--border-strong: #cbd5e1;
|
||||
--text: #1e293b;
|
||||
--text-muted: #64748b;
|
||||
|
||||
/* Statuskleuren */
|
||||
--success: #16a34a; --success-bg: #dcfce7; --success-text: #166534;
|
||||
--warning: #eab308; --warning-bg: #fef9c3; --warning-text: #854d0e;
|
||||
--danger: #dc2626; --danger-bg: #fee2e2; --danger-text: #991b1b;
|
||||
--info: #2563eb; --info-bg: #dbeafe; --info-text: #1e40af;
|
||||
--accent: #f1c709; /* geel accent (toevoegen / bewerken) */
|
||||
--bug: #16a34a; /* groen accent voor bug-pagina's */
|
||||
|
||||
/* Vorm */
|
||||
--radius-sm: 6px;
|
||||
--radius: 10px;
|
||||
--radius-lg: 14px;
|
||||
--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
|
||||
--shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .05);
|
||||
--shadow-lg: 0 10px 30px rgba(15, 23, 42, .18);
|
||||
|
||||
--header-height: 64px;
|
||||
--page-width: 1200px;
|
||||
--font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
|
||||
}
|
||||
|
||||
/* ---------- 2. Basis ---------- */
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
html { overflow-y: scroll; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: var(--font);
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: var(--text);
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; color: var(--text); }
|
||||
h2 { font-size: 1.35rem; }
|
||||
h3 { font-size: 1.1rem; }
|
||||
p { margin: 0 0 1em; }
|
||||
a { color: var(--primary-color); }
|
||||
|
||||
.muted { color: var(--text-muted); }
|
||||
.small { font-size: .85rem; }
|
||||
.text-center { text-align: center; }
|
||||
.text-right { text-align: right; }
|
||||
.nowrap { white-space: nowrap; }
|
||||
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
|
||||
.hidden { display: none !important; }
|
||||
|
||||
/* ---------- 3. Header ---------- */
|
||||
.app-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
height: var(--header-height);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 0 24px;
|
||||
background: var(--primary-color);
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
|
||||
}
|
||||
.app-header.header--bug { background: var(--bug); }
|
||||
|
||||
.header-left, .header-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
||||
.header-right { justify-content: flex-end; }
|
||||
|
||||
.brand {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 1px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.brand-mark {
|
||||
width: 38px; height: 38px; border-radius: 50%;
|
||||
background: #fff; padding: 4px;
|
||||
display: grid; place-items: center;
|
||||
}
|
||||
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
|
||||
.brand-name { font-size: 18px; }
|
||||
.brand-school { font-weight: 400; opacity: .8; letter-spacing: 0; font-size: 14px; }
|
||||
|
||||
.page-title {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.header-user { font-size: 14px; opacity: .9; white-space: nowrap; }
|
||||
|
||||
.home-btn, .logout-btn, .header-btn {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
height: 36px; padding: 0 14px;
|
||||
border: 0; border-radius: var(--radius-sm);
|
||||
font: inherit; font-size: 14px; font-weight: 600;
|
||||
text-decoration: none; cursor: pointer; white-space: nowrap;
|
||||
transition: background-color .15s;
|
||||
}
|
||||
.home-btn, .header-btn { background: rgba(255, 255, 255, .16); color: #fff; }
|
||||
.home-btn:hover, .header-btn:hover { background: rgba(255, 255, 255, .28); }
|
||||
.logout-btn { background: #fff; color: var(--danger); }
|
||||
.logout-btn:hover { background: var(--danger-bg); }
|
||||
.app-header form { margin: 0; }
|
||||
|
||||
/* ---------- 4. Pagina-layout ---------- */
|
||||
.app-main {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: var(--page-width);
|
||||
margin: 0 auto;
|
||||
padding: 28px 24px 40px;
|
||||
}
|
||||
.app-main.narrow { max-width: 760px; }
|
||||
.app-main.medium { max-width: 980px; }
|
||||
.app-main.wide { max-width: 1400px; }
|
||||
|
||||
.page-head {
|
||||
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
|
||||
gap: 12px; margin-bottom: 18px;
|
||||
}
|
||||
.page-head h2 { margin: 0; }
|
||||
.page-head .actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
|
||||
.card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 24px;
|
||||
}
|
||||
.card + .card { margin-top: 20px; }
|
||||
.card-title { font-size: 1.1rem; margin: 0 0 14px; }
|
||||
.card.subtle { background: var(--surface-muted); box-shadow: none; }
|
||||
|
||||
/* Twee-koloms layout (formulier + scanner/info) */
|
||||
.split {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 2fr;
|
||||
gap: 20px;
|
||||
align-items: start;
|
||||
}
|
||||
.split > .card + .card { margin-top: 0; }
|
||||
@media (max-width: 860px) {
|
||||
.split { grid-template-columns: 1fr; }
|
||||
.split .order-first-mobile { order: -1; }
|
||||
}
|
||||
|
||||
/* ---------- 5. Formulieren ---------- */
|
||||
label { font-weight: 600; font-size: 14px; }
|
||||
|
||||
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
|
||||
select, textarea {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
font: inherit;
|
||||
font-size: 15px;
|
||||
color: var(--text);
|
||||
background: #fff;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--radius-sm);
|
||||
transition: border-color .15s, box-shadow .15s;
|
||||
}
|
||||
input:focus, select:focus, textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color);
|
||||
box-shadow: 0 0 0 3px rgba(30, 111, 165, .18);
|
||||
}
|
||||
input[readonly], input:disabled, textarea:disabled, select:disabled {
|
||||
background: var(--surface-muted); color: var(--text-muted); cursor: not-allowed;
|
||||
}
|
||||
textarea { min-height: 100px; resize: vertical; }
|
||||
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary-color); cursor: pointer; }
|
||||
input[type=file] {
|
||||
width: 100%; padding: 12px; font: inherit;
|
||||
background: var(--surface-muted);
|
||||
border: 1px dashed var(--primary-color); border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.field { margin-bottom: 16px; }
|
||||
.field > label { display: block; margin-bottom: 6px; }
|
||||
.field-hint { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
|
||||
|
||||
.check {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
font-weight: 500; cursor: pointer;
|
||||
}
|
||||
.check-box {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
padding: 12px 14px; margin: 4px 0 16px;
|
||||
background: var(--surface-muted); border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm); font-weight: 500; cursor: pointer;
|
||||
}
|
||||
|
||||
/* Zoekbalk: invoerveld + knop op één lijn */
|
||||
.search-bar {
|
||||
display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px;
|
||||
}
|
||||
.search-bar input:not([type=hidden]) { flex: 1 1 260px; width: auto; }
|
||||
|
||||
.input-group { display: flex; gap: 6px; }
|
||||
.input-group input { flex: 1; }
|
||||
|
||||
.password-wrap { position: relative; }
|
||||
.password-wrap input { padding-right: 44px !important; }
|
||||
.password-toggle {
|
||||
position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
|
||||
background: none !important; border: 0; padding: 4px 8px; font-size: 16px;
|
||||
color: var(--text-muted); cursor: pointer; box-shadow: none;
|
||||
}
|
||||
|
||||
/* ---------- 6. Knoppen ---------- */
|
||||
button, .btn {
|
||||
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
||||
padding: 9px 16px;
|
||||
font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3;
|
||||
color: #fff;
|
||||
background-color: var(--primary-color);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background-color .15s, border-color .15s, transform .05s;
|
||||
}
|
||||
button:hover, .btn:hover { background-color: var(--primary-dark); }
|
||||
button:active, .btn:active { transform: translateY(1px); }
|
||||
button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; }
|
||||
|
||||
.btn-secondary { background: #475569; }
|
||||
.btn-secondary:hover { background: #334155; }
|
||||
.btn-light { background: #fff; color: var(--text); border-color: var(--border-strong); }
|
||||
.btn-light:hover { background: var(--surface-muted); }
|
||||
.btn-success { background: var(--success); }
|
||||
.btn-success:hover { background: #15803d; }
|
||||
.btn-warning { background: var(--accent); color: #3f3200; }
|
||||
.btn-warning:hover { background: #d9b308; }
|
||||
.btn-danger { background: var(--danger); }
|
||||
.btn-danger:hover { background: #b91c1c; }
|
||||
.btn-ghost { background: transparent; color: var(--text-muted); }
|
||||
.btn-ghost:hover { background: var(--surface-muted); color: var(--text); }
|
||||
.btn-link { background: none; color: var(--danger); padding: 6px; text-decoration: underline; }
|
||||
.btn-link:hover { background: none; color: #991b1b; }
|
||||
.btn-sm { padding: 6px 10px; font-size: 13px; }
|
||||
.btn-lg { padding: 13px 22px; font-size: 16px; }
|
||||
.btn-block { display: flex; width: 100%; }
|
||||
.btn-block + .btn-block { margin-top: 10px; }
|
||||
|
||||
/* Oude klassen die nog gebruikt worden */
|
||||
.add-btn { background: var(--accent); color: #3f3200; }
|
||||
.add-btn:hover { background: #d9b308; }
|
||||
.btn-bewerk { background: var(--accent); color: #3f3200; }
|
||||
.btn-bewerk:hover { background: #d9b308; }
|
||||
|
||||
/* ---------- 7. Tabellen ---------- */
|
||||
.table-wrap {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
margin-top: 12px;
|
||||
}
|
||||
table { width: 100%; border-collapse: collapse; background: #fff; text-align: left; }
|
||||
th, td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
|
||||
th {
|
||||
background: var(--surface-muted);
|
||||
font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
|
||||
color: var(--text-muted); white-space: nowrap;
|
||||
}
|
||||
tbody tr:last-child td { border-bottom: 0; }
|
||||
tbody tr:hover { background: #f8fbfe; }
|
||||
td.actions, th.actions { text-align: right; white-space: nowrap; }
|
||||
td.actions form { display: inline; margin: 0; }
|
||||
td.actions > * + * { margin-left: 6px; }
|
||||
td.center, th.center { text-align: center; }
|
||||
.empty-row td { text-align: center; color: var(--text-muted); padding: 32px; }
|
||||
|
||||
/* Kolommen tonen/verbergen */
|
||||
.column-toggles {
|
||||
display: flex; flex-wrap: wrap; gap: 8px;
|
||||
margin: 4px 0 8px;
|
||||
}
|
||||
.column-toggles label {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 5px 12px; font-size: 13px; font-weight: 500;
|
||||
background: var(--surface-muted); border: 1px solid var(--border);
|
||||
border-radius: 999px; cursor: pointer; user-select: none;
|
||||
}
|
||||
.column-toggles input { width: 15px; height: 15px; }
|
||||
|
||||
/* ---------- 8. Badges ---------- */
|
||||
.badge {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
padding: 3px 10px; border-radius: 999px;
|
||||
font-size: 12.5px; font-weight: 600; white-space: nowrap;
|
||||
background: #e2e8f0; color: #334155;
|
||||
}
|
||||
.badge-success { background: var(--success-bg); color: var(--success-text); }
|
||||
.badge-warning { background: var(--warning-bg); color: var(--warning-text); }
|
||||
.badge-danger { background: var(--danger-bg); color: var(--danger-text); }
|
||||
.badge-info { background: var(--info-bg); color: var(--info-text); }
|
||||
|
||||
/* ---------- 9. Flash-berichten ---------- */
|
||||
.flash-container { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
|
||||
.flash-message {
|
||||
display: flex; align-items: flex-start; gap: 10px;
|
||||
padding: 12px 16px;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid transparent;
|
||||
font-weight: 500;
|
||||
background: var(--info-bg); color: var(--info-text); border-color: #bfdbfe;
|
||||
animation: flashIn .3s ease;
|
||||
}
|
||||
.flash-message.success { background: var(--success-bg); color: var(--success-text); border-color: #bbf7d0; }
|
||||
.flash-message.error, .flash-message.danger { background: var(--danger-bg); color: var(--danger-text); border-color: #fecaca; }
|
||||
.flash-message.warning { background: var(--warning-bg); color: var(--warning-text); border-color: #fde68a; }
|
||||
.flash-message .flash-close {
|
||||
margin-left: auto; padding: 0 4px; background: none; color: inherit;
|
||||
font-size: 18px; line-height: 1; opacity: .6;
|
||||
}
|
||||
.flash-message .flash-close:hover { opacity: 1; background: none; }
|
||||
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
|
||||
|
||||
/* Inline meldingen (bv. in een modal of loginformulier) */
|
||||
.alert { padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; text-align: left;
|
||||
background: var(--info-bg); color: var(--info-text); }
|
||||
.alert-success { background: var(--success-bg); color: var(--success-text); }
|
||||
.alert-danger, .alert-error { background: var(--danger-bg); color: var(--danger-text); }
|
||||
.alert-warning { background: var(--warning-bg); color: var(--warning-text); }
|
||||
|
||||
/* ---------- 10. Tabs ---------- */
|
||||
.tabs {
|
||||
display: flex; gap: 4px; flex-wrap: wrap;
|
||||
border-bottom: 1px solid var(--border);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.tab-link {
|
||||
background: transparent; color: var(--text-muted);
|
||||
border: 0; border-bottom: 3px solid transparent; border-radius: 0;
|
||||
padding: 12px 18px; font-weight: 600;
|
||||
}
|
||||
.tab-link:hover { background: transparent; color: var(--text); }
|
||||
.tab-link.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
|
||||
.tab-content {
|
||||
display: none;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border); border-top: 0;
|
||||
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 24px;
|
||||
}
|
||||
.tab-content.active { display: block; }
|
||||
/* Losstaande tabs (tabs staan in de page-head i.p.v. vast aan de kaart) */
|
||||
.tab-content.card { border-top: 1px solid var(--border); border-radius: var(--radius-lg); }
|
||||
.tab-content + .tab-content { margin-top: 0; }
|
||||
.page-head .tabs { border-bottom: 0; }
|
||||
|
||||
/* ---------- 11. Modals ---------- */
|
||||
/* .modal wordt via JS op display:block gezet, .modal-overlay op display:flex */
|
||||
.modal, .modal-overlay {
|
||||
display: none;
|
||||
position: fixed; inset: 0;
|
||||
z-index: 2000;
|
||||
overflow-y: auto;
|
||||
padding: 6vh 16px;
|
||||
background: rgba(15, 23, 42, .5);
|
||||
}
|
||||
.modal-overlay { align-items: flex-start; justify-content: center; }
|
||||
.modal-content {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
background: var(--surface);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 26px;
|
||||
text-align: left;
|
||||
animation: modalIn .18s ease;
|
||||
}
|
||||
.modal-content.wide { max-width: 680px; }
|
||||
.modal-content h2, .modal-content h3 { margin: 0 0 18px; padding-right: 30px; color: var(--primary-color); }
|
||||
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
|
||||
.close, .close-btn {
|
||||
position: absolute; top: 14px; right: 16px;
|
||||
width: 32px; height: 32px; display: grid; place-items: center;
|
||||
font-size: 24px; line-height: 1; color: var(--text-muted);
|
||||
border-radius: 50%; cursor: pointer;
|
||||
}
|
||||
.close:hover, .close-btn:hover { background: var(--surface-muted); color: var(--text); }
|
||||
@keyframes modalIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
||||
|
||||
/* Grote statusknoppen in modals */
|
||||
.status-button { display: flex; width: 100%; padding: 14px; margin: 10px 0 0; font-size: 16px; border-radius: var(--radius); }
|
||||
.status-success { background: var(--success); }
|
||||
.status-success:hover { background: #15803d; }
|
||||
.status-info { background: var(--info); }
|
||||
.status-info:hover { background: #1d4ed8; }
|
||||
.status-warning { background: #f59e0b; color: #fff; }
|
||||
.status-warning:hover { background: #d97706; }
|
||||
.status-danger { background: var(--danger); }
|
||||
.status-danger:hover { background: #b91c1c; }
|
||||
|
||||
/* ---------- 12. Schakelaar (toggle) ---------- */
|
||||
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
|
||||
.switch input { opacity: 0; width: 0; height: 0; }
|
||||
.slider { position: absolute; inset: 0; cursor: pointer; background: var(--border-strong); border-radius: 26px; transition: .25s; }
|
||||
.slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
|
||||
.switch input:checked + .slider { background: var(--success); }
|
||||
.switch input:checked + .slider::before { transform: translateX(20px); }
|
||||
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
|
||||
.switch-row:last-of-type { border-bottom: 0; }
|
||||
|
||||
/* ---------- 13. Laadscherm ---------- */
|
||||
#loader-overlay {
|
||||
display: none;
|
||||
position: fixed; inset: 0;
|
||||
z-index: 9999;
|
||||
flex-direction: column; justify-content: center; align-items: center; gap: 16px;
|
||||
background: rgba(255, 255, 255, .85);
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
.spinner {
|
||||
width: 52px; height: 52px;
|
||||
border: 5px solid var(--primary-light);
|
||||
border-top-color: var(--primary-color);
|
||||
border-radius: 50%;
|
||||
animation: spin .9s linear infinite;
|
||||
}
|
||||
.loader-text { font-weight: 600; color: var(--primary-color); font-size: 17px; text-align: center; }
|
||||
.loader-sub { color: var(--text-muted); font-size: 14px; margin-top: -8px; }
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
/* ---------- 14. Footer ---------- */
|
||||
.app-footer {
|
||||
padding: 16px 24px;
|
||||
font-size: 12.5px;
|
||||
color: var(--text-muted);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* ---------- 15. Dashboard ---------- */
|
||||
.dash-greeting { margin-bottom: 24px; }
|
||||
.dash-greeting h2 { margin: 0 0 2px; font-size: 1.5rem; }
|
||||
.dash-section-title {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
margin: 32px 0 14px; font-size: 13px; font-weight: 700;
|
||||
letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
|
||||
}
|
||||
.dash-section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
|
||||
.dash-section-title.admin { color: var(--danger); }
|
||||
.dash-section-title.admin::after { background: #fecaca; }
|
||||
|
||||
.tile-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
.tile {
|
||||
display: flex; flex-direction: column;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-top: 4px solid var(--primary-color);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
.tile-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 10px; }
|
||||
.tile-icon {
|
||||
width: 42px; height: 42px; flex-shrink: 0;
|
||||
display: grid; place-items: center; font-size: 22px;
|
||||
background: var(--primary-light); border-radius: 10px;
|
||||
}
|
||||
.tile-head h3 { margin: 0; font-size: 1.05rem; color: var(--primary-color); }
|
||||
.tile-links { list-style: none; margin: 0; padding: 4px 8px 10px; }
|
||||
.tile-links a {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
padding: 9px 10px; border-radius: var(--radius-sm);
|
||||
color: var(--text); text-decoration: none; font-weight: 500;
|
||||
transition: background-color .12s, color .12s;
|
||||
}
|
||||
.tile-links a::after { content: "›"; margin-left: auto; color: var(--border-strong); font-size: 18px; transition: transform .12s; }
|
||||
.tile-links a:hover { background: var(--primary-light); color: var(--primary-color); }
|
||||
.tile-links a:hover::after { color: var(--primary-color); transform: translateX(2px); }
|
||||
|
||||
.tile.tile-bug { border-top-color: var(--bug); }
|
||||
.tile.tile-bug .tile-icon { background: var(--success-bg); }
|
||||
.tile.tile-bug h3 { color: var(--success-text); }
|
||||
.tile.tile-bug .tile-links a:hover { background: var(--success-bg); color: var(--success-text); }
|
||||
.tile.tile-tools { border-top-color: #0d9488; }
|
||||
.tile.tile-tools .tile-icon { background: #ccfbf1; }
|
||||
.tile.tile-tools h3 { color: #0f766e; }
|
||||
.tile.tile-tools .tile-links a:hover { background: #ccfbf1; color: #0f766e; }
|
||||
.tile.tile-scholengroep { border-top-color: #7c3aed; }
|
||||
.tile.tile-scholengroep .tile-icon { background: #ede9fe; }
|
||||
.tile.tile-scholengroep h3 { color: #5b21b6; }
|
||||
.tile.tile-scholengroep .tile-links a:hover { background: #ede9fe; color: #5b21b6; }
|
||||
.tile.tile-handleiding { border-top-color: var(--info); }
|
||||
.tile.tile-handleiding .tile-icon { background: var(--info-bg); }
|
||||
.tile.tile-handleiding h3 { color: var(--info-text); }
|
||||
.tile.tile-handleiding .tile-links a:hover { background: var(--info-bg); color: var(--info-text); }
|
||||
|
||||
.tile.tile-admin { border-top-color: var(--danger); }
|
||||
.tile.tile-admin .tile-icon { background: var(--danger-bg); }
|
||||
.tile.tile-admin h3 { color: var(--danger-text); }
|
||||
.tile.tile-admin .tile-links a:hover { background: var(--danger-bg); color: var(--danger-text); }
|
||||
|
||||
/* ---------- 16. Loginpagina ---------- */
|
||||
body.auth-page { background: linear-gradient(160deg, #eaf2f9 0%, var(--background-color) 55%); }
|
||||
.auth-wrap {
|
||||
flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
|
||||
padding: 32px 16px;
|
||||
}
|
||||
.auth-logo { width: 100%; max-width: 380px; margin-bottom: 28px; }
|
||||
.auth-card { width: 100%; max-width: 380px; }
|
||||
.auth-card h2 { text-align: center; margin-bottom: 20px; }
|
||||
.separator { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--text-muted); font-size: 13px; }
|
||||
.separator::before, .separator::after { content: ""; flex: 1; border-bottom: 1px solid var(--border); }
|
||||
.google-btn {
|
||||
display: flex; align-items: center; justify-content: center; gap: 10px;
|
||||
padding: 10px; border: 1px solid #dadce0; border-radius: var(--radius-sm);
|
||||
background: #fff; color: #3c4043; font-weight: 600; text-decoration: none;
|
||||
transition: background-color .15s, box-shadow .15s;
|
||||
}
|
||||
.google-btn:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(60,64,67,.3); }
|
||||
.google-btn img { width: 18px; height: 18px; }
|
||||
|
||||
/* ---------- 17. Responsief ---------- */
|
||||
@media (max-width: 900px) {
|
||||
.brand-school, .header-user { display: none; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.app-header {
|
||||
height: auto;
|
||||
grid-template-columns: 1fr auto;
|
||||
grid-template-areas: "left right" "title title";
|
||||
padding: 10px 16px;
|
||||
row-gap: 8px;
|
||||
}
|
||||
.header-left { grid-area: left; }
|
||||
.header-right { grid-area: right; }
|
||||
.page-title { grid-area: title; font-size: 18px; text-align: left; }
|
||||
.brand-name { display: none; }
|
||||
.app-main { padding: 20px 16px 32px; }
|
||||
.card, .tab-content { padding: 18px; }
|
||||
.modal-content { padding: 20px; }
|
||||
}
|
||||
|
||||
/* ---------- 18. Print ---------- */
|
||||
@media print {
|
||||
.app-header, .app-footer, .page-head .actions, .search-bar, .column-toggles { display: none !important; }
|
||||
body { background: #fff; }
|
||||
.card { box-shadow: none; border: 0; padding: 0; }
|
||||
}
|
||||
|
||||
/* Keuze aantal rijen per pagina (perPaginaKiezer) */
|
||||
.per-pagina { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-muted); margin: 0; font-weight: 400; white-space: nowrap; }
|
||||
.per-pagina select { width: auto; padding: 4px 8px; font-size: .85rem; }
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 396 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 146 KiB |
Reference in new issue
Block a user