Changes for page Public Web Site

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

From version 8.23
edited by Agnease
on 2026/05/19 03:42
Change comment: There is no comment for this version
To version 10.27
edited by Agnease
on 2026/05/19 07:13
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -617,7 +617,6 @@
617 617   order: 0;
618 618   position: static;
619 619   width: 100%;
620 - margin-bottom: 24px;
621 621   }
622 622  
623 623   .resource-content {
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,162 +1,237 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -/* Top-level dropdown menu items */
3 +/* Keep the public menu aligned to the right on desktop */
4 +@media (min-width: 768px) {
5 + .navbar-nav {
6 + float: right;
7 + }
4 4  
5 -.agnease-services-menu,
6 -.agnease-products-menu,
7 -.agnease-resources-menu {
9 + .site-nav {
10 + margin-left: auto;
11 + justify-content: flex-end;
12 + }
13 +}
14 +
15 +/* Top-level menu items */
16 +
17 +.agnease-menu-item {
8 8   .dropdown-toggle {
9 - font-weight: inherit;
10 - font-size: inherit;
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;
11 11   }
12 12  
13 13   .caret {
14 - margin-left: 4px;
31 + margin-left: 5px;
32 + border-top-color: @brand;
33 + border-bottom-color: @brand;
15 15   }
16 16  
17 17   &.open > .dropdown-toggle,
37 + &.active > .dropdown-toggle,
18 18   .dropdown-toggle:hover,
19 - .dropdown-toggle:focus {
39 + .dropdown-toggle:focus,
40 + .dropdown-toggle:active {
20 20   color: @brand-strong;
21 - background: transparent;
22 - background-color: transparent;
23 - box-shadow: none;
42 + background: transparent !important;
43 + background-color: transparent !important;
44 + background-image: none !important;
45 + box-shadow: none !important;
46 + outline: none;
24 24   }
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 + }
25 25  }
26 26  
27 -/* Keep public top-level dropdown items visually clean when hovered/open/focused */
59 +/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */
28 28  
29 -.navbar-nav > li.agnease-services-menu > a,
30 -.navbar-nav > li.agnease-products-menu > a,
31 -.navbar-nav > li.agnease-resources-menu > a,
32 -.navbar-nav > li.agnease-services-menu > a:hover,
33 -.navbar-nav > li.agnease-products-menu > a:hover,
34 -.navbar-nav > li.agnease-resources-menu > a:hover,
35 -.navbar-nav > li.agnease-services-menu > a:focus,
36 -.navbar-nav > li.agnease-products-menu > a:focus,
37 -.navbar-nav > li.agnease-resources-menu > a:focus,
38 -.navbar-nav > li.agnease-services-menu.open > a,
39 -.navbar-nav > li.agnease-products-menu.open > a,
40 -.navbar-nav > li.agnease-resources-menu.open > a,
41 -.navbar-nav > li.agnease-services-menu.open > a:hover,
42 -.navbar-nav > li.agnease-products-menu.open > a:hover,
43 -.navbar-nav > li.agnease-resources-menu.open > a:hover,
44 -.navbar-nav > li.agnease-services-menu.open > a:focus,
45 -.navbar-nav > li.agnease-products-menu.open > a:focus,
46 -.navbar-nav > li.agnease-resources-menu.open > a:focus {
47 - background: transparent;
48 - background-color: transparent;
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 {
49 49   color: @brand-strong;
50 - box-shadow: none;
51 51  }
52 52  
53 53  /* Dropdown panels */
54 54  
55 -.agnease-services-dropdown,
56 -.agnease-products-dropdown,
57 -.agnease-resources-dropdown {
58 - min-width: 360px;
59 - padding: 10px;
60 - border: 1px solid @line;
97 +.agnease-dropdown {
98 + min-width: 310px;
99 + padding: 10px 8px;
100 + border: 1px solid fade(@brand, 18%);
61 61   border-radius: 12px;
62 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
102 + background: #fff;
103 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
63 63  
64 64   > li > a {
65 65   display: flex;
66 - align-items: flex-start;
107 + align-items: center;
67 67   gap: 12px;
68 - padding: 10px 12px;
69 - border-radius: 10px;
70 - color: @text;
71 - white-space: normal;
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;
72 72  
121 + i {
122 + width: 20px;
123 + flex: 0 0 20px;
124 + color: @brand;
125 + text-align: center;
126 + font-size: 15px;
127 + }
128 +
73 73   &:hover,
74 - &:focus {
130 + &:focus,
131 + &:active {
75 75   color: @brand-strong;
76 - background: @brand-bg;
133 + background: transparent !important;
134 + background-color: transparent !important;
135 + background-image: none !important;
77 77   text-decoration: none;
137 + outline: none;
138 + box-shadow: none !important;
78 78  
79 - .menu-icon {
140 + i {
80 80   color: @brand-strong;
81 - background: fade(@brand, 14%);
82 - border-color: fade(@brand, 28%);
83 83   }
143 + }
144 + }
84 84  
85 - strong {
86 - color: @brand-strong;
87 - }
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;
88 88  
89 - small {
90 - color: @muted;
91 - }
157 + i {
158 + color: @brand-strong;
92 92   }
93 93   }
94 94  
95 95   .divider {
96 96   margin: 8px 0;
97 - background-color: @line;
164 + background-color: fade(@brand, 16%);
98 98   }
166 +}
99 99  
100 - .menu-icon {
101 - width: 34px;
102 - height: 34px;
103 - border-radius: 50%;
104 - background: fade(@brand, 8%);
105 - border: 1px solid fade(@brand, 18%);
106 - color: @brand;
107 - display: flex;
108 - align-items: center;
109 - justify-content: center;
110 - flex-shrink: 0;
111 - transition: color .15s ease, background .15s ease, border-color .15s ease;
112 - }
113 -
114 - .menu-text {
115 - display: flex;
116 - flex-direction: column;
117 - line-height: 1.25;
118 -
119 - strong {
120 - color: @brand;
121 - font-size: 14px;
122 - font-weight: 600;
123 - }
124 -
125 - small {
126 - color: @muted;
127 - font-size: 12px;
128 - margin-top: 2px;
129 - font-weight: 400;
130 - }
131 - }
168 +.agnease-products-dropdown,
169 +.agnease-resources-dropdown {
170 + min-width: 290px;
132 132  }
133 133  
134 -/* Slightly narrower dropdowns where the content is shorter */
173 +/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */
135 135  
136 -.agnease-products-dropdown {
137 - min-width: 340px;
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;
138 138  }
139 139  
140 -.agnease-resources-dropdown {
141 - min-width: 380px;
142 -}
189 +/* ========== Mobile Menu ========== */
143 143  
144 -/* Mobile */
145 -
146 146  @media (max-width: 767px) {
147 - .agnease-services-dropdown,
148 - .agnease-products-dropdown,
149 - .agnease-resources-dropdown {
192 + .navbar-nav {
193 + float: none;
194 + }
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 + }
202 +
203 + .agnease-dropdown {
150 150   min-width: 0;
151 151   width: 100%;
152 - padding: 6px;
206 + padding: 4px 8px 8px 18px;
207 + border: 0;
153 153   border-radius: 0;
154 - border-left: 0;
155 - border-right: 0;
156 156   box-shadow: none;
210 + background: transparent;
157 157  
158 158   > li > a {
159 - padding: 10px;
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 + }
160 160   }
231 +
232 + .divider {
233 + margin: 5px 0;
234 + background-color: fade(@brand, 16%);
235 + }
161 161   }
162 162  }