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 8.13
edited by Agnease
on 2026/05/19 03:28
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -617,6 +617,7 @@
617 617   order: 0;
618 618   position: static;
619 619   width: 100%;
620 + margin-bottom: 24px;
620 620   }
621 621  
622 622   .resource-content {
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,237 +1,156 @@
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 - }
3 +@brand: #00937D;
4 +@brand-strong: #007B6A;
5 +@text: #2D3A34;
6 +@muted: #5B6B64;
7 +@line: #E4ECE9;
8 +@brand-bg: #F4FCFA;
8 8  
9 - .site-nav {
10 - margin-left: auto;
11 - justify-content: flex-end;
12 - }
13 -}
14 -
15 15  /* Top-level menu items */
16 16  
17 -.agnease-menu-item {
12 +.agnease-services-menu,
13 +.agnease-products-menu {
18 18   .dropdown-toggle {
19 - color: @brand;
20 - font-weight: 600;
21 - font-size: 17px;
22 - padding-left: 16px;
23 - padding-right: 16px;
24 - background: transparent !important;
25 - background-color: transparent !important;
26 - background-image: none !important;
27 - box-shadow: none !important;
15 + font-weight: inherit;
16 + font-size: inherit;
28 28   }
29 29  
30 30   .caret {
31 - margin-left: 5px;
32 - border-top-color: @brand;
33 - border-bottom-color: @brand;
20 + margin-left: 4px;
34 34   }
35 35  
36 36   &.open > .dropdown-toggle,
37 - &.active > .dropdown-toggle,
38 38   .dropdown-toggle:hover,
39 - .dropdown-toggle:focus,
40 - .dropdown-toggle:active {
25 + .dropdown-toggle:focus {
41 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;
27 + background: transparent;
28 + background-color: transparent;
29 + box-shadow: none;
47 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 {
54 - border-top-color: @brand-strong;
55 - border-bottom-color: @brand-strong;
56 - }
57 57  }
58 58  
59 -/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */
33 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */
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 {
35 +.navbar-nav > li.agnease-services-menu > a,
36 +.navbar-nav > li.agnease-products-menu > a,
37 +.navbar-nav > li.agnease-services-menu > a:hover,
38 +.navbar-nav > li.agnease-products-menu > a:hover,
39 +.navbar-nav > li.agnease-services-menu > a:focus,
40 +.navbar-nav > li.agnease-products-menu > a:focus,
41 +.navbar-nav > li.agnease-services-menu.open > a,
42 +.navbar-nav > li.agnease-products-menu.open > a,
43 +.navbar-nav > li.agnease-services-menu.open > a:hover,
44 +.navbar-nav > li.agnease-products-menu.open > a:hover,
45 +.navbar-nav > li.agnease-services-menu.open > a:focus,
46 +.navbar-nav > li.agnease-products-menu.open > a:focus {
47 + background: transparent;
48 + background-color: transparent;
92 92   color: @brand-strong;
50 + box-shadow: none;
93 93  }
94 94  
95 95  /* Dropdown panels */
96 96  
97 -.agnease-dropdown {
98 - min-width: 310px;
99 - padding: 10px 8px;
100 - border: 1px solid fade(@brand, 18%);
55 +.agnease-services-dropdown,
56 +.agnease-products-dropdown {
57 + min-width: 360px;
58 + padding: 10px;
59 + border: 1px solid @line;
101 101   border-radius: 12px;
102 - background: #fff;
103 - box-shadow: 0 12px 32px fade(@brand-strong, 12%);
61 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
104 104  
105 105   > li > a {
106 106   display: flex;
107 - align-items: center;
65 + align-items: flex-start;
108 108   gap: 12px;
109 - padding: 11px 14px;
110 - border-radius: 0;
111 - color: @brand;
112 - background: transparent !important;
113 - background-color: transparent !important;
114 - background-image: none !important;
115 - white-space: nowrap;
116 - font-size: 16px;
117 - font-weight: 600;
118 - line-height: 1.3;
119 - box-shadow: none !important;
67 + padding: 10px 12px;
68 + border-radius: 10px;
69 + color: @text;
70 + white-space: normal;
120 120  
121 - i {
122 - width: 20px;
123 - flex: 0 0 20px;
124 - color: @brand;
125 - text-align: center;
126 - font-size: 15px;
127 - }
128 -
129 129   &:hover,
130 - &:focus,
131 - &:active {
73 + &:focus {
132 132   color: @brand-strong;
133 - background: transparent !important;
134 - background-color: transparent !important;
135 - background-image: none !important;
75 + background: @brand-bg;
136 136   text-decoration: none;
137 - outline: none;
138 - box-shadow: none !important;
139 139  
140 - i {
78 + .menu-icon {
141 141   color: @brand-strong;
80 + background: fade(@brand, 14%);
81 + border-color: fade(@brand, 28%);
142 142   }
143 - }
144 - }
145 145  
146 - > .active > a,
147 - > .active > a:hover,
148 - > .active > a:focus,
149 - > .active > a:active {
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;
84 + strong {
85 + color: @brand-strong;
86 + }
156 156  
157 - i {
158 - color: @brand-strong;
88 + small {
89 + color: @muted;
90 + }
159 159   }
160 160   }
161 161  
162 162   .divider {
163 163   margin: 8px 0;
164 - background-color: fade(@brand, 16%);
96 + background-color: @line;
165 165   }
166 -}
167 167  
168 -.agnease-products-dropdown,
169 -.agnease-resources-dropdown {
170 - min-width: 290px;
171 -}
99 + .menu-icon {
100 + width: 34px;
101 + height: 34px;
102 + border-radius: 50%;
103 + background: fade(@brand, 8%);
104 + border: 1px solid fade(@brand, 18%);
105 + color: @brand;
106 + display: flex;
107 + align-items: center;
108 + justify-content: center;
109 + flex-shrink: 0;
110 + transition: color .15s ease, background .15s ease, border-color .15s ease;
111 + }
172 172  
173 -/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */
113 + .menu-text {
114 + display: flex;
115 + flex-direction: column;
116 + line-height: 1.25;
174 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;
118 + strong {
119 + color: @brand;
120 + font-size: 14px;
121 + font-weight: 600;
122 + }
123 +
124 + small {
125 + color: @muted;
126 + font-size: 12px;
127 + margin-top: 2px;
128 + font-weight: 400;
129 + }
130 + }
187 187  }
188 188  
189 -/* ========== Mobile Menu ========== */
133 +/* Products dropdown can be slightly narrower for now */
190 190  
191 -@media (max-width: 767px) {
192 - .navbar-nav {
193 - float: none;
194 - }
135 +.agnease-products-dropdown {
136 + min-width: 340px;
137 +}
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;
201 - }
139 +/* Mobile */
202 202  
203 - .agnease-dropdown {
141 +@media (max-width: 767px) {
142 + .agnease-services-dropdown,
143 + .agnease-products-dropdown {
204 204   min-width: 0;
205 205   width: 100%;
206 - padding: 4px 8px 8px 18px;
207 - border: 0;
146 + padding: 6px;
208 208   border-radius: 0;
148 + border-left: 0;
149 + border-right: 0;
209 209   box-shadow: none;
210 - background: transparent;
211 211  
212 212   > li > a {
213 - padding: 8px 10px;
214 - white-space: normal;
215 - font-size: 15px;
216 - color: @brand;
217 - background: transparent !important;
218 -
219 - i {
220 - width: 18px;
221 - flex-basis: 18px;
222 - }
223 -
224 - &:hover,
225 - &:focus,
226 - &:active {
227 - color: @brand-strong;
228 - background: transparent !important;
229 - }
153 + padding: 10px;
230 230   }
231 -
232 - .divider {
233 - margin: 5px 0;
234 - background-color: fade(@brand, 16%);
235 - }
236 236   }
237 237  }