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
-
... ... @@ -16,6 +16,11 @@ 16 16 Agnease helps companies keep XWiki secure, stable, up-to-date and adapted to real business processes. 17 17 </p> 18 18 19 + <p class="hero-support"> 20 + From LTS upgrades and maintenance to custom applications, integrations, workflows and migrations, 21 + Agnease provides focused XWiki expertise with practical delivery and long-term care. 22 + </p> 23 + 19 19 <ul class="benefits"> 20 20 <li>Safe LTS upgrades</li> 21 21 <li>Support and recovery</li> ... ... @@ -141,7 +141,7 @@ 141 141 </div> 142 142 </section> 143 143 144 - <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title">149 + <section class="resource-strip" aria-labelledby="resources-title"> 145 145 <div class="container"> 146 146 <h2 id="resources-title">Useful XWiki resources</h2> 147 147 <p class="section-intro"> ... ... @@ -154,7 +154,7 @@ 154 154 <p> 155 155 A business-focused explanation of why regular LTS upgrades reduce security, compatibility and maintenance risk. 156 156 </p> 157 - <a href=" $xwiki.getURL('resources.why-upgrade-xwiki')">Read the resource</a>162 + <a href="/resources/why-upgrade-xwiki">Read the resource</a> 158 158 </article> 159 159 160 160 <article class="resource-card"> ... ... @@ -162,7 +162,7 @@ 162 162 <p> 163 163 How Agnease approaches safe XWiki upgrades for real production environments with customizations and integrations. 164 164 </p> 165 - <a href=" $xwiki.getURL('services.xwiki-upgrades')">View the service</a>170 + <a href="/services/xwiki-upgrades">View the service</a> 166 166 </article> 167 167 </div> 168 168 </div>
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -12,9 +12,6 @@ 12 12 @shadow: 0 12px 36px rgba(0, 0, 0, .08); 13 13 @maxw: 1140px; 14 14 15 -@section-padding: 30px 0; 16 -@section-padding-mobile: 28px 0; 17 - 18 18 /* ========== Base ========== */ 19 19 20 20 #mainContentArea { ... ... @@ -34,7 +34,7 @@ 34 34 } 35 35 36 36 section { 37 - padding: @section-padding;34 + padding: 42px 0; 38 38 border-top: 1px solid @line; 39 39 40 40 &:first-of-type { ... ... @@ -299,7 +299,7 @@ 299 299 .services-grid { 300 300 grid-template-columns: repeat(3, minmax(0, 1fr)); 301 301 max-width: 1040px; 302 - margin-top: 2 2px;299 + margin-top: 26px; 303 303 } 304 304 305 305 .resource-grid { ... ... @@ -332,6 +332,12 @@ 332 332 border: 1px solid @line; 333 333 border-radius: @radius; 334 334 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 + } 335 335 } 336 336 337 337 /* ========== Small Widgets ========== */ ... ... @@ -447,7 +447,13 @@ 447 447 border: 1px solid @line; 448 448 border-radius: @radius; 449 449 box-shadow: @shadow-sm; 453 + transition: transform .18s ease, box-shadow .18s ease; 450 450 455 + &:hover { 456 + transform: translateY(-2px); 457 + box-shadow: @shadow; 458 + } 459 + 451 451 .service-icon { 452 452 width: 46px; 453 453 height: 46px; ... ... @@ -590,106 +590,10 @@ 590 590 } 591 591 } 592 592 593 -.resource-content { 594 - order: 1; 595 -} 596 - 597 -.resource-sidebar { 598 - order: 2; 599 -} 600 - 601 -@media (max-width: 767px) { 602 - .resource-layout { 603 - display: flex; 604 - flex-direction: column; 605 - } 606 - 607 - .resource-sidebar { 608 - order: 0; 609 - position: static; 610 - width: 100%; 611 - } 612 - 613 - .resource-content { 614 - order: 1; 615 - } 616 -} 617 - 618 -/* ========== Homepage Resource Strip ========== */ 619 - 620 -.homepage-resource-strip { 621 - background: 622 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 623 - 624 - .resource-grid { 625 - max-width: 1040px; 626 - margin: 22px auto 0; 627 - display: grid; 628 - grid-template-columns: repeat(2, minmax(0, 1fr)); 629 - grid-gap: 22px; 630 - align-items: stretch; 631 - } 632 - 633 - .resource-card { 634 - display: flex; 635 - flex-direction: column; 636 - min-width: 0; 637 - min-height: 100%; 638 - padding: 26px; 639 - } 640 - 641 - .resource-card h4 { 642 - margin: 0 0 10px; 643 - color: @text; 644 - font-size: 21px; 645 - line-height: 1.25; 646 - font-weight: 700; 647 - } 648 - 649 - .resource-card p { 650 - margin: 0 0 18px; 651 - color: @muted; 652 - font-size: 15px; 653 - line-height: 1.6; 654 - } 655 - 656 - .resource-card a { 657 - margin-top: auto; 658 - color: @brand; 659 - font-weight: 700; 660 - text-decoration: underline; 661 - 662 - &:hover, 663 - &:focus { 664 - color: @brand-strong; 665 - } 666 - } 667 -} 668 - 669 -@media (max-width: 980px) { 670 - .homepage-resource-strip { 671 - .resource-grid { 672 - grid-template-columns: 1fr; 673 - } 674 - } 675 -} 676 - 677 -@media (max-width: 640px) { 678 - .homepage-resource-strip { 679 - .resource-card { 680 - padding: 22px; 681 - } 682 - 683 - .resource-card h4 { 684 - font-size: 19px; 685 - } 686 - } 687 -} 688 - 689 689 /* ========== CTA ========== */ 690 690 691 691 .cta-section { 692 - padding: @section-padding;605 + padding: 32px 0 24px; 693 693 694 694 .contact-inline { 695 695 margin: 0; ... ... @@ -788,7 +788,7 @@ 788 788 789 789 @media (max-width: 640px) { 790 790 section { 791 - padding: @section-padding-mobile;704 + padding: 34px 0; 792 792 } 793 793 794 794 .widgets, ... ... @@ -813,554 +813,3 @@ 813 813 padding: 24px 20px; 814 814 } 815 815 } 816 - 817 -/* ========== Resource / Article Pages ========== */ 818 - 819 -.resource-page { 820 - padding-top: 0; 821 -} 822 - 823 -.resource-header { 824 - padding: @section-padding; 825 - border-top: none; 826 - background: 827 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 828 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 829 - 830 - h1 { 831 - margin: 0 auto 14px; 832 - text-align: center; 833 - line-height: 1.18; 834 - } 835 - 836 - .resource-summary { 837 - max-width: 780px; 838 - margin: 0 auto; 839 - color: @muted; 840 - text-align: center; 841 - font-size: 18px; 842 - line-height: 1.55; 843 - } 844 -} 845 - 846 -.resource-layout { 847 - display: grid; 848 - grid-template-columns: minmax(0, 760px) 280px; 849 - gap: 42px; 850 - max-width: 1080px; 851 - margin: 0 auto; 852 - align-items: start; 853 -} 854 - 855 -.resource-content { 856 - color: @text; 857 - font-size: 16px; 858 - line-height: 1.68; 859 - 860 - h2 { 861 - text-align: left; 862 - margin: 34px 0 12px; 863 - line-height: 1.28; 864 - } 865 - 866 - h3 { 867 - margin: 24px 0 8px; 868 - line-height: 1.3; 869 - } 870 - 871 - p { 872 - margin: 0 0 16px; 873 - } 874 - 875 - ul, 876 - ol { 877 - margin: 0 0 18px; 878 - padding-left: 22px; 879 - } 880 - 881 - li { 882 - margin: 6px 0; 883 - } 884 - 885 - strong { 886 - color: @text; 887 - } 888 -} 889 - 890 -.resource-note { 891 - border-left: 4px solid @brand; 892 - background: @brand-bg; 893 - padding: 16px 18px; 894 - margin: 22px 0; 895 - border-radius: 0 @radius @radius 0; 896 - 897 - p:last-child { 898 - margin-bottom: 0; 899 - } 900 -} 901 - 902 -.resource-checklist { 903 - margin: 18px 0 24px; 904 - padding: 0; 905 - list-style: none; 906 - 907 - li { 908 - position: relative; 909 - padding: 10px 0 10px 34px; 910 - border-bottom: 1px solid @line; 911 - 912 - &:before { 913 - content: "\f00c"; 914 - font-family: FontAwesome; 915 - position: absolute; 916 - left: 0; 917 - top: 11px; 918 - color: @brand; 919 - } 920 - } 921 -} 922 - 923 -.resource-sidebar { 924 - position: sticky; 925 - top: 96px; 926 - border: 1px solid @line; 927 - border-radius: @radius; 928 - padding: 18px; 929 - background: #fff; 930 - box-shadow: @shadow-sm; 931 - 932 - h4 { 933 - margin: 0 0 10px; 934 - } 935 - 936 - ul { 937 - margin: 0; 938 - padding-left: 18px; 939 - color: @muted; 940 - } 941 - 942 - li { 943 - margin: 8px 0; 944 - } 945 - 946 - a { 947 - color: @brand; 948 - font-weight: 600; 949 - } 950 -} 951 - 952 -.resource-cta { 953 - margin-top: 36px; 954 - padding: 22px; 955 - border: 1px solid fade(@brand, 20%); 956 - border-radius: @radius; 957 - background: @brand-bg; 958 - 959 - h3 { 960 - margin-top: 0; 961 - } 962 - 963 - p { 964 - color: @muted; 965 - } 966 -} 967 - 968 -@media (max-width: 900px) { 969 - .resource-layout { 970 - grid-template-columns: 1fr; 971 - } 972 - 973 - .resource-sidebar { 974 - position: static; 975 - } 976 -} 977 - 978 -/* ========== Products / Extensions Pages ========== */ 979 - 980 -.product-index-section { 981 - padding: @section-padding; 982 - 983 - h2 { 984 - margin-bottom: 10px; 985 - } 986 -} 987 - 988 -.product-card-grid { 989 - max-width: 840px; 990 - margin: 22px auto 0; 991 - display: grid; 992 - grid-template-columns: 1fr; 993 - grid-gap: 18px; 994 -} 995 - 996 -.product-card { 997 - background: #fff; 998 - border: 1px solid @line; 999 - border-radius: @radius; 1000 - box-shadow: @shadow-sm; 1001 - padding: 28px; 1002 - display: grid; 1003 - grid-template-columns: 68px 1fr; 1004 - grid-gap: 22px; 1005 - align-items: start; 1006 - 1007 - .product-card-icon { 1008 - width: 58px; 1009 - height: 58px; 1010 - border-radius: 50%; 1011 - background: fade(@brand, 10%); 1012 - border: 1px solid fade(@brand, 20%); 1013 - color: @brand; 1014 - display: flex; 1015 - align-items: center; 1016 - justify-content: center; 1017 - font-size: 22px; 1018 - flex-shrink: 0; 1019 - } 1020 - 1021 - h3 { 1022 - margin: 0 0 10px; 1023 - color: @text; 1024 - font-size: 23px; 1025 - line-height: 1.25; 1026 - font-weight: 800; 1027 - } 1028 - 1029 - p { 1030 - color: @muted; 1031 - line-height: 1.6; 1032 - } 1033 - 1034 - .card-link { 1035 - margin: 0; 1036 - 1037 - a { 1038 - font-weight: 700; 1039 - } 1040 - } 1041 -} 1042 - 1043 -.product-card-kicker { 1044 - margin-bottom: 10px; 1045 - padding: 5px 10px; 1046 - font-size: 12px; 1047 - text-transform: uppercase; 1048 - letter-spacing: .04em; 1049 -} 1050 - 1051 -.product-highlights { 1052 - margin: 14px 0 20px; 1053 - padding-left: 18px; 1054 - color: @muted; 1055 - 1056 - li { 1057 - margin: 6px 0; 1058 - line-height: 1.45; 1059 - } 1060 -} 1061 - 1062 -/* ========== Individual Product Pages ========== */ 1063 - 1064 -.product-layout { 1065 - display: grid; 1066 - grid-template-columns: 1.1fr .9fr; 1067 - grid-gap: 36px; 1068 - max-width: 1040px; 1069 - margin: 0 auto; 1070 - align-items: start; 1071 -} 1072 - 1073 -.product-summary-card, 1074 -.product-info-card, 1075 -.product-gallery-panel { 1076 - background: #fff; 1077 - border: 1px solid @line; 1078 - border-radius: @radius; 1079 - box-shadow: @shadow-sm; 1080 -} 1081 - 1082 -.product-summary-card { 1083 - padding: 26px; 1084 - 1085 - h2 { 1086 - text-align: left; 1087 - margin-top: 0; 1088 - } 1089 - 1090 - p { 1091 - color: @muted; 1092 - line-height: 1.6; 1093 - } 1094 - 1095 - p:last-child { 1096 - margin-bottom: 0; 1097 - } 1098 -} 1099 - 1100 -.product-info-card { 1101 - padding: 22px; 1102 - 1103 - h3 { 1104 - margin-top: 0; 1105 - margin-bottom: 12px; 1106 - } 1107 - 1108 - ul { 1109 - margin: 0; 1110 - padding-left: 20px; 1111 - color: @muted; 1112 - } 1113 - 1114 - li { 1115 - margin: 8px 0; 1116 - line-height: 1.45; 1117 - } 1118 -} 1119 - 1120 -.product-feature-grid { 1121 - display: grid; 1122 - grid-template-columns: repeat(3, minmax(0, 1fr)); 1123 - grid-gap: 18px; 1124 - max-width: 1040px; 1125 - margin: 22px auto 0; 1126 -} 1127 - 1128 -.product-feature { 1129 - background: #fff; 1130 - border: 1px solid @line; 1131 - border-radius: @radius; 1132 - box-shadow: @shadow-sm; 1133 - padding: 22px; 1134 - 1135 - .feature-icon { 1136 - width: 46px; 1137 - height: 46px; 1138 - border-radius: 50%; 1139 - background: fade(@brand, 10%); 1140 - color: @brand; 1141 - display: flex; 1142 - align-items: center; 1143 - justify-content: center; 1144 - margin-bottom: 14px; 1145 - font-size: 18px; 1146 - } 1147 - 1148 - h3 { 1149 - margin: 0 0 8px; 1150 - color: @text; 1151 - font-size: 18px; 1152 - line-height: 1.25; 1153 - } 1154 - 1155 - p { 1156 - margin: 0; 1157 - color: @muted; 1158 - line-height: 1.5; 1159 - } 1160 -} 1161 - 1162 -.product-gallery-panel { 1163 - max-width: 1040px; 1164 - margin: 20px auto 0; 1165 - padding: 26px; 1166 - 1167 - h2 { 1168 - margin-top: 0; 1169 - text-align: center; 1170 - } 1171 - 1172 - .gallery-note { 1173 - max-width: 700px; 1174 - margin: 0 auto 18px; 1175 - color: @muted; 1176 - text-align: center; 1177 - line-height: 1.55; 1178 - } 1179 -} 1180 - 1181 -.product-gallery-placeholder { 1182 - min-height: 260px; 1183 - padding: 28px; 1184 - border: 1px dashed fade(@brand, 40%); 1185 - border-radius: @radius; 1186 - background: fade(@brand, 5%); 1187 - color: @muted; 1188 - text-align: center; 1189 - display: flex; 1190 - align-items: center; 1191 - justify-content: center; 1192 -} 1193 - 1194 -.product-section-muted { 1195 - background: 1196 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1197 -} 1198 - 1199 -@media (max-width: 980px) { 1200 - .product-layout, 1201 - .product-feature-grid { 1202 - grid-template-columns: 1fr; 1203 - } 1204 - 1205 - .product-summary-card h2 { 1206 - text-align: center; 1207 - } 1208 -} 1209 - 1210 -@media (max-width: 640px) { 1211 - .product-card { 1212 - grid-template-columns: 1fr; 1213 - padding: 22px; 1214 - text-align: left; 1215 - 1216 - .product-card-icon { 1217 - margin-bottom: 2px; 1218 - } 1219 - } 1220 - 1221 - .product-summary-card, 1222 - .product-info-card, 1223 - .product-feature, 1224 - .product-gallery-panel { 1225 - padding: 20px; 1226 - } 1227 -} 1228 - 1229 -/* ========== Resources Index ========== */ 1230 - 1231 -.resources-index-page { 1232 - padding: @section-padding; 1233 - background: @brand-bg; 1234 - 1235 - .resources-intro { 1236 - max-width: 820px; 1237 - margin: 0 auto 32px; 1238 - text-align: center; 1239 - 1240 - p { 1241 - color: @muted; 1242 - font-size: 17px; 1243 - line-height: 1.7; 1244 - margin: 0; 1245 - } 1246 - } 1247 - 1248 - .resources-grid { 1249 - display: grid; 1250 - grid-template-columns: repeat(2, minmax(0, 1fr)); 1251 - gap: 24px; 1252 - margin-bottom: 36px; 1253 - } 1254 - 1255 - .resource-card { 1256 - display: flex; 1257 - gap: 18px; 1258 - background: #fff; 1259 - border: 1px solid @line; 1260 - border-radius: @radius; 1261 - box-shadow: @shadow-sm; 1262 - padding: 24px; 1263 - } 1264 - 1265 - .resource-card-icon { 1266 - flex: 0 0 46px; 1267 - width: 46px; 1268 - height: 46px; 1269 - border-radius: 14px; 1270 - background: @brand-soft; 1271 - color: @brand-strong; 1272 - display: flex; 1273 - align-items: center; 1274 - justify-content: center; 1275 - font-size: 20px; 1276 - } 1277 - 1278 - .resource-card-label { 1279 - color: @brand-strong; 1280 - font-size: 13px; 1281 - font-weight: 700; 1282 - text-transform: uppercase; 1283 - letter-spacing: .04em; 1284 - margin-bottom: 8px; 1285 - } 1286 - 1287 - .resource-card h2 { 1288 - font-size: 22px; 1289 - line-height: 1.25; 1290 - margin: 0 0 12px; 1291 - } 1292 - 1293 - .resource-card h2 a { 1294 - color: @text; 1295 - text-decoration: none; 1296 - 1297 - &:hover { 1298 - color: @brand-strong; 1299 - text-decoration: none; 1300 - } 1301 - } 1302 - 1303 - .resource-card p { 1304 - color: @muted; 1305 - font-size: 15px; 1306 - line-height: 1.65; 1307 - margin: 0 0 16px; 1308 - } 1309 - 1310 - .resource-card-link { 1311 - color: @brand-strong; 1312 - font-weight: 700; 1313 - text-decoration: none; 1314 - 1315 - &:hover { 1316 - color: @brand; 1317 - text-decoration: none; 1318 - } 1319 - } 1320 - 1321 - .resources-next { 1322 - max-width: 820px; 1323 - margin: 0 auto 32px; 1324 - text-align: center; 1325 - 1326 - h2 { 1327 - font-size: 26px; 1328 - margin: 0 0 10px; 1329 - } 1330 - 1331 - p { 1332 - color: @muted; 1333 - font-size: 16px; 1334 - line-height: 1.7; 1335 - margin: 0; 1336 - } 1337 - } 1338 -} 1339 - 1340 -@media (max-width: 767px) { 1341 - .resources-index-page { 1342 - padding: @section-padding-mobile; 1343 - 1344 - .resources-intro { 1345 - text-align: left; 1346 - margin-bottom: 24px; 1347 - } 1348 - 1349 - .resources-grid { 1350 - grid-template-columns: 1fr; 1351 - gap: 18px; 1352 - } 1353 - 1354 - .resource-card { 1355 - padding: 20px; 1356 - } 1357 - 1358 - .resource-card h2 { 1359 - font-size: 20px; 1360 - } 1361 - 1362 - .resources-next { 1363 - text-align: left; 1364 - } 1365 - } 1366 -}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,148 +1,218 @@ 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 -/* Top-level menu items */ 10 +.agnease-services-menu { 11 + .dropdown-toggle { 12 + font-weight: inherit; 13 + font-size: inherit; 14 + } 9 9 10 -.agnease-menu-item, 11 -.agnease-menu-link { 12 - > a, 13 - > .dropdown-toggle { 16 + &.open > .dropdown-toggle, 17 + .dropdown-toggle:hover, 18 + .dropdown-toggle:focus { 14 14 color: @brand; 15 - font-size: 17px; 16 - font-weight: 600; 17 - padding-left: 16px; 18 - padding-right: 16px; 19 - text-decoration: none; 20 + background: transparent; 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; 24 + margin-left: 4px; 36 36 } 37 - 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; 45 - } 46 46 } 47 47 48 -/* Dropdown panel */ 49 - 50 -.agnease-dropdown { 51 - min-width: 310px; 52 - padding: 10px 8px; 53 - border: 1px solid fade(@brand, 18%); 28 +.agnease-services-dropdown { 29 + min-width: 360px; 30 + padding: 10px; 31 + border: 1px solid @line; 54 54 border-radius: 12px; 55 - background: #fff; 56 - box-shadow: 0 12px 32px fade(@brand-strong, 12%); 33 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 57 58 58 > li > a { 59 59 display: flex; 60 - align-items: center;37 + 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; 39 + padding: 10px 12px; 40 + border-radius: 10px; 41 + color: @text; 42 + 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 { 45 + &:focus { 81 81 color: @brand-strong; 47 + background: @brand-bg; 82 82 text-decoration: none; 83 - outline: none; 84 84 85 - i { 50 + .menu-icon { 86 86 color: @brand-strong; 52 + background: fade(@brand, 14%); 53 + border-color: fade(@brand, 28%); 87 87 } 88 - } 89 - } 90 90 91 - > .active > a { 92 - color: @brand-strong; 56 + strong { 57 + color: @brand-strong; 58 + } 93 93 94 - i { 95 - color: @brand-strong; 60 + small { 61 + color: @muted; 62 + } 96 96 } 97 97 } 98 98 99 99 .divider { 100 100 margin: 8px 0; 101 - background-color: fade(@brand, 16%);68 + background-color: @line; 102 102 } 103 -} 104 104 105 -/* Mobile */ 106 - 107 -@media (max-width: 767px) { 108 - .site-nav { 109 - margin-left: 0; 71 + .menu-icon { 72 + width: 34px; 73 + height: 34px; 74 + border-radius: 50%; 75 + background: fade(@brand, 8%); 76 + border: 1px solid fade(@brand, 18%); 77 + color: @brand; 78 + display: flex; 79 + align-items: center; 110 110 justify-content: center; 111 - flex-wrap: wrap; 81 + flex-shrink: 0; 82 + 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; 85 + .menu-text { 86 + display: flex; 87 + flex-direction: column; 88 + line-height: 1.25; 89 + 90 + strong { 91 + color: @brand; 92 + font-size: 14px; 93 + font-weight: 600; 121 121 } 95 + 96 + small { 97 + color: @muted; 98 + font-size: 12px; 99 + margin-top: 2px; 100 + font-weight: 400; 101 + } 122 122 } 103 +} 123 123 124 - .agnease-dropdown { 105 +@media (max-width: 767px) { 106 + .agnease-services-dropdown { 125 125 min-width: 0; 126 126 width: 100%; 127 - padding: 4px 8px 8px 18px; 128 - border: 0; 109 + padding: 6px; 129 129 border-radius: 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 - } 114 + padding: 10px; 142 142 } 116 + } 117 +} 118 +/* Keep the top-level Services menu visually clean when hovered/open/focused */ 119 +.navbar-nav > li.agnease-services-menu > a, 120 +.navbar-nav > li.agnease-services-menu > a:hover, 121 +.navbar-nav > li.agnease-services-menu > a:focus, 122 +.navbar-nav > li.agnease-services-menu.open > a, 123 +.navbar-nav > li.agnease-services-menu.open > a:hover, 124 +.navbar-nav > li.agnease-services-menu.open > a:focus { 125 + background: transparent; 126 + background-color: transparent; 127 + color: @brand-strong; 128 + box-shadow: none; 129 +} 143 143 144 - .divider { 145 - margin: 5px 0; 146 - } 131 +/* ========== Mobile Services Menu ========== */ 132 + 133 +@media (max-width: 767px) { 134 + .navbar-nav > li.agnease-services-menu { 135 + position: static; 147 147 } 137 + 138 + .navbar-nav > li.agnease-services-menu > a, 139 + .navbar-nav > li.agnease-services-menu > a:hover, 140 + .navbar-nav > li.agnease-services-menu > a:focus, 141 + .navbar-nav > li.agnease-services-menu.open > a, 142 + .navbar-nav > li.agnease-services-menu.open > a:hover, 143 + .navbar-nav > li.agnease-services-menu.open > a:focus { 144 + background: transparent; 145 + background-color: transparent; 146 + box-shadow: none; 147 + } 148 + 149 + .navbar-nav > li.agnease-services-menu.open > .agnease-services-dropdown { 150 + display: grid; 151 + } 152 + 153 + .agnease-services-dropdown { 154 + left: 50% !important; 155 + right: auto !important; 156 + transform: translateX(-50%); 157 + width: calc(100vw - 32px); 158 + max-width: 460px; 159 + min-width: 0; 160 + max-height: calc(100vh - 190px); 161 + overflow-y: auto; 162 + 163 + grid-template-columns: repeat(2, minmax(0, 1fr)); 164 + grid-gap: 8px; 165 + 166 + padding: 10px; 167 + margin-top: 8px; 168 + border-radius: 14px; 169 + border: 1px solid @line; 170 + box-shadow: 0 14px 36px rgba(0, 0, 0, .14); 171 + background: #fff; 172 + } 173 + 174 + .agnease-services-dropdown > li { 175 + display: block; 176 + } 177 + 178 + .agnease-services-dropdown > li:first-child, 179 + .agnease-services-dropdown > li.divider { 180 + grid-column: 1 / -1; 181 + } 182 + 183 + .agnease-services-dropdown > li.divider { 184 + margin: 4px 0; 185 + } 186 + 187 + .agnease-services-dropdown > li > a { 188 + min-height: 92px; 189 + padding: 12px 10px; 190 + border-radius: 12px; 191 + flex-direction: column; 192 + align-items: center; 193 + justify-content: center; 194 + gap: 8px; 195 + text-align: center; 196 + } 197 + 198 + .agnease-services-dropdown .menu-icon { 199 + width: 34px; 200 + height: 34px; 201 + font-size: 15px; 202 + } 203 + 204 + .agnease-services-dropdown .menu-text { 205 + align-items: center; 206 + line-height: 1.2; 207 + } 208 + 209 + .agnease-services-dropdown .menu-text strong { 210 + color: @brand; 211 + font-size: 13px; 212 + font-weight: 600; 213 + } 214 + 215 + .agnease-services-dropdown .menu-text small { 216 + display: none; 217 + } 148 148 }