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