Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 7.2
edited by Agnease
on 2026/05/12 14:17
Change comment: There is no comment for this version
To version 11.14
edited by Agnease
on 2026/05/22 08:53
Change comment: There is no comment for this version

Summary

Details

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