Changes for page Public Web Site

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

From version 25.1
edited by Agnease
on 2026/06/29 13:22
Change comment: Imported from XAR
To version 25.37
edited by Agnease
on 2026/06/30 11:41
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 -
2 +/*
3 3  @brand: #00937D;
4 4  @brand-strong: #007B6A;
5 5  @brand-soft: #E7FFF8;
... ... @@ -11,6 +11,19 @@
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 +@brand: #00937D;
16 +@brand-strong: #007B6A;
17 +@brand-soft: #E7FFF8;
18 +@brand-bg: #F7F9FC;
19 +@text: #07182D;
20 +@text-soft: #10243D;
21 +@muted: #64748B;
22 +@line: #E6EBF2;
23 +@radius: 18px;
24 +@shadow-sm: 0 18px 45px rgba(15, 23, 42, .06);
25 +@shadow: 0 30px 80px rgba(15, 23, 42, .12);
26 +@maxw: 1140px;
14 14  
15 15  @section-padding: 30px 0;
16 16  @section-padding-mobile: 28px 0;
... ... @@ -172,9 +172,6 @@
172 172  
173 173   &.hero-centered {
174 174   text-align: center;
175 - background:
176 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
177 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
178 178   display: flex;
179 179   align-items: center;
180 180   justify-content: center;
... ... @@ -248,7 +248,6 @@
248 248  .trust-strip {
249 249   padding: 18px 0;
250 250   border-top: 1px solid @line;
251 - background: #fff;
252 252  
253 253   ul {
254 254   max-width: 960px;
... ... @@ -321,7 +321,6 @@
321 321  .pathway-card,
322 322  .service-card,
323 323  .resource-card {
324 - background: #fff;
325 325   border: 1px solid @line;
326 326   border-radius: @radius;
327 327   box-shadow: @shadow-sm;
... ... @@ -517,7 +517,6 @@
517 517   align-items: flex-start;
518 518   gap: 16px;
519 519   padding: 22px;
520 - background: #fff;
521 521   border: 1px solid @line;
522 522   border-radius: @radius;
523 523   box-shadow: @shadow-sm;
... ... @@ -605,7 +605,6 @@
605 605   position: relative;
606 606   padding: 16px 16px 16px 58px;
607 607   margin-bottom: 12px;
608 - background: #fff;
609 609   border: 1px solid @line;
610 610   border-radius: @radius;
611 611   box-shadow: @shadow-sm;
... ... @@ -756,8 +756,6 @@
756 756   padding: 32px;
757 757   border-radius: @radius;
758 758   border: 1px solid fade(@brand, 20%);
759 - background:
760 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%);
761 761   box-shadow: @shadow-sm;
762 762   text-align: center;
763 763  
... ... @@ -916,9 +916,6 @@
916 916  .resource-header {
917 917   padding: @section-padding;
918 918   border-top: none;
919 - background:
920 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
921 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
922 922  
923 923   h1 {
924 924   margin: 0 auto 14px;
... ... @@ -1066,7 +1066,6 @@
1066 1066   border: 1px solid @line;
1067 1067   border-radius: @radius;
1068 1068   padding: 18px;
1069 - background: #fff;
1070 1070   box-shadow: @shadow-sm;
1071 1071  
1072 1072   h4 {
... ... @@ -1165,7 +1165,6 @@
1165 1165  
1166 1166  .product-card {
1167 1167   position: relative;
1168 - background: #fff;
1169 1169   border: 1px solid @line;
1170 1170   border-radius: @radius;
1171 1171   box-shadow: @shadow-sm;
... ... @@ -1315,7 +1315,6 @@
1315 1315  .product-info-card,
1316 1316  .product-feature,
1317 1317  .product-gallery-panel {
1318 - background: #fff;
1319 1319   border: 1px solid @line;
1320 1320   border-radius: @radius;
1321 1321   box-shadow: @shadow-sm;
... ... @@ -1558,7 +1558,6 @@
1558 1558  /* ========== Resources Index ========== */
1559 1559  
1560 1560  .resources-index-page {
1561 - background: #fff;
1562 1562  
1563 1563   .services-grid {
1564 1564   grid-template-columns: repeat(2, minmax(0, 1fr));
... ... @@ -1594,3 +1594,52 @@
1594 1594   color: @muted;
1595 1595   }
1596 1596  }
1594 +
1595 +/* ========== Global Theme Background ========== */
1596 +
1597 +html,
1598 +body {
1599 + min-height: 100%;
1600 +}
1601 +
1602 +body {
1603 + color: @text;
1604 + background:
1605 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.08) 0, transparent 26%),
1606 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.05) 0, transparent 30%),
1607 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important;
1608 + background-attachment: fixed;
1609 +}
1610 +
1611 +/* Let the body background show through the XWiki wrappers.
1612 +#mainContentArea,
1613 +.resource-page,
1614 +.resources-index-page {
1615 + background: transparent !important;
1616 + background-image: none !important;
1617 +}
1618 +*/
1619 +/* Remove local decorative backgrounds that compete with the global gradient.
1620 +.hero,
1621 +.hero.hero-centered,
1622 +.trust-strip,
1623 +.industry-trust-section,
1624 +.split-section,
1625 +.resource-strip,
1626 +.homepage-resource-strip,
1627 +.resource-header,
1628 +.product-section-muted,
1629 +.resources-index-page {
1630 + background: transparent !important;
1631 + background-image: none !important;
1632 +}
1633 + */
1634 +/* Keep large panels readable, but remove their inner gradients.
1635 +.industry-trust-section .industry-trust-panel,
1636 +.cta-panel,
1637 +.resource-inline-cta,
1638 +.resource-note,
1639 +.resource-cta {
1640 + background: #fff !important;
1641 + background-image: none !important;
1642 +} */