Changes for page Public Web Site

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

From version 6.35
edited by Agnease
on 2026/05/12 13:12
Change comment: There is no comment for this version
To version 6.49
edited by Agnease
on 2026/05/12 14:03
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[1]
cache
... ... @@ -1,0 +1,1 @@
1 +long
code
... ... @@ -1,0 +1,221 @@
1 +/* ========== Agnease Public Top Menu ========== */
2 +
3 +@brand: #00937D;
4 +@brand-strong: #007B6A;
5 +@text: #2D3A34;
6 +@muted: #5B6B64;
7 +@line: #E4ECE9;
8 +@brand-bg: #F4FCFA;
9 +
10 +.agnease-services-menu {
11 + .dropdown-toggle {
12 + font-weight: inherit;
13 + font-size: inherit;
14 + }
15 +
16 + &.open > .dropdown-toggle,
17 + .dropdown-toggle:hover,
18 + .dropdown-toggle:focus {
19 + color: @brand;
20 + background: transparent;
21 + }
22 +
23 + .caret {
24 + margin-left: 4px;
25 + }
26 +}
27 +
28 +.agnease-services-dropdown {
29 + min-width: 360px;
30 + padding: 10px;
31 + border: 1px solid @line;
32 + border-radius: 12px;
33 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
34 +
35 + > li > a {
36 + display: flex;
37 + align-items: flex-start;
38 + gap: 12px;
39 + padding: 10px 12px;
40 + border-radius: 10px;
41 + color: @text;
42 + white-space: normal;
43 +
44 + &:hover,
45 + &:focus {
46 + color: @brand-strong;
47 + background: @brand-bg;
48 + text-decoration: none;
49 +
50 + .menu-icon {
51 + color: @brand-strong;
52 + background: fade(@brand, 14%);
53 + border-color: fade(@brand, 28%);
54 + }
55 +
56 + strong {
57 + color: @brand-strong;
58 + }
59 +
60 + small {
61 + color: @muted;
62 + }
63 + }
64 + }
65 +
66 + .divider {
67 + margin: 8px 0;
68 + background-color: @line;
69 + }
70 +
71 + .menu-icon {
72 + width: 34px;
73 + height: 34px;
74 + border-radius: 50%;
75 + background: fade(@brand, 8%);
76 + border: 1px solid fade(@brand, 18%);
77 + color: @brand;
78 + display: flex;
79 + align-items: center;
80 + justify-content: center;
81 + flex-shrink: 0;
82 + transition: color .15s ease, background .15s ease, border-color .15s ease;
83 + }
84 +
85 + .menu-text {
86 + display: flex;
87 + flex-direction: column;
88 + line-height: 1.25;
89 +
90 + strong {
91 + color: @text;
92 + font-size: 14px;
93 + font-weight: 600;
94 + }
95 +
96 + small {
97 + color: @muted;
98 + font-size: 12px;
99 + margin-top: 2px;
100 + font-weight: 400;
101 + }
102 + }
103 +}
104 +
105 +@media (max-width: 767px) {
106 + .agnease-services-dropdown {
107 + min-width: 0;
108 + width: 100%;
109 + padding: 6px;
110 + border-radius: 0;
111 + box-shadow: none;
112 +
113 + > li > a {
114 + padding: 10px;
115 + }
116 + }
117 +}
118 +/* Keep the top-level Services menu visually clean when hovered/open/focused */
119 +.navbar-nav > li.agnease-services-menu > a,
120 +.navbar-nav > li.agnease-services-menu > a:hover,
121 +.navbar-nav > li.agnease-services-menu > a:focus,
122 +.navbar-nav > li.agnease-services-menu.open > a,
123 +.navbar-nav > li.agnease-services-menu.open > a:hover,
124 +.navbar-nav > li.agnease-services-menu.open > a:focus {
125 + background: transparent;
126 + background-color: transparent;
127 + color: @brand-strong;
128 + box-shadow: none;
129 +}
130 +
131 +//* ========== Mobile Services Menu: compact list ========== */
132 +
133 +@media (max-width: 767px) {
134 + .navbar-nav > li.agnease-services-menu {
135 + position: static;
136 + }
137 +
138 + .navbar-nav > li.agnease-services-menu > a,
139 + .navbar-nav > li.agnease-services-menu > a:hover,
140 + .navbar-nav > li.agnease-services-menu > a:focus,
141 + .navbar-nav > li.agnease-services-menu.open > a,
142 + .navbar-nav > li.agnease-services-menu.open > a:hover,
143 + .navbar-nav > li.agnease-services-menu.open > a:focus {
144 + background: transparent;
145 + background-color: transparent;
146 + box-shadow: none;
147 + }
148 +
149 + .agnease-services-dropdown {
150 + left: 50% !important;
151 + right: auto !important;
152 + transform: translateX(-50%);
153 + width: calc(100vw - 40px);
154 + max-width: 380px;
155 + min-width: 0;
156 + max-height: calc(100vh - 190px);
157 + overflow-y: auto;
158 +
159 + padding: 8px;
160 + margin-top: 6px;
161 + border-radius: 12px;
162 + border: 1px solid @line;
163 + box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
164 + background: #fff;
165 + }
166 +
167 + .agnease-services-dropdown > li > a {
168 + display: flex;
169 + align-items: center;
170 + gap: 10px;
171 + min-height: 0;
172 + padding: 9px 10px;
173 + border-radius: 9px;
174 + text-align: left;
175 + white-space: normal;
176 + }
177 +
178 + .agnease-services-dropdown > li > a:hover,
179 + .agnease-services-dropdown > li > a:focus {
180 + background: @brand-bg;
181 + }
182 +
183 + .agnease-services-dropdown .divider {
184 + margin: 6px 0;
185 + }
186 +
187 + .agnease-services-dropdown .menu-icon {
188 + width: 28px;
189 + height: 28px;
190 + font-size: 13px;
191 + flex: 0 0 28px;
192 + }
193 +
194 + .agnease-services-dropdown .menu-text {
195 + display: block;
196 + line-height: 1.25;
197 + }
198 +
199 + .agnease-services-dropdown .menu-text strong {
200 + display: block;
201 + font-size: 14px;
202 + font-weight: 600;
203 + color: @text;
204 + }
205 +
206 + .agnease-services-dropdown .menu-text small {
207 + display: none;
208 + }
209 +
210 + .agnease-services-dropdown > li > a:hover .menu-icon,
211 + .agnease-services-dropdown > li > a:focus .menu-icon {
212 + color: @brand-strong;
213 + background: fade(@brand, 12%);
214 + border-color: fade(@brand, 24%);
215 + }
216 +
217 + .agnease-services-dropdown > li > a:hover .menu-text strong,
218 + .agnease-services-dropdown > li > a:focus .menu-text strong {
219 + color: @brand-strong;
220 + }
221 +}
contentType
... ... @@ -1,0 +1,1 @@
1 +LESS
name
... ... @@ -1,0 +1,1 @@
1 +Menu
use
... ... @@ -1,0 +1,1 @@
1 +onDemand