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
on 2026/03/19 15:57
Change comment:
There is no comment for this version
To version 40.1
edited by Humphrey AI
on 2026/03/19 20:25
on 2026/03/19 20:25
Change comment:
There is no comment for this version
Summary
-
Objects (2 modified, 1 added, 0 removed)
Details
- 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 load20 + 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,375 @@ 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 is always fixed at top */ 33 + .tl-hero-page #menuview { 34 + position: fixed !important; 35 + top: 0; 36 + left: 0; 37 + width: 100%; 38 + z-index: 1030; 39 + overflow: hidden; 40 + transition: background-color 0.3s ease, box-shadow 0.3s ease; 41 + } 42 + 43 + /* On the hero: match hero purple exactly (#2D2B55, not theme default #1e1b4b) */ 44 + .tl-hero-page:not(.tl-scrolled) #menuview, 45 + .tl-hero-page:not(.tl-scrolled) #menuview .navbar-default { 46 + background-color: #2D2B55 !important; 47 + background-image: none !important; 48 + border-color: transparent !important; 49 + box-shadow: none !important; 50 + } 51 + 52 + /* After scrolling past hero: same purple with shadow */ 53 + .tl-hero-page.tl-scrolled #menuview, 54 + .tl-hero-page.tl-scrolled #menuview .navbar-default { 55 + background-color: #2D2B55 !important; 56 + background-image: none !important; 57 + border-color: transparent !important; 58 + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important; 59 + } 60 + 61 + /* Search button: match hero purple instead of theme default #1e1b4b */ 62 +.tl-hero-page #menuview .btn[aria-controls="headerglobalsearchinput"], 63 +.tl-hero-page #menuview .navbar-default .btn[title="Search"] { 64 + background-color: var(--hero-purple) !important; 65 + border-color: rgba(255, 255, 255, 0.15) !important; 66 +} 67 + 68 +/* Hide non-nav chrome on the hero (breadcrumbs, footer, etc.) */ 69 + .tl-hero-page:not(.tl-scrolled) #headerglobal, 70 + .tl-hero-page:not(.tl-scrolled) #hierarchy_breadcrumb, 71 + .tl-hero-page:not(.tl-scrolled) .document-header, 72 + .tl-hero-page:not(.tl-scrolled) #xdocFooter, 73 + .tl-hero-page:not(.tl-scrolled) #xwikidata, 74 + .tl-hero-page:not(.tl-scrolled) #footerglobal, 75 + .tl-hero-page:not(.tl-scrolled) .skip-nav { 76 + display: none !important; 77 + } 78 + 79 + /* Prevent any horizontal overflow */ 80 + html, body.tl-hero-page, 81 + .tl-hero-page #xwikimaincontainer, 82 + .tl-hero-page #xwikimaincontainerinner { 83 + overflow-x: hidden !important; 84 + } 85 + 86 + /* Reset containers for full-bleed hero — only while hero is visible */ 87 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainer, 88 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainerinner, 89 + .tl-hero-page:not(.tl-scrolled) #contentcontainer, 90 + .tl-hero-page:not(.tl-scrolled) #contentcolumn, 91 + .tl-hero-page:not(.tl-scrolled) .main, 92 + .tl-hero-page:not(.tl-scrolled) #mainContentArea, 93 + .tl-hero-page:not(.tl-scrolled) #xwikicontent { 94 + margin: 0 !important; 95 + padding: 0 !important; 96 + width: 100% !important; 97 + max-width: 100% !important; 98 + } 99 + 100 + .tl-hero-page:not(.tl-scrolled) #mainContentArea > hr { 101 + display: none !important; 102 + } 103 + 104 + .tl-hero-page:not(.tl-scrolled) #xwikicontent > .row { 105 + margin: 0 !important; 106 + } 107 + 108 + body.tl-hero-page:not(.tl-scrolled) { 109 + padding-top: 0 !important; 110 + margin-top: 0 !important; 111 + } 112 + 113 + /* ========================================================================== 114 + Hero Section — ALWAYS full viewport width, even after scroll 115 + ========================================================================== */ 116 + .tl-hero { 117 + position: relative; 118 + min-height: 100vh; 119 + width: 100%; 120 + display: flex; 121 + flex-direction: column; 122 + overflow: hidden; 123 + } 124 + 125 + /* --- Top half: dark purple --- */ 126 + .tl-hero-top { 127 + flex: 1; 128 + background-color: var(--hero-purple); 129 + display: flex; 130 + flex-direction: column; 131 + justify-content: flex-end; 132 + align-items: center; 133 + position: relative !important; 134 + padding-bottom: 30px; 135 + overflow: visible; 136 + } 137 + 138 + /* Subtle radial glow behind title */ 139 + .tl-hero-top::before { 140 + content: ''; 141 + position: absolute; 142 + bottom: -60px; 143 + left: 50%; 144 + transform: translateX(-50%); 145 + width: 700px; 146 + height: 350px; 147 + background: radial-gradient(ellipse, rgba(79,70,229,0.2) 0%, transparent 70%); 148 + pointer-events: none; 149 + } 150 + 151 + /* Faint dot pattern for texture */ 152 + .tl-hero-top::after { 153 + content: ''; 154 + position: absolute; 155 + inset: 0; 156 + background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); 157 + background-size: 24px 24px; 158 + pointer-events: none; 159 + } 160 + 161 + /* --- Bottom half: white --- */ 162 + .tl-hero-bottom { 163 + flex: 1; 164 + background-color: #FFFFFF; 165 + display: flex; 166 + flex-direction: column; 167 + justify-content: flex-start; 168 + align-items: center; 169 + padding-top: 20px; 170 + } 171 + 172 + /* --- Logo bar (top-left) --- */ 173 + .tl-hero-logo-bar { 174 + position: absolute; 175 + top: 30px; 176 + left: 40px; 177 + z-index: 2; 178 + } 179 + 180 + .tl-hero-logo-img { 181 + max-width: 240px; 182 + height: auto; 183 + filter: brightness(1.8) saturate(1.2); 184 + } 185 + 186 + /* --- Centered title --- */ 187 + .tl-hero-center { 188 + text-align: center; 189 + padding: 0 20px; 190 + position: relative; 191 + z-index: 1; 192 + } 193 + 194 + .tl-hero-title { 195 + color: #FFFFFF !important; 196 + font-family: "Calibri Light", "Calibri", "Segoe UI Light", "Segoe UI", sans-serif !important; 197 + font-weight: 300 !important; 198 + font-size: 56px !important; 199 + letter-spacing: 1px; 200 + margin: 0 !important; 201 + text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); 202 + } 203 + 204 + /* --- Tagline --- */ 205 + .tl-hero-tagline { 206 + color: #7B78FF; 207 + font-family: "Calibri", "Segoe UI", sans-serif; 208 + font-size: 22px; 209 + font-weight: 300; 210 + letter-spacing: 8px; 211 + text-transform: lowercase; 212 + margin: 0; 213 + } 214 + 215 + /* --- Scroll indicator --- */ 216 + .tl-hero-scroll { 217 + position: absolute; 218 + bottom: 30px; 219 + left: 50%; 220 + transform: translateX(-50%); 221 + color: rgba(123, 120, 255, 0.6); 222 + font-size: 24px; 223 + text-decoration: none; 224 + z-index: 2; 225 + } 226 + 227 + .tl-hero-scroll:hover { 228 + color: #7B78FF; 229 + text-decoration: none; 230 + } 231 + 232 + /* ========================================================================== 233 + Content area below hero — restore normal layout 234 + ========================================================================== */ 235 + #tl-content { 236 + scroll-margin-top: 70px; 237 + } 238 + 239 + #tl-content ~ h2, 240 + #tl-content ~ h3, 241 + #tl-content ~ p, 242 + #tl-content ~ ul, 243 + #tl-content ~ ol, 244 + #tl-content ~ table, 245 + #tl-content ~ div { 246 + max-width: 1000px; 247 + margin-left: auto; 248 + margin-right: auto; 249 + padding-left: 20px; 250 + padding-right: 20px; 251 + } 252 + 253 + /* ========================================================================== 254 + Animations (from concept-b) 255 + ========================================================================== */ 256 + @keyframes tl-fadeIn { 257 + from { opacity: 0; } 258 + to { opacity: 1; } 259 + } 260 + 261 + @keyframes tl-fadeUp { 262 + from { opacity: 0; transform: translateY(24px); } 263 + to { opacity: 1; transform: translateY(0); } 264 + } 265 + 266 + @keyframes tl-bounce { 267 + 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 268 + 40% { transform: translateX(-50%) translateY(-12px); } 269 + 60% { transform: translateX(-50%) translateY(-6px); } 270 + } 271 + 272 + /* Scroll-reveal for below-the-fold content */ 273 + .tl-reveal { 274 + opacity: 0; 275 + transform: translateY(28px); 276 + transition: opacity 0.7s ease-out, transform 0.7s ease-out; 277 + } 278 + 279 + .tl-reveal.tl-visible { 280 + opacity: 1; 281 + transform: translateY(0); 282 + } 283 + 284 + /* Hero elements fade in on load */ 285 + .tl-hero-title { 286 + opacity: 0; 287 + animation: tl-fadeIn 0.6s ease-out 0.1s forwards; 288 + } 289 + 290 + .tl-hero-tagline { 291 + opacity: 0; 292 + animation: tl-fadeIn 0.5s ease-out 0.3s forwards; 293 + } 294 + 295 + .tl-partner-btn-wrap { 296 + opacity: 0; 297 + animation: tl-fadeUp 0.5s ease-out 0.5s forwards; 298 + } 299 + 300 + .tl-hero-scroll { 301 + opacity: 0; 302 + animation: tl-fadeIn 0.4s ease-out 0.7s forwards, tl-bounce 2s ease 1.1s infinite; 303 + } 304 + 305 + /* ========================================================================== 306 + Responsive 307 + ========================================================================== */ 308 + @media (max-width: 992px) { 309 + .tl-hero-title { font-size: 40px !important; } 310 + .tl-hero-tagline { font-size: 18px; letter-spacing: 6px; } 311 + .tl-hero-logo-img { max-width: 180px; } 312 + .tl-hero-logo-bar { top: 20px; left: 20px; } 313 + .tl-hero-top { padding-bottom: 24px; } 314 + .tl-hero-bottom { padding-top: 16px; } 315 + .tl-hero-top::before { width: 500px; height: 250px; } 316 + } 317 + 318 + @media (max-width: 576px) { 319 + .tl-hero-title { font-size: 28px !important; } 320 + .tl-hero-tagline { font-size: 14px; letter-spacing: 4px; } 321 + .tl-hero-logo-img { max-width: 140px; } 322 + .tl-hero-logo-bar { top: 15px; left: 15px; } 323 + .tl-hero-scroll { bottom: 15px; } 324 + .tl-hero-top { padding-bottom: 20px; } 325 + .tl-hero-bottom { padding-top: 12px; } 326 + .tl-hero-top::before { width: 300px; height: 150px; } 327 + } 328 + 329 + /* --- Print: skip hero --- */ 330 + @media print { 331 + .tl-hero { display: none; } 332 + } 333 + 334 + /* ========================================================================== 335 + Partner Access Button 336 + ========================================================================== */ 337 + .tl-partner-btn-wrap { 338 + margin-top: 15vh; 339 + text-align: center; 340 + } 341 + 342 + .tl-partner-btn { 343 + display: inline-block; 344 + padding: 12px 40px; 345 + background-color: var(--hero-purple); 346 + color: #FFFFFF !important; 347 + font-family: "Calibri", "Segoe UI", sans-serif; 348 + font-size: 15px; 349 + font-weight: 400; 350 + letter-spacing: 3px; 351 + text-transform: uppercase; 352 + text-decoration: none !important; 353 + border: 2px solid var(--hero-purple); 354 + border-radius: 0; 355 + transition: all 0.3s ease; 356 + cursor: pointer; 357 + } 358 + 359 + .tl-partner-btn:hover { 360 + background-color: transparent; 361 + color: var(--hero-purple) !important; 362 + border-color: var(--hero-purple); 363 + text-decoration: none !important; 364 + } 365 + 366 + @media (max-width: 576px) { 367 + .tl-partner-btn { 368 + padding: 10px 28px; 369 + font-size: 13px; 370 + letter-spacing: 2px; 371 + } 372 + .tl-partner-btn-wrap { 373 + margin-top: 50px; 374 + } 375 + }
- 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