Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -146,7 +146,7 @@ 146 146 </div> 147 147 </section> 148 148 149 - <section class="resource-strip" aria-labelledby="resources-title"> 149 + <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title"> 150 150 <div class="container"> 151 151 <h2 id="resources-title">Useful XWiki resources</h2> 152 152 <p class="section-intro">
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1,51 +1,46 @@ 1 -/* ========================================================================== 2 - Agnease Public Website 3 - Shared LESS for homepage, services, service pages, products, product pages, 4 - contact page, public menu and layout stabilization. 5 - ========================================================================== */ 1 +/* ========== Agnease Public Website ========== */ 6 6 7 - 8 -/* ========================================================================== 9 - 1. Brand variables 10 - ========================================================================== */ 11 - 12 12 @brand: #00937D; 13 13 @brand-strong: #007B6A; 5 +@brand-soft: #E7FFF8; 6 +@brand-bg: #F4FCFA; 14 14 @text: #2D3A34; 15 15 @muted: #5B6B64; 16 16 @line: #E4ECE9; 17 -@brand-bg: #F4FCFA; 18 -@brand-soft: #E7FFF8; 19 -@radius: 14px; 20 -@radius-sm: 10px; 21 -@shadow-sm: 0 10px 28px rgba(0, 0, 0, .06); 22 -@shadow-md: 0 12px 36px rgba(0, 0, 0, .10); 10 +@radius: 16px; 11 +@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06); 12 +@shadow: 0 12px 36px rgba(0, 0, 0, .08); 13 +@maxw: 1140px; 23 23 15 +/* ========== Base ========== */ 24 24 25 -/* ========================================================================== 26 - 2. Global public layout 27 - ========================================================================== */ 28 - 29 -body { 30 - color: @text; 17 +#mainContentArea { 18 + padding: 0; 31 31 } 32 32 33 33 .container { 34 - max-width: 1040px; 35 - width: 100%; 22 + max-width: @maxw; 23 + margin-left: auto; 24 + margin-right: auto; 25 + padding-left: 18px; 26 + padding-right: 18px; 36 36 } 37 37 38 -a { 39 - color: @brand; 29 +html { 30 + scroll-behavior: smooth; 31 +} 40 40 41 - &:hover, 42 - &:focus { 43 - color: @brand-strong; 33 +section { 34 + padding: 42px 0; 35 + border-top: 1px solid @line; 36 + 37 + &:first-of-type { 38 + border-top: none; 44 44 } 45 45 } 46 46 47 -section { 48 - padding:56px0;42 +section[id] { 43 + scroll-margin-top: 92px; 49 49 } 50 50 51 51 h1, ... ... @@ -55,33 +55,20 @@ 55 55 color: @text; 56 56 } 57 57 58 -h1 { 59 - font-size: 36px; 60 - line-height: 1.2; 61 - font-weight: 700; 62 -} 63 - 64 64 h2 { 65 - font-size: 28px; 66 - line-height: 1.25; 67 - font-weight: 600; 54 + text-align: center; 55 + margin-top: 0; 68 68 } 69 69 70 - h3{71 - font-size:23px;72 - line-height:1.25;73 - font-weight:600;58 +.lead { 59 + color: @muted; 60 + text-align: center; 61 + margin-bottom: 0; 74 74 } 75 75 76 -h4 { 77 - font-size: 17px; 78 - line-height: 1.35; 79 - font-weight: 700; 80 -} 81 - 82 82 .section-intro { 83 83 max-width: 760px; 84 - margin: 0 auto 2 6px;66 + margin: 0 auto 22px; 85 85 text-align: center; 86 86 color: @muted; 87 87 font-size: 16px; ... ... @@ -88,212 +88,80 @@ 88 88 line-height: 1.55; 89 89 } 90 90 91 -.compact-section { 92 - padding: 44px 0; 93 -} 94 - 95 -.card-link { 96 - margin: 0; 97 - 98 - a { 99 - color: @brand; 100 - font-weight: 800; 101 - 102 - &:hover, 103 - &:focus { 104 - color: @brand-strong; 105 - } 106 - } 107 -} 108 - 109 - 110 -/* ========================================================================== 111 - 3. Logo and header stabilization 112 - ========================================================================== */ 113 - 114 -/* 115 - Prevent layout shift/flicker while the logo loads. 116 - Adjust selectors if your logo uses different classes. 117 -*/ 118 - 119 -.navbar-brand, 120 -.agnease-logo-link { 121 - display: inline-flex; 122 - align-items: center; 123 - min-height: 58px; 124 - padding-top: 0; 125 - padding-bottom: 0; 126 -} 127 - 128 -.navbar-brand img, 129 -.agnease-logo, 130 -img.agnease-logo { 131 - display: block; 132 - width: auto; 133 - height: 48px; 134 - max-height: 48px; 135 -} 136 - 137 -/* Keep the public navbar visually clean. */ 138 -.navbar { 139 - border: 0; 140 - box-shadow: none; 141 -} 142 - 143 -.navbar-nav > li > a { 73 +a { 144 144 color: @brand; 145 - font-weight: 700; 146 146 147 147 &:hover, 148 148 &:focus { 149 149 color: @brand-strong; 150 - background: transparent; 151 151 } 152 152 } 153 153 82 +/* ========== Header / Navigation ========== */ 154 154 155 -/* ========================================================================== 156 - 4. Public top menu dropdowns 157 - ========================================================================== */ 158 - 159 -.agnease-services-menu, 160 -.agnease-products-menu { 161 - .dropdown-toggle { 162 - font-weight: inherit; 163 - font-size: inherit; 164 - } 165 - 166 - .caret { 167 - margin-left: 4px; 168 - } 169 - 170 - &.open > .dropdown-toggle, 171 - .dropdown-toggle:hover, 172 - .dropdown-toggle:focus { 173 - color: @brand-strong; 174 - background: transparent; 175 - background-color: transparent; 176 - box-shadow: none; 177 - } 84 +.site-header { 85 + position: sticky; 86 + top: 0; 87 + z-index: 1000; 88 + background: fade(#fff, 96%); 89 + border-bottom: 1px solid fade(@line, 85%); 90 + backdrop-filter: blur(8px); 178 178 } 179 179 180 -/* Keep top-level public dropdown items clean when hovered/open/focused. */ 181 -.navbar-nav > li.agnease-services-menu > a, 182 -.navbar-nav > li.agnease-products-menu > a, 183 -.navbar-nav > li.agnease-services-menu > a:hover, 184 -.navbar-nav > li.agnease-products-menu > a:hover, 185 -.navbar-nav > li.agnease-services-menu > a:focus, 186 -.navbar-nav > li.agnease-products-menu > a:focus, 187 -.navbar-nav > li.agnease-services-menu.open > a, 188 -.navbar-nav > li.agnease-products-menu.open > a, 189 -.navbar-nav > li.agnease-services-menu.open > a:hover, 190 -.navbar-nav > li.agnease-products-menu.open > a:hover, 191 -.navbar-nav > li.agnease-services-menu.open > a:focus, 192 -.navbar-nav > li.agnease-products-menu.open > a:focus { 193 - background: transparent; 194 - background-color: transparent; 195 - color: @brand-strong; 196 - box-shadow: none; 93 +.header-inner { 94 + min-height: 72px; 95 + display: flex; 96 + align-items: center; 97 + justify-content: space-between; 98 + gap: 24px; 197 197 } 198 198 199 -.agnease-services-dropdown, 200 -.agnease-products-dropdown { 201 - min-width: 360px; 202 - padding: 10px; 203 - border: 1px solid @line; 204 - border-radius: 12px; 205 - box-shadow: @shadow-md; 101 +.site-nav { 102 + display: flex; 103 + align-items: center; 104 + gap: 22px; 105 + font-size: 15px; 206 206 207 - > li > a { 208 - display: flex; 209 - align-items: flex-start; 210 - gap: 12px; 211 - padding: 10px 12px; 212 - border-radius: @radius-sm; 107 + a { 213 213 color: @text; 214 - white-space: normal; 109 + text-decoration: none; 110 + font-weight: 600; 215 215 216 216 &:hover, 217 217 &:focus { 218 - color: @brand-strong; 219 - background: @brand-bg; 114 + color: @brand; 220 220 text-decoration: none; 221 - 222 - .menu-icon { 223 - color: @brand-strong; 224 - background: fade(@brand, 14%); 225 - border-color: fade(@brand, 28%); 226 - } 227 - 228 - strong { 229 - color: @brand-strong; 230 - } 231 - 232 - small { 233 - color: @muted; 234 - } 235 235 } 236 236 } 237 237 238 - .divider { 239 - margin: 8px 0; 240 - background-color: @line; 241 - } 119 + .nav-cta { 120 + color: #fff; 121 + background: @brand; 122 + border: 1px solid @brand; 123 + border-radius: 6px; 124 + padding: 8px 14px; 242 242 243 - .menu-icon { 244 - width: 34px; 245 - height: 34px; 246 - border-radius: 50%; 247 - background: fade(@brand, 8%); 248 - border: 1px solid fade(@brand, 18%); 249 - color: @brand; 250 - display: flex; 251 - align-items: center; 252 - justify-content: center; 253 - flex-shrink: 0; 254 - transition: color .15s ease, background .15s ease, border-color .15s ease; 255 - } 256 - 257 - .menu-text { 258 - display: flex; 259 - flex-direction: column; 260 - line-height: 1.25; 261 - 262 - strong { 263 - color: @brand; 264 - font-size: 14px; 265 - font-weight: 600; 126 + &:hover, 127 + &:focus { 128 + color: #fff; 129 + background: @brand-strong; 130 + border-color: @brand-strong; 266 266 } 267 - 268 - small { 269 - color: @muted; 270 - font-size: 12px; 271 - margin-top: 2px; 272 - font-weight: 400; 273 - } 274 274 } 275 275 } 276 276 277 -.agnease-products-dropdown { 278 - min-width: 340px; 279 -} 135 +/* ========== Buttons ========== */ 280 280 281 - 282 -/* ========================================================================== 283 - 5. Buttons and shared labels 284 - ========================================================================== */ 285 - 286 286 .btn-primary { 287 - color: #fff; 288 288 background: @brand; 289 289 border-color: @brand; 140 + color: #fff; 290 290 291 291 &:hover, 292 292 &:focus { 293 - color: #fff; 294 294 background: @brand-strong; 295 295 border-color: @brand-strong; 296 - text-decoration:none;146 + color: #fff; 297 297 } 298 298 } 299 299 ... ... @@ -307,65 +307,79 @@ 307 307 color: @brand-strong; 308 308 border-color: @brand; 309 309 background: @brand-bg; 310 - text-decoration: none; 311 311 } 312 312 } 313 313 314 -/* Shared pill label used by homepage, services, products and resources. */ 315 -.hero-kicker { 316 - display: inline-flex; 317 - align-items: center; 318 - gap: 8px; 319 - color: @brand; 320 - background: fade(@brand, 8%); 321 - border: 1px solid fade(@brand, 22%); 322 - border-radius: 999px; 323 - padding: 8px 14px; 324 - margin-bottom: 16px; 325 - font-size: 14px; 326 - font-weight: 800; 327 - line-height: 1.2; 163 +/* ========== Hero ========== */ 328 328 329 - i { 330 - color: @brand; 331 - font-size: 14px; 165 +.hero { 166 + overflow: hidden; 167 + background-repeat: no-repeat; 168 + background-attachment: scroll; 169 + 170 + &.hero-centered { 171 + text-align: center; 172 + background: 173 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 174 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 175 + display: flex; 176 + align-items: center; 177 + justify-content: center; 178 + min-height: 330px; 332 332 } 333 -} 334 334 181 + .hero-inner { 182 + max-width: 860px; 183 + margin: 0 auto; 184 + display: flex; 185 + flex-direction: column; 186 + align-items: center; 187 + } 335 335 336 -/* ========================================================================== 337 - 6. Hero sections 338 - ========================================================================== */ 189 + h1 { 190 + max-width: 790px; 191 + margin-left: auto; 192 + margin-right: auto; 193 + line-height: 1.18; 194 + } 339 339 340 -.hero { 341 - padding: 64px 0 60px; 342 - background: 343 - radial-gradient(48rem 18rem at 50% -10%, @brand-soft 0%, transparent 65%), 344 - radial-gradient(48rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 345 - border-bottom: 1px solid @line; 346 -} 196 + .lead { 197 + max-width: 760px; 198 + font-size: 19px; 199 + line-height: 1.55; 200 + } 347 347 348 -.hero-centered { 349 - text-align: center; 350 -} 202 + .benefits { 203 + display: flex; 204 + flex-wrap: wrap; 205 + justify-content: center; 206 + list-style: none; 207 + padding: 0; 208 + margin: 14px 0 0; 209 + color: @muted; 210 + font-size: 14px; 351 351 352 -.hero-inner { 353 - max-width: 900px; 212 + li + li::before { 213 + content: "•"; 214 + margin: 0 6px; 215 + } 216 + } 354 354 } 355 355 356 -.hero h1 { 357 - max-width: 820px; 358 - margin: 0 auto; 219 +.hero-kicker { 220 + display: inline-flex; 221 + align-items: center; 222 + gap: 8px; 223 + color: @brand; 224 + background: fade(@brand, 8%); 225 + border: 1px solid fade(@brand, 18%); 226 + border-radius: 999px; 227 + padding: 6px 12px; 228 + margin-bottom: 14px; 229 + font-size: 13px; 230 + font-weight: 700; 359 359 } 360 360 361 -.hero .lead { 362 - max-width: 760px; 363 - margin: 16px auto 0; 364 - color: @muted; 365 - font-size: 19px; 366 - line-height: 1.55; 367 -} 368 - 369 369 .hero-support { 370 370 max-width: 760px; 371 371 margin: 14px auto 0; ... ... @@ -373,7 +373,8 @@ 373 373 line-height: 1.55; 374 374 } 375 375 376 -.hero-actions { 240 +.hero-actions, 241 +#hero-cta { 377 377 display: flex; 378 378 gap: 12px; 379 379 flex-wrap: wrap; ... ... @@ -381,42 +381,8 @@ 381 381 margin-top: 22px; 382 382 } 383 383 384 -.service-hero, 385 -.product-hero { 386 - padding: 64px 0 60px; 387 -} 249 +/* ========== Trust Strip ========== */ 388 388 389 - 390 -/* ========================================================================== 391 - 7. Homepage 392 - ========================================================================== */ 393 - 394 -.benefits { 395 - max-width: 760px; 396 - margin: 18px auto 0; 397 - padding: 0; 398 - list-style: none; 399 - display: flex; 400 - flex-wrap: wrap; 401 - gap: 10px 16px; 402 - justify-content: center; 403 - color: @muted; 404 - font-size: 14px; 405 - 406 - li { 407 - display: inline-flex; 408 - align-items: center; 409 - gap: 6px; 410 - 411 - &:before { 412 - content: "\f00c"; 413 - font-family: FontAwesome; 414 - color: @brand; 415 - font-size: 12px; 416 - } 417 - } 418 -} 419 - 420 420 .trust-strip { 421 421 padding: 18px 0; 422 422 border-top: 1px solid @line; ... ... @@ -424,7 +424,7 @@ 424 424 background: #fff; 425 425 426 426 ul { 427 - max-width: 9 20px;258 + max-width: 960px; 428 428 margin: 0 auto; 429 429 padding: 0; 430 430 list-style: none; ... ... @@ -447,27 +447,109 @@ 447 447 } 448 448 } 449 449 450 -.pathways { 281 +/* ========== Reusable Grids ========== */ 282 + 283 +.card-grid, 284 +.pathways, 285 +.services-grid, 286 +.resource-grid, 287 +.widgets { 451 451 display: grid; 452 - grid-template-columns: repeat(3, minmax(0, 1fr)); 453 453 grid-gap: 18px; 290 + margin-left: auto; 291 + margin-right: auto; 292 +} 293 + 294 +.card-grid, 295 +.pathways, 296 +.services-grid { 297 + grid-template-columns: repeat(3, minmax(0, 1fr)); 454 454 max-width: 1040px; 455 - margin: 2 2pxauto 0;299 + margin-top: 26px; 456 456 } 457 457 458 -.pathway-card { 302 +.resource-grid { 303 + grid-template-columns: repeat(2, minmax(0, 1fr)); 304 + max-width: 1040px; 305 + margin-top: 22px; 306 +} 307 + 308 +.widgets { 309 + grid-template-columns: repeat(4, minmax(0, 1fr)); 310 + max-width: 1040px; 311 + margin-top: 20px; 312 +} 313 + 314 +.card-grid > *, 315 +.pathways > *, 316 +.services-grid > *, 317 +.resource-grid > *, 318 +.widgets > * { 319 + min-width: 0; 320 +} 321 + 322 +/* ========== Shared Card Style ========== */ 323 + 324 +.widget, 325 +.pathway-card, 326 +.service-card, 327 +.resource-card { 459 459 background: #fff; 460 460 border: 1px solid @line; 461 461 border-radius: @radius; 462 462 box-shadow: @shadow-sm; 463 - padding: 22px; 332 + transition: box-shadow .18s ease; 333 + 334 + &:hover { 335 + box-shadow: @shadow-sm; 336 + } 337 +} 338 + 339 +/* ========== Small Widgets ========== */ 340 + 341 +.widget { 342 + padding: 18px; 464 464 display: flex; 465 465 flex-direction: column; 345 + height: 100%; 346 + 347 + .icon { 348 + display: flex; 349 + align-items: center; 350 + gap: 10px; 351 + padding-bottom: 8px; 352 + margin-bottom: 10px; 353 + border-bottom: 1px solid fade(@line, 70%); 354 + 355 + i { 356 + color: @brand; 357 + } 358 + 359 + h4 { 360 + margin: 0; 361 + line-height: 1.25; 362 + color: @text; 363 + } 364 + } 365 + 366 + p { 367 + margin: 0; 368 + color: @muted; 369 + line-height: 1.45; 370 + } 371 +} 372 + 373 +/* ========== Homepage Pathway Cards ========== */ 374 + 375 +.pathway-card { 376 + padding: 24px; 377 + display: flex; 378 + flex-direction: column; 466 466 min-height: 100%; 467 467 468 468 .pathway-icon { 469 - width: 46px;470 - height: 46px;382 + width: 52px; 383 + height: 52px; 471 471 border-radius: 50%; 472 472 display: flex; 473 473 align-items: center; ... ... @@ -474,389 +474,635 @@ 474 474 justify-content: center; 475 475 color: @brand; 476 476 background: fade(@brand, 10%); 477 - margin-bottom: 1 4px;478 - font-size: 1 8px;390 + margin-bottom: 18px; 391 + font-size: 19px; 479 479 } 480 480 481 481 h3 { 482 - margin: 0 0 8px; 395 + margin: 0 0 10px; 396 + color: @text; 397 + font-size: 22px; 398 + line-height: 1.25; 483 483 } 484 484 485 485 p { 486 486 color: @muted; 487 487 line-height: 1.55; 488 - margin: 0 0 1 4px;404 + margin: 0 0 16px; 489 489 } 490 490 491 491 ul { 492 - margin: 0 0 18px;408 + margin: 0 0 22px; 493 493 padding-left: 18px; 494 494 color: @muted; 495 - font-size: 13px; 411 + font-size: 14px; 412 + line-height: 1.55; 496 496 } 497 497 498 498 li { 499 - margin: 5px 0;416 + margin: 6px 0; 500 500 } 501 501 502 502 .card-link { 503 503 margin-top: auto; 421 + padding-top: 4px; 422 + 423 + a { 424 + color: @brand; 425 + font-weight: 700; 426 + text-decoration: underline; 427 + 428 + &:hover, 429 + &:focus { 430 + color: @brand-strong; 431 + } 432 + } 504 504 } 505 505 } 506 506 507 -.resource-strip { 508 - background: @brand-bg; 436 +/* ========== Services ========== */ 509 509 510 - .resource-grid { 438 +.services { 439 + .services-grid { 511 511 max-width: 1040px; 512 - margin: 20px auto 0; 513 - display: grid; 514 - grid-template-columns: repeat(2, minmax(0, 1fr)); 515 - grid-gap: 16px; 516 516 } 517 517 518 - .resource-card { 443 + .service { 444 + display: flex; 445 + align-items: flex-start; 446 + gap: 16px; 447 + padding: 22px; 519 519 background: #fff; 520 520 border: 1px solid @line; 521 521 border-radius: @radius; 522 - padding: 18px; 523 523 box-shadow: @shadow-sm; 452 + transition: transform .18s ease, box-shadow .18s ease; 524 524 525 - h4 { 526 - margin: 0 0 6px; 454 + &:hover { 455 + transform: translateY(-2px); 456 + box-shadow: @shadow; 527 527 } 528 528 529 - p { 530 - color: @muted; 531 - margin: 0 0 10px; 532 - line-height: 1.5; 459 + .service-icon { 460 + width: 46px; 461 + height: 46px; 462 + border-radius: 50%; 463 + display: flex; 464 + align-items: center; 465 + justify-content: center; 466 + font-size: 18px; 467 + color: @brand; 468 + background: fade(@brand, 10%); 469 + flex-shrink: 0; 470 + margin-top: 2px; 533 533 } 534 534 535 - a { 536 - color: @brand; 537 - font-weight: 700; 473 + .service-body { 474 + h4 { 475 + margin: 0 0 6px; 476 + font-size: 18px; 477 + line-height: 1.25; 478 + font-weight: 800; 479 + color: @text; 480 + } 481 + 482 + p { 483 + margin: 0 0 8px; 484 + color: @muted; 485 + line-height: 1.5; 486 + } 487 + 488 + ul { 489 + margin: 9px 0 0; 490 + padding-left: 18px; 491 + color: @muted; 492 + font-size: 13px; 493 + line-height: 1.5; 494 + } 495 + 496 + li { 497 + margin: 4px 0; 498 + } 538 538 } 539 539 } 540 540 } 541 541 503 +/* ========== Split / Process Section ========== */ 542 542 543 -/* ========================================================================== 544 - 8. Services overview page and service cards 545 - ========================================================================== */ 505 +.split-section { 506 + background: 507 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 508 +} 546 546 547 -.services { 548 - background: #fff; 510 +.split-grid { 511 + display: grid; 512 + grid-template-columns: 1.1fr .9fr; 513 + grid-gap: 36px; 514 + max-width: 1040px; 515 + margin: 0 auto; 516 + align-items: center; 517 +} 549 549 519 +.split-copy { 550 550 h2 { 551 - text-align: center;552 - margin: 0 0 10px;521 + text-align: left; 522 + margin-top: 0; 553 553 } 554 -} 555 555 556 -.services-grid { 557 - max-width: 1040px; 558 - margin: 26px auto 0; 559 - display: grid; 560 - grid-template-columns: repeat(2, minmax(0, 1fr)); 561 - grid-gap: 22px; 525 + p { 526 + color: @muted; 527 + line-height: 1.6; 528 + } 562 562 } 563 563 564 -.service { 565 - background: #fff; 566 - border: 1px solid @line; 567 - border-radius: @radius; 568 - box-shadow: @shadow-sm; 569 - padding: 22px; 570 - display: grid; 571 - grid-template-columns: 48px 1fr; 572 - grid-gap: 16px; 573 - align-items: start; 531 +.process-list { 532 + counter-reset: process; 533 + margin: 0; 534 + padding: 0; 535 + list-style: none; 574 574 575 - .service-icon { 576 - width: 44px; 577 - height: 44px; 578 - border-radius: 50%; 579 - background: fade(@brand, 10%); 580 - border: 1px solid fade(@brand, 18%); 581 - color: @brand; 582 - display: flex; 583 - align-items: center; 584 - justify-content: center; 585 - font-size: 18px; 586 - } 537 + li { 538 + counter-increment: process; 539 + position: relative; 540 + padding: 16px 16px 16px 58px; 541 + margin-bottom: 12px; 542 + background: #fff; 543 + border: 1px solid @line; 544 + border-radius: @radius; 545 + box-shadow: @shadow-sm; 546 + color: @muted; 547 + line-height: 1.5; 587 587 588 - .service-body { 589 - min-width: 0; 549 + &:before { 550 + content: counter(process); 551 + position: absolute; 552 + left: 16px; 553 + top: 16px; 554 + width: 28px; 555 + height: 28px; 556 + border-radius: 50%; 557 + background: fade(@brand, 10%); 558 + color: @brand; 559 + display: flex; 560 + align-items: center; 561 + justify-content: center; 562 + font-weight: 800; 563 + } 564 + 565 + strong { 566 + display: block; 567 + color: @text; 568 + margin-bottom: 3px; 569 + } 590 590 } 571 +} 591 591 573 +/* ========== Resources ========== */ 574 + 575 +.resource-strip { 576 + background: @brand-bg; 577 +} 578 + 579 +.resource-card { 580 + padding: 20px; 581 + 592 592 h4 { 593 593 margin: 0 0 8px; 584 + color: @text; 585 + font-size: 18px; 586 + line-height: 1.25; 594 594 } 595 595 596 596 p { 597 597 color: @muted; 598 - line-height: 1.55; 599 599 margin: 0 0 12px; 592 + line-height: 1.5; 600 600 } 601 601 602 - ul { 603 - margin: 10px 0 0; 604 - padding-left: 18px; 605 - color: @muted; 606 - font-size: 13px; 595 + a { 596 + color: @brand; 597 + font-weight: 700; 607 607 } 599 +} 608 608 609 - li { 610 - margin: 5px 0; 611 - line-height: 1.45; 612 - } 601 +.resource-content { 602 + order: 1; 613 613 } 614 614 615 -. compact-grid {616 - grid-gap:18px;605 +.resource-sidebar { 606 + order: 2; 617 617 } 618 618 609 +@media (max-width: 767px) { 610 + .resource-layout { 611 + display: flex; 612 + flex-direction: column; 613 + } 619 619 620 -/* ========================================================================== 621 - 9. Individual service pages 622 - ========================================================================== */ 615 + .resource-sidebar { 616 + order: 0; 617 + position: static; 618 + width: 100%; 619 + } 623 623 624 -.service-page { 625 - color: @text; 621 + .resource-content { 622 + order: 1; 623 + } 626 626 } 627 627 628 -.service-page .service-overview { 629 - padding: 56px 0; 626 +/* ========== Homepage Resource Strip ========== */ 627 + 628 +.homepage-resource-strip { 629 + background: 630 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 631 + 632 + .resource-grid { 633 + max-width: 1040px; 634 + margin: 26px auto 0; 635 + display: grid; 636 + grid-template-columns: repeat(2, minmax(0, 1fr)); 637 + grid-gap: 22px; 638 + align-items: stretch; 639 + } 640 + 641 + .resource-card { 642 + display: flex; 643 + flex-direction: column; 644 + min-width: 0; 645 + min-height: 100%; 646 + padding: 26px; 647 + } 648 + 649 + .resource-card h4 { 650 + margin: 0 0 10px; 651 + color: @text; 652 + font-size: 21px; 653 + line-height: 1.25; 654 + font-weight: 700; 655 + } 656 + 657 + .resource-card p { 658 + margin: 0 0 18px; 659 + color: @muted; 660 + font-size: 15px; 661 + line-height: 1.6; 662 + } 663 + 664 + .resource-card a { 665 + margin-top: auto; 666 + color: @brand; 667 + font-weight: 700; 668 + text-decoration: underline; 669 + 670 + &:hover, 671 + &:focus { 672 + color: @brand-strong; 673 + } 674 + } 630 630 } 631 631 632 -.service-layout, 633 -.split-grid { 634 - display: grid; 635 - grid-template-columns: 1.1fr .9fr; 636 - grid-gap: 36px; 637 - max-width: 1040px; 638 - margin: 0 auto; 639 - align-items: start; 677 +@media (max-width: 980px) { 678 + .homepage-resource-strip { 679 + .resource-grid { 680 + grid-template-columns: 1fr; 681 + } 682 + } 640 640 } 641 641 642 -.service-summary-card, 643 -.service-info-card, 644 -.service-panel { 645 - background: #fff; 646 - border: 1px solid @line; 647 - border-radius: @radius; 648 - box-shadow: @shadow-sm; 685 +@media (max-width: 640px) { 686 + .homepage-resource-strip { 687 + .resource-card { 688 + padding: 22px; 689 + } 690 + 691 + .resource-card h4 { 692 + font-size: 19px; 693 + } 694 + } 649 649 } 650 650 651 -.service-summary-card, 652 -.service-panel { 653 - padding: 24px; 697 +/* ========== CTA ========== */ 654 654 699 +.cta-section { 700 + padding: 32px 0 24px; 701 + 702 + .contact-inline { 703 + margin: 0; 704 + color: @muted; 705 + 706 + a { 707 + color: @brand; 708 + } 709 + } 710 +} 711 + 712 +.cta-panel { 713 + max-width: 860px; 714 + margin: 0 auto; 715 + padding: 32px; 716 + border-radius: @radius; 717 + border: 1px solid fade(@brand, 20%); 718 + background: 719 + radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 720 + box-shadow: @shadow-sm; 721 + text-align: center; 722 + 655 655 h2 { 656 - text-align: left; 657 657 margin-top: 0; 658 658 } 659 659 660 660 p { 661 661 color: @muted; 662 - line-height: 1. 6;729 + line-height: 1.55; 663 663 } 664 664 } 665 665 666 -.service-info-card { 667 - padding: 20px; 733 +/* ========== Responsive ========== */ 668 668 669 - h3 { 670 - margin-top: 0; 735 +@media (max-width: 980px) { 736 + .widgets, 737 + .pathways, 738 + .services-grid, 739 + .resource-grid { 740 + grid-template-columns: repeat(2, minmax(0, 1fr)); 671 671 } 672 672 673 - ul { 674 - margin: 0; 675 - padding-left: 20px; 676 - color: @muted; 743 + .split-grid { 744 + grid-template-columns: 1fr; 677 677 } 678 678 679 - li { 680 - margin: 8px 0; 681 - line-height: 1.45; 747 + .split-copy h2 { 748 + text-align: center; 682 682 } 683 683 } 684 684 685 -.service-feature-grid { 686 - max-width: 1040px; 687 - margin: 22px auto 0; 688 - display: grid; 689 - grid-template-columns: repeat(3, minmax(0, 1fr)); 690 - grid-gap: 16px; 691 -} 752 +@media (max-width: 760px) { 753 + section[id] { 754 + scroll-margin-top: 132px; 755 + } 692 692 693 -.service-feature { 694 - background: #fff; 695 - border: 1px solid @line; 696 - border-radius: @radius; 697 - box-shadow: @shadow-sm; 698 - padding: 18px; 699 - 700 - .feature-icon { 701 - width: 42px; 702 - height: 42px; 703 - border-radius: 50%; 704 - background: fade(@brand, 10%); 705 - color: @brand; 706 - display: flex; 757 + .header-inner { 758 + min-height: auto; 759 + padding-top: 14px; 760 + padding-bottom: 14px; 761 + flex-direction: column; 707 707 align-items: center; 763 + gap: 12px; 764 + } 765 + 766 + .site-nav { 767 + width: 100%; 708 708 justify-content: center; 709 - margin-bottom: 12px; 710 - font-size: 17px; 769 + flex-wrap: wrap; 770 + gap: 10px 16px; 771 + font-size: 14px; 772 + 773 + .nav-cta { 774 + padding: 7px 12px; 775 + } 711 711 } 712 712 713 - h3 { 714 - margin: 0 0 8px; 715 - font-size: 18px; 778 + .hero.hero-centered { 779 + min-height: 280px; 716 716 } 717 717 718 - p { 719 - margin: 0; 720 - color: @muted; 721 - line-height: 1.5; 782 + .hero { 783 + .lead { 784 + font-size: 17px; 785 + } 786 + 787 + .benefits { 788 + gap: 4px 10px; 789 + 790 + li + li::before { 791 + content: none; 792 + } 793 + } 722 722 } 723 723 } 724 724 797 +@media (max-width: 640px) { 798 + section { 799 + padding: 34px 0; 800 + } 725 725 726 -/* ========================================================================== 727 - 10. Split/process sections 728 - ========================================================================== */ 802 + .widgets, 803 + .pathways, 804 + .services-grid, 805 + .resource-grid { 806 + grid-template-columns: 1fr; 807 + } 729 729 730 -.split-section { 809 + .pathway-card, 810 + .services .service, 811 + .resource-card, 812 + .widget { 813 + padding: 20px; 814 + } 815 + 816 + .services .service { 817 + gap: 14px; 818 + } 819 + 820 + .cta-panel { 821 + padding: 24px 20px; 822 + } 823 +} 824 +/* ========== Resource / Article Pages ========== */ 825 + 826 +.resource-page { 827 + padding-top: 34px; 828 +} 829 + 830 +.resource-header { 831 + padding: 40px 0 30px; 832 + border-top: none; 731 731 background: 732 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 834 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 835 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 733 733 734 - .split-copy{735 - h2{736 - text-align:left;737 - margin-top:0;738 - }837 + h1 { 838 + margin: 0 auto 14px; 839 + text-align: center; 840 + line-height: 1.18; 841 + } 739 739 740 - p { 741 - color: @muted; 742 - line-height: 1.6; 743 - } 843 + .resource-summary { 844 + max-width: 780px; 845 + margin: 0 auto; 846 + color: @muted; 847 + text-align: center; 848 + font-size: 18px; 849 + line-height: 1.55; 744 744 } 745 745 } 746 746 747 -.process-list { 748 - counter-reset: process; 749 - margin: 0; 750 - padding: 0; 751 - list-style: none; 853 +.resource-layout { 854 + display: grid; 855 + grid-template-columns: minmax(0, 760px) 280px; 856 + gap: 42px; 857 + max-width: 1080px; 858 + margin: 0 auto; 859 + align-items: start; 752 752 } 753 753 754 -.process-list li { 755 - counter-increment: process; 756 - position: relative; 757 - padding: 16px 16px 16px 58px; 758 - margin-bottom: 12px; 759 - background: #fff; 760 - border: 1px solid @line; 761 - border-radius: @radius; 762 - box-shadow: @shadow-sm; 763 - color: @muted; 764 - line-height: 1.5; 862 +.resource-content { 863 + color: @text; 864 + font-size: 16px; 865 + line-height: 1.68; 765 765 766 - &:before { 767 - content: counter(process); 768 - position: absolute; 769 - left: 16px; 770 - top: 16px; 771 - width: 28px; 772 - height: 28px; 773 - border-radius: 50%; 774 - background: fade(@brand, 10%); 775 - color: @brand; 776 - display: flex; 777 - align-items: center; 778 - justify-content: center; 779 - font-weight: 800; 867 + h2 { 868 + text-align: left; 869 + margin: 34px 0 12px; 870 + line-height: 1.28; 780 780 } 781 781 873 + h3 { 874 + margin: 24px 0 8px; 875 + line-height: 1.3; 876 + } 877 + 878 + p { 879 + margin: 0 0 16px; 880 + } 881 + 882 + ul, 883 + ol { 884 + margin: 0 0 18px; 885 + padding-left: 22px; 886 + } 887 + 888 + li { 889 + margin: 6px 0; 890 + } 891 + 782 782 strong { 783 - display: block; 784 784 color: @text; 785 - margin-bottom: 3px; 786 786 } 787 787 } 788 788 897 +.resource-note { 898 + border-left: 4px solid @brand; 899 + background: @brand-bg; 900 + padding: 16px 18px; 901 + margin: 22px 0; 902 + border-radius: 0 @radius @radius 0; 789 789 790 -/* ========================================================================== 791 - 11. Products overview page 792 - ========================================================================== */ 904 + p:last-child { 905 + margin-bottom: 0; 906 + } 907 +} 793 793 794 -.agnease-product-page { 795 - color: @text; 909 +.resource-checklist { 910 + margin: 18px 0 24px; 911 + padding: 0; 912 + list-style: none; 796 796 797 - .product-index-hero { 798 - padding: 56px 0 48px; 799 - text-align: center; 800 - background: 801 - radial-gradient(42rem 16rem at 50% -10%, @brand-soft 0%, transparent 65%), 802 - radial-gradient(42rem 16rem at 50% 0%, #E8F6F3 0%, transparent 60%); 914 + li { 915 + position: relative; 916 + padding: 10px 0 10px 34px; 803 803 border-bottom: 1px solid @line; 804 - } 805 805 806 - .product-page-kicker { 807 - margin-bottom: 16px; 919 + &:before { 920 + content: "\f00c"; 921 + font-family: FontAwesome; 922 + position: absolute; 923 + left: 0; 924 + top: 11px; 925 + color: @brand; 926 + } 808 808 } 928 +} 809 809 810 - h1 { 811 - max-width: 820px; 812 - margin: 0 auto; 813 - color: @text; 814 - font-size: 36px; 815 - line-height: 1.2; 816 - font-weight: 700; 930 +.resource-sidebar { 931 + position: sticky; 932 + top: 96px; 933 + border: 1px solid @line; 934 + border-radius: @radius; 935 + padding: 18px; 936 + background: #fff; 937 + box-shadow: @shadow-sm; 938 + 939 + h4 { 940 + margin: 0 0 10px; 817 817 } 818 818 819 - .page-lead{820 - ma x-width:760px;821 - margin: 14pxauto 0;943 + ul { 944 + margin: 0; 945 + padding-left: 18px; 822 822 color: @muted; 823 - font-size: 18px; 824 - line-height: 1.55; 825 825 } 826 826 827 - .product-index-section { 828 - padding: 52px 0 56px; 949 + li { 950 + margin: 8px 0; 951 + } 829 829 830 - h2 { 831 - text-align: center; 832 - margin: 0 0 10px; 833 - color: @text; 834 - font-size: 28px; 835 - line-height: 1.25; 836 - font-weight: 600; 837 - } 953 + a { 954 + color: @brand; 955 + font-weight: 600; 838 838 } 957 +} 839 839 840 - .product-card-grid { 841 - max-width: 840px; 842 - margin: 0 auto; 843 - display: grid; 959 +.resource-cta { 960 + margin-top: 36px; 961 + padding: 22px; 962 + border: 1px solid fade(@brand, 20%); 963 + border-radius: @radius; 964 + background: @brand-bg; 965 + 966 + h3 { 967 + margin-top: 0; 968 + } 969 + 970 + p { 971 + color: @muted; 972 + } 973 +} 974 + 975 +@media (max-width: 900px) { 976 + .resource-layout { 844 844 grid-template-columns: 1fr; 845 - grid-gap: 18px; 846 846 } 847 847 848 - .product-card { 849 - background: #fff; 850 - border: 1px solid @line; 851 - border-radius: @radius; 852 - box-shadow: @shadow-sm; 853 - padding: 28px; 854 - display: grid; 855 - grid-template-columns: 68px 1fr; 856 - grid-gap: 22px; 857 - align-items: start; 980 + .resource-sidebar { 981 + position: static; 858 858 } 983 +} 984 +/* ========== Products / Extensions Pages ========== */ 859 859 986 +.product-index-section { 987 + padding: 52px 0 56px; 988 + 989 + h2 { 990 + margin-bottom: 10px; 991 + } 992 +} 993 + 994 +.product-card-grid { 995 + max-width: 840px; 996 + margin: 28px auto 0; 997 + display: grid; 998 + grid-template-columns: 1fr; 999 + grid-gap: 18px; 1000 +} 1001 + 1002 +.product-card { 1003 + background: #fff; 1004 + border: 1px solid @line; 1005 + border-radius: @radius; 1006 + box-shadow: @shadow-sm; 1007 + padding: 28px; 1008 + display: grid; 1009 + grid-template-columns: 68px 1fr; 1010 + grid-gap: 22px; 1011 + align-items: start; 1012 + transition: transform .18s ease, box-shadow .18s ease; 1013 + 1014 + &:hover { 1015 + transform: translateY(-2px); 1016 + box-shadow: @shadow; 1017 + } 1018 + 860 860 .product-card-icon { 861 861 width: 58px; 862 862 height: 58px; ... ... @@ -868,80 +868,58 @@ 868 868 align-items: center; 869 869 justify-content: center; 870 870 font-size: 22px; 1030 + flex-shrink: 0; 871 871 } 872 872 873 - .product-card-kicker { 874 - margin-bottom: 10px; 875 - padding: 6px 11px; 876 - font-size: 12px; 877 - } 878 - 879 - .product-card h3 { 1033 + h3 { 880 880 margin: 0 0 10px; 881 881 color: @text; 882 882 font-size: 23px; 883 883 line-height: 1.25; 884 - font-weight: 600;1038 + font-weight: 800; 885 885 } 886 886 887 - .product-cardp{1041 + p { 888 888 color: @muted; 889 889 line-height: 1.6; 890 890 } 891 891 892 - .product-highlights { 893 - margin: 14px 0 20px; 894 - padding-left: 18px; 895 - color: @muted; 1046 + .card-link { 1047 + margin: 0; 896 896 897 - li { 898 - margin: 6px 0; 899 - line-height: 1.45; 1049 + a { 1050 + font-weight: 700; 900 900 } 901 901 } 1053 +} 902 902 903 - .product-cta-section { 904 - padding: 0 0 56px; 905 - } 1055 +.product-card-kicker { 1056 + margin-bottom: 10px; 1057 + padding: 5px 10px; 1058 + font-size: 12px; 1059 + text-transform: uppercase; 1060 + letter-spacing: .04em; 1061 +} 906 906 907 - .product-cta-panel { 908 - max-width: 860px; 909 - margin: 0 auto; 910 - padding: 32px; 911 - border-radius: @radius; 912 - border: 1px solid fade(@brand, 20%); 913 - background: 914 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 915 - box-shadow: @shadow-sm; 916 - text-align: center; 1063 +.product-highlights { 1064 + margin: 14px 0 20px; 1065 + padding-left: 18px; 1066 + color: @muted; 917 917 918 - h2 { 919 - margin: 0 0 12px; 920 - color: @text; 921 - font-size: 26px; 922 - line-height: 1.25; 923 - } 924 - 925 - p { 926 - max-width: 680px; 927 - margin: 0 auto 18px; 928 - color: @muted; 929 - line-height: 1.55; 930 - } 1068 + li { 1069 + margin: 6px 0; 1070 + line-height: 1.45; 931 931 } 932 932 } 933 933 1074 +/* ========== Individual Product Pages ========== */ 934 934 935 -/* ========================================================================== 936 - 12. Individual product pages 937 - ========================================================================== */ 938 - 939 939 .product-layout { 940 - max-width: 1040px; 941 - margin: 0 auto; 942 942 display: grid; 943 943 grid-template-columns: 1.1fr .9fr; 944 - grid-gap: 28px; 1079 + grid-gap: 36px; 1080 + max-width: 1040px; 1081 + margin: 0 auto; 945 945 align-items: start; 946 946 } 947 947 ... ... @@ -955,7 +955,7 @@ 955 955 } 956 956 957 957 .product-summary-card { 958 - padding: 2 4px;1095 + padding: 26px; 959 959 960 960 h2 { 961 961 text-align: left; ... ... @@ -966,13 +966,18 @@ 966 966 color: @muted; 967 967 line-height: 1.6; 968 968 } 1106 + 1107 + p:last-child { 1108 + margin-bottom: 0; 1109 + } 969 969 } 970 970 971 971 .product-info-card { 972 - padding: 2 0px;1113 + padding: 22px; 973 973 974 974 h3 { 975 975 margin-top: 0; 1117 + margin-bottom: 12px; 976 976 } 977 977 978 978 ul { ... ... @@ -988,11 +988,11 @@ 988 988 } 989 989 990 990 .product-feature-grid { 991 - max-width: 1040px; 992 - margin: 22px auto 0; 993 993 display: grid; 994 994 grid-template-columns: repeat(3, minmax(0, 1fr)); 995 - grid-gap: 16px; 1135 + grid-gap: 18px; 1136 + max-width: 1040px; 1137 + margin: 26px auto 0; 996 996 } 997 997 998 998 .product-feature { ... ... @@ -1000,11 +1000,17 @@ 1000 1000 border: 1px solid @line; 1001 1001 border-radius: @radius; 1002 1002 box-shadow: @shadow-sm; 1003 - padding: 18px; 1145 + padding: 22px; 1146 + transition: transform .18s ease, box-shadow .18s ease; 1004 1004 1148 + &:hover { 1149 + transform: translateY(-2px); 1150 + box-shadow: @shadow; 1151 + } 1152 + 1005 1005 .feature-icon { 1006 - width: 4 2px;1007 - height: 4 2px;1154 + width: 46px; 1155 + height: 46px; 1008 1008 border-radius: 50%; 1009 1009 background: fade(@brand, 10%); 1010 1010 color: @brand; ... ... @@ -1011,8 +1011,8 @@ 1011 1011 display: flex; 1012 1012 align-items: center; 1013 1013 justify-content: center; 1014 - margin-bottom: 1 2px;1015 - font-size: 1 7px;1162 + margin-bottom: 14px; 1163 + font-size: 18px; 1016 1016 } 1017 1017 1018 1018 h3 { ... ... @@ -1019,6 +1019,7 @@ 1019 1019 margin: 0 0 8px; 1020 1020 color: @text; 1021 1021 font-size: 18px; 1170 + line-height: 1.25; 1022 1022 } 1023 1023 1024 1024 p { ... ... @@ -1031,7 +1031,7 @@ 1031 1031 .product-gallery-panel { 1032 1032 max-width: 1040px; 1033 1033 margin: 20px auto 0; 1034 - padding: 2 2px;1183 + padding: 26px; 1035 1035 1036 1036 h2 { 1037 1037 margin-top: 0; ... ... @@ -1048,278 +1048,187 @@ 1048 1048 } 1049 1049 1050 1050 .product-gallery-placeholder { 1051 - border: 1px dashed fade(@brand, 40%); 1052 - background: fade(@brand, 5%); 1053 - border-radius: @radius; 1054 1054 min-height: 260px; 1055 1055 padding: 28px; 1056 - text-align: center; 1202 + border: 1px dashed fade(@brand, 40%); 1203 + border-radius: @radius; 1204 + background: fade(@brand, 5%); 1057 1057 color: @muted; 1206 + text-align: center; 1058 1058 display: flex; 1059 1059 align-items: center; 1060 1060 justify-content: center; 1061 1061 } 1062 1062 1063 - 1064 -/* ========================================================================== 1065 - 13. CTA panels 1066 - ========================================================================== */ 1067 - 1068 -.cta-section { 1069 - padding: 56px 0; 1212 +.product-section-muted { 1213 + background: 1214 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1070 1070 } 1071 1071 1072 -.cta-panel { 1073 - max-width: 860px; 1074 - margin: 0 auto; 1075 - padding: 32px; 1076 - border-radius: @radius; 1077 - border: 1px solid fade(@brand, 20%); 1078 - background: 1079 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1080 - box-shadow: @shadow-sm; 1081 - text-align: center; 1082 - 1083 - h2 { 1084 - margin: 0 0 12px; 1217 +@media (max-width: 980px) { 1218 + .product-layout, 1219 + .product-feature-grid { 1220 + grid-template-columns: 1fr; 1085 1085 } 1086 1086 1087 - p { 1088 - max-width: 680px; 1089 - margin: 0 auto 18px; 1090 - color: @muted; 1091 - line-height: 1.55; 1223 + .product-summary-card h2 { 1224 + text-align: center; 1092 1092 } 1093 1093 } 1094 1094 1228 +@media (max-width: 640px) { 1229 + .product-card { 1230 + grid-template-columns: 1fr; 1231 + padding: 22px; 1232 + text-align: left; 1095 1095 1096 -/* ========================================================================== 1097 - 14. Contact page 1098 - ========================================================================== */ 1099 - 1100 -.contact-page { 1101 - color: @text; 1102 - 1103 - .contact-layout { 1104 - max-width: 1040px; 1105 - margin: 0 auto; 1106 - display: grid; 1107 - grid-template-columns: 1.1fr .9fr; 1108 - grid-gap: 36px; 1109 - align-items: start; 1110 - } 1111 - 1112 - .contact-form-panel, 1113 - .contact-side-panel { 1114 - background: #fff; 1115 - border: 1px solid @line; 1116 - border-radius: @radius; 1117 - box-shadow: @shadow-sm; 1118 - padding: 24px; 1119 - } 1120 - 1121 - label { 1122 - color: @text; 1123 - font-weight: 700; 1124 - } 1125 - 1126 - input, 1127 - textarea, 1128 - select, 1129 - .form-control { 1130 - border: 1px solid @line; 1131 - border-radius: 8px; 1132 - box-shadow: none; 1133 - 1134 - &:focus { 1135 - border-color: fade(@brand, 60%); 1136 - box-shadow: 0 0 0 3px fade(@brand, 12%); 1234 + .product-card-icon { 1235 + margin-bottom: 2px; 1137 1137 } 1138 1138 } 1139 1139 1140 - .contact-help-list { 1141 - margin: 0; 1142 - padding-left: 18px; 1143 - color: @muted; 1144 - 1145 - li { 1146 - margin: 6px 0; 1147 - line-height: 1.45; 1148 - } 1239 + .product-summary-card, 1240 + .product-info-card, 1241 + .product-feature, 1242 + .product-gallery-panel { 1243 + padding: 20px; 1149 1149 } 1245 +} 1246 +/* ========== Resources Index ========== */ 1150 1150 1151 - .next-steps { 1152 - counter-reset: contactsteps; 1153 - margin: 14px 0 0; 1154 - padding: 0; 1155 - list-style: none; 1156 - 1157 - li { 1158 - counter-increment: contactsteps; 1159 - position: relative; 1160 - padding-left: 34px; 1161 - margin: 10px 0; 1162 - color: @muted; 1163 - line-height: 1.45; 1164 - 1165 - &:before { 1166 - content: counter(contactsteps); 1167 - position: absolute; 1168 - left: 0; 1169 - top: 0; 1170 - width: 22px; 1171 - height: 22px; 1172 - border-radius: 50%; 1173 - background: fade(@brand, 10%); 1174 - color: @brand; 1175 - display: flex; 1176 - align-items: center; 1177 - justify-content: center; 1178 - font-weight: 800; 1179 - font-size: 12px; 1180 - } 1181 - } 1182 - } 1248 +.resources-index-page { 1249 + padding: 56px 0 72px; 1250 + background: @brand-bg; 1183 1183 } 1184 1184 1185 - 1186 -/* ========================================================================== 1187 - 15. Footer 1188 - ========================================================================== */ 1189 - 1190 -footer, 1191 -.agnease-footer { 1192 - color: @brand; 1253 +.resources-intro { 1254 + max-width: 820px; 1255 + margin: 0 auto 32px; 1193 1193 text-align: center; 1194 - font-size: 13px; 1195 - padding: 28px 0; 1257 +} 1196 1196 1197 - a { 1198 - color: @brand; 1199 - } 1259 +.resources-intro p { 1260 + color: @muted; 1261 + font-size: 17px; 1262 + line-height: 1.7; 1263 + margin: 0; 1200 1200 } 1201 1201 1266 +.resources-grid { 1267 + display: grid; 1268 + grid-template-columns: repeat(2, minmax(0, 1fr)); 1269 + gap: 24px; 1270 + margin-bottom: 36px; 1271 +} 1202 1202 1203 -/* ========================================================================== 1204 - 16. Responsive behavior 1205 - ========================================================================== */ 1273 +.resource-card { 1274 + display: flex; 1275 + gap: 18px; 1276 + background: #fff; 1277 + border: 1px solid @line; 1278 + border-radius: @radius; 1279 + box-shadow: @shadow-sm; 1280 + padding: 24px; 1281 +} 1206 1206 1207 - @media(max-width:900px){1208 - .pathways,1209 - .resource-strip .resource-grid,1210 - .services-grid,1211 - .service-layout,1212 - .split-grid,1213 - .product-layout,1214 - .product-feature-grid,1215 - .service-feature-grid,1216 - .contact-page.contact-layout {1217 - grid-template-columns:1fr;1218 - }1283 +.resource-card-icon { 1284 + flex: 0 0 46px; 1285 + width: 46px; 1286 + height: 46px; 1287 + border-radius: 14px; 1288 + background: @brand-soft; 1289 + color: @brand-strong; 1290 + display: flex; 1291 + align-items: center; 1292 + justify-content: center; 1293 + font-size: 20px; 1294 +} 1219 1219 1220 - .split-section .split-copy h2, 1221 - .service-summary-card h2, 1222 - .product-summary-card h2 { 1223 - text-align: center; 1224 - } 1296 +.resource-card-label { 1297 + color: @brand-strong; 1298 + font-size: 13px; 1299 + font-weight: 700; 1300 + text-transform: uppercase; 1301 + letter-spacing: .04em; 1302 + margin-bottom: 8px; 1225 1225 } 1226 1226 1227 -@media (max-width: 767px) { 1228 - section { 1229 - padding: 40px 0; 1230 - } 1305 +.resource-card h2 { 1306 + font-size: 22px; 1307 + line-height: 1.25; 1308 + margin: 0 0 12px; 1309 +} 1231 1231 1232 - h1 { 1233 - font-size: 30px; 1234 - } 1311 +.resource-card h2 a { 1312 + color: @text; 1313 + text-decoration: none; 1314 +} 1235 1235 1236 - h2 { 1237 - font-size: 25px; 1238 - } 1316 +.resource-card h2 a:hover { 1317 + color: @brand-strong; 1318 + text-decoration: none; 1319 +} 1239 1239 1240 - .hero, 1241 - .service-hero, 1242 - .product-hero { 1243 - padding: 42px 0 38px; 1244 - } 1321 +.resource-card p { 1322 + color: @muted; 1323 + font-size: 15px; 1324 + line-height: 1.65; 1325 + margin: 0 0 16px; 1326 +} 1245 1245 1246 - .hero .lead { 1247 - font-size: 16px; 1248 - } 1328 +.resource-card-link { 1329 + color: @brand-strong; 1330 + font-weight: 700; 1331 + text-decoration: none; 1332 +} 1249 1249 1250 - .hero-support { 1251 - font-size: 14px; 1252 - } 1334 +.resource-card-link:hover { 1335 + color: @brand; 1336 + text-decoration: none; 1337 +} 1253 1253 1254 - .hero-actions { 1255 - flex-direction: column; 1256 - align-items: center; 1339 +.resources-next { 1340 + max-width: 820px; 1341 + margin: 0 auto 32px; 1342 + text-align: center; 1343 +} 1257 1257 1258 - .btn { 1259 - width: 100%; 1260 - max-width: 260px; 1261 - } 1262 - } 1345 +.resources-next h2 { 1346 + font-size: 26px; 1347 + margin: 0 0 10px; 1348 +} 1263 1263 1264 - .navbar-brand, 1265 - .agnease-logo-link { 1266 - min-height: 52px; 1267 - } 1350 +.resources-next p { 1351 + color: @muted; 1352 + font-size: 16px; 1353 + line-height: 1.7; 1354 + margin: 0; 1355 +} 1268 1268 1269 - .navbar-brand img, 1270 - .agnease-logo, 1271 - img.agnease-logo { 1272 - height: 42px; 1273 - max-height: 42px; 1357 +@media (max-width: 767px) { 1358 + .resources-index-page { 1359 + padding: 36px 0 52px; 1274 1274 } 1275 1275 1276 - .agnease-services-dropdown, 1277 - .agnease-products-dropdown { 1278 - min-width: 0; 1279 - width: 100%; 1280 - padding: 6px; 1281 - border-radius: 0; 1282 - border-left: 0; 1283 - border-right: 0; 1284 - box-shadow: none; 1285 - 1286 - > li > a { 1287 - padding: 10px; 1288 - } 1362 + .resources-intro { 1363 + text-align: left; 1364 + margin-bottom: 24px; 1289 1289 } 1290 1290 1291 - .service, 1292 - .agnease-product-page .product-card { 1367 + .resources-grid { 1293 1293 grid-template-columns: 1fr; 1294 - padding: 22px; 1295 - text-align: left; 1369 + gap: 18px; 1296 1296 } 1297 1297 1298 - .service .service-icon, 1299 - .agnease-product-page .product-card-icon { 1300 - margin-bottom: 2px; 1372 + .resource-card { 1373 + padding: 20px; 1301 1301 } 1302 1302 1303 - .agnease-product-page { 1304 - .product-index-hero { 1305 - padding: 38px 0 34px; 1306 - } 1307 - 1308 - h1 { 1309 - font-size: 30px; 1310 - } 1311 - 1312 - .page-lead { 1313 - font-size: 16px; 1314 - } 1315 - 1316 - .product-cta-panel { 1317 - padding: 24px; 1318 - } 1376 + .resource-card h2 { 1377 + font-size: 20px; 1319 1319 } 1320 1320 1321 - .cta-panel, 1322 - .product-cta-panel { 1323 - padding: 24px; 1380 + .resources-next { 1381 + text-align: left; 1324 1324 } 1325 1325 }
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,156 +1,148 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -@brand: #00937D; 4 -@brand-strong: #007B6A; 5 -@text: #2D3A34; 6 -@muted: #5B6B64; 7 -@line: #E4ECE9; 8 -@brand-bg: #F4FCFA; 3 +/* Desktop alignment */ 4 +#menuview .navbar-nav { 5 + float: right !important; 6 +} 9 9 10 10 /* Top-level menu items */ 11 11 12 -.agnease-services-menu, 13 -.agnease-products-menu { 14 - .dropdown-toggle { 15 - font-weight: inherit; 16 - font-size: inherit; 10 +.agnease-menu-item, 11 +.agnease-menu-link { 12 + > a, 13 + > .dropdown-toggle { 14 + color: @brand; 15 + font-size: 17px; 16 + font-weight: 600; 17 + padding-left: 16px; 18 + padding-right: 16px; 19 + text-decoration: none; 17 17 } 18 18 22 + > a:hover, 23 + > a:focus, 24 + > a:active, 25 + &.open > a, 26 + &.active > a { 27 + color: @brand-strong; 28 + text-decoration: none; 29 + outline: none; 30 + } 31 + 19 19 .caret { 20 - margin-left: 4px; 33 + margin-left: 5px; 34 + border-top-color: @brand; 35 + border-bottom-color: @brand; 21 21 } 22 22 23 - &.open>.dropdown-toggle,24 - .dropdown-toggle:hover,25 - .dropdown-toggle:focus{26 - color:@brand-strong;27 - background:transparent;28 - b ackground-color:transparent;29 - bo x-shadow: none;38 + > a:hover .caret, 39 + > a:focus .caret, 40 + > a:active .caret, 41 + &.open > a .caret, 42 + &.active > a .caret { 43 + border-top-color: @brand-strong; 44 + border-bottom-color: @brand-strong; 30 30 } 31 31 } 32 32 33 -/* Keep Agnease public top-level menu visually cleanwhenhovered/open/focused*/48 +/* Dropdown panel */ 34 34 35 -.navbar-nav > li.agnease-services-menu > a, 36 -.navbar-nav > li.agnease-products-menu > a, 37 -.navbar-nav > li.agnease-services-menu > a:hover, 38 -.navbar-nav > li.agnease-products-menu > a:hover, 39 -.navbar-nav > li.agnease-services-menu > a:focus, 40 -.navbar-nav > li.agnease-products-menu > a:focus, 41 -.navbar-nav > li.agnease-services-menu.open > a, 42 -.navbar-nav > li.agnease-products-menu.open > a, 43 -.navbar-nav > li.agnease-services-menu.open > a:hover, 44 -.navbar-nav > li.agnease-products-menu.open > a:hover, 45 -.navbar-nav > li.agnease-services-menu.open > a:focus, 46 -.navbar-nav > li.agnease-products-menu.open > a:focus { 47 - background: transparent; 48 - background-color: transparent; 49 - color: @brand-strong; 50 - box-shadow: none; 51 -} 52 - 53 -/* Dropdown panels */ 54 - 55 -.agnease-services-dropdown, 56 -.agnease-products-dropdown { 57 - min-width: 360px; 58 - padding: 10px; 59 - border: 1px solid @line; 50 +.agnease-dropdown { 51 + min-width: 310px; 52 + padding: 10px 8px; 53 + border: 1px solid fade(@brand, 18%); 60 60 border-radius: 12px; 61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 55 + background: #fff; 56 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 62 62 63 63 > li > a { 64 64 display: flex; 65 - align-items: flex-start;60 + align-items: center; 66 66 gap: 12px; 67 - padding: 10px 12px; 68 - border-radius: 10px; 69 - color: @text; 70 - white-space: normal; 62 + padding: 11px 14px; 63 + color: @brand; 64 + white-space: nowrap; 65 + font-size: 16px; 66 + font-weight: 600; 67 + line-height: 1.3; 68 + text-decoration: none; 71 71 70 + i { 71 + width: 20px; 72 + flex: 0 0 20px; 73 + color: @brand; 74 + text-align: center; 75 + font-size: 15px; 76 + } 77 + 72 72 &:hover, 73 - &:focus { 79 + &:focus, 80 + &:active { 74 74 color: @brand-strong; 75 - background: @brand-bg; 76 76 text-decoration: none; 83 + outline: none; 77 77 78 - .menu-icon{85 + i { 79 79 color: @brand-strong; 80 - background: fade(@brand, 14%); 81 - border-color: fade(@brand, 28%); 82 82 } 88 + } 89 + } 83 83 84 - strong { 85 - color: @brand-strong; 86 - } 91 + > .active > a { 92 + color: @brand-strong; 87 87 88 - small { 89 - color: @muted; 90 - } 94 + i { 95 + color: @brand-strong; 91 91 } 92 92 } 93 93 94 94 .divider { 95 95 margin: 8px 0; 96 - background-color: @ line;101 + background-color: fade(@brand, 16%); 97 97 } 103 +} 98 98 99 - .menu-icon { 100 - width: 34px; 101 - height: 34px; 102 - border-radius: 50%; 103 - background: fade(@brand, 8%); 104 - border: 1px solid fade(@brand, 18%); 105 - color: @brand; 106 - display: flex; 107 - align-items: center; 105 +/* Mobile */ 106 + 107 +@media (max-width: 767px) { 108 + .site-nav { 109 + margin-left: 0; 108 108 justify-content: center; 109 - flex-shrink: 0; 110 - transition: color .15s ease, background .15s ease, border-color .15s ease; 111 + flex-wrap: wrap; 111 111 } 112 112 113 - .menu-text { 114 - display: flex; 115 - flex-direction: column; 116 - line-height: 1.25; 117 - 118 - strong { 119 - color: @brand; 120 - font-size: 14px; 121 - font-weight: 600; 114 + .agnease-menu-item, 115 + .agnease-menu-link { 116 + > a, 117 + > .dropdown-toggle { 118 + font-size: 16px; 119 + padding-top: 9px; 120 + padding-bottom: 9px; 122 122 } 123 - 124 - small { 125 - color: @muted; 126 - font-size: 12px; 127 - margin-top: 2px; 128 - font-weight: 400; 129 - } 130 130 } 131 -} 132 132 133 -/* Products dropdown can be slightly narrower for now */ 134 - 135 -.agnease-products-dropdown { 136 - min-width: 340px; 137 -} 138 - 139 -/* Mobile */ 140 - 141 -@media (max-width: 767px) { 142 - .agnease-services-dropdown, 143 - .agnease-products-dropdown { 124 + .agnease-dropdown { 144 144 min-width: 0; 145 145 width: 100%; 146 - padding: 6px; 127 + padding: 4px 8px 8px 18px; 128 + border: 0; 147 147 border-radius: 0; 148 - border-left: 0; 149 - border-right: 0; 150 150 box-shadow: none; 131 + background: transparent; 151 151 152 152 > li > a { 153 - padding: 10px; 134 + padding: 8px 10px; 135 + white-space: normal; 136 + font-size: 15px; 137 + 138 + i { 139 + width: 18px; 140 + flex-basis: 18px; 141 + } 154 154 } 143 + 144 + .divider { 145 + margin: 5px 0; 146 + } 155 155 } 156 156 }