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