Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -146,7 +146,7 @@ 146 146 </div> 147 147 </section> 148 148 149 - <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title">149 + <section class="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
-
... ... @@ -599,102 +599,6 @@ 599 599 } 600 600 } 601 601 602 -.resource-content { 603 - order: 1; 604 -} 605 - 606 -.resource-sidebar { 607 - order: 2; 608 -} 609 - 610 -@media (max-width: 767px) { 611 - .resource-layout { 612 - display: flex; 613 - flex-direction: column; 614 - } 615 - 616 - .resource-sidebar { 617 - order: 0; 618 - position: static; 619 - width: 100%; 620 - } 621 - 622 - .resource-content { 623 - order: 1; 624 - } 625 -} 626 - 627 -/* ========== Homepage Resource Strip ========== */ 628 - 629 -.homepage-resource-strip { 630 - background: 631 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 632 - 633 - .resource-grid { 634 - max-width: 1040px; 635 - margin: 26px auto 0; 636 - display: grid; 637 - grid-template-columns: repeat(2, minmax(0, 1fr)); 638 - grid-gap: 22px; 639 - align-items: stretch; 640 - } 641 - 642 - .resource-card { 643 - display: flex; 644 - flex-direction: column; 645 - min-width: 0; 646 - min-height: 100%; 647 - padding: 26px; 648 - } 649 - 650 - .resource-card h4 { 651 - margin: 0 0 10px; 652 - color: @text; 653 - font-size: 21px; 654 - line-height: 1.25; 655 - font-weight: 700; 656 - } 657 - 658 - .resource-card p { 659 - margin: 0 0 18px; 660 - color: @muted; 661 - font-size: 15px; 662 - line-height: 1.6; 663 - } 664 - 665 - .resource-card a { 666 - margin-top: auto; 667 - color: @brand; 668 - font-weight: 700; 669 - text-decoration: underline; 670 - 671 - &:hover, 672 - &:focus { 673 - color: @brand-strong; 674 - } 675 - } 676 -} 677 - 678 -@media (max-width: 980px) { 679 - .homepage-resource-strip { 680 - .resource-grid { 681 - grid-template-columns: 1fr; 682 - } 683 - } 684 -} 685 - 686 -@media (max-width: 640px) { 687 - .homepage-resource-strip { 688 - .resource-card { 689 - padding: 22px; 690 - } 691 - 692 - .resource-card h4 { 693 - font-size: 19px; 694 - } 695 - } 696 -} 697 - 698 698 /* ========== CTA ========== */ 699 699 700 700 .cta-section { ... ... @@ -1244,141 +1244,3 @@ 1244 1244 padding: 20px; 1245 1245 } 1246 1246 } 1247 -/* ========== Resources Index ========== */ 1248 - 1249 -.resources-index-page { 1250 - padding: 56px 0 72px; 1251 - background: @brand-bg; 1252 -} 1253 - 1254 -.resources-intro { 1255 - max-width: 820px; 1256 - margin: 0 auto 32px; 1257 - text-align: center; 1258 -} 1259 - 1260 -.resources-intro p { 1261 - color: @muted; 1262 - font-size: 17px; 1263 - line-height: 1.7; 1264 - margin: 0; 1265 -} 1266 - 1267 -.resources-grid { 1268 - display: grid; 1269 - grid-template-columns: repeat(2, minmax(0, 1fr)); 1270 - gap: 24px; 1271 - margin-bottom: 36px; 1272 -} 1273 - 1274 -.resource-card { 1275 - display: flex; 1276 - gap: 18px; 1277 - background: #fff; 1278 - border: 1px solid @line; 1279 - border-radius: @radius; 1280 - box-shadow: @shadow-sm; 1281 - padding: 24px; 1282 -} 1283 - 1284 -.resource-card-icon { 1285 - flex: 0 0 46px; 1286 - width: 46px; 1287 - height: 46px; 1288 - border-radius: 14px; 1289 - background: @brand-soft; 1290 - color: @brand-strong; 1291 - display: flex; 1292 - align-items: center; 1293 - justify-content: center; 1294 - font-size: 20px; 1295 -} 1296 - 1297 -.resource-card-label { 1298 - color: @brand-strong; 1299 - font-size: 13px; 1300 - font-weight: 700; 1301 - text-transform: uppercase; 1302 - letter-spacing: .04em; 1303 - margin-bottom: 8px; 1304 -} 1305 - 1306 -.resource-card h2 { 1307 - font-size: 22px; 1308 - line-height: 1.25; 1309 - margin: 0 0 12px; 1310 -} 1311 - 1312 -.resource-card h2 a { 1313 - color: @text; 1314 - text-decoration: none; 1315 -} 1316 - 1317 -.resource-card h2 a:hover { 1318 - color: @brand-strong; 1319 - text-decoration: none; 1320 -} 1321 - 1322 -.resource-card p { 1323 - color: @muted; 1324 - font-size: 15px; 1325 - line-height: 1.65; 1326 - margin: 0 0 16px; 1327 -} 1328 - 1329 -.resource-card-link { 1330 - color: @brand-strong; 1331 - font-weight: 700; 1332 - text-decoration: none; 1333 -} 1334 - 1335 -.resource-card-link:hover { 1336 - color: @brand; 1337 - text-decoration: none; 1338 -} 1339 - 1340 -.resources-next { 1341 - max-width: 820px; 1342 - margin: 0 auto 32px; 1343 - text-align: center; 1344 -} 1345 - 1346 -.resources-next h2 { 1347 - font-size: 26px; 1348 - margin: 0 0 10px; 1349 -} 1350 - 1351 -.resources-next p { 1352 - color: @muted; 1353 - font-size: 16px; 1354 - line-height: 1.7; 1355 - margin: 0; 1356 -} 1357 - 1358 -@media (max-width: 767px) { 1359 - .resources-index-page { 1360 - padding: 36px 0 52px; 1361 - } 1362 - 1363 - .resources-intro { 1364 - text-align: left; 1365 - margin-bottom: 24px; 1366 - } 1367 - 1368 - .resources-grid { 1369 - grid-template-columns: 1fr; 1370 - gap: 18px; 1371 - } 1372 - 1373 - .resource-card { 1374 - padding: 20px; 1375 - } 1376 - 1377 - .resource-card h2 { 1378 - font-size: 20px; 1379 - } 1380 - 1381 - .resources-next { 1382 - text-align: left; 1383 - } 1384 -}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,148 +1,156 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -/* Desktop alignment */ 4 -#menuview .navbar-nav { 5 - float: right !important; 6 -} 3 +@brand: #00937D; 4 +@brand-strong: #007B6A; 5 +@text: #2D3A34; 6 +@muted: #5B6B64; 7 +@line: #E4ECE9; 8 +@brand-bg: #F4FCFA; 7 7 8 8 /* Top-level menu items */ 9 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; 12 +.agnease-services-menu, 13 +.agnease-products-menu { 14 + .dropdown-toggle { 15 + font-weight: inherit; 16 + font-size: inherit; 20 20 } 21 21 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 - 32 32 .caret { 33 - margin-left: 5px; 34 - border-top-color: @brand; 35 - border-bottom-color: @brand; 20 + margin-left: 4px; 36 36 } 37 37 38 - > a:hover.caret,39 - > a:focus.caret,40 - > a:active.caret,41 - &.open>a .caret,42 - &.active>a.caret{43 - b order-top-color:@brand-strong;44 - bo rder-bottom-color:@brand-strong;23 + &.open > .dropdown-toggle, 24 + .dropdown-toggle:hover, 25 + .dropdown-toggle:focus { 26 + color: @brand-strong; 27 + background: transparent; 28 + background-color: transparent; 29 + box-shadow: none; 45 45 } 46 46 } 47 47 48 -/* Dropdown panel*/33 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 49 49 50 -.agnease-dropdown { 51 - min-width: 310px; 52 - padding: 10px 8px; 53 - border: 1px solid fade(@brand, 18%); 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 +} 52 + 53 +/* Dropdown panels */ 54 + 55 +.agnease-services-dropdown, 56 +.agnease-products-dropdown { 57 + min-width: 360px; 58 + padding: 10px; 59 + border: 1px solid @line; 54 54 border-radius: 12px; 55 - background: #fff; 56 - box-shadow: 0 12px 32px fade(@brand-strong, 12%); 61 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 57 58 58 > li > a { 59 59 display: flex; 60 - align-items: center;65 + align-items: flex-start; 61 61 gap: 12px; 62 - padding: 11px 14px; 63 - color: @brand; 64 - white-space: nowrap; 65 - font-size: 16px; 66 - font-weight: 600; 67 - line-height: 1.3; 68 - text-decoration: none; 67 + padding: 10px 12px; 68 + border-radius: 10px; 69 + color: @text; 70 + white-space: normal; 69 69 70 - i { 71 - width: 20px; 72 - flex: 0 0 20px; 73 - color: @brand; 74 - text-align: center; 75 - font-size: 15px; 76 - } 77 - 78 78 &:hover, 79 - &:focus, 80 - &:active { 73 + &:focus { 81 81 color: @brand-strong; 75 + background: @brand-bg; 82 82 text-decoration: none; 83 - outline: none; 84 84 85 - i { 78 + .menu-icon { 86 86 color: @brand-strong; 80 + background: fade(@brand, 14%); 81 + border-color: fade(@brand, 28%); 87 87 } 88 - } 89 - } 90 90 91 - > .active > a { 92 - color: @brand-strong; 84 + strong { 85 + color: @brand-strong; 86 + } 93 93 94 - i { 95 - color: @brand-strong; 88 + small { 89 + color: @muted; 90 + } 96 96 } 97 97 } 98 98 99 99 .divider { 100 100 margin: 8px 0; 101 - background-color: fade(@brand, 16%);96 + background-color: @line; 102 102 } 103 -} 104 104 105 -/* Mobile */ 106 - 107 -@media (max-width: 767px) { 108 - .site-nav { 109 - margin-left: 0; 99 + .menu-icon { 100 + width: 34px; 101 + height: 34px; 102 + border-radius: 50%; 103 + background: fade(@brand, 8%); 104 + border: 1px solid fade(@brand, 18%); 105 + color: @brand; 106 + display: flex; 107 + align-items: center; 110 110 justify-content: center; 111 - flex-wrap: wrap; 109 + flex-shrink: 0; 110 + transition: color .15s ease, background .15s ease, border-color .15s ease; 112 112 } 113 113 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; 113 + .menu-text { 114 + display: flex; 115 + flex-direction: column; 116 + line-height: 1.25; 117 + 118 + strong { 119 + color: @brand; 120 + font-size: 14px; 121 + font-weight: 600; 121 121 } 123 + 124 + small { 125 + color: @muted; 126 + font-size: 12px; 127 + margin-top: 2px; 128 + font-weight: 400; 129 + } 122 122 } 131 +} 123 123 124 - .agnease-dropdown { 133 +/* Products dropdown can be slightly narrower for now */ 134 + 135 +.agnease-products-dropdown { 136 + min-width: 340px; 137 +} 138 + 139 +/* Mobile */ 140 + 141 +@media (max-width: 767px) { 142 + .agnease-services-dropdown, 143 + .agnease-products-dropdown { 125 125 min-width: 0; 126 126 width: 100%; 127 - padding: 4px 8px 8px 18px; 128 - border: 0; 146 + padding: 6px; 129 129 border-radius: 0; 148 + border-left: 0; 149 + border-right: 0; 130 130 box-shadow: none; 131 - background: transparent; 132 132 133 133 > li > a { 134 - padding: 8px 10px; 135 - white-space: normal; 136 - font-size: 15px; 137 - 138 - i { 139 - width: 18px; 140 - flex-basis: 18px; 141 - } 153 + padding: 10px; 142 142 } 143 - 144 - .divider { 145 - margin: 5px 0; 146 - } 147 147 } 148 148 }