Wijzigen voor document Huisstijl

Laatst gewijzigd door Jeeves de Butler op 07-10-2026 01:56

Van versie 1.1
gewijzigd door Jeeves de Butler
op 05-10-2026 01:21
Opmerking bij wijziging: Er is geen opmerking bij deze versie
Naar versie 23.1
gewijzigd door Jeeves de Butler
op 05-10-2026 07:40
Opmerking bij wijziging: Er is geen opmerking bij deze versie

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,4 +1,4 @@
1 -Huisstijl van de Wardenburg Kennisbank. Het object //StyleSheetExtension// op deze pagina wordt op elke pagina geladen.
1 +Huisstijl van de Wardenburg Kennisbank. Het object //StyleSheetExtension// op deze pagina (de opmaak) en het object //JavaScriptExtension// (kaartenraster voor tegeltabellen, alleen presentatie) worden op elke pagina geladen.
2 2  
3 3  Kleuren en lettertypen staan in het kleurthema [[Wardenburg>>doc:FlamingoThemes.Wardenburg]]. Zie het [[register van eigen aanpassingen>>doc:Wardenburg.Code.WebHome]].
4 4  
XWiki.JavaScriptExtension[0]
cache
... ... @@ -1,0 +1,1 @@
1 +long
code
... ... @@ -1,0 +1,195 @@
1 +/* Wardenburg Kennisbank; presentatie van tegeltabellen (class "vgmtabel").
2 + Een tegeltabel is een rij met titels (kopcellen) met daaronder een rij met afbeeldingen die naar een pagina linken.
3 + Dit script toont dezelfde titels, afbeeldingen en links als een rustig kaartenraster. De pagina zelf verandert niet:
4 + de tabel blijft in de pagina staan en wordt alleen verborgen. Werkt alleen in de leesweergave. */
5 +(function () {
6 + 'use strict';
7 +
8 + function cellen(rij) {
9 + return rij ? Array.prototype.slice.call(rij.cells) : [];
10 + }
11 +
12 + function isKopRij(rij) {
13 + var c = cellen(rij);
14 + return c.length > 0 && c.every(function (cel) { return cel.tagName === 'TH'; });
15 + }
16 +
17 + function kaartenUitTabel(tabel) {
18 + var rijen = Array.prototype.slice.call(tabel.rows);
19 + var kaarten = [];
20 + for (var i = 0; i < rijen.length; i++) {
21 + var kop = rijen[i];
22 + if (!isKopRij(kop)) {
23 + continue;
24 + }
25 + var beeldRij = rijen[i + 1] && !isKopRij(rijen[i + 1]) ? rijen[i + 1] : null;
26 + var beeldCellen = cellen(beeldRij);
27 + cellen(kop).forEach(function (th, j) {
28 + var td = beeldCellen[j] || null;
29 + var titel = (th.textContent || '').replace(/\s+/g, ' ').trim();
30 + var img = (td && td.querySelector('img')) || th.querySelector('img');
31 + var link = (td && td.querySelector('a[href]')) || th.querySelector('a[href]');
32 + if (!titel && !img) {
33 + return;
34 + }
35 + kaarten.push({ titel: titel || (img && img.getAttribute('alt')) || '', img: img, link: link });
36 + });
37 + if (beeldRij) {
38 + i++;
39 + }
40 + }
41 + return kaarten;
42 + }
43 +
44 + // Adres van de oorspronkelijke afbeelding: zonder de width- en height-parameters waarmee XWiki verkleint.
45 + function origineel(src) {
46 + try {
47 + var url = new URL(src, window.location.href);
48 + url.searchParams.delete('width');
49 + url.searchParams.delete('height');
50 + return url.toString();
51 + } catch (e) {
52 + return src;
53 + }
54 + }
55 +
56 + function zetIcoon(beeld) {
57 + beeld.classList.add('wb-kaart-geenbeeld');
58 + var icoon = document.createElement('span');
59 + icoon.className = 'fa fa-book wb-kaart-icoon';
60 + icoon.setAttribute('aria-hidden', 'true');
61 + beeld.appendChild(icoon);
62 + }
63 +
64 + function maakKaart(k) {
65 + var kaart = document.createElement(k.link ? 'a' : 'div');
66 + kaart.className = 'wb-kaart';
67 + if (k.link) {
68 + kaart.setAttribute('href', k.link.getAttribute('href'));
69 + if (k.link.getAttribute('target')) {
70 + kaart.setAttribute('target', k.link.getAttribute('target'));
71 + kaart.setAttribute('rel', 'noopener');
72 + }
73 + }
74 + var beeld = document.createElement('span');
75 + beeld.className = 'wb-kaart-beeld';
76 + if (k.img) {
77 + var img = document.createElement('img');
78 + // Het origineel laden in plaats van de door XWiki verkleinde versie (?width=…&height=…), zodat grote kaarten scherp zijn.
79 + img.src = origineel(k.img.currentSrc || k.img.src);
80 + img.alt = '';
81 + img.loading = 'lazy';
82 + img.decoding = 'async';
83 + var geenBeeld = function () {
84 + img.remove();
85 + zetIcoon(beeld);
86 + };
87 + img.addEventListener('error', geenBeeld);
88 + // Sommige externe sites geven bij een verdwenen afbeelding een leeg plaatje in plaats van een fout.
89 + img.addEventListener('load', function () {
90 + if (!img.naturalWidth || img.naturalWidth < 4) {
91 + geenBeeld();
92 + }
93 + });
94 + beeld.appendChild(img);
95 + } else {
96 + zetIcoon(beeld);
97 + }
98 + var titel = document.createElement('span');
99 + titel.className = 'wb-kaart-titel';
100 + titel.textContent = k.titel;
101 + kaart.appendChild(beeld);
102 + kaart.appendChild(titel);
103 + return kaart;
104 + }
105 +
106 + function verwerk(tabel) {
107 + if (tabel.classList.contains('wb-vervangen')) {
108 + return;
109 + }
110 + var kaarten = kaartenUitTabel(tabel);
111 + if (!kaarten.length) {
112 + return;
113 + }
114 + var raster = document.createElement('div');
115 + raster.className = 'wb-kaarten';
116 + kaarten.forEach(function (k) { raster.appendChild(maakKaart(k)); });
117 + tabel.parentNode.insertBefore(raster, tabel.nextSibling);
118 + tabel.classList.add('wb-vervangen');
119 + }
120 +
121 + function start() {
122 + var actie = (window.XWiki && window.XWiki.contextaction) || 'view';
123 + if (actie !== 'view') {
124 + return;
125 + }
126 + var tabellen = document.querySelectorAll('#xwikicontent table.vgmtabel');
127 + Array.prototype.forEach.call(tabellen, function (tabel) {
128 + try { verwerk(tabel); } catch (e) { /* bij een fout blijft de tabel gewoon zichtbaar */ }
129 + });
130 + Array.prototype.forEach.call(document.querySelectorAll('#xwikicontent ul.wikitoc'), eigenNummering);
131 + Array.prototype.forEach.call(document.querySelectorAll('#xwikicontent .wbrb img'), scherpInfovak);
132 + }
133 +
134 + // Infovak: het origineel tonen in plaats van de kleine XWiki-verkleining, zodat de afbeelding op een breed scherm scherp blijft.
135 + // Bij een fout terug naar de verkleining. Het oude adres blijft bewaard voor herstel().
136 + function scherpInfovak(img) {
137 + var src = img.getAttribute('src') || '';
138 + if (img.hasAttribute('data-wb-src') || !/[?&](width|height)=/.test(src)) {
139 + return;
140 + }
141 + var groot = origineel(src);
142 + if (groot === src) {
143 + return;
144 + }
145 + img.setAttribute('data-wb-src', src);
146 + img.addEventListener('error', function terug() {
147 + img.removeEventListener('error', terug);
148 + img.setAttribute('src', src);
149 + });
150 + img.removeAttribute('srcset');
151 + img.setAttribute('src', groot);
152 + }
153 +
154 + // Inhoudsopgave: staan de nummers al in de koppen ("2.1 Mogelijkheden"), dan geen tweede nummering ervoor.
155 + // Beslist per inhoudsopgave, zodat die in zijn geheel genummerd of ongenummerd is.
156 + function eigenNummering(toc) {
157 + var links = toc.querySelectorAll('a');
158 + if (!links.length) {
159 + return;
160 + }
161 + var genummerd = 0;
162 + Array.prototype.forEach.call(links, function (a) {
163 + if (/^\s*\d+(\.\d+)*\.?\s/.test(a.textContent || '')) {
164 + genummerd++;
165 + }
166 + });
167 + if (genummerd / links.length >= 0.6) {
168 + toc.classList.add('wb-toc-eigen-nummers');
169 + }
170 + }
171 +
172 + // Bij wijzigen op de pagina zelf: eerst de oorspronkelijke tabel terug, zodat de editor nooit de kaarten ziet.
173 + function herstel() {
174 + Array.prototype.forEach.call(document.querySelectorAll('#xwikicontent .wb-kaarten'), function (r) { r.remove(); });
175 + Array.prototype.forEach.call(document.querySelectorAll('#xwikicontent table.wb-vervangen'), function (t) { t.classList.remove('wb-vervangen'); });
176 + Array.prototype.forEach.call(document.querySelectorAll('#xwikicontent .wbrb img[data-wb-src]'), function (img) {
177 + img.setAttribute('src', img.getAttribute('data-wb-src'));
178 + img.removeAttribute('data-wb-src');
179 + });
180 + }
181 +
182 + if (typeof window.require === 'function') {
183 + window.require(['jquery'], function ($) {
184 + $(document).on('xwiki:actions:edit', herstel);
185 + $(document).on('xwiki:actions:view', function () { setTimeout(start, 0); });
186 + });
187 + }
188 +
189 + if (document.readyState === 'loading') {
190 + document.addEventListener('DOMContentLoaded', start);
191 + } else {
192 + start();
193 + }
194 +})();
195 +
name
... ... @@ -1,0 +1,1 @@
1 +Wardenburg tegels als kaarten
parse
... ... @@ -1,0 +1,1 @@
1 +Nee
use
... ... @@ -1,0 +1,1 @@
1 +always
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,986 @@
1 +/* Wardenburg Kennisbank; huisstijl bovenop het kleurthema Wardenburg.
2 + Uitgangspunt: wit, ruimte en zo min mogelijk lijnen (in de geest van Google).
3 + Kleuren en lettertypen staan in het kleurthema; hier staan de eigen classes
4 + van de templates (wb...), de panelen en de leesbaarheid van de pagina-inhoud. */
5 +
6 +/* ---------- Opbouw ---------- */
7 +
8 +/* Pagina zonder rechterkolom op volle breedte */
9 +#body.hideleft.panel-right-width-Medium .main {
10 + width: 100%;
11 +}
12 +#headerglobal,
13 +.navbar-default {
14 + border-bottom: 1px solid #e8eaed;
15 + box-shadow: none;
16 +}
17 +#footerglobal {
18 + border-top: 1px solid #e8eaed;
19 + color: #5f6368;
20 + font-size: 13px;
21 +}
22 +
23 +/* ---------- Paginakop ---------- */
24 +
25 +.breadcrumb {
26 + padding: 4px 0;
27 + margin-bottom: 6px;
28 + font-size: 14px;
29 +}
30 +#document-title h1 {
31 + font-size: 32px;
32 + font-weight: 500;
33 + margin-bottom: 4px;
34 +}
35 +.xdocLastModification {
36 + font-size: 13px;
37 + color: #5f6368;
38 +}
39 +#mainContentArea > .document-header + hr {
40 + border: 0;
41 + margin: 12px 0 8px;
42 +}
43 +#contentmenu .btn {
44 + font-size: 14px;
45 + padding: 5px 12px;
46 +}
47 +
48 +/* ---------- Leesbare inhoud ---------- */
49 +
50 +#xwikicontent {
51 + line-height: 1.65;
52 +}
53 +#xwikicontent p,
54 +#xwikicontent ul,
55 +#xwikicontent ol {
56 + margin-bottom: 0.85em;
57 +}
58 +#xwikicontent li {
59 + margin-bottom: 0.25em;
60 +}
61 +#xwikicontent h1,
62 +#xwikicontent h2,
63 +#xwikicontent h3,
64 +#xwikicontent h4 {
65 + font-weight: 500;
66 + border: 0;
67 + padding: 0;
68 +}
69 +#xwikicontent h1 { font-size: 26px; margin: 1.5em 0 0.45em; }
70 +#xwikicontent h2 { font-size: 22px; margin: 1.4em 0 0.4em; }
71 +#xwikicontent h3 { font-size: 19px; margin: 1.2em 0 0.35em; }
72 +#xwikicontent h4 { font-size: 17px; margin: 1em 0 0.3em; }
73 +#xwikicontent > h1:first-child,
74 +#xwikicontent > h2:first-child {
75 + margin-top: 0;
76 +}
77 +#xwikicontent a {
78 + text-decoration-color: rgba(25, 103, 210, .35);
79 + text-underline-offset: 3px;
80 +}
81 +#xwikicontent a:hover {
82 + text-decoration-color: currentColor;
83 +}
84 +#xwikicontent img {
85 + max-width: 100%;
86 + height: auto;
87 +}
88 +#xwikicontent .box {
89 + border-radius: 8px;
90 +}
91 +
92 +/* ---------- Tabellen ---------- */
93 +
94 +.main td,
95 +.main th {
96 + border: 1px solid #e8eaed;
97 + padding: 7px 12px;
98 + vertical-align: top;
99 + text-align: left;
100 +}
101 +.main th {
102 + background-color: #f8f9fa;
103 + font-weight: 500;
104 +}
105 +#xwikicontent table {
106 + border-collapse: collapse;
107 + margin-bottom: 1em;
108 +}
109 +
110 +/* ---------- Infovak rechts (wbrechts) ---------- */
111 +
112 +/* Groeit mee met de inhoudskolom: op een laptop als voorheen, op brede schermen ruimer voor de afbeelding */
113 +.floatinginfobox.wbrechts {
114 + width: 30%;
115 + min-width: 260px;
116 + max-width: 460px;
117 + margin: 0 0 16px 28px;
118 + padding: 14px;
119 + border: 1px solid #e8eaed;
120 + border-radius: 12px;
121 + background-color: #ffffff;
122 + box-sizing: border-box;
123 + overflow: hidden;
124 +}
125 +.floatinginfobox.wbrechts > *:last-child {
126 + margin-bottom: 0;
127 +}
128 +.wbrb {
129 + text-align: center;
130 + margin-bottom: 12px;
131 +}
132 +/* Nooit groter dan het origineel, zodat logo's klein en scherp blijven */
133 +.wbrb img {
134 + max-width: 100%;
135 + max-height: 280px;
136 + width: auto;
137 + height: auto;
138 + border-radius: 10px;
139 +}
140 +.wbrb .wikiexternallink,
141 +.vgmtabel .wikiexternallink {
142 + background: none;
143 + padding-right: 0;
144 +}
145 +.wbinfotab table {
146 + width: 100%;
147 + table-layout: fixed;
148 + margin: 0 0 12px;
149 + font-size: 14px;
150 +}
151 +.wbinfotab th,
152 +.wbinfotab td {
153 + border: 0;
154 + border-bottom: 1px solid #f1f3f4;
155 + padding: 6px 4px;
156 + background: transparent;
157 + overflow-wrap: anywhere;
158 +}
159 +.wbinfotab tr:last-child th,
160 +.wbinfotab tr:last-child td {
161 + border-bottom: 0;
162 +}
163 +.wbinfotab th {
164 + width: 42%;
165 + color: #5f6368;
166 + font-weight: 500;
167 +}
168 +.wbinfotab th.wbinfotabheaderlinks,
169 +.wbinfotab th.wbinfotabheaderrechts {
170 + color: #202124;
171 + font-size: 15px;
172 + font-weight: 500;
173 + border-bottom: 1px solid #e8eaed;
174 +}
175 +.wbinfotabheaderlinks {
176 + width: 42%;
177 +}
178 +.wbinfotab .box {
179 + margin: 0;
180 + padding: 2px 6px;
181 + font-size: 12px;
182 + white-space: normal;
183 +}
184 +.wbinfotab .code {
185 + white-space: normal;
186 + word-break: break-all;
187 +}
188 +
189 +/* Inhoudsopgave in het infovak */
190 +.wbtoc {
191 + padding-top: 4px;
192 + font-size: 14px;
193 +}
194 +.wbtoc p {
195 + margin: 0 0 6px;
196 +}
197 +.wbtocheader {
198 + font-size: 15px;
199 + font-weight: 500;
200 +}
201 +.wbtoc ul {
202 + list-style: none;
203 + padding-left: 0;
204 + margin: 0;
205 +}
206 +.wbtoc ul ul {
207 + padding-left: 12px;
208 +}
209 +.wbtoc li {
210 + margin: 3px 0;
211 +}
212 +.wbtoc .nodirectchild {
213 + list-style: none;
214 +}
215 +#body #xwikicontent .wbtoc a {
216 + text-decoration: none;
217 +}
218 +#body #xwikicontent .wbtoc a:hover {
219 + text-decoration: underline;
220 +}
221 +
222 +/* Inhoudsopgave als genummerd overzicht (1, 1.1, 1.2): hoofdstukken donker, onderdelen blauw en ingesprongen */
223 +#xwikicontent ul.wikitoc,
224 +#xwikicontent ul.wikitoc ul {
225 + list-style: none;
226 + margin: 0;
227 + padding-left: 0;
228 + counter-reset: wbtoc;
229 +}
230 +#xwikicontent ul.wikitoc ul {
231 + padding-left: 1.55em;
232 +}
233 +#xwikicontent ul.wikitoc li.nodirectchild > ul {
234 + padding-left: 0;
235 + counter-reset: none;
236 +}
237 +#xwikicontent ul.wikitoc li {
238 + margin: 3px 0;
239 +}
240 +#xwikicontent ul.wikitoc li:not(.nodirectchild) {
241 + counter-increment: wbtoc;
242 +}
243 +#xwikicontent ul.wikitoc li > .wikilink {
244 + display: flex;
245 + gap: 0.45em;
246 +}
247 +#xwikicontent ul.wikitoc li > .wikilink::before {
248 + content: counters(wbtoc, ".");
249 + flex: none;
250 + min-width: 1.1em;
251 + color: #80868b;
252 + font-variant-numeric: tabular-nums;
253 +}
254 +/* Koppen die zelf al genummerd zijn ("2.1 Mogelijkheden"): het script zet deze class, dan geen tweede nummer */
255 +#xwikicontent ul.wikitoc.wb-toc-eigen-nummers li > .wikilink::before,
256 +#xwikicontent ul.wikitoc.wb-toc-eigen-nummers ul li > .wikilink::before {
257 + content: none;
258 +}
259 +#xwikicontent ul.wikitoc > li:not(.nodirectchild),
260 +#xwikicontent ul.wikitoc > li.nodirectchild > ul > li {
261 + margin-top: 10px;
262 +}
263 +#xwikicontent ul.wikitoc > li:not(.nodirectchild):first-child,
264 +#xwikicontent ul.wikitoc > li.nodirectchild > ul > li:first-child {
265 + margin-top: 0;
266 +}
267 +#body #xwikicontent ul.wikitoc > li:not(.nodirectchild) > .wikilink a,
268 +#body #xwikicontent ul.wikitoc > li.nodirectchild > ul > li > .wikilink a {
269 + color: #202124;
270 + font-weight: 500;
271 +}
272 +
273 +/* ---------- Overige eigen classes ---------- */
274 +
275 +.wblinks {
276 + margin-top: 0;
277 +}
278 +.changelog {
279 + width: 60%;
280 +}
281 +.nieuws {
282 + clear: both;
283 +}
284 +.wbtree {
285 + width: 20%;
286 +}
287 +.gepubliceerddoor,
288 +.gepubliceerddoornaam,
289 +.gepubliceerddoor_afb {
290 + vertical-align: middle;
291 +}
292 +.WBFT {
293 + background-color: white;
294 +}
295 +.vgmtabel {
296 + width: 100%;
297 + border-collapse: collapse;
298 + text-align: center;
299 + border: none;
300 +}
301 +.vgmtabel th,
302 +.vgmtabel td {
303 + width: 33.3%;
304 + border: none;
305 + text-align: center;
306 + background: transparent;
307 +}
308 +#vgmtabel img {
309 + height: 100px;
310 + width: auto;
311 +}
312 +.wbtopmenu {
313 + font-weight: bold;
314 +}
315 +
316 +/* ---------- Panelen links ---------- */
317 +
318 +.panels .panel {
319 + border: 0;
320 + box-shadow: none;
321 + background: transparent;
322 + margin-bottom: 20px;
323 +}
324 +.panels .xwikipaneltitle {
325 + font-size: 13px;
326 + font-weight: 500;
327 + color: #5f6368;
328 + border-bottom: 0;
329 + padding: 0 12px 6px;
330 + margin: 0;
331 +}
332 +.panels .xwikipanelcontents {
333 + padding: 0;
334 + font-size: 15px;
335 + line-height: 1.4;
336 +}
337 +.panels .xwikipanelcontents p {
338 + margin: 0;
339 +}
340 +.panels .xwikipanelcontents a {
341 + display: block;
342 + padding: 7px 12px;
343 + border-radius: 0 20px 20px 0;
344 + color: #202124;
345 + text-decoration: none;
346 +}
347 +.panels .xwikipanelcontents a:hover,
348 +.panels .xwikipanelcontents a:focus {
349 + background-color: #f1f3f4;
350 + color: #202124;
351 +}
352 +.panels .wikiexternallink,
353 +.panels .wikilink,
354 +.wb-links .wikiexternallink,
355 +.wb-links .wikilink {
356 + display: block;
357 + background: none;
358 + padding-right: 0;
359 +}
360 +.wb-onderdelen,
361 +.panels .wb-links {
362 + list-style: none;
363 + padding: 0;
364 + margin: 0 0 8px;
365 +}
366 +.wb-onderdelen li,
367 +.panels .wb-links li {
368 + margin: 0;
369 +}
370 +.wb-onderdelen a .fa {
371 + width: 20px;
372 + margin-right: 12px;
373 + text-align: center;
374 + color: #5f6368;
375 +}
376 +.wb-onderdelen a.actief,
377 +.wb-onderdelen a.actief:hover {
378 + background-color: #ffefd5;
379 + font-weight: 500;
380 +}
381 +.wb-onderdelen a.actief .fa {
382 + color: #b86e00;
383 +}
384 +.wb-links-kop {
385 + margin: 12px 12px 2px;
386 + font-size: 13px;
387 + font-weight: 500;
388 + color: #5f6368;
389 +}
390 +
391 +/* Knop om de kolom in en uit te klappen: klein lipje, de kolom schuift erlangs in */
392 +#leftPanels {
393 + padding-left: 30px;
394 +}
395 +/* Vaste ondergrens, zodat de menu-items ook op een laptop op ƩƩn regel passen */
396 +#body.panel-left-width-Medium {
397 + --panel-column-left-width: clamp(240px, 17vw, 290px);
398 +}
399 +.panels .xwikipanelcontents a {
400 + white-space: nowrap;
401 + overflow: hidden;
402 + text-overflow: ellipsis;
403 +}
404 +body#body #leftPanelsToggle {
405 + width: 22px;
406 + max-width: 22px;
407 + height: 34px;
408 + padding: 0;
409 + border: 1px solid #e8eaed;
410 + border-left: 0;
411 + border-radius: 0 10px 10px 0;
412 + background: #ffffff;
413 + color: #5f6368;
414 + box-shadow: 0 1px 3px rgba(60, 64, 67, .15);
415 +}
416 +body#body #leftPanelsToggle:hover,
417 +body#body #leftPanelsToggle:focus {
418 + background: #f1f3f4;
419 + color: #202124;
420 +}
421 +
422 +/* Zwevende opslaanbalk bij wijzigen en voorbeeld: matglas, zodat de pagina eronder rustig vervaagt */
423 +.sticky-buttons {
424 + background-color: rgba(248, 249, 250, .78);
425 + -webkit-backdrop-filter: blur(12px) saturate(140%);
426 + backdrop-filter: blur(12px) saturate(140%);
427 + border: 1px solid rgba(218, 220, 224, .9);
428 + border-radius: 16px;
429 + box-shadow: 0 -2px 18px rgba(60, 64, 67, .14);
430 + padding: 10px 12px;
431 +}
432 +.sticky-buttons .buttons,
433 +.sticky-buttons fieldset,
434 +.sticky-buttons .meta-versionSummary,
435 +.sticky-buttons .meta-minorEdit {
436 + background: transparent;
437 +}
438 +@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
439 + .sticky-buttons {
440 + background-color: rgba(248, 249, 250, .97);
441 + }
442 +}
443 +
444 +/* ---------- Tabbladen onder de pagina ---------- */
445 +
446 +#docExtraTabs .xwikitabbar {
447 + border-bottom: 1px solid #e8eaed;
448 +}
449 +#docExtraTabs .xwikitabbar li a {
450 + border: 0;
451 + border-bottom: 3px solid transparent;
452 + border-radius: 0;
453 + background: transparent;
454 + color: #5f6368;
455 +}
456 +#docExtraTabs .xwikitabbar li.active a,
457 +#docExtraTabs .xwikitabbar li a:hover {
458 + border-bottom-color: #ffb447;
459 + color: #202124;
460 + background: transparent;
461 +}
462 +
463 +/* ---------- Zoekresultaten, zoals bij Google ---------- */
464 +
465 +.search-result {
466 + display: flex;
467 + flex-direction: column;
468 + margin-bottom: 26px;
469 +}
470 +.search-result-location {
471 + order: -1;
472 + font-size: 13px;
473 + color: #5f6368;
474 +}
475 +.search-result-location .breadcrumb {
476 + display: inline;
477 + padding: 0;
478 + margin: 0;
479 + background: none;
480 + font-size: 13px;
481 +}
482 +#xwikicontent h2.search-result-title {
483 + order: 0;
484 + font-size: 20px;
485 + font-weight: 400;
486 + margin: 2px 0 4px;
487 +}
488 +#body #xwikicontent h2.search-result-title a {
489 + text-decoration: none;
490 +}
491 +#body #xwikicontent h2.search-result-title a:hover {
492 + text-decoration: underline;
493 +}
494 +.search-result-title .fa {
495 + display: none;
496 +}
497 +.search-result-author {
498 + order: 2;
499 + font-size: 13px;
500 + color: #5f6368;
501 +}
502 +.search-result-author .user-avatar {
503 + display: none;
504 +}
505 +.search-result-highlights {
506 + order: 1;
507 + margin: 0 0 4px;
508 +}
509 +#xwikicontent .search-result-highlights dt,
510 +#xwikicontent .search-result-highlights dd:not(:first-of-type),
511 +#xwikicontent .search-result-highlights blockquote:not(:first-of-type),
512 +#xwikicontent .search-result-highlights .separator,
513 +#xwikicontent .search-result .btn:not(.sr-only) {
514 + display: none;
515 +}
516 +#xwikicontent .search-result-highlights dd {
517 + margin: 0;
518 + padding: 0;
519 +}
520 +#body #xwikicontent .search-result-location a {
521 + color: #5f6368;
522 + text-decoration: none;
523 +}
524 +
525 +/* Zoekbalk op de zoekpagina */
526 +#search-page-bar-input {
527 + height: 44px;
528 + padding-left: 20px;
529 + border-radius: 22px 0 0 22px;
530 + font-size: 16px;
531 +}
532 +.search-form .input-group-btn .btn {
533 + height: 44px;
534 + border-radius: 0 22px 22px 0;
535 + padding-right: 20px;
536 +}
537 +.search-options,
538 +.search-form .sort-options,
539 +.search-form select {
540 + font-size: 14px;
541 + color: #5f6368;
542 +}
543 +#xwikicontent .search-result-highlight {
544 + border: 0;
545 + margin: 0;
546 + padding: 0;
547 + font-size: 15px;
548 + color: #4d5156;
549 + display: -webkit-box;
550 + -webkit-line-clamp: 3;
551 + -webkit-box-orient: vertical;
552 + overflow: hidden;
553 +}
554 +.search-text-highlight {
555 + background: none;
556 + font-weight: 600;
557 + color: #202124;
558 +}
559 +
560 +/* Zoekpagina: geen paginatitel, zoekbalk bovenaan, zoals bij Google */
561 +html[data-xwiki-document="Main.Search"] #document-title,
562 +html[data-xwiki-document="Main.Search"] .xdocLastModification,
563 +html[data-xwiki-document="Main.Search"] #mainContentArea > .document-header + hr,
564 +html[data-xwiki-document="Main.Search"] #xwikicontent > .wikimodel-emptyline:first-child {
565 + display: none;
566 +}
567 +html[data-xwiki-document="Main.Search"] #mainContentArea {
568 + position: relative;
569 +}
570 +html[data-xwiki-document="Main.Search"] #mainContentArea .document-header {
571 + position: absolute;
572 + top: 0;
573 + right: 15px;
574 + left: 15px;
575 + z-index: 2;
576 + min-height: 0;
577 + margin: 0;
578 + pointer-events: none;
579 +}
580 +html[data-xwiki-document="Main.Search"] #mainContentArea .document-menu {
581 + pointer-events: auto;
582 + opacity: .55;
583 +}
584 +html[data-xwiki-document="Main.Search"] #mainContentArea .document-menu:hover,
585 +html[data-xwiki-document="Main.Search"] #mainContentArea .document-menu:focus-within {
586 + opacity: 1;
587 +}
588 +html[data-xwiki-document="Main.Search"] .search-form {
589 + margin-top: 8px;
590 +}
591 +.search-facets-header strong {
592 + font-size: 15px;
593 + font-weight: 500;
594 +}
595 +.search-facets-header .xHint {
596 + font-size: 13px;
597 +}
598 +
599 +/* Beheeracties van applicaties (App Within Minutes): een rustige knoppenrij boven de inhoud in plaats van een extra kolom */
600 +#xwikicontent #actionBox.floatinginfobox {
601 + float: none;
602 + width: auto;
603 + max-width: none;
604 + margin: 0 0 18px;
605 + padding: 0;
606 + border: 0;
607 + background: transparent;
608 + box-shadow: none;
609 +}
610 +#xwikicontent #actionBox h1 {
611 + display: none;
612 +}
613 +#xwikicontent #actionBox ul {
614 + display: flex;
615 + flex-wrap: wrap;
616 + align-items: center;
617 + gap: 6px;
618 + margin: 0;
619 + padding: 0;
620 + list-style: none;
621 +}
622 +#xwikicontent #actionBox ul::before {
623 + content: "Beheer";
624 + margin-right: 4px;
625 + font-size: 13px;
626 + font-weight: 500;
627 + color: #5f6368;
628 +}
629 +#xwikicontent #actionBox li {
630 + margin: 0;
631 +}
632 +#body #xwikicontent #actionBox a {
633 + display: inline-flex;
634 + align-items: center;
635 + gap: 6px;
636 + padding: 4px 12px;
637 + border: 1px solid #dadce0;
638 + border-radius: 16px;
639 + background: #ffffff;
640 + color: #3c4043;
641 + font-size: 13px;
642 + text-decoration: none;
643 + text-transform: none;
644 +}
645 +#body #xwikicontent #actionBox a:hover,
646 +#body #xwikicontent #actionBox a:focus {
647 + background: #f8f9fa;
648 + color: #202124;
649 +}
650 +#body #xwikicontent #actionBox a.deleteData,
651 +#body #xwikicontent #actionBox a.delete {
652 + color: #b3261e;
653 +}
654 +#xwikicontent #actionBox .fa {
655 + font-size: 12px;
656 +}
657 +
658 +/* Smalle inhoudskolom (laptop met zijkolom, tablet): compact infovak met de afbeelding naast de eigenschappen */
659 +@media (min-width: 768px) and (max-width: 1199px) {
660 + #contentmenu > li:not(#tmEdit) .btn-label {
661 + display: none;
662 + }
663 + .floatinginfobox.wbrechts {
664 + float: none;
665 + width: 100%;
666 + max-width: none;
667 + min-width: 0;
668 + margin: 0 0 20px;
669 + display: grid;
670 + grid-template-columns: 220px minmax(0, 1fr);
671 + column-gap: 18px;
672 + align-items: start;
673 + }
674 + .floatinginfobox.wbrechts > .wbrb {
675 + grid-row: 1 / span 4;
676 + margin: 0;
677 + }
678 + .floatinginfobox.wbrechts > .wbrb img {
679 + max-height: 170px;
680 + }
681 + .floatinginfobox.wbrechts > *:not(.wbrb) {
682 + grid-column: 2;
683 + }
684 + .floatinginfobox.wbrechts .wbinfotab table {
685 + margin-bottom: 8px;
686 + }
687 + .floatinginfobox.wbrechts .wbtoc ul.wikitoc {
688 + columns: 2;
689 + column-gap: 24px;
690 + }
691 + .floatinginfobox.wbrechts .wbtoc ul.wikitoc > li {
692 + break-inside: avoid;
693 + }
694 +}
695 +
696 +/* ---------- Paginakop: titel en knoppen naast elkaar ---------- */
697 +
698 +@media (min-width: 992px) {
699 + #mainContentArea > .document-header {
700 + display: flex;
701 + align-items: flex-start;
702 + gap: 16px;
703 + }
704 + #mainContentArea > .document-header::before,
705 + #mainContentArea > .document-header::after {
706 + content: none;
707 + }
708 + #mainContentArea > .document-header > .document-info {
709 + flex: 1 1 auto;
710 + width: auto;
711 + min-width: 0;
712 + }
713 + #mainContentArea > .document-header > .document-menu {
714 + flex: 0 0 auto;
715 + width: auto;
716 + }
717 + #mainContentArea > .document-header #contentmenu {
718 + float: none;
719 + display: flex;
720 + flex-wrap: nowrap;
721 + }
722 +}
723 +
724 +/* ---------- Tegels (vgmtabel) als kaarten ---------- */
725 +
726 +/* Het script huisstijl.js zet een tegeltabel om in een kaartenraster en verbergt de tabel. */
727 +#xwikicontent table.vgmtabel.wb-vervangen {
728 + display: none !important;
729 +}
730 +.wb-kaarten {
731 + display: grid;
732 + grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
733 + gap: 18px;
734 + margin: 14px 0 30px;
735 + clear: none;
736 +}
737 +#body #xwikicontent a.wb-kaart,
738 +.wb-kaart {
739 + display: flex;
740 + flex-direction: column;
741 + overflow: hidden;
742 + border: 1px solid #e8eaed;
743 + border-radius: 12px;
744 + background: #ffffff;
745 + color: #202124;
746 + text-decoration: none;
747 + transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
748 +}
749 +#body #xwikicontent a.wb-kaart:hover,
750 +#body #xwikicontent a.wb-kaart:focus {
751 + border-color: #ffb447;
752 + box-shadow: 0 4px 14px rgba(31, 35, 40, .10);
753 + transform: translateY(-2px);
754 + color: #202124;
755 +}
756 +.wb-kaart-beeld {
757 + display: block;
758 + position: relative;
759 + aspect-ratio: 16 / 10;
760 + overflow: hidden;
761 + background: #f1f3f4;
762 +}
763 +.wb-kaart-beeld img {
764 + display: block;
765 + width: 100% !important;
766 + height: 100% !important;
767 + max-width: none;
768 + object-fit: cover;
769 + transition: transform .25s ease;
770 +}
771 +.wb-kaart:hover .wb-kaart-beeld img {
772 + transform: scale(1.03);
773 +}
774 +/* Geen of verdwenen afbeelding: het script zet er een boekpictogram in (geen backslash-codes in deze CSS:
775 + de CSS-verkleiner van XWiki breekt die, en dan valt de rest van het bestand weg). */
776 +.wb-kaart-icoon {
777 + position: absolute;
778 + top: 50%;
779 + left: 50%;
780 + transform: translate(-50%, -50%);
781 + font-size: 34px;
782 + color: #b86e00;
783 + opacity: .5;
784 +}
785 +.wb-kaart-titel {
786 + padding: 10px 14px 12px;
787 + font-size: 15px;
788 + font-weight: 500;
789 + line-height: 1.35;
790 +}
791 +/* Grote schermen: grote kaarten, foto's in hun oorspronkelijke 3:2-verhouding */
792 +@media (min-width: 1200px) {
793 + .wb-kaarten {
794 + grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
795 + gap: 26px;
796 + }
797 + .wb-kaart-beeld {
798 + aspect-ratio: 3 / 2;
799 + }
800 + .wb-kaart-titel {
801 + padding: 14px 18px 16px;
802 + font-size: 17px;
803 + }
804 +}
805 +@media (min-width: 1800px) {
806 + .wb-kaarten {
807 + grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
808 + }
809 +}
810 +
811 +/* Zonder script: de tabel past in elk geval binnen het scherm */
812 +#xwikicontent table.vgmtabel {
813 + width: 100% !important;
814 + max-width: 100%;
815 + table-layout: fixed;
816 +}
817 +#xwikicontent table.vgmtabel th,
818 +#xwikicontent table.vgmtabel td {
819 + width: auto !important;
820 + position: static !important;
821 + top: auto !important;
822 + padding: 6px;
823 +}
824 +#xwikicontent table.vgmtabel img {
825 + width: 100% !important;
826 + height: auto !important;
827 + aspect-ratio: 16 / 10;
828 + object-fit: cover;
829 + border-radius: 10px;
830 +}
831 +
832 +/* ---------- Handboeken: geplakte Word-opmaak volgt de huisstijl ---------- */
833 +
834 +html[data-xwiki-space^="Main.Handboeken"] #xwikicontent [style*="font-family"] {
835 + font-family: inherit !important;
836 +}
837 +html[data-xwiki-space^="Main.Handboeken"] #xwikicontent [style*="font-size"] {
838 + font-size: inherit !important;
839 +}
840 +html[data-xwiki-space^="Main.Handboeken"] #xwikicontent [style*="line-height"] {
841 + line-height: inherit !important;
842 +}
843 +html[data-xwiki-space^="Main.Handboeken"] #xwikicontent table:not(.vgmtabel) {
844 + font-size: 14px;
845 +}
846 +html[data-xwiki-space^="Main.Handboeken"] #xwikicontent table [style*="text-indent"] {
847 + text-indent: 0 !important;
848 +}
849 +
850 +/* ---------- Overzicht van onderliggende pagina's (startpagina van een onderdeel) ---------- */
851 +
852 +.wb-overzicht {
853 + list-style: none;
854 + display: grid;
855 + grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
856 + gap: 10px;
857 + margin: 14px 0 28px;
858 + padding: 0;
859 +}
860 +.wb-overzicht li {
861 + margin: 0;
862 +}
863 +#body #xwikicontent .wb-overzicht a {
864 + display: flex;
865 + align-items: center;
866 + gap: 12px;
867 + height: 100%;
868 + padding: 12px 14px;
869 + border: 1px solid #e8eaed;
870 + border-radius: 10px;
871 + background: #ffffff;
872 + color: #202124;
873 + text-decoration: none;
874 + transition: border-color .15s ease, box-shadow .15s ease;
875 +}
876 +#body #xwikicontent .wb-overzicht a:hover,
877 +#body #xwikicontent .wb-overzicht a:focus {
878 + border-color: #ffb447;
879 + box-shadow: 0 2px 10px rgba(31, 35, 40, .08);
880 +}
881 +.wb-overzicht-icoon {
882 + flex: none;
883 + width: 36px;
884 + height: 36px;
885 + display: flex;
886 + align-items: center;
887 + justify-content: center;
888 + border-radius: 50%;
889 + background: #ffefd5;
890 + color: #b86e00;
891 + font-size: 16px;
892 + text-align: center;
893 +}
894 +.wb-overzicht strong {
895 + display: block;
896 + font-weight: 500;
897 + line-height: 1.3;
898 +}
899 +.wb-overzicht small {
900 + display: block;
901 + margin-top: 2px;
902 + font-size: 13px;
903 + color: #5f6368;
904 +}
905 +.wb-overzicht-leeg {
906 + color: #5f6368;
907 +}
908 +
909 +/* ---------- Telefoon ---------- */
910 +
911 +@media (max-width: 767px) {
912 + .floatinginfobox.wbrechts {
913 + float: none;
914 + width: 100%;
915 + max-width: none;
916 + min-width: 0;
917 + margin: 0 0 16px;
918 + }
919 + .wbrb img {
920 + max-height: 200px;
921 + }
922 + #xwikicontent table:not(.wbinfotab table) {
923 + display: block;
924 + max-width: 100%;
925 + overflow-x: auto;
926 + }
927 + #document-title h1 {
928 + font-size: 26px;
929 + }
930 + .changelog {
931 + width: 100%;
932 + }
933 + #contentmenu .btn-label {
934 + display: none;
935 + }
936 + .wb-kaarten {
937 + grid-template-columns: repeat(2, minmax(0, 1fr));
938 + gap: 10px;
939 + }
940 + .wb-kaart-titel {
941 + padding: 8px 10px 10px;
942 + font-size: 13.5px;
943 + }
944 + #xwikicontent #actionBox ul {
945 + flex-wrap: nowrap;
946 + overflow-x: auto;
947 + padding-bottom: 4px;
948 + scrollbar-width: none;
949 + }
950 + #xwikicontent #actionBox li {
951 + flex: none;
952 + }
953 +}
954 +
955 +/* Overzichtstabellen (livetable): woorden heel laten, lange adressen afkappen met ...; bij aanwijzen het volledige adres */
956 +#xwikicontent table.xwiki-livetable {
957 + font-size: 14px;
958 +}
959 +#xwikicontent .xwiki-livetable-display-header th,
960 +#xwikicontent .xwiki-livetable-display-body td {
961 + padding: 6px 7px;
962 +}
963 +#xwikicontent table.xwiki-livetable .xwiki-livetable-display-body td {
964 + word-break: normal;
965 + overflow-wrap: break-word;
966 + hyphens: manual;
967 +}
968 +#xwikicontent table.xwiki-livetable .xwiki-livetable-display-body td.URL,
969 +#xwikicontent table.xwiki-livetable .xwiki-livetable-display-body td.DOWNLOADURL {
970 + max-width: 140px;
971 + white-space: nowrap;
972 + overflow: hidden;
973 + text-overflow: ellipsis;
974 +}
975 +#xwikicontent table.xwiki-livetable .xwiki-livetable-display-body td.URL:hover,
976 +#xwikicontent table.xwiki-livetable .xwiki-livetable-display-body td.DOWNLOADURL:hover {
977 + white-space: normal;
978 + overflow-wrap: anywhere;
979 +}
980 +/* Een brede overzichtstabel blijft binnen de pagina en schuift zo nodig opzij */
981 +#xwikicontent table.xwiki-livetable {
982 + display: block;
983 + max-width: 100%;
984 + overflow-x: auto;
985 +}
986 +
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Naam
... ... @@ -1,0 +1,1 @@
1 +Wardenburg huisstijl
Inhoud verwerken
... ... @@ -1,0 +1,1 @@
1 +Nee
Gebruik deze uitbreiding
... ... @@ -1,0 +1,1 @@
1 +always
XWiki.XWikiRights[0]
allow
... ... @@ -1,0 +1,1 @@
1 +Sta toe
levels
... ... @@ -1,0 +1,1 @@
1 +view
users
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
XWiki.XWikiRights[1]
allow
... ... @@ -1,0 +1,1 @@
1 +Sta toe
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
levels
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[2]
allow
... ... @@ -1,0 +1,1 @@
1 +Sta toe
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAdminGroup
levels
... ... @@ -1,0 +1,1 @@
1 +view,edit,comment,script