Changes for page Public Web Site

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

From version 8.24
edited by Agnease
on 2026/05/19 03:47
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,69 +1,141 @@
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;
32 + border-top-color: @brand;
33 + border-bottom-color: @brand;
11 11   }
12 12  
13 13   &.open > .dropdown-toggle,
37 + &.active > .dropdown-toggle,
14 14   .dropdown-toggle:hover,
15 - .dropdown-toggle:focus {
39 + .dropdown-toggle:focus,
40 + .dropdown-toggle:active {
16 16   color: @brand-strong;
17 - background: transparent;
18 - background-color: transparent;
19 - 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;
20 20   }
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 + }
21 21  }
22 22  
23 -.navbar-nav > li.agnease-menu-item > a,
24 -.navbar-nav > li.agnease-menu-item > a:hover,
25 -.navbar-nav > li.agnease-menu-item > a:focus,
26 -.navbar-nav > li.agnease-menu-item.open > a,
27 -.navbar-nav > li.agnease-menu-item.open > a:hover,
28 -.navbar-nav > li.agnease-menu-item.open > a:focus {
29 - background: transparent;
30 - background-color: transparent;
59 +/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */
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 {
31 31   color: @brand-strong;
32 - box-shadow: none;
33 33  }
34 34  
95 +/* Dropdown panels */
96 +
35 35  .agnease-dropdown {
36 - min-width: 270px;
37 - padding: 8px;
38 - border: 1px solid @line;
98 + min-width: 310px;
99 + padding: 10px 8px;
100 + border: 1px solid fade(@brand, 18%);
39 39   border-radius: 12px;
40 - box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
102 + background: #fff;
103 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
41 41  
42 42   > li > a {
43 43   display: flex;
44 44   align-items: center;
45 - gap: 10px;
46 - padding: 9px 11px;
47 - border-radius: 9px;
48 - color: @text;
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;
49 49   white-space: nowrap;
50 - font-size: 14px;
116 + font-size: 16px;
51 51   font-weight: 600;
52 - line-height: 1.25;
118 + line-height: 1.3;
119 + box-shadow: none !important;
53 53  
54 54   i {
55 - width: 18px;
56 - flex: 0 0 18px;
122 + width: 20px;
123 + flex: 0 0 20px;
57 57   color: @brand;
58 58   text-align: center;
59 - font-size: 14px;
126 + font-size: 15px;
60 60   }
61 61  
62 62   &:hover,
63 - &:focus {
130 + &:focus,
131 + &:active {
64 64   color: @brand-strong;
65 - background: @brand-bg;
133 + background: transparent !important;
134 + background-color: transparent !important;
135 + background-image: none !important;
66 66   text-decoration: none;
137 + outline: none;
138 + box-shadow: none !important;
67 67  
68 68   i {
69 69   color: @brand-strong;
... ... @@ -71,29 +71,63 @@
71 71   }
72 72   }
73 73  
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;
156 +
157 + i {
158 + color: @brand-strong;
159 + }
160 + }
161 +
74 74   .divider {
75 - margin: 7px 0;
76 - background-color: @line;
163 + margin: 8px 0;
164 + background-color: fade(@brand, 16%);
77 77   }
78 78  }
79 79  
80 -.agnease-products-dropdown {
81 - min-width: 260px;
168 +.agnease-products-dropdown,
169 +.agnease-resources-dropdown {
170 + min-width: 290px;
82 82  }
83 83  
84 -.agnease-resources-dropdown {
85 - min-width: 260px;
173 +/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */
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;
86 86  }
87 87  
88 88  /* ========== Mobile Menu ========== */
89 89  
90 90  @media (max-width: 767px) {
91 - .navbar-nav > li.agnease-menu-item > a,
92 - .navbar-nav > li > a {
93 - padding-top: 8px;
94 - padding-bottom: 8px;
192 + .navbar-nav {
193 + float: none;
95 95   }
96 96  
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 +
97 97   .agnease-dropdown {
98 98   min-width: 0;
99 99   width: 100%;
... ... @@ -106,17 +106,26 @@
106 106   > li > a {
107 107   padding: 8px 10px;
108 108   white-space: normal;
109 - font-size: 14px;
110 - border-radius: 8px;
215 + font-size: 15px;
216 + color: @brand;
217 + background: transparent !important;
111 111  
112 112   i {
113 - width: 16px;
114 - flex-basis: 16px;
220 + width: 18px;
221 + flex-basis: 18px;
115 115   }
223 +
224 + &:hover,
225 + &:focus,
226 + &:active {
227 + color: @brand-strong;
228 + background: transparent !important;
229 + }
116 116   }
117 117  
118 118   .divider {
119 119   margin: 5px 0;
234 + background-color: fade(@brand, 16%);
120 120   }
121 121   }
122 122  }