Changes for page Public Web Site

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

From version 10.2
edited by Agnease
on 2026/05/19 03:53
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,59 +1,102 @@
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 + }
13 +}
14 +
15 +/* Top-level menu items */
16 +
3 3  .agnease-menu-item {
4 4   .dropdown-toggle {
5 - font-weight: inherit;
6 - 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;
7 7   }
8 8  
9 9   .caret {
10 - margin-left: 4px;
31 + margin-left: 5px;
11 11   border-top-color: @brand;
12 12   border-bottom-color: @brand;
13 13   }
14 14  
15 15   &.open > .dropdown-toggle,
37 + &.active > .dropdown-toggle,
16 16   .dropdown-toggle:hover,
17 - .dropdown-toggle:focus {
39 + .dropdown-toggle:focus,
40 + .dropdown-toggle:active {
18 18   color: @brand-strong;
19 - background: transparent;
20 - background-color: transparent;
21 - 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;
22 22   }
23 23  
24 24   &.open > .dropdown-toggle .caret,
50 + &.active > .dropdown-toggle .caret,
25 25   .dropdown-toggle:hover .caret,
26 - .dropdown-toggle:focus .caret {
52 + .dropdown-toggle:focus .caret,
53 + .dropdown-toggle:active .caret {
27 27   border-top-color: @brand-strong;
28 28   border-bottom-color: @brand-strong;
29 29   }
30 30  }
31 31  
32 -/* Keep Agnease public top-level menu visually clean when hovered/open/focused */
59 +/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */
33 33  
34 -.navbar-nav > li.agnease-services-menu > a,
35 -.navbar-nav > li.agnease-products-menu > a,
36 -.navbar-nav > li.agnease-services-menu > a:hover,
37 -.navbar-nav > li.agnease-products-menu > a:hover,
38 -.navbar-nav > li.agnease-services-menu > a:focus,
39 -.navbar-nav > li.agnease-products-menu > a:focus,
40 -.navbar-nav > li.agnease-services-menu.open > a,
41 -.navbar-nav > li.agnease-products-menu.open > a,
42 -.navbar-nav > li.agnease-services-menu.open > a:hover,
43 -.navbar-nav > li.agnease-products-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 - background: transparent;
47 - 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 {
48 48   color: @brand-strong;
49 - box-shadow: none;
50 50  }
51 51  
52 52  /* Dropdown panels */
53 53  
54 54  .agnease-dropdown {
55 - min-width: 270px;
56 - padding: 8px;
98 + min-width: 310px;
99 + padding: 10px 8px;
57 57   border: 1px solid fade(@brand, 18%);
58 58   border-radius: 12px;
59 59   background: #fff;
... ... @@ -62,22 +62,25 @@
62 62   > li > a {
63 63   display: flex;
64 64   align-items: center;
65 - gap: 10px;
66 - padding: 9px 11px;
67 - border-radius: 9px;
108 + gap: 12px;
109 + padding: 11px 14px;
110 + border-radius: 0;
68 68   color: @brand;
69 - background: transparent;
112 + background: transparent !important;
113 + background-color: transparent !important;
114 + background-image: none !important;
70 70   white-space: nowrap;
71 - font-size: 14px;
72 - font-weight: 700;
73 - line-height: 1.25;
116 + font-size: 16px;
117 + font-weight: 600;
118 + line-height: 1.3;
119 + box-shadow: none !important;
74 74  
75 75   i {
76 - width: 18px;
77 - flex: 0 0 18px;
122 + width: 20px;
123 + flex: 0 0 20px;
78 78   color: @brand;
79 79   text-align: center;
80 - font-size: 14px;
126 + font-size: 15px;
81 81   }
82 82  
83 83   &:hover,
... ... @@ -84,9 +84,12 @@
84 84   &:focus,
85 85   &:active {
86 86   color: @brand-strong;
87 - background: fade(@brand, 8%);
133 + background: transparent !important;
134 + background-color: transparent !important;
135 + background-image: none !important;
88 88   text-decoration: none;
89 89   outline: none;
138 + box-shadow: none !important;
90 90  
91 91   i {
92 92   color: @brand-strong;
... ... @@ -96,10 +96,14 @@
96 96  
97 97   > .active > a,
98 98   > .active > a:hover,
99 - > .active > a:focus {
148 + > .active > a:focus,
149 + > .active > a:active {
100 100   color: @brand-strong;
101 - background: fade(@brand, 10%);
151 + background: transparent !important;
152 + background-color: transparent !important;
153 + background-image: none !important;
102 102   text-decoration: none;
155 + box-shadow: none !important;
103 103  
104 104   i {
105 105   color: @brand-strong;
... ... @@ -107,7 +107,7 @@
107 107   }
108 108  
109 109   .divider {
110 - margin: 7px 0;
163 + margin: 8px 0;
111 111   background-color: fade(@brand, 16%);
112 112   }
113 113  }
... ... @@ -114,24 +114,39 @@
114 114  
115 115  .agnease-products-dropdown,
116 116  .agnease-resources-dropdown {
117 - min-width: 260px;
170 + min-width: 290px;
118 118  }
119 119  
120 -/* Remove gray Bootstrap dropdown item states */
173 +/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */
174 +
175 +.dropdown-menu > li > a,
121 121  .dropdown-menu > li > a:hover,
122 -.dropdown-menu > li > a:focus {
123 - background-image: none;
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;
124 124  }
125 125  
126 126  /* ========== Mobile Menu ========== */
127 127  
128 128  @media (max-width: 767px) {
129 - .navbar-nav > li.agnease-menu-item > a,
130 - .navbar-nav > li > a {
131 - padding-top: 8px;
132 - padding-bottom: 8px;
192 + .navbar-nav {
193 + float: none;
133 133   }
134 134  
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 +
135 135   .agnease-dropdown {
136 136   min-width: 0;
137 137   width: 100%;
... ... @@ -139,18 +139,18 @@
139 139   border: 0;
140 140   border-radius: 0;
141 141   box-shadow: none;
142 - background: #fff;
210 + background: transparent;
143 143  
144 144   > li > a {
145 145   padding: 8px 10px;
146 146   white-space: normal;
147 - font-size: 14px;
148 - border-radius: 8px;
215 + font-size: 15px;
149 149   color: @brand;
217 + background: transparent !important;
150 150  
151 151   i {
152 - width: 16px;
153 - flex-basis: 16px;
220 + width: 18px;
221 + flex-basis: 18px;
154 154   }
155 155  
156 156   &:hover,
... ... @@ -157,7 +157,7 @@
157 157   &:focus,
158 158   &:active {
159 159   color: @brand-strong;
160 - background: fade(@brand, 8%);
228 + background: transparent !important;
161 161   }
162 162   }
163 163  
... ... @@ -167,23 +167,3 @@
167 167   }
168 168   }
169 169  }
170 -/* Remove gray background from opened top-level public menu items */
171 -
172 -.site-nav .dropdown.open > a,
173 -.site-nav .dropdown.open > a:hover,
174 -.site-nav .dropdown.open > a:focus,
175 -.site-nav .agnease-menu-item.open > a,
176 -.site-nav .agnease-menu-item.open > a:hover,
177 -.site-nav .agnease-menu-item.open > a:focus,
178 -.navbar-nav > li.dropdown.open > a,
179 -.navbar-nav > li.dropdown.open > a:hover,
180 -.navbar-nav > li.dropdown.open > a:focus,
181 -.navbar-nav > li.agnease-menu-item.open > a,
182 -.navbar-nav > li.agnease-menu-item.open > a:hover,
183 -.navbar-nav > li.agnease-menu-item.open > a:focus {
184 - color: @brand-strong;
185 - background: transparent !important;
186 - background-color: transparent !important;
187 - background-image: none !important;
188 - box-shadow: none !important;
189 -}