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