Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Objects (2 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -599,32 +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 - margin-bottom: 24px; 621 - } 622 - 623 - .resource-content { 624 - order: 1; 625 - } 626 -} 627 - 628 628 /* ========== CTA ========== */ 629 629 630 630 .cta-section { ... ... @@ -762,10 +762,24 @@ 762 762 padding: 40px 0 30px; 763 763 border-top: none; 764 764 background: 765 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 766 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 739 + radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 767 767 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 + 768 768 h1 { 756 + max-width: 820px; 769 769 margin: 0 auto 14px; 770 770 text-align: center; 771 771 line-height: 1.18; ... ... @@ -1174,141 +1174,3 @@ 1174 1174 padding: 20px; 1175 1175 } 1176 1176 } 1177 -/* ========== Resources Index ========== */ 1178 - 1179 -.resources-index-page { 1180 - padding: 56px 0 72px; 1181 - background: @brand-bg; 1182 -} 1183 - 1184 -.resources-intro { 1185 - max-width: 820px; 1186 - margin: 0 auto 32px; 1187 - text-align: center; 1188 -} 1189 - 1190 -.resources-intro p { 1191 - color: @muted; 1192 - font-size: 17px; 1193 - line-height: 1.7; 1194 - margin: 0; 1195 -} 1196 - 1197 -.resources-grid { 1198 - display: grid; 1199 - grid-template-columns: repeat(2, minmax(0, 1fr)); 1200 - gap: 24px; 1201 - margin-bottom: 36px; 1202 -} 1203 - 1204 -.resource-card { 1205 - display: flex; 1206 - gap: 18px; 1207 - background: #fff; 1208 - border: 1px solid @line; 1209 - border-radius: @radius; 1210 - box-shadow: @shadow-sm; 1211 - padding: 24px; 1212 -} 1213 - 1214 -.resource-card-icon { 1215 - flex: 0 0 46px; 1216 - width: 46px; 1217 - height: 46px; 1218 - border-radius: 14px; 1219 - background: @brand-soft; 1220 - color: @brand-strong; 1221 - display: flex; 1222 - align-items: center; 1223 - justify-content: center; 1224 - font-size: 20px; 1225 -} 1226 - 1227 -.resource-card-label { 1228 - color: @brand-strong; 1229 - font-size: 13px; 1230 - font-weight: 700; 1231 - text-transform: uppercase; 1232 - letter-spacing: .04em; 1233 - margin-bottom: 8px; 1234 -} 1235 - 1236 -.resource-card h2 { 1237 - font-size: 22px; 1238 - line-height: 1.25; 1239 - margin: 0 0 12px; 1240 -} 1241 - 1242 -.resource-card h2 a { 1243 - color: @text; 1244 - text-decoration: none; 1245 -} 1246 - 1247 -.resource-card h2 a:hover { 1248 - color: @brand-strong; 1249 - text-decoration: none; 1250 -} 1251 - 1252 -.resource-card p { 1253 - color: @muted; 1254 - font-size: 15px; 1255 - line-height: 1.65; 1256 - margin: 0 0 16px; 1257 -} 1258 - 1259 -.resource-card-link { 1260 - color: @brand-strong; 1261 - font-weight: 700; 1262 - text-decoration: none; 1263 -} 1264 - 1265 -.resource-card-link:hover { 1266 - color: @brand; 1267 - text-decoration: none; 1268 -} 1269 - 1270 -.resources-next { 1271 - max-width: 820px; 1272 - margin: 0 auto 32px; 1273 - text-align: center; 1274 -} 1275 - 1276 -.resources-next h2 { 1277 - font-size: 26px; 1278 - margin: 0 0 10px; 1279 -} 1280 - 1281 -.resources-next p { 1282 - color: @muted; 1283 - font-size: 16px; 1284 - line-height: 1.7; 1285 - margin: 0; 1286 -} 1287 - 1288 -@media (max-width: 767px) { 1289 - .resources-index-page { 1290 - padding: 36px 0 52px; 1291 - } 1292 - 1293 - .resources-intro { 1294 - text-align: left; 1295 - margin-bottom: 24px; 1296 - } 1297 - 1298 - .resources-grid { 1299 - grid-template-columns: 1fr; 1300 - gap: 18px; 1301 - } 1302 - 1303 - .resource-card { 1304 - padding: 20px; 1305 - } 1306 - 1307 - .resource-card h2 { 1308 - font-size: 20px; 1309 - } 1310 - 1311 - .resources-next { 1312 - text-align: left; 1313 - } 1314 -}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,6 +1,16 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -.agnease-menu-item { 3 +@brand: #00937D; 4 +@brand-strong: #007B6A; 5 +@text: #2D3A34; 6 +@muted: #5B6B64; 7 +@line: #E4ECE9; 8 +@brand-bg: #F4FCFA; 9 + 10 +/* Top-level menu items */ 11 + 12 +.agnease-services-menu, 13 +.agnease-products-menu { 4 4 .dropdown-toggle { 5 5 font-weight: inherit; 6 6 font-size: inherit; ... ... @@ -20,12 +20,20 @@ 20 20 } 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 { 33 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 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 { 29 29 background: transparent; 30 30 background-color: transparent; 31 31 color: @brand-strong; ... ... @@ -32,33 +32,25 @@ 32 32 box-shadow: none; 33 33 } 34 34 35 -.agnease-dropdown { 36 - min-width: 270px; 37 - padding: 8px; 53 +/* Dropdown panels */ 54 + 55 +.agnease-services-dropdown, 56 +.agnease-products-dropdown { 57 + min-width: 360px; 58 + padding: 10px; 38 38 border: 1px solid @line; 39 39 border-radius: 12px; 40 - box-shadow: 0 12px 3 2px rgba(0, 0, 0, .10);61 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 41 41 42 42 > li > a { 43 43 display: flex; 44 - align-items: center;45 - gap: 1 0px;46 - padding: 9px 11px;47 - border-radius: 9px;65 + align-items: flex-start; 66 + gap: 12px; 67 + padding: 10px 12px; 68 + border-radius: 10px; 48 48 color: @text; 49 - white-space: nowrap; 50 - font-size: 14px; 51 - font-weight: 600; 52 - line-height: 1.25; 70 + white-space: normal; 53 53 54 - i { 55 - width: 18px; 56 - flex: 0 0 18px; 57 - color: @brand; 58 - text-align: center; 59 - font-size: 14px; 60 - } 61 - 62 62 &:hover, 63 63 &:focus { 64 64 color: @brand-strong; ... ... @@ -65,58 +65,82 @@ 65 65 background: @brand-bg; 66 66 text-decoration: none; 67 67 68 - i { 78 + .menu-icon { 69 69 color: @brand-strong; 80 + background: fade(@brand, 14%); 81 + border-color: fade(@brand, 28%); 70 70 } 83 + 84 + strong { 85 + color: @brand-strong; 86 + } 87 + 88 + small { 89 + color: @muted; 90 + } 71 71 } 72 72 } 73 73 74 74 .divider { 75 - margin: 7px 0;95 + margin: 8px 0; 76 76 background-color: @line; 77 77 } 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; 108 + justify-content: center; 109 + flex-shrink: 0; 110 + transition: color .15s ease, background .15s ease, border-color .15s ease; 111 + } 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; 122 + } 123 + 124 + small { 125 + color: @muted; 126 + font-size: 12px; 127 + margin-top: 2px; 128 + font-weight: 400; 129 + } 130 + } 78 78 } 79 79 133 +/* Products dropdown can be slightly narrower for now */ 134 + 80 80 .agnease-products-dropdown { 81 - min-width: 260px;136 + min-width: 340px; 82 82 } 83 83 84 -.agnease-resources-dropdown { 85 - min-width: 260px; 86 -} 139 +/* Mobile */ 87 87 88 -/* ========== Mobile Menu ========== */ 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; 95 - } 96 - 97 - .agnease-dropdown { 142 + .agnease-services-dropdown, 143 + .agnease-products-dropdown { 98 98 min-width: 0; 99 99 width: 100%; 100 - padding: 4px 8px 8px 18px; 101 - border: 0; 146 + padding: 6px; 102 102 border-radius: 0; 148 + border-left: 0; 149 + border-right: 0; 103 103 box-shadow: none; 104 - background: transparent; 105 105 106 106 > li > a { 107 - padding: 8px 10px; 108 - white-space: normal; 109 - font-size: 14px; 110 - border-radius: 8px; 111 - 112 - i { 113 - width: 16px; 114 - flex-basis: 16px; 115 - } 153 + padding: 10px; 116 116 } 117 - 118 - .divider { 119 - margin: 5px 0; 120 - } 121 121 } 122 122 }