Changes for page Tidy-Lab Cloud Platform

Last modified by Humphrey AI on 2026/03/22 10:27

From version 29.1
edited by Humphrey AI
on 2026/03/19 15:57
Change comment: There is no comment for this version
To version 42.1
edited by Humphrey AI
on 2026/03/22 10:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -33,3 +33,7 @@
33 33  (((
34 34  
35 35  )))
36 +
37 +{{html clean="false"}}
38 +<!-- mail test 2026-03-22 -->
39 +{{/html}}
XWiki.JavaScriptExtension[0]
code
... ... @@ -4,68 +4,20 @@
4 4   var hero = document.querySelector('.tl-hero');
5 5   if (!hero) return;
6 6  
7 - // Collect all chrome elements to fade
8 - var chromeSelectors = [
9 - '#menuview', '#headerglobal', '#hierarchy_breadcrumb',
10 - '.document-header', '#xdocFooter', '#xwikidata',
11 - '#footerglobal', '.skip-nav'
12 - ];
13 - var chromeElements = [];
14 - chromeSelectors.forEach(function(sel) {
15 - var el = document.querySelector(sel);
16 - if (el) chromeElements.push(el);
17 - });
18 -
19 - var wasFading = false;
20 -
7 + // Simple scroll check: toggle tl-scrolled when past the hero
21 21   function onScroll() {
22 22   var heroHeight = hero.offsetHeight;
23 23   var scrollY = window.pageYOffset || document.documentElement.scrollTop;
24 24  
25 - // Start fading at 30% scroll, fully visible at 70%
26 - var fadeStart = heroHeight * 0.3;
27 - var fadeEnd = heroHeight * 0.7;
28 - var progress = 0;
29 -
30 - if (scrollY <= fadeStart) {
31 - progress = 0;
32 - } else if (scrollY >= fadeEnd) {
33 - progress = 1;
34 - } else {
35 - progress = (scrollY - fadeStart) / (fadeEnd - fadeStart);
36 - }
37 -
38 - if (progress > 0 && progress < 1) {
39 - // Fading: switch from display:none to opacity-based
40 - if (!wasFading) {
41 - document.body.classList.add('tl-fading');
42 - document.body.classList.remove('tl-scrolled');
43 - wasFading = true;
44 - }
45 - chromeElements.forEach(function(el) {
46 - el.style.opacity = progress;
47 - });
48 - } else if (progress >= 1) {
49 - // Fully scrolled: restore normal layout
50 - document.body.classList.remove('tl-fading');
12 + if (scrollY >= heroHeight * 0.7) {
51 51   document.body.classList.add('tl-scrolled');
52 - chromeElements.forEach(function(el) {
53 - el.style.opacity = '';
54 - });
55 - wasFading = false;
56 56   } else {
57 - // At top: hide everything
58 - document.body.classList.remove('tl-fading');
59 59   document.body.classList.remove('tl-scrolled');
60 - chromeElements.forEach(function(el) {
61 - el.style.opacity = '';
62 - });
63 - wasFading = false;
64 64   }
65 65   }
66 66  
67 67   window.addEventListener('scroll', onScroll, { passive: true });
68 - onScroll(); // run once on load
20 + onScroll();
69 69  
70 70   // Smooth scroll for the arrow
71 71   var scrollLink = document.querySelector('.tl-hero-scroll');
... ... @@ -78,4 +78,17 @@
78 78   }
79 79   });
80 80   }
33 +
34 + // Scroll-reveal observer for below-the-fold content
35 + var revealObserver = new IntersectionObserver(function(entries) {
36 + entries.forEach(function(entry) {
37 + if (entry.isIntersecting) {
38 + entry.target.classList.add('tl-visible');
39 + }
40 + });
41 + }, { threshold: 0.08, rootMargin: '0px 0px -40px 0px' });
42 +
43 + document.querySelectorAll('.tl-reveal').forEach(function(el) {
44 + revealObserver.observe(el);
45 + });
81 81   })();
XWiki.StyleSheetExtension[0]
code
... ... @@ -1,2 +1,380 @@
1 -${NEW_CSS}
1 + /* ==========================================================================
2 + Tidy-Lab Homepage — Full-Page Hero
3 + Targets exact XWiki 18.1 Flamingo DOM element IDs.
4 + ========================================================================== */
2 2  
6 + /* --- Design Tokens (from concept-b) --- */
7 + :root {
8 + --hero-purple: #2D2B55;
9 + --indigo: #4F46E5;
10 + --indigo-light: #EEF2FF;
11 + --indigo-dark: #1e1b4b;
12 + --purple: #7C3AED;
13 + --green: #10B981;
14 + --green-light: #ECFDF5;
15 + --text-dark: #111827;
16 + --text-body: #4B5563;
17 + --text-muted: #9CA3AF;
18 + --border: #E5E7EB;
19 + --bg-light: #f8f9fc;
20 + --bg-section: #f0f1f8;
21 + }
22 +
23 + /* ==========================================================================
24 + NAV — always visible, fixed, blends with hero
25 + ========================================================================== */
26 +
27 + /* Hide hamburger drawer button — empty menu, not needed */
28 + .tl-hero-page #tmDrawerActivator {
29 + display: none !important;
30 + }
31 +
32 + /* Nav bar logo margin */
33 + .tl-hero-page #menuview .navbar-brand img {
34 + margin: 2px !important;
35 + }
36 +
37 + /* Nav is always fixed at top */
38 + .tl-hero-page #menuview {
39 + position: fixed !important;
40 + top: 0;
41 + left: 0;
42 + width: 100%;
43 + z-index: 1030;
44 + overflow: hidden;
45 + transition: background-color 0.3s ease, box-shadow 0.3s ease;
46 + }
47 +
48 + /* On the hero: match hero purple exactly (#2D2B55, not theme default #1e1b4b) */
49 + .tl-hero-page:not(.tl-scrolled) #menuview,
50 + .tl-hero-page:not(.tl-scrolled) #menuview .navbar-default {
51 + background-color: #2D2B55 !important;
52 + background-image: none !important;
53 + border-color: transparent !important;
54 + box-shadow: none !important;
55 + }
56 +
57 + /* After scrolling past hero: same purple with shadow */
58 + .tl-hero-page.tl-scrolled #menuview,
59 + .tl-hero-page.tl-scrolled #menuview .navbar-default {
60 + background-color: #2D2B55 !important;
61 + background-image: none !important;
62 + border-color: transparent !important;
63 + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
64 + }
65 +
66 + /* Search button: match hero purple instead of theme default #1e1b4b */
67 +.tl-hero-page #menuview .btn[aria-controls="headerglobalsearchinput"],
68 +.tl-hero-page #menuview .navbar-default .btn[title="Search"] {
69 + background-color: var(--hero-purple) !important;
70 + border-color: rgba(255, 255, 255, 0.15) !important;
71 +}
72 +
73 +/* Hide non-nav chrome on the hero (breadcrumbs, footer, etc.) */
74 + .tl-hero-page:not(.tl-scrolled) #headerglobal,
75 + .tl-hero-page:not(.tl-scrolled) #hierarchy_breadcrumb,
76 + .tl-hero-page:not(.tl-scrolled) .document-header,
77 + .tl-hero-page:not(.tl-scrolled) #xdocFooter,
78 + .tl-hero-page:not(.tl-scrolled) #xwikidata,
79 + .tl-hero-page:not(.tl-scrolled) #footerglobal,
80 + .tl-hero-page:not(.tl-scrolled) .skip-nav {
81 + display: none !important;
82 + }
83 +
84 + /* Prevent any horizontal overflow */
85 + html, body.tl-hero-page,
86 + .tl-hero-page #xwikimaincontainer,
87 + .tl-hero-page #xwikimaincontainerinner {
88 + overflow-x: hidden !important;
89 + }
90 +
91 + /* Reset containers for full-bleed hero — only while hero is visible */
92 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainer,
93 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainerinner,
94 + .tl-hero-page:not(.tl-scrolled) #contentcontainer,
95 + .tl-hero-page:not(.tl-scrolled) #contentcolumn,
96 + .tl-hero-page:not(.tl-scrolled) .main,
97 + .tl-hero-page:not(.tl-scrolled) #mainContentArea,
98 + .tl-hero-page:not(.tl-scrolled) #xwikicontent {
99 + margin: 0 !important;
100 + padding: 0 !important;
101 + width: 100% !important;
102 + max-width: 100% !important;
103 + }
104 +
105 + .tl-hero-page:not(.tl-scrolled) #mainContentArea > hr {
106 + display: none !important;
107 + }
108 +
109 + .tl-hero-page:not(.tl-scrolled) #xwikicontent > .row {
110 + margin: 0 !important;
111 + }
112 +
113 + body.tl-hero-page:not(.tl-scrolled) {
114 + padding-top: 0 !important;
115 + margin-top: 0 !important;
116 + }
117 +
118 + /* ==========================================================================
119 + Hero Section — ALWAYS full viewport width, even after scroll
120 + ========================================================================== */
121 + .tl-hero {
122 + position: relative;
123 + min-height: 100vh;
124 + width: 100%;
125 + display: flex;
126 + flex-direction: column;
127 + overflow: hidden;
128 + }
129 +
130 + /* --- Top half: dark purple --- */
131 + .tl-hero-top {
132 + flex: 1;
133 + background-color: var(--hero-purple);
134 + display: flex;
135 + flex-direction: column;
136 + justify-content: flex-end;
137 + align-items: center;
138 + position: relative !important;
139 + padding-bottom: 30px;
140 + overflow: visible;
141 + }
142 +
143 + /* Subtle radial glow behind title */
144 + .tl-hero-top::before {
145 + content: '';
146 + position: absolute;
147 + bottom: -60px;
148 + left: 50%;
149 + transform: translateX(-50%);
150 + width: 700px;
151 + height: 350px;
152 + background: radial-gradient(ellipse, rgba(79,70,229,0.2) 0%, transparent 70%);
153 + pointer-events: none;
154 + }
155 +
156 + /* Faint dot pattern for texture */
157 + .tl-hero-top::after {
158 + content: '';
159 + position: absolute;
160 + inset: 0;
161 + background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
162 + background-size: 24px 24px;
163 + pointer-events: none;
164 + }
165 +
166 + /* --- Bottom half: white --- */
167 + .tl-hero-bottom {
168 + flex: 1;
169 + background-color: #FFFFFF;
170 + display: flex;
171 + flex-direction: column;
172 + justify-content: flex-start;
173 + align-items: center;
174 + padding-top: 20px;
175 + }
176 +
177 + /* --- Logo bar (top-left) --- */
178 + .tl-hero-logo-bar {
179 + position: absolute;
180 + top: 30px;
181 + left: 40px;
182 + z-index: 2;
183 + }
184 +
185 + .tl-hero-logo-img {
186 + max-width: 240px;
187 + height: auto;
188 + filter: brightness(1.8) saturate(1.2);
189 + }
190 +
191 + /* --- Centered title --- */
192 + .tl-hero-center {
193 + text-align: center;
194 + padding: 0 20px;
195 + position: relative;
196 + z-index: 1;
197 + }
198 +
199 + .tl-hero-title {
200 + color: #FFFFFF !important;
201 + font-family: "Calibri Light", "Calibri", "Segoe UI Light", "Segoe UI", sans-serif !important;
202 + font-weight: 300 !important;
203 + font-size: 56px !important;
204 + letter-spacing: 1px;
205 + margin: 0 !important;
206 + text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
207 + }
208 +
209 + /* --- Tagline --- */
210 + .tl-hero-tagline {
211 + color: #7B78FF;
212 + font-family: "Calibri", "Segoe UI", sans-serif;
213 + font-size: 22px;
214 + font-weight: 300;
215 + letter-spacing: 8px;
216 + text-transform: lowercase;
217 + margin: 0;
218 + }
219 +
220 + /* --- Scroll indicator --- */
221 + .tl-hero-scroll {
222 + position: absolute;
223 + bottom: 30px;
224 + left: 50%;
225 + transform: translateX(-50%);
226 + color: rgba(123, 120, 255, 0.6);
227 + font-size: 24px;
228 + text-decoration: none;
229 + z-index: 2;
230 + }
231 +
232 + .tl-hero-scroll:hover {
233 + color: #7B78FF;
234 + text-decoration: none;
235 + }
236 +
237 + /* ==========================================================================
238 + Content area below hero — restore normal layout
239 + ========================================================================== */
240 + #tl-content {
241 + scroll-margin-top: 70px;
242 + }
243 +
244 + #tl-content ~ h2,
245 + #tl-content ~ h3,
246 + #tl-content ~ p,
247 + #tl-content ~ ul,
248 + #tl-content ~ ol,
249 + #tl-content ~ table,
250 + #tl-content ~ div {
251 + max-width: 1000px;
252 + margin-left: auto;
253 + margin-right: auto;
254 + padding-left: 20px;
255 + padding-right: 20px;
256 + }
257 +
258 + /* ==========================================================================
259 + Animations (from concept-b)
260 + ========================================================================== */
261 + @keyframes tl-fadeIn {
262 + from { opacity: 0; }
263 + to { opacity: 1; }
264 + }
265 +
266 + @keyframes tl-fadeUp {
267 + from { opacity: 0; transform: translateY(24px); }
268 + to { opacity: 1; transform: translateY(0); }
269 + }
270 +
271 + @keyframes tl-bounce {
272 + 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
273 + 40% { transform: translateX(-50%) translateY(-12px); }
274 + 60% { transform: translateX(-50%) translateY(-6px); }
275 + }
276 +
277 + /* Scroll-reveal for below-the-fold content */
278 + .tl-reveal {
279 + opacity: 0;
280 + transform: translateY(28px);
281 + transition: opacity 0.7s ease-out, transform 0.7s ease-out;
282 + }
283 +
284 + .tl-reveal.tl-visible {
285 + opacity: 1;
286 + transform: translateY(0);
287 + }
288 +
289 + /* Hero elements fade in on load */
290 + .tl-hero-title {
291 + opacity: 0;
292 + animation: tl-fadeIn 0.6s ease-out 0.1s forwards;
293 + }
294 +
295 + .tl-hero-tagline {
296 + opacity: 0;
297 + animation: tl-fadeIn 0.5s ease-out 0.3s forwards;
298 + }
299 +
300 + .tl-partner-btn-wrap {
301 + opacity: 0;
302 + animation: tl-fadeUp 0.5s ease-out 0.5s forwards;
303 + }
304 +
305 + .tl-hero-scroll {
306 + opacity: 0;
307 + animation: tl-fadeIn 0.4s ease-out 0.7s forwards, tl-bounce 2s ease 1.1s infinite;
308 + }
309 +
310 + /* ==========================================================================
311 + Responsive
312 + ========================================================================== */
313 + @media (max-width: 992px) {
314 + .tl-hero-title { font-size: 40px !important; }
315 + .tl-hero-tagline { font-size: 18px; letter-spacing: 6px; }
316 + .tl-hero-logo-img { max-width: 180px; }
317 + .tl-hero-logo-bar { top: 20px; left: 20px; }
318 + .tl-hero-top { padding-bottom: 24px; }
319 + .tl-hero-bottom { padding-top: 16px; }
320 + .tl-hero-top::before { width: 500px; height: 250px; }
321 + }
322 +
323 + @media (max-width: 576px) {
324 + .tl-hero-title { font-size: 28px !important; }
325 + .tl-hero-tagline { font-size: 14px; letter-spacing: 4px; }
326 + .tl-hero-logo-img { max-width: 140px; }
327 + .tl-hero-logo-bar { top: 15px; left: 15px; }
328 + .tl-hero-scroll { bottom: 15px; }
329 + .tl-hero-top { padding-bottom: 20px; }
330 + .tl-hero-bottom { padding-top: 12px; }
331 + .tl-hero-top::before { width: 300px; height: 150px; }
332 + }
333 +
334 + /* --- Print: skip hero --- */
335 + @media print {
336 + .tl-hero { display: none; }
337 + }
338 +
339 + /* ==========================================================================
340 + Partner Access Button
341 + ========================================================================== */
342 + .tl-partner-btn-wrap {
343 + margin-top: 15vh;
344 + text-align: center;
345 + }
346 +
347 + .tl-partner-btn {
348 + display: inline-block;
349 + padding: 12px 40px;
350 + background-color: var(--hero-purple);
351 + color: #FFFFFF !important;
352 + font-family: "Calibri", "Segoe UI", sans-serif;
353 + font-size: 15px;
354 + font-weight: 400;
355 + letter-spacing: 3px;
356 + text-transform: uppercase;
357 + text-decoration: none !important;
358 + border: 2px solid var(--hero-purple);
359 + border-radius: 0;
360 + transition: all 0.3s ease;
361 + cursor: pointer;
362 + }
363 +
364 + .tl-partner-btn:hover {
365 + background-color: transparent;
366 + color: var(--hero-purple) !important;
367 + border-color: var(--hero-purple);
368 + text-decoration: none !important;
369 + }
370 +
371 + @media (max-width: 576px) {
372 + .tl-partner-btn {
373 + padding: 10px 28px;
374 + font-size: 13px;
375 + letter-spacing: 2px;
376 + }
377 + .tl-partner-btn-wrap {
378 + margin-top: 50px;
379 + }
380 + }
XWiki.XWikiRights[1]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
levels
... ... @@ -1,0 +1,1 @@
1 +view