Changes for page Public Web Site

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

From version 10.4
edited by Agnease
on 2026/05/19 03:55
Change comment: There is no comment for this version
To version 10.38
edited by Agnease
on 2026/05/22 08:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -146,7 +146,7 @@
146 146   </div>
147 147   </section>
148 148  
149 - <section class="resource-strip" aria-labelledby="resources-title">
149 + <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title">
150 150   <div class="container">
151 151   <h2 id="resources-title">Useful XWiki resources</h2>
152 152   <p class="section-intro">
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,60 +1,55 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -.agnease-menu-item {
4 - .dropdown-toggle {
5 - font-weight: inherit;
6 - font-size: inherit;
3 +/* Desktop alignment */
4 +#menuview .navbar-nav {
5 + float: right !important;
6 +}
7 +
8 +/* Top-level menu items */
9 +
10 +.agnease-menu-item,
11 +.agnease-menu-link {
12 + > a,
13 + > .dropdown-toggle {
14 + color: @brand;
15 + font-size: 17px;
16 + font-weight: 600;
17 + padding-left: 16px;
18 + padding-right: 16px;
19 + text-decoration: none;
7 7   }
8 8  
22 + > a:hover,
23 + > a:focus,
24 + > a:active,
25 + &.open > a,
26 + &.active > a {
27 + color: @brand-strong;
28 + text-decoration: none;
29 + outline: none;
30 + }
31 +
9 9   .caret {
10 - margin-left: 4px;
33 + margin-left: 5px;
11 11   border-top-color: @brand;
12 12   border-bottom-color: @brand;
13 13   }
14 14  
15 - &.open > .dropdown-toggle,
16 - .dropdown-toggle:hover,
17 - .dropdown-toggle:focus {
18 - color: @brand-strong;
19 - background: transparent;
20 - background-color: transparent;
21 - box-shadow: none;
22 - }
23 -
24 - &.open > .dropdown-toggle .caret,
25 - .dropdown-toggle:hover .caret,
26 - .dropdown-toggle:focus .caret {
38 + > a:hover .caret,
39 + > a:focus .caret,
40 + > a:active .caret,
41 + &.open > a .caret,
42 + &.active > a .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 */
33 -.navbar-nav > li.agnease-menu-item > a,
34 -.navbar-nav > li.agnease-menu-item > a:hover,
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;
49 - color: @brand-strong;
50 - box-shadow: none;
51 -}
48 +/* Dropdown panel */
52 52  
53 -/* Dropdown panels */
54 -
55 55  .agnease-dropdown {
56 - min-width: 270px;
57 - padding: 8px;
51 + min-width: 310px;
52 + padding: 10px 8px;
58 58   border: 1px solid fade(@brand, 18%);
59 59   border-radius: 12px;
60 60   background: #fff;
... ... @@ -63,22 +63,21 @@
63 63   > li > a {
64 64   display: flex;
65 65   align-items: center;
66 - gap: 10px;
67 - padding: 9px 11px;
68 - border-radius: 9px;
61 + gap: 12px;
62 + padding: 11px 14px;
69 69   color: @brand;
70 - background: transparent;
71 71   white-space: nowrap;
72 - font-size: 14px;
73 - font-weight: 700;
74 - line-height: 1.25;
65 + font-size: 16px;
66 + font-weight: 600;
67 + line-height: 1.3;
68 + text-decoration: none;
75 75  
76 76   i {
77 - width: 18px;
78 - flex: 0 0 18px;
71 + width: 20px;
72 + flex: 0 0 20px;
79 79   color: @brand;
80 80   text-align: center;
81 - font-size: 14px;
75 + font-size: 15px;
82 82   }
83 83  
84 84   &:hover,
... ... @@ -85,7 +85,6 @@
85 85   &:focus,
86 86   &:active {
87 87   color: @brand-strong;
88 - background: fade(@brand, 8%);
89 89   text-decoration: none;
90 90   outline: none;
91 91  
... ... @@ -95,12 +95,8 @@
95 95   }
96 96   }
97 97  
98 - > .active > a,
99 - > .active > a:hover,
100 - > .active > a:focus {
91 + > .active > a {
101 101   color: @brand-strong;
102 - background: fade(@brand, 10%);
103 - text-decoration: none;
104 104  
105 105   i {
106 106   color: @brand-strong;
... ... @@ -108,31 +108,30 @@
108 108   }
109 109  
110 110   .divider {
111 - margin: 7px 0;
100 + margin: 8px 0;
112 112   background-color: fade(@brand, 16%);
113 113   }
114 114  }
115 115  
116 -.agnease-products-dropdown,
117 -.agnease-resources-dropdown {
118 - min-width: 260px;
119 -}
105 +/* Mobile */
120 120  
121 -/* Remove gray Bootstrap dropdown item states */
122 -.dropdown-menu > li > a:hover,
123 -.dropdown-menu > li > a:focus {
124 - background-image: none;
125 -}
126 -
127 -/* ========== Mobile Menu ========== */
128 -
129 129  @media (max-width: 767px) {
130 - .navbar-nav > li.agnease-menu-item > a,
131 - .navbar-nav > li > a {
132 - padding-top: 8px;
133 - padding-bottom: 8px;
108 + .site-nav {
109 + margin-left: 0;
110 + justify-content: center;
111 + flex-wrap: wrap;
134 134   }
135 135  
114 + .agnease-menu-item,
115 + .agnease-menu-link {
116 + > a,
117 + > .dropdown-toggle {
118 + font-size: 16px;
119 + padding-top: 9px;
120 + padding-bottom: 9px;
121 + }
122 + }
123 +
136 136   .agnease-dropdown {
137 137   min-width: 0;
138 138   width: 100%;
... ... @@ -140,31 +140,21 @@
140 140   border: 0;
141 141   border-radius: 0;
142 142   box-shadow: none;
143 - background: #fff;
131 + background: transparent;
144 144  
145 145   > li > a {
146 146   padding: 8px 10px;
147 147   white-space: normal;
148 - font-size: 14px;
149 - border-radius: 8px;
150 - color: @brand;
136 + font-size: 15px;
151 151  
152 152   i {
153 - width: 16px;
154 - flex-basis: 16px;
139 + width: 18px;
140 + flex-basis: 18px;
155 155   }
156 -
157 - &:hover,
158 - &:focus,
159 - &:active {
160 - color: @brand-strong;
161 - background: fade(@brand, 8%);
162 - }
163 163   }
164 164  
165 165   .divider {
166 166   margin: 5px 0;
167 - background-color: fade(@brand, 16%);
168 168   }
169 169   }
170 170  }