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" 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
-
... ... @@ -329,12 +329,6 @@ 329 329 border: 1px solid @line; 330 330 border-radius: @radius; 331 331 box-shadow: @shadow-sm; 332 - transition: transform .18s ease, box-shadow .18s ease; 333 - 334 - &:hover { 335 - transform: translateY(-2px); 336 - box-shadow: @shadow; 337 - } 338 338 } 339 339 340 340 /* ========== Small Widgets ========== */ ... ... @@ -450,13 +450,7 @@ 450 450 border: 1px solid @line; 451 451 border-radius: @radius; 452 452 box-shadow: @shadow-sm; 453 - transition: transform .18s ease, box-shadow .18s ease; 454 454 455 - &:hover { 456 - transform: translateY(-2px); 457 - box-shadow: @shadow; 458 - } 459 - 460 460 .service-icon { 461 461 width: 46px; 462 462 height: 46px; ... ... @@ -599,6 +599,102 @@ 599 599 } 600 600 } 601 601 590 +.resource-content { 591 + order: 1; 592 +} 593 + 594 +.resource-sidebar { 595 + order: 2; 596 +} 597 + 598 +@media (max-width: 767px) { 599 + .resource-layout { 600 + display: flex; 601 + flex-direction: column; 602 + } 603 + 604 + .resource-sidebar { 605 + order: 0; 606 + position: static; 607 + width: 100%; 608 + } 609 + 610 + .resource-content { 611 + order: 1; 612 + } 613 +} 614 + 615 +/* ========== Homepage Resource Strip ========== */ 616 + 617 +.homepage-resource-strip { 618 + background: 619 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 620 + 621 + .resource-grid { 622 + max-width: 1040px; 623 + margin: 26px auto 0; 624 + display: grid; 625 + grid-template-columns: repeat(2, minmax(0, 1fr)); 626 + grid-gap: 22px; 627 + align-items: stretch; 628 + } 629 + 630 + .resource-card { 631 + display: flex; 632 + flex-direction: column; 633 + min-width: 0; 634 + min-height: 100%; 635 + padding: 26px; 636 + } 637 + 638 + .resource-card h4 { 639 + margin: 0 0 10px; 640 + color: @text; 641 + font-size: 21px; 642 + line-height: 1.25; 643 + font-weight: 700; 644 + } 645 + 646 + .resource-card p { 647 + margin: 0 0 18px; 648 + color: @muted; 649 + font-size: 15px; 650 + line-height: 1.6; 651 + } 652 + 653 + .resource-card a { 654 + margin-top: auto; 655 + color: @brand; 656 + font-weight: 700; 657 + text-decoration: underline; 658 + 659 + &:hover, 660 + &:focus { 661 + color: @brand-strong; 662 + } 663 + } 664 +} 665 + 666 +@media (max-width: 980px) { 667 + .homepage-resource-strip { 668 + .resource-grid { 669 + grid-template-columns: 1fr; 670 + } 671 + } 672 +} 673 + 674 +@media (max-width: 640px) { 675 + .homepage-resource-strip { 676 + .resource-card { 677 + padding: 22px; 678 + } 679 + 680 + .resource-card h4 { 681 + font-size: 19px; 682 + } 683 + } 684 +} 685 + 602 602 /* ========== CTA ========== */ 603 603 604 604 .cta-section { ... ... @@ -736,24 +736,10 @@ 736 736 padding: 40px 0 30px; 737 737 border-top: none; 738 738 background: 739 - radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 823 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 824 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 740 740 741 - .resource-kicker { 742 - display: inline-flex; 743 - align-items: center; 744 - gap: 8px; 745 - color: @brand; 746 - background: fade(@brand, 8%); 747 - border: 1px solid fade(@brand, 18%); 748 - border-radius: 999px; 749 - padding: 6px 12px; 750 - margin-bottom: 14px; 751 - font-size: 13px; 752 - font-weight: 700; 753 - } 754 - 755 755 h1 { 756 - max-width: 820px; 757 757 margin: 0 auto 14px; 758 758 text-align: center; 759 759 line-height: 1.18; ... ... @@ -902,67 +902,6 @@ 902 902 } 903 903 /* ========== Products / Extensions Pages ========== */ 904 904 905 -.product-page, 906 -.agnease-product-page { 907 - color: @text; 908 -} 909 - 910 -/* Product index hero: keeps the same visual language as .hero-centered, 911 - but allows the product index to stay compact and structured. */ 912 -.product-index-hero { 913 - padding: 56px 0 48px; 914 - text-align: center; 915 - background: 916 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 917 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 918 - border-top: none; 919 - border-bottom: 1px solid @line; 920 - 921 - h1 { 922 - max-width: 790px; 923 - margin: 0 auto; 924 - line-height: 1.18; 925 - } 926 - 927 - .page-lead { 928 - max-width: 760px; 929 - margin: 14px auto 0; 930 - color: @muted; 931 - text-align: center; 932 - font-size: 19px; 933 - line-height: 1.55; 934 - } 935 -} 936 - 937 -.product-page-kicker, 938 -.product-card-kicker { 939 - display: inline-flex; 940 - align-items: center; 941 - gap: 8px; 942 - color: @brand; 943 - background: fade(@brand, 8%); 944 - border: 1px solid fade(@brand, 18%); 945 - border-radius: 999px; 946 - padding: 6px 12px; 947 - margin-bottom: 14px; 948 - font-size: 13px; 949 - font-weight: 700; 950 - 951 - i { 952 - color: @brand; 953 - } 954 -} 955 - 956 -.product-card-kicker { 957 - margin-bottom: 10px; 958 - padding: 5px 10px; 959 - font-size: 12px; 960 - text-transform: uppercase; 961 - letter-spacing: .04em; 962 -} 963 - 964 -/* Product index listing */ 965 - 966 966 .product-index-section { 967 967 padding: 52px 0 56px; 968 968 ... ... @@ -989,13 +989,7 @@ 989 989 grid-template-columns: 68px 1fr; 990 990 grid-gap: 22px; 991 991 align-items: start; 992 - transition: transform .18s ease, box-shadow .18s ease; 993 993 994 - &:hover { 995 - transform: translateY(-2px); 996 - box-shadow: @shadow; 997 - } 998 - 999 999 .product-card-icon { 1000 1000 width: 58px; 1001 1001 height: 58px; ... ... @@ -1032,6 +1032,14 @@ 1032 1032 } 1033 1033 } 1034 1034 1038 +.product-card-kicker { 1039 + margin-bottom: 10px; 1040 + padding: 5px 10px; 1041 + font-size: 12px; 1042 + text-transform: uppercase; 1043 + letter-spacing: .04em; 1044 +} 1045 + 1035 1035 .product-highlights { 1036 1036 margin: 14px 0 20px; 1037 1037 padding-left: 18px; ... ... @@ -1043,40 +1043,8 @@ 1043 1043 } 1044 1044 } 1045 1045 1046 -.product-cta-section { 1047 - padding: 0 0 56px; 1048 - border-top: 1px solid @line; 1049 -} 1050 - 1051 -.product-cta-panel { 1052 - max-width: 860px; 1053 - margin: 0 auto; 1054 - padding: 32px; 1055 - border-radius: @radius; 1056 - border: 1px solid fade(@brand, 20%); 1057 - background: 1058 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1059 - box-shadow: @shadow-sm; 1060 - text-align: center; 1061 - 1062 - h2 { 1063 - margin-top: 0; 1064 - } 1065 - 1066 - p { 1067 - max-width: 680px; 1068 - margin: 0 auto 18px; 1069 - color: @muted; 1070 - line-height: 1.55; 1071 - } 1072 -} 1073 - 1074 1074 /* ========== Individual Product Pages ========== */ 1075 1075 1076 -.product-hero { 1077 - min-height: 330px; 1078 -} 1079 - 1080 1080 .product-layout { 1081 1081 display: grid; 1082 1082 grid-template-columns: 1.1fr .9fr; ... ... @@ -1181,8 +1181,6 @@ 1181 1181 } 1182 1182 } 1183 1183 1184 -/* Screenshot / gallery area for product pages */ 1185 - 1186 1186 .product-gallery-panel { 1187 1187 max-width: 1040px; 1188 1188 margin: 20px auto 0; ... ... @@ -1215,28 +1215,11 @@ 1215 1215 justify-content: center; 1216 1216 } 1217 1217 1218 -/* Optional product detail sections */ 1219 - 1220 1220 .product-section-muted { 1221 1221 background: 1222 1222 radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1223 1223 } 1224 1224 1225 -.product-use-cases { 1226 - ul { 1227 - margin: 0; 1228 - padding-left: 20px; 1229 - color: @muted; 1230 - } 1231 - 1232 - li { 1233 - margin: 8px 0; 1234 - line-height: 1.5; 1235 - } 1236 -} 1237 - 1238 -/* ========== Products Responsive ========== */ 1239 - 1240 1240 @media (max-width: 980px) { 1241 1241 .product-layout, 1242 1242 .product-feature-grid { ... ... @@ -1249,14 +1249,6 @@ 1249 1249 } 1250 1250 1251 1251 @media (max-width: 640px) { 1252 - .product-index-hero { 1253 - padding: 38px 0 34px; 1254 - 1255 - .page-lead { 1256 - font-size: 17px; 1257 - } 1258 - } 1259 - 1260 1260 .product-card { 1261 1261 grid-template-columns: 1fr; 1262 1262 padding: 22px; ... ... @@ -1273,8 +1273,142 @@ 1273 1273 .product-gallery-panel { 1274 1274 padding: 20px; 1275 1275 } 1228 +} 1229 +/* ========== Resources Index ========== */ 1276 1276 1277 - .product-cta-panel { 1278 - padding: 24px 20px; 1231 +.resources-index-page { 1232 + padding: 56px 0 72px; 1233 + background: @brand-bg; 1234 +} 1235 + 1236 +.resources-intro { 1237 + max-width: 820px; 1238 + margin: 0 auto 32px; 1239 + text-align: center; 1240 +} 1241 + 1242 +.resources-intro p { 1243 + color: @muted; 1244 + font-size: 17px; 1245 + line-height: 1.7; 1246 + margin: 0; 1247 +} 1248 + 1249 +.resources-grid { 1250 + display: grid; 1251 + grid-template-columns: repeat(2, minmax(0, 1fr)); 1252 + gap: 24px; 1253 + margin-bottom: 36px; 1254 +} 1255 + 1256 +.resource-card { 1257 + display: flex; 1258 + gap: 18px; 1259 + background: #fff; 1260 + border: 1px solid @line; 1261 + border-radius: @radius; 1262 + box-shadow: @shadow-sm; 1263 + padding: 24px; 1264 +} 1265 + 1266 +.resource-card-icon { 1267 + flex: 0 0 46px; 1268 + width: 46px; 1269 + height: 46px; 1270 + border-radius: 14px; 1271 + background: @brand-soft; 1272 + color: @brand-strong; 1273 + display: flex; 1274 + align-items: center; 1275 + justify-content: center; 1276 + font-size: 20px; 1277 +} 1278 + 1279 +.resource-card-label { 1280 + color: @brand-strong; 1281 + font-size: 13px; 1282 + font-weight: 700; 1283 + text-transform: uppercase; 1284 + letter-spacing: .04em; 1285 + margin-bottom: 8px; 1286 +} 1287 + 1288 +.resource-card h2 { 1289 + font-size: 22px; 1290 + line-height: 1.25; 1291 + margin: 0 0 12px; 1292 +} 1293 + 1294 +.resource-card h2 a { 1295 + color: @text; 1296 + text-decoration: none; 1297 +} 1298 + 1299 +.resource-card h2 a:hover { 1300 + color: @brand-strong; 1301 + text-decoration: none; 1302 +} 1303 + 1304 +.resource-card p { 1305 + color: @muted; 1306 + font-size: 15px; 1307 + line-height: 1.65; 1308 + margin: 0 0 16px; 1309 +} 1310 + 1311 +.resource-card-link { 1312 + color: @brand-strong; 1313 + font-weight: 700; 1314 + text-decoration: none; 1315 +} 1316 + 1317 +.resource-card-link:hover { 1318 + color: @brand; 1319 + text-decoration: none; 1320 +} 1321 + 1322 +.resources-next { 1323 + max-width: 820px; 1324 + margin: 0 auto 32px; 1325 + text-align: center; 1326 +} 1327 + 1328 +.resources-next h2 { 1329 + font-size: 26px; 1330 + margin: 0 0 10px; 1331 +} 1332 + 1333 +.resources-next p { 1334 + color: @muted; 1335 + font-size: 16px; 1336 + line-height: 1.7; 1337 + margin: 0; 1338 +} 1339 + 1340 +@media (max-width: 767px) { 1341 + .resources-index-page { 1342 + padding: 36px 0 52px; 1279 1279 } 1344 + 1345 + .resources-intro { 1346 + text-align: left; 1347 + margin-bottom: 24px; 1348 + } 1349 + 1350 + .resources-grid { 1351 + grid-template-columns: 1fr; 1352 + gap: 18px; 1353 + } 1354 + 1355 + .resource-card { 1356 + padding: 20px; 1357 + } 1358 + 1359 + .resource-card h2 { 1360 + font-size: 20px; 1361 + } 1362 + 1363 + .resources-next { 1364 + text-align: left; 1365 + } 1280 1280 }
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,156 +1,148 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -@brand: #00937D; 4 -@brand-strong: #007B6A; 5 -@text: #2D3A34; 6 -@muted: #5B6B64; 7 -@line: #E4ECE9; 8 -@brand-bg: #F4FCFA; 3 +/* Desktop alignment */ 4 +#menuview .navbar-nav { 5 + float: right !important; 6 +} 9 9 10 10 /* Top-level menu items */ 11 11 12 -.agnease-services-menu, 13 -.agnease-products-menu { 14 - .dropdown-toggle { 15 - font-weight: inherit; 16 - font-size: inherit; 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; 17 17 } 18 18 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 + 19 19 .caret { 20 - margin-left: 4px; 33 + margin-left: 5px; 34 + border-top-color: @brand; 35 + border-bottom-color: @brand; 21 21 } 22 22 23 - &.open>.dropdown-toggle,24 - .dropdown-toggle:hover,25 - .dropdown-toggle:focus{26 - color:@brand-strong;27 - background:transparent;28 - b ackground-color:transparent;29 - bo x-shadow: none;38 + > a:hover .caret, 39 + > a:focus .caret, 40 + > a:active .caret, 41 + &.open > a .caret, 42 + &.active > a .caret { 43 + border-top-color: @brand-strong; 44 + border-bottom-color: @brand-strong; 30 30 } 31 31 } 32 32 33 -/* Keep Agnease public top-level menu visually cleanwhenhovered/open/focused*/48 +/* Dropdown panel */ 34 34 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; 50 +.agnease-dropdown { 51 + min-width: 310px; 52 + padding: 10px 8px; 53 + border: 1px solid fade(@brand, 18%); 60 60 border-radius: 12px; 61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 55 + background: #fff; 56 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 62 62 63 63 > li > a { 64 64 display: flex; 65 - align-items: flex-start;60 + align-items: center; 66 66 gap: 12px; 67 - padding: 10px 12px; 68 - border-radius: 10px; 69 - color: @text; 70 - white-space: normal; 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; 71 71 70 + i { 71 + width: 20px; 72 + flex: 0 0 20px; 73 + color: @brand; 74 + text-align: center; 75 + font-size: 15px; 76 + } 77 + 72 72 &:hover, 73 - &:focus { 79 + &:focus, 80 + &:active { 74 74 color: @brand-strong; 75 - background: @brand-bg; 76 76 text-decoration: none; 83 + outline: none; 77 77 78 - .menu-icon{85 + i { 79 79 color: @brand-strong; 80 - background: fade(@brand, 14%); 81 - border-color: fade(@brand, 28%); 82 82 } 88 + } 89 + } 83 83 84 - strong { 85 - color: @brand-strong; 86 - } 91 + > .active > a { 92 + color: @brand-strong; 87 87 88 - small { 89 - color: @muted; 90 - } 94 + i { 95 + color: @brand-strong; 91 91 } 92 92 } 93 93 94 94 .divider { 95 95 margin: 8px 0; 96 - background-color: @ line;101 + background-color: fade(@brand, 16%); 97 97 } 103 +} 98 98 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; 105 +/* Mobile */ 106 + 107 +@media (max-width: 767px) { 108 + .site-nav { 109 + margin-left: 0; 108 108 justify-content: center; 109 - flex-shrink: 0; 110 - transition: color .15s ease, background .15s ease, border-color .15s ease; 111 + flex-wrap: wrap; 111 111 } 112 112 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; 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; 122 122 } 123 - 124 - small { 125 - color: @muted; 126 - font-size: 12px; 127 - margin-top: 2px; 128 - font-weight: 400; 129 - } 130 130 } 131 -} 132 132 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 { 124 + .agnease-dropdown { 144 144 min-width: 0; 145 145 width: 100%; 146 - padding: 6px; 127 + padding: 4px 8px 8px 18px; 128 + border: 0; 147 147 border-radius: 0; 148 - border-left: 0; 149 - border-right: 0; 150 150 box-shadow: none; 131 + background: transparent; 151 151 152 152 > li > a { 153 - padding: 10px; 134 + padding: 8px 10px; 135 + white-space: normal; 136 + font-size: 15px; 137 + 138 + i { 139 + width: 18px; 140 + flex-basis: 18px; 141 + } 154 154 } 143 + 144 + .divider { 145 + margin: 5px 0; 146 + } 155 155 } 156 156 }