Changes for page Public Web Site

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

From version 10.27
edited by Agnease
on 2026/05/19 07:13
Change comment: There is no comment for this version
To version 10.44
edited by Agnease
on 2026/05/22 08:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -146,7 +146,7 @@
146 146   </div>
147 147   </section>
148 148  
149 - <section class="resource-strip" aria-labelledby="resources-title">
149 + <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title">
150 150   <div class="container">
151 151   <h2 id="resources-title">Useful XWiki resources</h2>
152 152   <p class="section-intro">
XWiki.StyleSheetExtension[0]
code
... ... @@ -329,12 +329,6 @@
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 338  }
339 339  
340 340  /* ========== Small Widgets ========== */
... ... @@ -450,13 +450,7 @@
450 450   border: 1px solid @line;
451 451   border-radius: @radius;
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;
458 - }
459 -
460 460   .service-icon {
461 461   width: 46px;
462 462   height: 46px;
... ... @@ -624,6 +624,77 @@
624 624   }
625 625  }
626 626  
615 +/* ========== Homepage Resource Strip ========== */
616 +
617 +.homepage-resource-strip {
618 + background:
619 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%);
620 +
621 + .resource-grid {
622 + max-width: 1040px;
623 + margin: 26px auto 0;
624 + display: grid;
625 + grid-template-columns: repeat(2, minmax(0, 1fr));
626 + grid-gap: 22px;
627 + align-items: stretch;
628 + }
629 +
630 + .resource-card {
631 + display: flex;
632 + flex-direction: column;
633 + min-width: 0;
634 + min-height: 100%;
635 + padding: 26px;
636 + }
637 +
638 + .resource-card h4 {
639 + margin: 0 0 10px;
640 + color: @text;
641 + font-size: 21px;
642 + line-height: 1.25;
643 + font-weight: 700;
644 + }
645 +
646 + .resource-card p {
647 + margin: 0 0 18px;
648 + color: @muted;
649 + font-size: 15px;
650 + line-height: 1.6;
651 + }
652 +
653 + .resource-card a {
654 + margin-top: auto;
655 + color: @brand;
656 + font-weight: 700;
657 + text-decoration: underline;
658 +
659 + &:hover,
660 + &:focus {
661 + color: @brand-strong;
662 + }
663 + }
664 +}
665 +
666 +@media (max-width: 980px) {
667 + .homepage-resource-strip {
668 + .resource-grid {
669 + grid-template-columns: 1fr;
670 + }
671 + }
672 +}
673 +
674 +@media (max-width: 640px) {
675 + .homepage-resource-strip {
676 + .resource-card {
677 + padding: 22px;
678 + }
679 +
680 + .resource-card h4 {
681 + font-size: 19px;
682 + }
683 + }
684 +}
685 +
627 627  /* ========== CTA ========== */
628 628  
629 629  .cta-section {
... ... @@ -939,13 +939,7 @@
939 939   grid-template-columns: 68px 1fr;
940 940   grid-gap: 22px;
941 941   align-items: start;
942 - transition: transform .18s ease, box-shadow .18s ease;
943 943  
944 - &:hover {
945 - transform: translateY(-2px);
946 - box-shadow: @shadow;
947 - }
948 -
949 949   .product-card-icon {
950 950   width: 58px;
951 951   height: 58px;
... ... @@ -1073,13 +1073,7 @@
1073 1073   border-radius: @radius;
1074 1074   box-shadow: @shadow-sm;
1075 1075   padding: 22px;
1076 - transition: transform .18s ease, box-shadow .18s ease;
1077 1077  
1078 - &:hover {
1079 - transform: translateY(-2px);
1080 - box-shadow: @shadow;
1081 - }
1082 -
1083 1083   .feature-icon {
1084 1084   width: 46px;
1085 1085   height: 46px;
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,32 +1,34 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -/* Keep the public menu aligned to the right on desktop */
4 -@media (min-width: 768px) {
5 - .navbar-nav {
6 - float: right;
7 - }
8 -
9 - .site-nav {
10 - margin-left: auto;
11 - justify-content: flex-end;
12 - }
3 +/* Desktop alignment */
4 +#menuview .navbar-nav {
5 + float: right !important;
13 13  }
14 14  
15 15  /* Top-level menu items */
16 16  
17 -.agnease-menu-item {
18 - .dropdown-toggle {
10 +.agnease-menu-item,
11 +.agnease-menu-link {
12 + > a,
13 + > .dropdown-toggle {
19 19   color: @brand;
20 - font-weight: 600;
21 21   font-size: 17px;
16 + font-weight: 600;
22 22   padding-left: 16px;
23 23   padding-right: 16px;
24 - background: transparent !important;
25 - background-color: transparent !important;
26 - background-image: none !important;
27 - box-shadow: none !important;
19 + text-decoration: none;
28 28   }
29 29  
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 +
30 30   .caret {
31 31   margin-left: 5px;
32 32   border-top-color: @brand;
... ... @@ -33,67 +33,18 @@
33 33   border-bottom-color: @brand;
34 34   }
35 35  
36 - &.open > .dropdown-toggle,
37 - &.active > .dropdown-toggle,
38 - .dropdown-toggle:hover,
39 - .dropdown-toggle:focus,
40 - .dropdown-toggle:active {
41 - color: @brand-strong;
42 - background: transparent !important;
43 - background-color: transparent !important;
44 - background-image: none !important;
45 - box-shadow: none !important;
46 - outline: none;
47 - }
48 -
49 - &.open > .dropdown-toggle .caret,
50 - &.active > .dropdown-toggle .caret,
51 - .dropdown-toggle:hover .caret,
52 - .dropdown-toggle:focus .caret,
53 - .dropdown-toggle:active .caret {
38 + > a:hover .caret,
39 + > a:focus .caret,
40 + > a:active .caret,
41 + &.open > a .caret,
42 + &.active > a .caret {
54 54   border-top-color: @brand-strong;
55 55   border-bottom-color: @brand-strong;
56 56   }
57 57  }
58 58  
59 -/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */
48 +/* Dropdown panel */
60 60  
61 -.navbar-nav > li > a,
62 -.navbar-nav > li > a:hover,
63 -.navbar-nav > li > a:focus,
64 -.navbar-nav > li > a:active,
65 -.navbar-nav > li.open > a,
66 -.navbar-nav > li.open > a:hover,
67 -.navbar-nav > li.open > a:focus,
68 -.navbar-nav > li.open > a:active,
69 -.navbar-nav > li.active > a,
70 -.navbar-nav > li.active > a:hover,
71 -.navbar-nav > li.active > a:focus,
72 -.navbar-nav > li.active > a:active,
73 -.nav .open > a,
74 -.nav .open > a:hover,
75 -.nav .open > a:focus {
76 - background: transparent !important;
77 - background-color: transparent !important;
78 - background-image: none !important;
79 - box-shadow: none !important;
80 -}
81 -
82 -/* Contact item should visually match the dropdown top-level entries */
83 -.navbar-nav > li > a {
84 - color: @brand;
85 - font-size: 17px;
86 - font-weight: 600;
87 -}
88 -
89 -.navbar-nav > li > a:hover,
90 -.navbar-nav > li > a:focus,
91 -.navbar-nav > li > a:active {
92 - color: @brand-strong;
93 -}
94 -
95 -/* Dropdown panels */
96 -
97 97  .agnease-dropdown {
98 98   min-width: 310px;
99 99   padding: 10px 8px;
... ... @@ -107,16 +107,12 @@
107 107   align-items: center;
108 108   gap: 12px;
109 109   padding: 11px 14px;
110 - border-radius: 0;
111 111   color: @brand;
112 - background: transparent !important;
113 - background-color: transparent !important;
114 - background-image: none !important;
115 115   white-space: nowrap;
116 116   font-size: 16px;
117 117   font-weight: 600;
118 118   line-height: 1.3;
119 - box-shadow: none !important;
68 + text-decoration: none;
120 120  
121 121   i {
122 122   width: 20px;
... ... @@ -130,12 +130,8 @@
130 130   &:focus,
131 131   &:active {
132 132   color: @brand-strong;
133 - background: transparent !important;
134 - background-color: transparent !important;
135 - background-image: none !important;
136 136   text-decoration: none;
137 137   outline: none;
138 - box-shadow: none !important;
139 139  
140 140   i {
141 141   color: @brand-strong;
... ... @@ -143,16 +143,8 @@
143 143   }
144 144   }
145 145  
146 - > .active > a,
147 - > .active > a:hover,
148 - > .active > a:focus,
149 - > .active > a:active {
91 + > .active > a {
150 150   color: @brand-strong;
151 - background: transparent !important;
152 - background-color: transparent !important;
153 - background-image: none !important;
154 - text-decoration: none;
155 - box-shadow: none !important;
156 156  
157 157   i {
158 158   color: @brand-strong;
... ... @@ -165,39 +165,23 @@
165 165   }
166 166  }
167 167  
168 -.agnease-products-dropdown,
169 -.agnease-resources-dropdown {
170 - min-width: 290px;
171 -}
105 +/* Mobile */
172 172  
173 -/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */
174 -
175 -.dropdown-menu > li > a,
176 -.dropdown-menu > li > a:hover,
177 -.dropdown-menu > li > a:focus,
178 -.dropdown-menu > li > a:active,
179 -.dropdown-menu > .active > a,
180 -.dropdown-menu > .active > a:hover,
181 -.dropdown-menu > .active > a:focus,
182 -.dropdown-menu > .active > a:active {
183 - background: transparent !important;
184 - background-color: transparent !important;
185 - background-image: none !important;
186 - box-shadow: none !important;
187 -}
188 -
189 -/* ========== Mobile Menu ========== */
190 -
191 191  @media (max-width: 767px) {
192 - .navbar-nav {
193 - float: none;
108 + .site-nav {
109 + margin-left: 0;
110 + justify-content: center;
111 + flex-wrap: wrap;
194 194   }
195 195  
196 - .navbar-nav > li > a,
197 - .agnease-menu-item .dropdown-toggle {
198 - font-size: 16px;
199 - padding-top: 9px;
200 - padding-bottom: 9px;
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;
121 + }
201 201   }
202 202  
203 203   .agnease-dropdown {
... ... @@ -213,25 +213,15 @@
213 213   padding: 8px 10px;
214 214   white-space: normal;
215 215   font-size: 15px;
216 - color: @brand;
217 - background: transparent !important;
218 218  
219 219   i {
220 220   width: 18px;
221 221   flex-basis: 18px;
222 222   }
223 -
224 - &:hover,
225 - &:focus,
226 - &:active {
227 - color: @brand-strong;
228 - background: transparent !important;
229 - }
230 230   }
231 231  
232 232   .divider {
233 233   margin: 5px 0;
234 - background-color: fade(@brand, 16%);
235 235   }
236 236   }
237 237  }