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,11 +16,6 @@ 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 - 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"> 144 + <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
-
... ... @@ -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 { ... ... @@ -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: 2 6px;302 + 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 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 + 602 602 /* ========== CTA ========== */ 603 603 604 604 .cta-section { 605 - padding: 32px 0 24px;692 + 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;791 + padding: @section-padding-mobile; 705 705 } 706 706 707 707 .widgets, ... ... @@ -726,34 +726,21 @@ 726 726 padding: 24px 20px; 727 727 } 728 728 } 816 + 729 729 /* ========== Resource / Article Pages ========== */ 730 730 731 731 .resource-page { 732 - padding-top: 34px;820 + padding-top: 0; 733 733 } 734 734 735 735 .resource-header { 736 - padding: 40px 0 30px;824 + padding: @section-padding; 737 737 border-top: none; 738 738 background: 739 - radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 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%); 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; ... ... @@ -900,215 +900,393 @@ 900 900 position: static; 901 901 } 902 902 } 903 -.agnease-product-page { 904 - color: @text; 905 905 906 - .container { 907 - max-width: 1040px; 908 - } 978 +/* ========== Products / Extensions Pages ========== */ 909 909 910 - .product-index-hero { 911 - padding: 56px 0 48px; 912 - text-align: center; 913 - background: 914 - radial-gradient(42rem 16rem at 50% -10%, @brand-soft 0%, transparent 65%), 915 - radial-gradient(42rem 16rem at 50% 0%, #E8F6F3 0%, transparent 60%); 916 - border-bottom: 1px solid @line; 980 +.product-index-section { 981 + padding: @section-padding; 982 + 983 + h2 { 984 + margin-bottom: 10px; 917 917 } 986 +} 918 918 919 - .page-eyebrow { 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%); 920 920 color: @brand; 921 - font-size:13px;922 - font-weight:800;923 - t ext-transform:uppercase;924 - letter-spacing:.06em;925 - margin: 00 10px;1014 + display: flex; 1015 + align-items: center; 1016 + justify-content: center; 1017 + font-size: 22px; 1018 + flex-shrink: 0; 926 926 } 927 927 928 - h 1{929 - margin: 0; 1021 + h3 { 1022 + margin: 0 0 10px; 930 930 color: @text; 931 - font-size: 3 6px;932 - line-height: 1.2; 933 - font-weight: 700;1024 + font-size: 23px; 1025 + line-height: 1.25; 1026 + font-weight: 800; 934 934 } 935 935 936 - .page-lead { 937 - max-width: 760px; 938 - margin: 14px auto 0; 1029 + p { 939 939 color: @muted; 940 - font-size: 18px; 941 - line-height: 1.55; 1031 + line-height: 1.6; 942 942 } 943 943 944 - . product-index-section{945 - padding:52px056px;1034 + .card-link { 1035 + margin: 0; 946 946 947 - h2 { 948 - text-align: center; 949 - margin: 0 0 10px; 950 - color: @text; 951 - font-size: 28px; 952 - line-height: 1.25; 953 - font-weight: 600; 1037 + a { 1038 + font-weight: 700; 954 954 } 955 955 } 1041 +} 956 956 957 - .section-intro { 958 - max-width: 760px; 959 - margin: 0 auto 26px; 960 - text-align: center; 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 { 961 961 color: @muted; 962 - font-size: 16px; 963 - line-height: 1.55; 1092 + line-height: 1.6; 964 964 } 965 965 966 - .product-card-grid { 967 - max-width: 840px; 968 - margin: 0 auto; 969 - display: grid; 970 - grid-template-columns: 1fr; 971 - grid-gap: 18px; 1095 + p:last-child { 1096 + margin-bottom: 0; 972 972 } 1098 +} 973 973 974 - .product-card { 975 - background: #fff; 976 - border: 1px solid @line; 977 - border-radius: @radius; 978 - box-shadow: @shadow-sm; 979 - padding: 28px; 980 - display: grid; 981 - grid-template-columns: 68px 1fr; 982 - grid-gap: 22px; 983 - align-items: start; 1100 +.product-info-card { 1101 + padding: 22px; 1102 + 1103 + h3 { 1104 + margin-top: 0; 1105 + margin-bottom: 12px; 984 984 } 985 985 986 - .product-card-icon { 987 - width: 58px; 988 - height: 58px; 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; 989 989 border-radius: 50%; 990 990 background: fade(@brand, 10%); 991 - border: 1px solid fade(@brand, 20%); 992 992 color: @brand; 993 993 display: flex; 994 994 align-items: center; 995 995 justify-content: center; 996 - font-size: 22px; 1144 + margin-bottom: 14px; 1145 + font-size: 18px; 997 997 } 998 998 999 - .product-label { 1000 - display: inline-flex; 1148 + h3 { 1001 1001 margin: 0 0 8px; 1002 - padding: 5px 10px; 1003 - border-radius: 999px; 1004 - color: @brand; 1005 - background: fade(@brand, 8%); 1006 - border: 1px solid fade(@brand, 18%); 1007 - font-size: 12px; 1008 - font-weight: 800; 1009 - text-transform: uppercase; 1010 - letter-spacing: .04em; 1011 - } 1012 - 1013 - .product-card h3 { 1014 - margin: 0 0 10px; 1015 1015 color: @text; 1016 - font-size: 23px;1151 + font-size: 18px; 1017 1017 line-height: 1.25; 1018 - font-weight: 600; 1019 1019 } 1020 1020 1021 - .product-card p { 1155 + p { 1156 + margin: 0; 1022 1022 color: @muted; 1023 - line-height: 1. 6;1158 + line-height: 1.5; 1024 1024 } 1160 +} 1025 1025 1026 - .product-highlights { 1027 - margin: 14px 0 20px; 1028 - padding-left: 18px; 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; 1029 1029 color: @muted; 1176 + text-align: center; 1177 + line-height: 1.55; 1178 + } 1179 +} 1030 1030 1031 - li { 1032 - margin: 6px 0; 1033 - line-height: 1.45; 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; 1034 1034 } 1035 1035 } 1036 1036 1037 - .card-link { 1038 - margin: 0; 1221 + .product-summary-card, 1222 + .product-info-card, 1223 + .product-feature, 1224 + .product-gallery-panel { 1225 + padding: 20px; 1039 1039 } 1227 +} 1040 1040 1041 - .btn-secondary { 1042 - color: @brand; 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; 1043 1043 background: #fff; 1044 - border: 1px solid fade(@brand, 35%); 1259 + border: 1px solid @line; 1260 + border-radius: @radius; 1261 + box-shadow: @shadow-sm; 1262 + padding: 24px; 1263 + } 1045 1045 1046 - &:hover, 1047 - &:focus { 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 { 1048 1048 color: @brand-strong; 1049 - border-color: @brand; 1050 - background: @brand-bg; 1051 1051 text-decoration: none; 1052 1052 } 1053 1053 } 1054 1054 1055 - .product-cta-section { 1056 - padding: 0 0 56px; 1303 + .resource-card p { 1304 + color: @muted; 1305 + font-size: 15px; 1306 + line-height: 1.65; 1307 + margin: 0 0 16px; 1057 1057 } 1058 1058 1059 - .product-cta-panel { 1060 - max-width: 860px; 1061 - margin: 0 auto; 1062 - padding: 32px; 1063 - border-radius: @radius; 1064 - border: 1px solid fade(@brand, 20%); 1065 - background: 1066 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1067 - box-shadow: @shadow-sm; 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; 1068 1068 text-align: center; 1069 1069 1070 1070 h2 { 1071 - margin: 0 0 12px; 1072 - color: @text; 1073 1073 font-size: 26px; 1074 - line-height: 1.25;1328 + margin: 0 0 10px; 1075 1075 } 1076 1076 1077 1077 p { 1078 - max-width: 680px; 1079 - margin: 0 auto 18px; 1080 1080 color: @muted; 1081 - line-height: 1.55; 1333 + font-size: 16px; 1334 + line-height: 1.7; 1335 + margin: 0; 1082 1082 } 1083 1083 } 1084 1084 } 1085 1085 1086 1086 @media (max-width: 767px) { 1087 - .agnease-product-page { 1088 - .product-index-hero { 1089 - padding: 38px 0 34px; 1090 - } 1341 + .resources-index-page { 1342 + padding: @section-padding-mobile; 1091 1091 1092 - h1 { 1093 - font-size: 30px; 1344 + .resources-intro { 1345 + text-align: left; 1346 + margin-bottom: 24px; 1094 1094 } 1095 1095 1096 - .page-lead { 1097 - font-size: 16px; 1349 + .resources-grid { 1350 + grid-template-columns: 1fr; 1351 + gap: 18px; 1098 1098 } 1099 1099 1100 - .product-card { 1101 - grid-template-columns: 1fr; 1102 - padding: 22px; 1103 - text-align: left; 1354 + .resource-card { 1355 + padding: 20px; 1104 1104 } 1105 1105 1106 - . product-card-icon{1107 - margin-bottom: 2px;1358 + .resource-card h2 { 1359 + font-size: 20px; 1108 1108 } 1109 1109 1110 - . product-cta-panel{1111 - padding:24px;1362 + .resources-next { 1363 + text-align: left; 1112 1112 } 1113 1113 } 1114 1114 }
- 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 }