Changes for page Public Web Site

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

From version 10.43
edited by Agnease
on 2026/05/22 08:19
Change comment: There is no comment for this version
To version 10.28
edited by Agnease
on 2026/05/19 07:18
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 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
... ... @@ -329,6 +329,12 @@
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 + }
332 332  }
333 333  
334 334  /* ========== Small Widgets ========== */
... ... @@ -444,7 +444,13 @@
444 444   border: 1px solid @line;
445 445   border-radius: @radius;
446 446   box-shadow: @shadow-sm;
453 + transition: transform .18s ease, box-shadow .18s ease;
447 447  
455 + &:hover {
456 + transform: translateY(-2px);
457 + box-shadow: @shadow;
458 + }
459 +
448 448   .service-icon {
449 449   width: 46px;
450 450   height: 46px;
... ... @@ -612,77 +612,6 @@
612 612   }
613 613  }
614 614  
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 -
686 686  /* ========== CTA ========== */
687 687  
688 688  .cta-section {
... ... @@ -998,7 +998,13 @@
998 998   grid-template-columns: 68px 1fr;
999 999   grid-gap: 22px;
1000 1000   align-items: start;
942 + transition: transform .18s ease, box-shadow .18s ease;
1001 1001  
944 + &:hover {
945 + transform: translateY(-2px);
946 + box-shadow: @shadow;
947 + }
948 +
1002 1002   .product-card-icon {
1003 1003   width: 58px;
1004 1004   height: 58px;
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,8 +1,16 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -/* Desktop alignment */
4 -#menuview .navbar-nav {
5 - float: right !important;
3 +/* Keep the public menu aligned to the right on desktop */
4 +@media (min-width: 768px) {
5 + .navbar-nav {
6 + float: right;
7 + margin-left: auto;
8 + }
9 +
10 + .site-nav {
11 + margin-left: auto;
12 + justify-content: flex-end;
13 + }
6 6  }
7 7  
8 8  /* Top-level menu items */
... ... @@ -16,7 +16,10 @@
16 16   font-weight: 600;
17 17   padding-left: 16px;
18 18   padding-right: 16px;
19 - text-decoration: none;
27 + background: transparent !important;
28 + background-color: transparent !important;
29 + background-image: none !important;
30 + box-shadow: none !important;
20 20   }
21 21  
22 22   > a:hover,
... ... @@ -23,10 +23,20 @@
23 23   > a:focus,
24 24   > a:active,
25 25   &.open > a,
26 - &.active > a {
37 + &.open > a:hover,
38 + &.open > a:focus,
39 + &.open > a:active,
40 + &.active > a,
41 + &.active > a:hover,
42 + &.active > a:focus,
43 + &.active > a:active {
27 27   color: @brand-strong;
28 - text-decoration: none;
45 + background: transparent !important;
46 + background-color: transparent !important;
47 + background-image: none !important;
48 + box-shadow: none !important;
29 29   outline: none;
50 + text-decoration: none;
30 30   }
31 31  
32 32   .caret {
... ... @@ -45,6 +45,46 @@
45 45   }
46 46  }
47 47  
69 +/* Strong Bootstrap/XWiki overrides for top-level menu backgrounds */
70 +
71 +.navbar-nav > li,
72 +.navbar-nav > li:hover,
73 +.navbar-nav > li:focus,
74 +.navbar-nav > li:active,
75 +.navbar-nav > li.open,
76 +.navbar-nav > li.open:hover,
77 +.navbar-nav > li.open:focus,
78 +.navbar-nav > li.open:active,
79 +.navbar-nav > li.active,
80 +.navbar-nav > li.active:hover,
81 +.navbar-nav > li.active:focus,
82 +.navbar-nav > li.active:active {
83 + background: transparent !important;
84 + background-color: transparent !important;
85 + background-image: none !important;
86 +}
87 +
88 +.navbar-nav > li > a,
89 +.navbar-nav > li > a:hover,
90 +.navbar-nav > li > a:focus,
91 +.navbar-nav > li > a:active,
92 +.navbar-nav > li.open > a,
93 +.navbar-nav > li.open > a:hover,
94 +.navbar-nav > li.open > a:focus,
95 +.navbar-nav > li.open > a:active,
96 +.navbar-nav > li.active > a,
97 +.navbar-nav > li.active > a:hover,
98 +.navbar-nav > li.active > a:focus,
99 +.navbar-nav > li.active > a:active,
100 +.nav .open > a,
101 +.nav .open > a:hover,
102 +.nav .open > a:focus {
103 + background: transparent !important;
104 + background-color: transparent !important;
105 + background-image: none !important;
106 + box-shadow: none !important;
107 +}
108 +
48 48  /* Dropdown panel */
49 49  
50 50  .agnease-dropdown {
... ... @@ -61,11 +61,14 @@
61 61   gap: 12px;
62 62   padding: 11px 14px;
63 63   color: @brand;
125 + background: transparent !important;
126 + background-color: transparent !important;
127 + background-image: none !important;
64 64   white-space: nowrap;
65 65   font-size: 16px;
66 66   font-weight: 600;
67 67   line-height: 1.3;
68 - text-decoration: none;
132 + box-shadow: none !important;
69 69  
70 70   i {
71 71   width: 20px;
... ... @@ -79,8 +79,12 @@
79 79   &:focus,
80 80   &:active {
81 81   color: @brand-strong;
146 + background: transparent !important;
147 + background-color: transparent !important;
148 + background-image: none !important;
82 82   text-decoration: none;
83 83   outline: none;
151 + box-shadow: none !important;
84 84  
85 85   i {
86 86   color: @brand-strong;
... ... @@ -88,8 +88,16 @@
88 88   }
89 89   }
90 90  
91 - > .active > a {
159 + > .active > a,
160 + > .active > a:hover,
161 + > .active > a:focus,
162 + > .active > a:active {
92 92   color: @brand-strong;
164 + background: transparent !important;
165 + background-color: transparent !important;
166 + background-image: none !important;
167 + text-decoration: none;
168 + box-shadow: none !important;
93 93  
94 94   i {
95 95   color: @brand-strong;
... ... @@ -102,13 +102,32 @@
102 102   }
103 103  }
104 104  
181 +/* Strong Bootstrap/XWiki overrides for submenu gray hover backgrounds */
182 +
183 +.dropdown-menu > li > a,
184 +.dropdown-menu > li > a:hover,
185 +.dropdown-menu > li > a:focus,
186 +.dropdown-menu > li > a:active,
187 +.dropdown-menu > .active > a,
188 +.dropdown-menu > .active > a:hover,
189 +.dropdown-menu > .active > a:focus,
190 +.dropdown-menu > .active > a:active,
191 +.agnease-dropdown > li > a,
192 +.agnease-dropdown > li > a:hover,
193 +.agnease-dropdown > li > a:focus,
194 +.agnease-dropdown > li > a:active {
195 + background: transparent !important;
196 + background-color: transparent !important;
197 + background-image: none !important;
198 + box-shadow: none !important;
199 +}
200 +
105 105  /* Mobile */
106 106  
107 107  @media (max-width: 767px) {
108 - .site-nav {
204 + .navbar-nav {
205 + float: none;
109 109   margin-left: 0;
110 - justify-content: center;
111 - flex-wrap: wrap;
112 112   }
113 113  
114 114   .agnease-menu-item,
... ... @@ -134,15 +134,25 @@
134 134   padding: 8px 10px;
135 135   white-space: normal;
136 136   font-size: 15px;
232 + color: @brand;
233 + background: transparent !important;
137 137  
138 138   i {
139 139   width: 18px;
140 140   flex-basis: 18px;
141 141   }
239 +
240 + &:hover,
241 + &:focus,
242 + &:active {
243 + color: @brand-strong;
244 + background: transparent !important;
245 + }
142 142   }
143 143  
144 144   .divider {
145 145   margin: 5px 0;
250 + background-color: fade(@brand, 16%);
146 146   }
147 147   }
148 148  }