Changes for page Public Web Site

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

From version 11.16
edited by Agnease
on 2026/05/22 09:59
Change comment: There is no comment for this version
To version 12.15
edited by Agnease
on 2026/05/22 10:54
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1222,138 +1222,23 @@
1222 1222  /* ========== Resources Index ========== */
1223 1223  
1224 1224  .resources-index-page {
1225 - padding: @section-padding;
1226 - background: @brand-bg;
1225 + background: #fff;
1227 1227  
1228 - .resources-intro {
1229 - max-width: 820px;
1230 - margin: 0 auto 32px;
1231 - text-align: center;
1232 -
1233 - p {
1234 - color: @muted;
1235 - font-size: 17px;
1236 - line-height: 1.7;
1237 - margin: 0;
1238 - }
1239 - }
1240 -
1241 - .resources-grid {
1242 - display: grid;
1227 + .services-grid {
1243 1243   grid-template-columns: repeat(2, minmax(0, 1fr));
1244 - gap: 24px;
1245 - margin-bottom: 36px;
1246 1246   }
1230 +}
1247 1247  
1248 - .resource-card {
1249 - display: flex;
1250 - gap: 18px;
1251 - background: #fff;
1252 - border: 1px solid @line;
1253 - border-radius: @radius;
1254 - box-shadow: @shadow-sm;
1255 - padding: 24px;
1256 - }
1257 -
1258 - .resource-card-icon {
1259 - flex: 0 0 46px;
1260 - width: 46px;
1261 - height: 46px;
1262 - border-radius: 14px;
1263 - background: @brand-soft;
1264 - color: @brand-strong;
1265 - display: flex;
1266 - align-items: center;
1267 - justify-content: center;
1268 - font-size: 20px;
1269 - }
1270 -
1271 - .resource-card-label {
1272 - color: @brand-strong;
1273 - font-size: 13px;
1274 - font-weight: 700;
1275 - text-transform: uppercase;
1276 - letter-spacing: .04em;
1277 - margin-bottom: 8px;
1278 - }
1279 -
1280 - .resource-card h2 {
1281 - font-size: 22px;
1282 - line-height: 1.25;
1283 - margin: 0 0 12px;
1284 - }
1285 -
1286 - .resource-card h2 a {
1287 - color: @text;
1288 - text-decoration: none;
1289 -
1290 - &:hover {
1291 - color: @brand-strong;
1292 - text-decoration: none;
1232 +@media (max-width: 980px) {
1233 + .resources-index-page {
1234 + .services-grid {
1235 + grid-template-columns: 1fr;
1293 1293   }
1294 1294   }
1295 -
1296 - .resource-card p {
1297 - color: @muted;
1298 - font-size: 15px;
1299 - line-height: 1.65;
1300 - margin: 0 0 16px;
1301 - }
1302 -
1303 - .resource-card-link {
1304 - color: @brand-strong;
1305 - font-weight: 700;
1306 - text-decoration: none;
1307 -
1308 - &:hover {
1309 - color: @brand;
1310 - text-decoration: none;
1311 - }
1312 - }
1313 -
1314 - .resources-next {
1315 - max-width: 820px;
1316 - margin: 0 auto 32px;
1317 - text-align: center;
1318 -
1319 - h2 {
1320 - font-size: 26px;
1321 - margin: 0 0 10px;
1322 - }
1323 -
1324 - p {
1325 - color: @muted;
1326 - font-size: 16px;
1327 - line-height: 1.7;
1328 - margin: 0;
1329 - }
1330 - }
1331 1331  }
1332 1332  
1333 1333  @media (max-width: 767px) {
1334 1334   .resources-index-page {
1335 1335   padding: @section-padding-mobile;
1336 -
1337 - .resources-intro {
1338 - text-align: left;
1339 - margin-bottom: 24px;
1340 - }
1341 -
1342 - .resources-grid {
1343 - grid-template-columns: 1fr;
1344 - gap: 18px;
1345 - }
1346 -
1347 - .resource-card {
1348 - padding: 20px;
1349 - }
1350 -
1351 - .resource-card h2 {
1352 - font-size: 20px;
1353 - }
1354 -
1355 - .resources-next {
1356 - text-align: left;
1357 - }
1358 1358   }
1359 1359  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,14 +1,8 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 -
3 -/* Desktop alignment */
4 -#menuview .navbar-nav {
5 - float: right !important;
6 -}
7 -
8 8  /* Top-level menu items */
9 9  
10 -.agnease-menu-item,
11 -.agnease-menu-link {
4 +#menuview .agnease-menu-item,
5 +#menuview .agnease-menu-link {
12 12   > a,
13 13   > .dropdown-toggle {
14 14   color: @brand;
... ... @@ -17,6 +17,7 @@
17 17   padding-left: 16px;
18 18   padding-right: 16px;
19 19   text-decoration: none;
14 + background: transparent;
20 20   }
21 21  
22 22   > a:hover,
... ... @@ -27,6 +27,7 @@
27 27   color: @brand-strong;
28 28   text-decoration: none;
29 29   outline: none;
25 + background: transparent;
30 30   }
31 31  
32 32   .caret {
... ... @@ -47,7 +47,7 @@
47 47  
48 48  /* Dropdown panel */
49 49  
50 -.agnease-dropdown {
46 +#menuview .agnease-dropdown {
51 51   min-width: 310px;
52 52   padding: 10px 8px;
53 53   border: 1px solid fade(@brand, 18%);
... ... @@ -66,6 +66,7 @@
66 66   font-weight: 600;
67 67   line-height: 1.3;
68 68   text-decoration: none;
65 + background: transparent;
69 69  
70 70   i {
71 71   width: 20px;
... ... @@ -81,6 +81,7 @@
81 81   color: @brand-strong;
82 82   text-decoration: none;
83 83   outline: none;
81 + background: transparent;
84 84  
85 85   i {
86 86   color: @brand-strong;
... ... @@ -90,6 +90,7 @@
90 90  
91 91   > .active > a {
92 92   color: @brand-strong;
91 + background: transparent;
93 93  
94 94   i {
95 95   color: @brand-strong;
... ... @@ -105,23 +105,34 @@
105 105  /* Mobile */
106 106  
107 107  @media (max-width: 767px) {
108 - .site-nav {
107 + #menuview {
109 109   margin-left: 0;
110 - justify-content: center;
111 - flex-wrap: wrap;
109 + width: 100%;
112 112   }
113 113  
114 - .agnease-menu-item,
115 - .agnease-menu-link {
112 + #menuview .navbar-nav {
113 + float: none;
114 + margin: 0;
115 + width: 100%;
116 + text-align: center;
117 + }
118 +
119 + #menuview .navbar-nav > li {
120 + float: none;
121 + display: inline-block;
122 + }
123 +
124 + #menuview .agnease-menu-item,
125 + #menuview .agnease-menu-link {
116 116   > a,
117 117   > .dropdown-toggle {
118 118   font-size: 16px;
119 - padding-top: 9px;
120 - padding-bottom: 9px;
129 + padding: 10px 10px;
130 + text-align: center;
121 121   }
122 122   }
123 123  
124 - .agnease-dropdown {
134 + #menuview .agnease-dropdown {
125 125   min-width: 0;
126 126   width: 100%;
127 127   padding: 4px 8px 8px 18px;
... ... @@ -129,6 +129,7 @@
129 129   border-radius: 0;
130 130   box-shadow: none;
131 131   background: transparent;
142 + text-align: left;
132 132  
133 133   > li > a {
134 134   padding: 8px 10px;