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