Changes for page Public Web Site

Last modified by Agnease on 2026/07/01 17:17

From version 25.8
edited by Agnease
on 2026/06/30 11:05
Change comment: There is no comment for this version
To version 25.35
edited by Agnease
on 2026/06/30 11:38
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1,5 +1,5 @@
1 1  /* ========== Agnease Public Website ========== */
2 -/* Old look and feel.
2 +/*
3 3  @brand: #00937D;
4 4  @brand-strong: #007B6A;
5 5  @brand-soft: #E7FFF8;
... ... @@ -11,20 +11,20 @@
11 11  @shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
12 12  @shadow: 0 12px 36px rgba(0, 0, 0, .08);
13 13  @maxw: 1140px;
14 - */
15 -
14 +*/
15 +@brand: #00937D;
16 +@brand-strong: #007B6A;
17 +@brand-soft: #E7FFF8;
16 16  @brand-bg: #F7F9FC;
17 17  @text: #07182D;
18 18  @text-soft: #10243D;
19 19  @muted: #64748B;
20 -
21 21  @line: #E6EBF2;
22 22  @radius: 18px;
23 -
24 24  @shadow-sm: 0 18px 45px rgba(15, 23, 42, .06);
25 25  @shadow: 0 30px 80px rgba(15, 23, 42, .12);
26 -@maxw: 1240px;
27 -/* */
26 +@maxw: 1140px;
27 +
28 28  @section-padding: 30px 0;
29 29  @section-padding-mobile: 28px 0;
30 30  
... ... @@ -185,9 +185,6 @@
185 185  
186 186   &.hero-centered {
187 187   text-align: center;
188 - background:
189 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
190 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
191 191   display: flex;
192 192   align-items: center;
193 193   justify-content: center;
... ... @@ -261,7 +261,6 @@
261 261  .trust-strip {
262 262   padding: 18px 0;
263 263   border-top: 1px solid @line;
264 - background: #fff;
265 265  
266 266   ul {
267 267   max-width: 960px;
... ... @@ -334,7 +334,6 @@
334 334  .pathway-card,
335 335  .service-card,
336 336  .resource-card {
337 - background: #fff;
338 338   border: 1px solid @line;
339 339   border-radius: @radius;
340 340   box-shadow: @shadow-sm;
... ... @@ -530,7 +530,6 @@
530 530   align-items: flex-start;
531 531   gap: 16px;
532 532   padding: 22px;
533 - background: #fff;
534 534   border: 1px solid @line;
535 535   border-radius: @radius;
536 536   box-shadow: @shadow-sm;
... ... @@ -618,7 +618,6 @@
618 618   position: relative;
619 619   padding: 16px 16px 16px 58px;
620 620   margin-bottom: 12px;
621 - background: #fff;
622 622   border: 1px solid @line;
623 623   border-radius: @radius;
624 624   box-shadow: @shadow-sm;
... ... @@ -769,8 +769,6 @@
769 769   padding: 32px;
770 770   border-radius: @radius;
771 771   border: 1px solid fade(@brand, 20%);
772 - background:
773 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%);
774 774   box-shadow: @shadow-sm;
775 775   text-align: center;
776 776  
... ... @@ -1178,7 +1178,6 @@
1178 1178  
1179 1179  .product-card {
1180 1180   position: relative;
1181 - background: #fff;
1182 1182   border: 1px solid @line;
1183 1183   border-radius: @radius;
1184 1184   box-shadow: @shadow-sm;
... ... @@ -1328,7 +1328,6 @@
1328 1328  .product-info-card,
1329 1329  .product-feature,
1330 1330  .product-gallery-panel {
1331 - background: #fff;
1332 1332   border: 1px solid @line;
1333 1333   border-radius: @radius;
1334 1334   box-shadow: @shadow-sm;
... ... @@ -1571,7 +1571,6 @@
1571 1571  /* ========== Resources Index ========== */
1572 1572  
1573 1573  .resources-index-page {
1574 - background: #fff;
1575 1575  
1576 1576   .services-grid {
1577 1577   grid-template-columns: repeat(2, minmax(0, 1fr));
... ... @@ -1607,3 +1607,52 @@
1607 1607   color: @muted;
1608 1608   }
1609 1609  }
1598 +
1599 +/* ========== Global Theme Background ========== */
1600 +
1601 +html,
1602 +body {
1603 + min-height: 100%;
1604 +}
1605 +
1606 +body {
1607 + color: @text;
1608 + background:
1609 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.08) 0, transparent 26%),
1610 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.05) 0, transparent 30%),
1611 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important;
1612 + background-attachment: fixed;
1613 +}
1614 +
1615 +/* Let the body background show through the XWiki wrappers.
1616 +#mainContentArea,
1617 +.resource-page,
1618 +.resources-index-page {
1619 + background: transparent !important;
1620 + background-image: none !important;
1621 +}
1622 +*/
1623 +/* Remove local decorative backgrounds that compete with the global gradient.
1624 +.hero,
1625 +.hero.hero-centered,
1626 +.trust-strip,
1627 +.industry-trust-section,
1628 +.split-section,
1629 +.resource-strip,
1630 +.homepage-resource-strip,
1631 +.resource-header,
1632 +.product-section-muted,
1633 +.resources-index-page {
1634 + background: transparent !important;
1635 + background-image: none !important;
1636 +}
1637 + */
1638 +/* Keep large panels readable, but remove their inner gradients.
1639 +.industry-trust-section .industry-trust-panel,
1640 +.cta-panel,
1641 +.resource-inline-cta,
1642 +.resource-note,
1643 +.resource-cta {
1644 + background: #fff !important;
1645 + background-image: none !important;
1646 +} */