Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 6.27
edited by Agnease
on 2026/05/12 11:59
Change comment: There is no comment for this version
To version 10.12
edited by Agnease
on 2026/05/19 06:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,7 +7,7 @@
7 7   <div class="container hero-inner">
8 8   <div class="hero-kicker">
9 9   <i class="fa fa-shield" aria-hidden="true"></i>
10 - XWiki consulting, upgrades and long-term support
10 + Your trusted partner for professional XWiki services
11 11   </div>
12 12  
13 13   <h1 id="hero-title">Reliable XWiki engineering for organizations that depend on their knowledge platform</h1>
... ... @@ -70,7 +70,7 @@
70 70   <li>Production rollout validation</li>
71 71   </ul>
72 72   <p class="card-link">
73 - <a href="/services/xwiki-upgrades">View upgrade services</a>
73 + <a href="$xwiki.getURL('services.xwiki-upgrades')">View upgrade services</a>
74 74   </p>
75 75   </article>
76 76  
... ... @@ -88,7 +88,7 @@
88 88   <li>Security-aware maintenance</li>
89 89   </ul>
90 90   <p class="card-link">
91 - <a href="/services/xwiki-maintenance-support">View support services</a>
91 + <a href="$xwiki.getURL('services.xwiki-maintenance-support')">View support services</a>
92 92   </p>
93 93   </article>
94 94  
... ... @@ -106,7 +106,7 @@
106 106   <li>SSO, LDAP, APIs and integrations</li>
107 107   </ul>
108 108   <p class="card-link">
109 - <a href="/services/xwiki-development-integrations">View development services</a>
109 + <a href="$xwiki.getURL('services.xwiki-development-integrations')">View development services</a>
110 110   </p>
111 111   </article>
112 112   </div>
... ... @@ -159,7 +159,7 @@
159 159   <p>
160 160   A business-focused explanation of why regular LTS upgrades reduce security, compatibility and maintenance risk.
161 161   </p>
162 - <a href="/resources/why-upgrade-xwiki">Read the resource</a>
162 + <a href="$xwiki.getURL('resources.why-upgrade-xwiki')">Read the resource</a>
163 163   </article>
164 164  
165 165   <article class="resource-card">
... ... @@ -167,7 +167,7 @@
167 167   <p>
168 168   How Agnease approaches safe XWiki upgrades for real production environments with customizations and integrations.
169 169   </p>
170 - <a href="/services/xwiki-upgrades">View the service</a>
170 + <a href="$xwiki.getURL('services.xwiki-upgrades')">View the service</a>
171 171   </article>
172 172   </div>
173 173   </div>
... ... @@ -231,5 +231,4 @@
231 231   </dl>
232 232   </div>
233 233  #end
234 -#displayPublicContent
235 235  {{/velocity}}
XWiki.StyleSheetExtension[0]
code
... ... @@ -1,14 +1,19 @@
1 -/* ========== Agnease Landing (no Bootstrap grid) ========== */
1 +/* ========== Agnease Public Website ========== */
2 +
2 2  @brand: #00937D;
3 3  @brand-strong: #007B6A;
5 +@brand-soft: #E7FFF8;
6 +@brand-bg: #F4FCFA;
4 4  @text: #2D3A34;
5 5  @muted: #5B6B64;
6 6  @line: #E4ECE9;
7 7  @radius: 16px;
8 -@shadow-sm: 0 6px 20px rgba(0,0,0,.06);
9 -@shadow: 0 12px 36px rgba(0,0,0,.08);
11 +@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
12 +@shadow: 0 12px 36px rgba(0, 0, 0, .08);
10 10  @maxw: 1140px;
11 11  
15 +/* ========== Base ========== */
16 +
12 12  #mainContentArea {
13 13   padding: 0;
14 14  }
... ... @@ -15,27 +15,148 @@
15 15  
16 16  .container {
17 17   max-width: @maxw;
23 + margin-left: auto;
24 + margin-right: auto;
25 + padding-left: 18px;
26 + padding-right: 18px;
18 18  }
19 19  
29 +html {
30 + scroll-behavior: smooth;
31 +}
32 +
33 +section {
34 + padding: 42px 0;
35 + border-top: 1px solid @line;
36 +
37 + &:first-of-type {
38 + border-top: none;
39 + }
40 +}
41 +
42 +section[id] {
43 + scroll-margin-top: 92px;
44 +}
45 +
46 +h1,
47 +h2,
48 +h3,
49 +h4 {
50 + color: @text;
51 +}
52 +
53 +h2 {
54 + text-align: center;
55 + margin-top: 0;
56 +}
57 +
20 20  .lead {
21 21   color: @muted;
22 22   text-align: center;
23 23   margin-bottom: 0;
24 24  }
25 -h2 {
63 +
64 +.section-intro {
65 + max-width: 760px;
66 + margin: 0 auto 22px;
26 26   text-align: center;
68 + color: @muted;
69 + font-size: 16px;
70 + line-height: 1.55;
27 27  }
28 28  
29 -section {
30 - padding: 32px 0;
31 - border-top: 1px solid @line;
73 +a {
74 + color: @brand;
32 32  
33 - &:first-of-type {
34 - border-top: none;
76 + &:hover,
77 + &:focus {
78 + color: @brand-strong;
35 35   }
36 36  }
37 37  
38 -/* ===== HERO ===== */
82 +/* ========== Header / Navigation ========== */
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);
91 +}
92 +
93 +.header-inner {
94 + min-height: 72px;
95 + display: flex;
96 + align-items: center;
97 + justify-content: space-between;
98 + gap: 24px;
99 +}
100 +
101 +.site-nav {
102 + display: flex;
103 + align-items: center;
104 + gap: 22px;
105 + font-size: 15px;
106 +
107 + a {
108 + color: @text;
109 + text-decoration: none;
110 + font-weight: 600;
111 +
112 + &:hover,
113 + &:focus {
114 + color: @brand;
115 + text-decoration: none;
116 + }
117 + }
118 +
119 + .nav-cta {
120 + color: #fff;
121 + background: @brand;
122 + border: 1px solid @brand;
123 + border-radius: 6px;
124 + padding: 8px 14px;
125 +
126 + &:hover,
127 + &:focus {
128 + color: #fff;
129 + background: @brand-strong;
130 + border-color: @brand-strong;
131 + }
132 + }
133 +}
134 +
135 +/* ========== Buttons ========== */
136 +
137 +.btn-primary {
138 + background: @brand;
139 + border-color: @brand;
140 + color: #fff;
141 +
142 + &:hover,
143 + &:focus {
144 + background: @brand-strong;
145 + border-color: @brand-strong;
146 + color: #fff;
147 + }
148 +}
149 +
150 +.btn-secondary {
151 + color: @brand;
152 + background: #fff;
153 + border: 1px solid fade(@brand, 35%);
154 +
155 + &:hover,
156 + &:focus {
157 + color: @brand-strong;
158 + border-color: @brand;
159 + background: @brand-bg;
160 + }
161 +}
162 +
163 +/* ========== Hero ========== */
164 +
39 39  .hero {
40 40   overflow: hidden;
41 41   background-repeat: no-repeat;
... ... @@ -44,16 +44,16 @@
44 44   &.hero-centered {
45 45   text-align: center;
46 46   background:
47 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
173 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
48 48   radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
49 49   display: flex;
50 50   align-items: center;
51 51   justify-content: center;
52 - min-height: 300px;
178 + min-height: 330px;
53 53   }
54 54  
55 55   .hero-inner {
56 - max-width: 850px;
182 + max-width: 860px;
57 57   margin: 0 auto;
58 58   display: flex;
59 59   flex-direction: column;
... ... @@ -60,14 +60,19 @@
60 60   align-items: center;
61 61   }
62 62  
63 - #hero-cta {
64 - display: flex;
65 - gap: 0.8rem;
66 - flex-wrap: wrap;
67 - justify-content: center;
68 - margin-top: 1.3rem;
189 + h1 {
190 + max-width: 790px;
191 + margin-left: auto;
192 + margin-right: auto;
193 + line-height: 1.18;
69 69   }
70 70  
196 + .lead {
197 + max-width: 760px;
198 + font-size: 19px;
199 + line-height: 1.55;
200 + }
201 +
71 71   .benefits {
72 72   display: flex;
73 73   flex-wrap: wrap;
... ... @@ -74,61 +74,163 @@
74 74   justify-content: center;
75 75   list-style: none;
76 76   padding: 0;
77 - margin: 0.8rem 0 0;
208 + margin: 14px 0 0;
78 78   color: @muted;
79 79   font-size: 14px;
80 80  
81 81   li + li::before {
82 82   content: "•";
83 - margin: 0 5px;
214 + margin: 0 6px;
84 84   }
216 + }
217 +}
85 85  
86 - @media (max-width: 640px) {
87 - li + li::before {
88 - content: none;
89 - }
90 - li:nth-child(1)::after,
91 - li:nth-child(3)::after {
92 - content: "•";
93 - margin: 0 5px;
94 - }
95 - }
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;
231 +}
232 +
233 +.hero-support {
234 + max-width: 760px;
235 + margin: 14px auto 0;
236 + color: @muted;
237 + line-height: 1.55;
238 +}
239 +
240 +.hero-actions,
241 +#hero-cta {
242 + display: flex;
243 + gap: 12px;
244 + flex-wrap: wrap;
245 + justify-content: center;
246 + margin-top: 22px;
247 +}
248 +
249 +/* ========== Trust Strip ========== */
250 +
251 +.trust-strip {
252 + padding: 18px 0;
253 + border-top: 1px solid @line;
254 + border-bottom: 1px solid @line;
255 + background: #fff;
256 +
257 + ul {
258 + max-width: 960px;
259 + margin: 0 auto;
260 + padding: 0;
261 + list-style: none;
262 + display: flex;
263 + justify-content: center;
264 + gap: 22px;
265 + flex-wrap: wrap;
266 + color: @muted;
267 + font-size: 13px;
96 96   }
269 +
270 + li {
271 + display: flex;
272 + align-items: center;
273 + gap: 7px;
274 + }
275 +
276 + i {
277 + color: @brand;
278 + }
97 97  }
98 98  
99 -/* ===== WHY CHOOSE (cards) ===== */
281 +/* ========== Reusable Grids ========== */
282 +
283 +.card-grid,
284 +.pathways,
285 +.services-grid,
286 +.resource-grid,
100 100  .widgets {
101 - margin-top: 12px;
102 102   display: grid;
103 - grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
104 - grid-gap: 16px;
289 + grid-gap: 18px;
290 + margin-left: auto;
291 + margin-right: auto;
105 105  }
106 106  
107 -.widget {
108 - padding: 18px;
294 +.card-grid,
295 +.pathways,
296 +.services-grid {
297 + grid-template-columns: repeat(3, minmax(0, 1fr));
298 + max-width: 1040px;
299 + margin-top: 26px;
300 +}
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 {
109 109   background: #fff;
110 110   border: 1px solid @line;
111 111   border-radius: @radius;
112 112   box-shadow: @shadow-sm;
113 113   transition: transform .18s ease, box-shadow .18s ease;
114 - display: flex;
115 - flex-direction: column;
116 - height: 100%;
117 117  
118 118   &:hover {
119 119   transform: translateY(-2px);
120 120   box-shadow: @shadow;
121 121   }
338 +}
122 122  
340 +/* ========== Small Widgets ========== */
341 +
342 +.widget {
343 + padding: 18px;
344 + display: flex;
345 + flex-direction: column;
346 + height: 100%;
347 +
123 123   .icon {
124 124   display: flex;
125 125   align-items: center;
126 126   gap: 10px;
127 - padding-bottom: 6px;
128 - margin-bottom: 8px;
129 - border-bottom: 1px solid fade(@line, 60%);
130 - i { color: @brand; }
131 - h4 { margin: 0; line-height: 1.2; color: @text; }
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 + }
132 132   }
133 133  
134 134   p {
... ... @@ -138,31 +138,95 @@
138 138   }
139 139  }
140 140  
141 -/* ===== SERVICES ===== */
142 -.services {
143 - .services-grid {
144 - margin-top: 20px;
145 - display: flex;
146 - flex-wrap: wrap;
147 - gap: 24px;
374 +/* ========== Homepage Pathway Cards ========== */
148 148  
149 - /* center the whole block under the heading */
150 - max-width: 960px;
151 - margin-left: auto;
152 - margin-right: auto;
376 +.pathway-card {
377 + padding: 24px;
378 + display: flex;
379 + flex-direction: column;
380 + min-height: 100%;
381 +
382 + .pathway-icon {
383 + width: 52px;
384 + height: 52px;
385 + border-radius: 50%;
386 + display: flex;
387 + align-items: center;
153 153   justify-content: center;
389 + color: @brand;
390 + background: fade(@brand, 10%);
391 + margin-bottom: 18px;
392 + font-size: 19px;
154 154   }
155 155  
395 + h3 {
396 + margin: 0 0 10px;
397 + color: @text;
398 + font-size: 22px;
399 + line-height: 1.25;
400 + }
401 +
402 + p {
403 + color: @muted;
404 + line-height: 1.55;
405 + margin: 0 0 16px;
406 + }
407 +
408 + ul {
409 + margin: 0 0 22px;
410 + padding-left: 18px;
411 + color: @muted;
412 + font-size: 14px;
413 + line-height: 1.55;
414 + }
415 +
416 + li {
417 + margin: 6px 0;
418 + }
419 +
420 + .card-link {
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 + }
435 +}
436 +
437 +/* ========== Services ========== */
438 +
439 +.services {
440 + .services-grid {
441 + max-width: 1040px;
442 + }
443 +
156 156   .service {
157 - flex: 0 1 calc(50% - 12px);
158 158   display: flex;
159 159   align-items: flex-start;
160 160   gap: 16px;
161 - margin-bottom: 8px;
448 + padding: 22px;
449 + background: #fff;
450 + border: 1px solid @line;
451 + border-radius: @radius;
452 + box-shadow: @shadow-sm;
453 + transition: transform .18s ease, box-shadow .18s ease;
162 162  
455 + &:hover {
456 + transform: translateY(-2px);
457 + box-shadow: @shadow;
458 + }
459 +
163 163   .service-icon {
164 - width: 42px;
165 - height: 42px;
461 + width: 46px;
462 + height: 46px;
166 166   border-radius: 50%;
167 167   display: flex;
168 168   align-items: center;
... ... @@ -171,67 +171,846 @@
171 171   color: @brand;
172 172   background: fade(@brand, 10%);
173 173   flex-shrink: 0;
174 - margin-top: 3px;
471 + margin-top: 2px;
175 175   }
176 176  
177 177   .service-body {
178 178   h4 {
179 - margin: 0 0 4px;
180 - font-size: 1.125rem;
476 + margin: 0 0 6px;
477 + font-size: 18px;
478 + line-height: 1.25;
181 181   font-weight: 800;
480 + color: @text;
182 182   }
482 +
183 183   p {
184 - margin: 0 0 6px;
185 - color: @text;
484 + margin: 0 0 8px;
485 + color: @muted;
186 186   line-height: 1.5;
187 187   }
488 +
188 188   ul {
189 - margin: .45rem 0 0;
190 - padding-left: 1.1rem;
490 + margin: 9px 0 0;
491 + padding-left: 18px;
191 191   color: @muted;
192 192   font-size: 13px;
494 + line-height: 1.5;
193 193   }
496 +
194 194   li {
195 - margin: .25rem 0;
196 - line-height: 1.45;
498 + margin: 4px 0;
197 197   }
198 198   }
199 199   }
502 +}
200 200  
201 - /* ==== Center last item on its own row while keeping 50% width ==== */
202 - .service-center {
203 - /* same width as siblings */
204 - flex: 0 1 calc(55% - 12px);
504 +/* ========== Split / Process Section ========== */
205 205  
206 - /* push to center */
207 - margin-left: auto;
208 - margin-right: auto;
506 +.split-section {
507 + background:
508 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%);
509 +}
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 +}
519 +
520 +.split-copy {
521 + h2 {
522 + text-align: left;
523 + margin-top: 0;
209 209   }
210 210  
211 - /* Mobile: 1 per row */
212 - @media (max-width: 767px) {
213 - .services-grid {
214 - gap: 16px;
215 - max-width: 100%;
526 + p {
527 + color: @muted;
528 + line-height: 1.6;
529 + }
530 +}
531 +
532 +.process-list {
533 + counter-reset: process;
534 + margin: 0;
535 + padding: 0;
536 + list-style: none;
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;
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;
216 216   }
217 217  
218 - .service,
219 - .service-center {
220 - flex: 0 1 100%;
221 - margin-left: 0;
222 - margin-right: 0;
566 + strong {
567 + display: block;
568 + color: @text;
569 + margin-bottom: 3px;
223 223   }
224 224   }
225 225  }
226 226  
227 -/* ===== CTA ===== */
574 +/* ========== Resources ========== */
575 +
576 +.resource-strip {
577 + background: @brand-bg;
578 +}
579 +
580 +.resource-card {
581 + padding: 20px;
582 +
583 + h4 {
584 + margin: 0 0 8px;
585 + color: @text;
586 + font-size: 18px;
587 + line-height: 1.25;
588 + }
589 +
590 + p {
591 + color: @muted;
592 + margin: 0 0 12px;
593 + line-height: 1.5;
594 + }
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 +/* ========== CTA ========== */
628 +
228 228  .cta-section {
229 - padding: 24px 0 16px;
630 + padding: 32px 0 24px;
230 230  
231 231   .contact-inline {
232 232   margin: 0;
233 233   color: @muted;
234 - a { color: @brand; }
635 +
636 + a {
637 + color: @brand;
638 + }
235 235   }
236 236  }
237 237  
642 +.cta-panel {
643 + max-width: 860px;
644 + margin: 0 auto;
645 + padding: 32px;
646 + border-radius: @radius;
647 + border: 1px solid fade(@brand, 20%);
648 + background:
649 + radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%);
650 + box-shadow: @shadow-sm;
651 + text-align: center;
652 +
653 + h2 {
654 + margin-top: 0;
655 + }
656 +
657 + p {
658 + color: @muted;
659 + line-height: 1.55;
660 + }
661 +}
662 +
663 +/* ========== Responsive ========== */
664 +
665 +@media (max-width: 980px) {
666 + .widgets,
667 + .pathways,
668 + .services-grid,
669 + .resource-grid {
670 + grid-template-columns: repeat(2, minmax(0, 1fr));
671 + }
672 +
673 + .split-grid {
674 + grid-template-columns: 1fr;
675 + }
676 +
677 + .split-copy h2 {
678 + text-align: center;
679 + }
680 +}
681 +
682 +@media (max-width: 760px) {
683 + section[id] {
684 + scroll-margin-top: 132px;
685 + }
686 +
687 + .header-inner {
688 + min-height: auto;
689 + padding-top: 14px;
690 + padding-bottom: 14px;
691 + flex-direction: column;
692 + align-items: center;
693 + gap: 12px;
694 + }
695 +
696 + .site-nav {
697 + width: 100%;
698 + justify-content: center;
699 + flex-wrap: wrap;
700 + gap: 10px 16px;
701 + font-size: 14px;
702 +
703 + .nav-cta {
704 + padding: 7px 12px;
705 + }
706 + }
707 +
708 + .hero.hero-centered {
709 + min-height: 280px;
710 + }
711 +
712 + .hero {
713 + .lead {
714 + font-size: 17px;
715 + }
716 +
717 + .benefits {
718 + gap: 4px 10px;
719 +
720 + li + li::before {
721 + content: none;
722 + }
723 + }
724 + }
725 +}
726 +
727 +@media (max-width: 640px) {
728 + section {
729 + padding: 34px 0;
730 + }
731 +
732 + .widgets,
733 + .pathways,
734 + .services-grid,
735 + .resource-grid {
736 + grid-template-columns: 1fr;
737 + }
738 +
739 + .pathway-card,
740 + .services .service,
741 + .resource-card,
742 + .widget {
743 + padding: 20px;
744 + }
745 +
746 + .services .service {
747 + gap: 14px;
748 + }
749 +
750 + .cta-panel {
751 + padding: 24px 20px;
752 + }
753 +}
754 +/* ========== Resource / Article Pages ========== */
755 +
756 +.resource-page {
757 + padding-top: 34px;
758 +}
759 +
760 +.resource-header {
761 + padding: 40px 0 30px;
762 + border-top: none;
763 + background:
764 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
765 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
766 +
767 + h1 {
768 + margin: 0 auto 14px;
769 + text-align: center;
770 + line-height: 1.18;
771 + }
772 +
773 + .resource-summary {
774 + max-width: 780px;
775 + margin: 0 auto;
776 + color: @muted;
777 + text-align: center;
778 + font-size: 18px;
779 + line-height: 1.55;
780 + }
781 +}
782 +
783 +.resource-layout {
784 + display: grid;
785 + grid-template-columns: minmax(0, 760px) 280px;
786 + gap: 42px;
787 + max-width: 1080px;
788 + margin: 0 auto;
789 + align-items: start;
790 +}
791 +
792 +.resource-content {
793 + color: @text;
794 + font-size: 16px;
795 + line-height: 1.68;
796 +
797 + h2 {
798 + text-align: left;
799 + margin: 34px 0 12px;
800 + line-height: 1.28;
801 + }
802 +
803 + h3 {
804 + margin: 24px 0 8px;
805 + line-height: 1.3;
806 + }
807 +
808 + p {
809 + margin: 0 0 16px;
810 + }
811 +
812 + ul,
813 + ol {
814 + margin: 0 0 18px;
815 + padding-left: 22px;
816 + }
817 +
818 + li {
819 + margin: 6px 0;
820 + }
821 +
822 + strong {
823 + color: @text;
824 + }
825 +}
826 +
827 +.resource-note {
828 + border-left: 4px solid @brand;
829 + background: @brand-bg;
830 + padding: 16px 18px;
831 + margin: 22px 0;
832 + border-radius: 0 @radius @radius 0;
833 +
834 + p:last-child {
835 + margin-bottom: 0;
836 + }
837 +}
838 +
839 +.resource-checklist {
840 + margin: 18px 0 24px;
841 + padding: 0;
842 + list-style: none;
843 +
844 + li {
845 + position: relative;
846 + padding: 10px 0 10px 34px;
847 + border-bottom: 1px solid @line;
848 +
849 + &:before {
850 + content: "\f00c";
851 + font-family: FontAwesome;
852 + position: absolute;
853 + left: 0;
854 + top: 11px;
855 + color: @brand;
856 + }
857 + }
858 +}
859 +
860 +.resource-sidebar {
861 + position: sticky;
862 + top: 96px;
863 + border: 1px solid @line;
864 + border-radius: @radius;
865 + padding: 18px;
866 + background: #fff;
867 + box-shadow: @shadow-sm;
868 +
869 + h4 {
870 + margin: 0 0 10px;
871 + }
872 +
873 + ul {
874 + margin: 0;
875 + padding-left: 18px;
876 + color: @muted;
877 + }
878 +
879 + li {
880 + margin: 8px 0;
881 + }
882 +
883 + a {
884 + color: @brand;
885 + font-weight: 600;
886 + }
887 +}
888 +
889 +.resource-cta {
890 + margin-top: 36px;
891 + padding: 22px;
892 + border: 1px solid fade(@brand, 20%);
893 + border-radius: @radius;
894 + background: @brand-bg;
895 +
896 + h3 {
897 + margin-top: 0;
898 + }
899 +
900 + p {
901 + color: @muted;
902 + }
903 +}
904 +
905 +@media (max-width: 900px) {
906 + .resource-layout {
907 + grid-template-columns: 1fr;
908 + }
909 +
910 + .resource-sidebar {
911 + position: static;
912 + }
913 +}
914 +/* ========== Products / Extensions Pages ========== */
915 +
916 +.product-index-section {
917 + padding: 52px 0 56px;
918 +
919 + h2 {
920 + margin-bottom: 10px;
921 + }
922 +}
923 +
924 +.product-card-grid {
925 + max-width: 840px;
926 + margin: 28px auto 0;
927 + display: grid;
928 + grid-template-columns: 1fr;
929 + grid-gap: 18px;
930 +}
931 +
932 +.product-card {
933 + background: #fff;
934 + border: 1px solid @line;
935 + border-radius: @radius;
936 + box-shadow: @shadow-sm;
937 + padding: 28px;
938 + display: grid;
939 + grid-template-columns: 68px 1fr;
940 + grid-gap: 22px;
941 + align-items: start;
942 + transition: transform .18s ease, box-shadow .18s ease;
943 +
944 + &:hover {
945 + transform: translateY(-2px);
946 + box-shadow: @shadow;
947 + }
948 +
949 + .product-card-icon {
950 + width: 58px;
951 + height: 58px;
952 + border-radius: 50%;
953 + background: fade(@brand, 10%);
954 + border: 1px solid fade(@brand, 20%);
955 + color: @brand;
956 + display: flex;
957 + align-items: center;
958 + justify-content: center;
959 + font-size: 22px;
960 + flex-shrink: 0;
961 + }
962 +
963 + h3 {
964 + margin: 0 0 10px;
965 + color: @text;
966 + font-size: 23px;
967 + line-height: 1.25;
968 + font-weight: 800;
969 + }
970 +
971 + p {
972 + color: @muted;
973 + line-height: 1.6;
974 + }
975 +
976 + .card-link {
977 + margin: 0;
978 +
979 + a {
980 + font-weight: 700;
981 + }
982 + }
983 +}
984 +
985 +.product-card-kicker {
986 + margin-bottom: 10px;
987 + padding: 5px 10px;
988 + font-size: 12px;
989 + text-transform: uppercase;
990 + letter-spacing: .04em;
991 +}
992 +
993 +.product-highlights {
994 + margin: 14px 0 20px;
995 + padding-left: 18px;
996 + color: @muted;
997 +
998 + li {
999 + margin: 6px 0;
1000 + line-height: 1.45;
1001 + }
1002 +}
1003 +
1004 +/* ========== Individual Product Pages ========== */
1005 +
1006 +.product-layout {
1007 + display: grid;
1008 + grid-template-columns: 1.1fr .9fr;
1009 + grid-gap: 36px;
1010 + max-width: 1040px;
1011 + margin: 0 auto;
1012 + align-items: start;
1013 +}
1014 +
1015 +.product-summary-card,
1016 +.product-info-card,
1017 +.product-gallery-panel {
1018 + background: #fff;
1019 + border: 1px solid @line;
1020 + border-radius: @radius;
1021 + box-shadow: @shadow-sm;
1022 +}
1023 +
1024 +.product-summary-card {
1025 + padding: 26px;
1026 +
1027 + h2 {
1028 + text-align: left;
1029 + margin-top: 0;
1030 + }
1031 +
1032 + p {
1033 + color: @muted;
1034 + line-height: 1.6;
1035 + }
1036 +
1037 + p:last-child {
1038 + margin-bottom: 0;
1039 + }
1040 +}
1041 +
1042 +.product-info-card {
1043 + padding: 22px;
1044 +
1045 + h3 {
1046 + margin-top: 0;
1047 + margin-bottom: 12px;
1048 + }
1049 +
1050 + ul {
1051 + margin: 0;
1052 + padding-left: 20px;
1053 + color: @muted;
1054 + }
1055 +
1056 + li {
1057 + margin: 8px 0;
1058 + line-height: 1.45;
1059 + }
1060 +}
1061 +
1062 +.product-feature-grid {
1063 + display: grid;
1064 + grid-template-columns: repeat(3, minmax(0, 1fr));
1065 + grid-gap: 18px;
1066 + max-width: 1040px;
1067 + margin: 26px auto 0;
1068 +}
1069 +
1070 +.product-feature {
1071 + background: #fff;
1072 + border: 1px solid @line;
1073 + border-radius: @radius;
1074 + box-shadow: @shadow-sm;
1075 + padding: 22px;
1076 + transition: transform .18s ease, box-shadow .18s ease;
1077 +
1078 + &:hover {
1079 + transform: translateY(-2px);
1080 + box-shadow: @shadow;
1081 + }
1082 +
1083 + .feature-icon {
1084 + width: 46px;
1085 + height: 46px;
1086 + border-radius: 50%;
1087 + background: fade(@brand, 10%);
1088 + color: @brand;
1089 + display: flex;
1090 + align-items: center;
1091 + justify-content: center;
1092 + margin-bottom: 14px;
1093 + font-size: 18px;
1094 + }
1095 +
1096 + h3 {
1097 + margin: 0 0 8px;
1098 + color: @text;
1099 + font-size: 18px;
1100 + line-height: 1.25;
1101 + }
1102 +
1103 + p {
1104 + margin: 0;
1105 + color: @muted;
1106 + line-height: 1.5;
1107 + }
1108 +}
1109 +
1110 +.product-gallery-panel {
1111 + max-width: 1040px;
1112 + margin: 20px auto 0;
1113 + padding: 26px;
1114 +
1115 + h2 {
1116 + margin-top: 0;
1117 + text-align: center;
1118 + }
1119 +
1120 + .gallery-note {
1121 + max-width: 700px;
1122 + margin: 0 auto 18px;
1123 + color: @muted;
1124 + text-align: center;
1125 + line-height: 1.55;
1126 + }
1127 +}
1128 +
1129 +.product-gallery-placeholder {
1130 + min-height: 260px;
1131 + padding: 28px;
1132 + border: 1px dashed fade(@brand, 40%);
1133 + border-radius: @radius;
1134 + background: fade(@brand, 5%);
1135 + color: @muted;
1136 + text-align: center;
1137 + display: flex;
1138 + align-items: center;
1139 + justify-content: center;
1140 +}
1141 +
1142 +.product-section-muted {
1143 + background:
1144 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%);
1145 +}
1146 +
1147 +@media (max-width: 980px) {
1148 + .product-layout,
1149 + .product-feature-grid {
1150 + grid-template-columns: 1fr;
1151 + }
1152 +
1153 + .product-summary-card h2 {
1154 + text-align: center;
1155 + }
1156 +}
1157 +
1158 +@media (max-width: 640px) {
1159 + .product-card {
1160 + grid-template-columns: 1fr;
1161 + padding: 22px;
1162 + text-align: left;
1163 +
1164 + .product-card-icon {
1165 + margin-bottom: 2px;
1166 + }
1167 + }
1168 +
1169 + .product-summary-card,
1170 + .product-info-card,
1171 + .product-feature,
1172 + .product-gallery-panel {
1173 + padding: 20px;
1174 + }
1175 +}
1176 +/* ========== Resources Index ========== */
1177 +
1178 +.resources-index-page {
1179 + padding: 56px 0 72px;
1180 + background: @brand-bg;
1181 +}
1182 +
1183 +.resources-intro {
1184 + max-width: 820px;
1185 + margin: 0 auto 32px;
1186 + text-align: center;
1187 +}
1188 +
1189 +.resources-intro p {
1190 + color: @muted;
1191 + font-size: 17px;
1192 + line-height: 1.7;
1193 + margin: 0;
1194 +}
1195 +
1196 +.resources-grid {
1197 + display: grid;
1198 + grid-template-columns: repeat(2, minmax(0, 1fr));
1199 + gap: 24px;
1200 + margin-bottom: 36px;
1201 +}
1202 +
1203 +.resource-card {
1204 + display: flex;
1205 + gap: 18px;
1206 + background: #fff;
1207 + border: 1px solid @line;
1208 + border-radius: @radius;
1209 + box-shadow: @shadow-sm;
1210 + padding: 24px;
1211 +}
1212 +
1213 +.resource-card-icon {
1214 + flex: 0 0 46px;
1215 + width: 46px;
1216 + height: 46px;
1217 + border-radius: 14px;
1218 + background: @brand-soft;
1219 + color: @brand-strong;
1220 + display: flex;
1221 + align-items: center;
1222 + justify-content: center;
1223 + font-size: 20px;
1224 +}
1225 +
1226 +.resource-card-label {
1227 + color: @brand-strong;
1228 + font-size: 13px;
1229 + font-weight: 700;
1230 + text-transform: uppercase;
1231 + letter-spacing: .04em;
1232 + margin-bottom: 8px;
1233 +}
1234 +
1235 +.resource-card h2 {
1236 + font-size: 22px;
1237 + line-height: 1.25;
1238 + margin: 0 0 12px;
1239 +}
1240 +
1241 +.resource-card h2 a {
1242 + color: @text;
1243 + text-decoration: none;
1244 +}
1245 +
1246 +.resource-card h2 a:hover {
1247 + color: @brand-strong;
1248 + text-decoration: none;
1249 +}
1250 +
1251 +.resource-card p {
1252 + color: @muted;
1253 + font-size: 15px;
1254 + line-height: 1.65;
1255 + margin: 0 0 16px;
1256 +}
1257 +
1258 +.resource-card-link {
1259 + color: @brand-strong;
1260 + font-weight: 700;
1261 + text-decoration: none;
1262 +}
1263 +
1264 +.resource-card-link:hover {
1265 + color: @brand;
1266 + text-decoration: none;
1267 +}
1268 +
1269 +.resources-next {
1270 + max-width: 820px;
1271 + margin: 0 auto 32px;
1272 + text-align: center;
1273 +}
1274 +
1275 +.resources-next h2 {
1276 + font-size: 26px;
1277 + margin: 0 0 10px;
1278 +}
1279 +
1280 +.resources-next p {
1281 + color: @muted;
1282 + font-size: 16px;
1283 + line-height: 1.7;
1284 + margin: 0;
1285 +}
1286 +
1287 +@media (max-width: 767px) {
1288 + .resources-index-page {
1289 + padding: 36px 0 52px;
1290 + }
1291 +
1292 + .resources-intro {
1293 + text-align: left;
1294 + margin-bottom: 24px;
1295 + }
1296 +
1297 + .resources-grid {
1298 + grid-template-columns: 1fr;
1299 + gap: 18px;
1300 + }
1301 +
1302 + .resource-card {
1303 + padding: 20px;
1304 + }
1305 +
1306 + .resource-card h2 {
1307 + font-size: 20px;
1308 + }
1309 +
1310 + .resources-next {
1311 + text-align: left;
1312 + }
1313 +}
XWiki.StyleSheetExtension[1]
cache
... ... @@ -1,0 +1,1 @@
1 +long
code
... ... @@ -1,0 +1,149 @@
1 +/* ========== Agnease Public Top Menu ========== */
2 +
3 +.agnease-menu-item {
4 + .dropdown-toggle {
5 + font-weight: inherit;
6 + font-size: inherit;
7 + }
8 +
9 + .caret {
10 + margin-left: 4px;
11 + border-top-color: @brand;
12 + border-bottom-color: @brand;
13 + }
14 +
15 + &.open > .dropdown-toggle,
16 + .dropdown-toggle:hover,
17 + .dropdown-toggle:focus {
18 + color: @brand-strong;
19 + background: transparent;
20 + background-color: transparent;
21 + box-shadow: none;
22 + }
23 +
24 + &.open > .dropdown-toggle .caret,
25 + .dropdown-toggle:hover .caret,
26 + .dropdown-toggle:focus .caret {
27 + border-top-color: @brand-strong;
28 + border-bottom-color: @brand-strong;
29 + }
30 +}
31 +
32 +/* Dropdown panels */
33 +
34 +.agnease-dropdown {
35 + min-width: 270px;
36 + padding: 8px;
37 + border: 1px solid fade(@brand, 18%);
38 + border-radius: 12px;
39 + background: #fff;
40 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
41 +
42 + > li > a {
43 + display: flex;
44 + align-items: center;
45 + gap: 10px;
46 + padding: 9px 11px;
47 + border-radius: 9px;
48 + color: @brand;
49 + background: transparent;
50 + white-space: nowrap;
51 + font-size: 14px;
52 + font-weight: 700;
53 + line-height: 1.25;
54 +
55 + i {
56 + width: 18px;
57 + flex: 0 0 18px;
58 + color: @brand;
59 + text-align: center;
60 + font-size: 14px;
61 + }
62 +
63 + &:hover,
64 + &:focus,
65 + &:active {
66 + color: @brand-strong;
67 + background: fade(@brand, 8%);
68 + text-decoration: none;
69 + outline: none;
70 +
71 + i {
72 + color: @brand-strong;
73 + }
74 + }
75 + }
76 +
77 + > .active > a,
78 + > .active > a:hover,
79 + > .active > a:focus {
80 + color: @brand-strong;
81 + background: fade(@brand, 10%);
82 + text-decoration: none;
83 +
84 + i {
85 + color: @brand-strong;
86 + }
87 + }
88 +
89 + .divider {
90 + margin: 7px 0;
91 + background-color: fade(@brand, 16%);
92 + }
93 +}
94 +
95 +.agnease-products-dropdown,
96 +.agnease-resources-dropdown {
97 + min-width: 260px;
98 +}
99 +
100 +/* Remove gray Bootstrap dropdown item states */
101 +.dropdown-menu > li > a:hover,
102 +.dropdown-menu > li > a:focus {
103 + background-image: none;
104 +}
105 +
106 +/* ========== Mobile Menu ========== */
107 +
108 +@media (max-width: 767px) {
109 + .navbar-nav > li.agnease-menu-item > a,
110 + .navbar-nav > li > a {
111 + padding-top: 8px;
112 + padding-bottom: 8px;
113 + }
114 +
115 + .agnease-dropdown {
116 + min-width: 0;
117 + width: 100%;
118 + padding: 4px 8px 8px 18px;
119 + border: 0;
120 + border-radius: 0;
121 + box-shadow: none;
122 + background: #fff;
123 +
124 + > li > a {
125 + padding: 8px 10px;
126 + white-space: normal;
127 + font-size: 14px;
128 + border-radius: 8px;
129 + color: @brand;
130 +
131 + i {
132 + width: 16px;
133 + flex-basis: 16px;
134 + }
135 +
136 + &:hover,
137 + &:focus,
138 + &:active {
139 + color: @brand-strong;
140 + background: fade(@brand, 8%);
141 + }
142 + }
143 +
144 + .divider {
145 + margin: 5px 0;
146 + background-color: fade(@brand, 16%);
147 + }
148 + }
149 +}
contentType
... ... @@ -1,0 +1,1 @@
1 +LESS
name
... ... @@ -1,0 +1,1 @@
1 +Menu
use
... ... @@ -1,0 +1,1 @@
1 +onDemand