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 33.1
edited by Humphrey AI
on 2026/03/19 16:05
on 2026/03/19 16:05
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1,2 +1,279 @@ 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 + /* ========================================================================== 7 + Phase 1: HERO VISIBLE — hide chrome, full-bleed layout 8 + ========================================================================== */ 9 + 10 + /* Chrome elements: hidden initially with display:none (no space taken) */ 11 + .tl-hero-page:not(.tl-scrolled) #menuview, 12 + .tl-hero-page:not(.tl-scrolled) #headerglobal, 13 + .tl-hero-page:not(.tl-scrolled) #hierarchy_breadcrumb, 14 + .tl-hero-page:not(.tl-scrolled) .document-header, 15 + .tl-hero-page:not(.tl-scrolled) #xdocFooter, 16 + .tl-hero-page:not(.tl-scrolled) #xwikidata, 17 + .tl-hero-page:not(.tl-scrolled) #footerglobal, 18 + .tl-hero-page:not(.tl-scrolled) .skip-nav { 19 + display: none !important; 20 + } 21 + 22 + /* When fading in (JS adds tl-fading), switch to opacity-based visibility */ 23 + .tl-hero-page.tl-fading #menuview, 24 + .tl-hero-page.tl-fading #headerglobal, 25 + .tl-hero-page.tl-fading #hierarchy_breadcrumb, 26 + .tl-hero-page.tl-fading .document-header, 27 + .tl-hero-page.tl-fading #xdocFooter, 28 + .tl-hero-page.tl-fading #xwikidata, 29 + .tl-hero-page.tl-fading #footerglobal, 30 + .tl-hero-page.tl-fading .skip-nav { 31 + display: block !important; 32 + } 33 + 34 + .tl-hero-page.tl-fading .document-header { 35 + display: flex !important; 36 + } 37 + 38 + /* Sticky navbar once visible */ 39 + .tl-hero-page.tl-fading #menuview, 40 + .tl-hero-page.tl-scrolled #menuview { 41 + position: fixed !important; 42 + top: 0; 43 + left: 0; 44 + width: 100%; 45 + z-index: 1030; 46 + overflow: hidden; 47 + } 48 + 49 + /* Prevent any horizontal overflow */ 50 + html, body.tl-hero-page, 51 + .tl-hero-page #xwikimaincontainer, 52 + .tl-hero-page #xwikimaincontainerinner { 53 + overflow-x: hidden !important; 54 + } 55 + 56 + /* Reset containers for full-bleed hero — only while hero is visible */ 57 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainer, 58 + .tl-hero-page:not(.tl-scrolled) #xwikimaincontainerinner, 59 + .tl-hero-page:not(.tl-scrolled) #contentcontainer, 60 + .tl-hero-page:not(.tl-scrolled) #contentcolumn, 61 + .tl-hero-page:not(.tl-scrolled) .main, 62 + .tl-hero-page:not(.tl-scrolled) #mainContentArea, 63 + .tl-hero-page:not(.tl-scrolled) #xwikicontent { 64 + margin: 0 !important; 65 + padding: 0 !important; 66 + width: 100% !important; 67 + max-width: 100% !important; 68 + } 69 + 70 + .tl-hero-page:not(.tl-scrolled) #mainContentArea > hr { 71 + display: none !important; 72 + } 73 + 74 + .tl-hero-page:not(.tl-scrolled) #xwikicontent > .row { 75 + margin: 0 !important; 76 + } 77 + 78 + body.tl-hero-page:not(.tl-scrolled) { 79 + padding-top: 0 !important; 80 + margin-top: 0 !important; 81 + } 82 + 83 + /* ========================================================================== 84 + Hero Section — ALWAYS full viewport width, even after scroll 85 + ========================================================================== */ 86 + .tl-hero { 87 + position: relative; 88 + min-height: 100vh; 89 + width: 100%; 90 + display: flex; 91 + flex-direction: column; 92 + overflow: hidden; 93 + } 94 + 95 + /* --- Top half: dark purple --- */ 96 + .tl-hero-top { 97 + flex: 1; 98 + background-color: #2D2B55; 99 + display: flex; 100 + flex-direction: column; 101 + justify-content: flex-end; 102 + align-items: center; 103 + position: relative !important; 104 + padding-bottom: 30px; 105 + overflow: visible; 106 + } 107 + 108 + /* --- Bottom half: white --- */ 109 + .tl-hero-bottom { 110 + flex: 1; 111 + background-color: #FFFFFF; 112 + display: flex; 113 + flex-direction: column; 114 + justify-content: flex-start; 115 + align-items: center; 116 + padding-top: 20px; 117 + } 118 + 119 + /* --- Logo bar (top-left) --- */ 120 + .tl-hero-logo-bar { 121 + position: absolute; 122 + top: 30px; 123 + left: 40px; 124 + z-index: 2; 125 + } 126 + 127 + .tl-hero-logo-img { 128 + max-width: 240px; 129 + height: auto; 130 + filter: brightness(1.8) saturate(1.2); 131 + } 132 + 133 + /* --- Centered title --- */ 134 + .tl-hero-center { 135 + text-align: center; 136 + padding: 0 20px; 137 + } 138 + 139 + .tl-hero-title { 140 + color: #FFFFFF !important; 141 + font-family: "Calibri Light", "Calibri", "Segoe UI Light", "Segoe UI", sans-serif !important; 142 + font-weight: 300 !important; 143 + font-size: 56px !important; 144 + letter-spacing: 1px; 145 + margin: 0 !important; 146 + text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); 147 + } 148 + 149 + /* --- Tagline --- */ 150 + .tl-hero-tagline { 151 + color: #7B78FF; 152 + font-family: "Calibri", "Segoe UI", sans-serif; 153 + font-size: 22px; 154 + font-weight: 300; 155 + letter-spacing: 8px; 156 + text-transform: lowercase; 157 + margin: 0; 158 + } 159 + 160 + /* --- Scroll indicator --- */ 161 + .tl-hero-scroll { 162 + position: absolute; 163 + bottom: 30px; 164 + left: 50%; 165 + transform: translateX(-50%); 166 + color: rgba(123, 120, 255, 0.6); 167 + font-size: 24px; 168 + text-decoration: none; 169 + animation: tl-bounce 2s ease infinite; 170 + z-index: 2; 171 + } 172 + 173 + .tl-hero-scroll:hover { 174 + color: #7B78FF; 175 + text-decoration: none; 176 + } 177 + 178 + @keyframes tl-bounce { 179 + 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 180 + 40% { transform: translateX(-50%) translateY(-12px); } 181 + 60% { transform: translateX(-50%) translateY(-6px); } 182 + } 183 + 184 + /* ========================================================================== 185 + Content area below hero — restore normal layout 186 + ========================================================================== */ 187 + #tl-content { 188 + scroll-margin-top: 70px; 189 + } 190 + 191 + #tl-content ~ h2, 192 + #tl-content ~ h3, 193 + #tl-content ~ p, 194 + #tl-content ~ ul, 195 + #tl-content ~ ol, 196 + #tl-content ~ table, 197 + #tl-content ~ div { 198 + max-width: 1000px; 199 + margin-left: auto; 200 + margin-right: auto; 201 + padding-left: 20px; 202 + padding-right: 20px; 203 + } 204 + 205 + /* ========================================================================== 206 + Responsive 207 + ========================================================================== */ 208 + @media (max-width: 992px) { 209 + .tl-hero-title { font-size: 40px !important; } 210 + .tl-hero-tagline { font-size: 18px; letter-spacing: 6px; } 211 + .tl-hero-logo-img { max-width: 180px; } 212 + .tl-hero-logo-bar { top: 20px; left: 20px; } 213 + .tl-hero-top { padding-bottom: 24px; } 214 + .tl-hero-bottom { padding-top: 16px; } 215 + } 216 + 217 + @media (max-width: 576px) { 218 + .tl-hero-title { font-size: 28px !important; } 219 + .tl-hero-tagline { font-size: 14px; letter-spacing: 4px; } 220 + .tl-hero-logo-img { max-width: 140px; } 221 + .tl-hero-logo-bar { top: 15px; left: 15px; } 222 + .tl-hero-scroll { bottom: 15px; } 223 + .tl-hero-top { padding-bottom: 20px; } 224 + .tl-hero-bottom { padding-top: 12px; } 225 + } 226 + 227 + /* --- Print: skip hero --- */ 228 + @media print { 229 + .tl-hero { display: none; } 230 + .tl-hero-page #tmHeader, 231 + .tl-hero-page .navbar, 232 + .tl-hero-page #hierarchy { 233 + opacity: 1; 234 + pointer-events: auto; 235 + } 236 + } 237 + 238 + /* ========================================================================== 239 + Partner Access Button 240 + ========================================================================== */ 241 + .tl-partner-btn-wrap { 242 + margin-top: 15vh; 243 + text-align: center; 244 + } 245 + 246 + .tl-partner-btn { 247 + display: inline-block; 248 + padding: 12px 40px; 249 + background-color: #2D2B55; 250 + color: #FFFFFF !important; 251 + font-family: "Calibri", "Segoe UI", sans-serif; 252 + font-size: 15px; 253 + font-weight: 400; 254 + letter-spacing: 3px; 255 + text-transform: uppercase; 256 + text-decoration: none !important; 257 + border: 2px solid #2D2B55; 258 + border-radius: 0; 259 + transition: all 0.3s ease; 260 + cursor: pointer; 261 + } 262 + 263 + .tl-partner-btn:hover { 264 + background-color: transparent; 265 + color: #2D2B55 !important; 266 + border-color: #2D2B55; 267 + text-decoration: none !important; 268 + } 269 + 270 + @media (max-width: 576px) { 271 + .tl-partner-btn { 272 + padding: 10px 28px; 273 + font-size: 13px; 274 + letter-spacing: 2px; 275 + } 276 + .tl-partner-btn-wrap { 277 + margin-top: 50px; 278 + } 279 + }