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
-
... ... @@ -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 { ... ... @@ -194,9 +194,10 @@ 194 194 } 195 195 196 196 .lead { 197 - max-width: 760px;200 + max-width: 820px; 198 198 font-size: 19px; 199 199 line-height: 1.55; 203 + margin-top: 12px; 200 200 } 201 201 202 202 .benefits { ... ... @@ -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: 2 6px;295 + 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 586 +.resource-content { 587 + order: 1; 588 +} 589 + 590 +.resource-sidebar { 591 + order: 2; 592 +} 593 + 594 +@media (max-width: 767px) { 595 + .resource-layout { 596 + display: flex; 597 + flex-direction: column; 598 + } 599 + 600 + .resource-sidebar { 601 + order: 0; 602 + position: static; 603 + width: 100%; 604 + } 605 + 606 + .resource-content { 607 + order: 1; 608 + } 609 +} 610 + 611 +/* ========== Homepage Resource Strip ========== */ 612 + 613 +.homepage-resource-strip { 614 + background: 615 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 616 + 617 + .resource-grid { 618 + max-width: 1040px; 619 + margin: 22px auto 0; 620 + display: grid; 621 + grid-template-columns: repeat(2, minmax(0, 1fr)); 622 + grid-gap: 22px; 623 + align-items: stretch; 624 + } 625 + 626 + .resource-card { 627 + display: flex; 628 + flex-direction: column; 629 + min-width: 0; 630 + min-height: 100%; 631 + padding: 26px; 632 + } 633 + 634 + .resource-card h4 { 635 + margin: 0 0 10px; 636 + color: @text; 637 + font-size: 21px; 638 + line-height: 1.25; 639 + font-weight: 700; 640 + } 641 + 642 + .resource-card p { 643 + margin: 0 0 18px; 644 + color: @muted; 645 + font-size: 15px; 646 + line-height: 1.6; 647 + } 648 + 649 + .resource-card a { 650 + margin-top: auto; 651 + color: @brand; 652 + font-weight: 700; 653 + text-decoration: underline; 654 + 655 + &:hover, 656 + &:focus { 657 + color: @brand-strong; 658 + } 659 + } 660 +} 661 + 662 +@media (max-width: 980px) { 663 + .homepage-resource-strip { 664 + .resource-grid { 665 + grid-template-columns: 1fr; 666 + } 667 + } 668 +} 669 + 670 +@media (max-width: 640px) { 671 + .homepage-resource-strip { 672 + .resource-card { 673 + padding: 22px; 674 + } 675 + 676 + .resource-card h4 { 677 + font-size: 19px; 678 + } 679 + } 680 +} 681 + 602 602 /* ========== CTA ========== */ 603 603 604 604 .cta-section { 605 - padding: 32px 0 24px;685 + 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;784 + padding: @section-padding-mobile; 705 705 } 706 706 707 707 .widgets, ... ... @@ -726,3 +726,461 @@ 726 726 padding: 24px 20px; 727 727 } 728 728 } 809 + 810 +/* ========== Resource / Article Pages ========== */ 811 + 812 +.resource-page { 813 + padding-top: 0; 814 +} 815 + 816 +.resource-header { 817 + padding: @section-padding; 818 + border-top: none; 819 + background: 820 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 821 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 822 + 823 + h1 { 824 + margin: 0 auto 14px; 825 + text-align: center; 826 + line-height: 1.18; 827 + } 828 + 829 + .resource-summary { 830 + max-width: 780px; 831 + margin: 0 auto; 832 + color: @muted; 833 + text-align: center; 834 + font-size: 18px; 835 + line-height: 1.55; 836 + } 837 +} 838 + 839 +.resource-layout { 840 + display: grid; 841 + grid-template-columns: minmax(0, 760px) 280px; 842 + gap: 42px; 843 + max-width: 1080px; 844 + margin: 0 auto; 845 + align-items: start; 846 +} 847 + 848 +.resource-content { 849 + color: @text; 850 + font-size: 16px; 851 + line-height: 1.68; 852 + 853 + h2 { 854 + text-align: left; 855 + margin: 34px 0 12px; 856 + line-height: 1.28; 857 + } 858 + 859 + h3 { 860 + margin: 24px 0 8px; 861 + line-height: 1.3; 862 + } 863 + 864 + p { 865 + margin: 0 0 16px; 866 + } 867 + 868 + ul, 869 + ol { 870 + margin: 0 0 18px; 871 + padding-left: 22px; 872 + } 873 + 874 + li { 875 + margin: 6px 0; 876 + } 877 + 878 + strong { 879 + color: @text; 880 + } 881 +} 882 + 883 +.resource-note { 884 + border-left: 4px solid @brand; 885 + background: @brand-bg; 886 + padding: 16px 18px; 887 + margin: 22px 0; 888 + border-radius: 0 @radius @radius 0; 889 + 890 + p:last-child { 891 + margin-bottom: 0; 892 + } 893 +} 894 + 895 +.resource-checklist { 896 + margin: 18px 0 24px; 897 + padding: 0; 898 + list-style: none; 899 + 900 + li { 901 + position: relative; 902 + padding: 10px 0 10px 34px; 903 + border-bottom: 1px solid @line; 904 + 905 + &:before { 906 + content: "\f00c"; 907 + font-family: FontAwesome; 908 + position: absolute; 909 + left: 0; 910 + top: 11px; 911 + color: @brand; 912 + } 913 + } 914 +} 915 + 916 +.resource-sidebar { 917 + position: sticky; 918 + top: 96px; 919 + border: 1px solid @line; 920 + border-radius: @radius; 921 + padding: 18px; 922 + background: #fff; 923 + box-shadow: @shadow-sm; 924 + 925 + h4 { 926 + margin: 0 0 10px; 927 + } 928 + 929 + ul { 930 + margin: 0; 931 + padding-left: 18px; 932 + color: @muted; 933 + } 934 + 935 + li { 936 + margin: 8px 0; 937 + } 938 + 939 + a { 940 + color: @brand; 941 + font-weight: 600; 942 + } 943 +} 944 + 945 +.resource-cta { 946 + margin-top: 36px; 947 + padding: 22px; 948 + border: 1px solid fade(@brand, 20%); 949 + border-radius: @radius; 950 + background: @brand-bg; 951 + 952 + h3 { 953 + margin-top: 0; 954 + } 955 + 956 + p { 957 + color: @muted; 958 + } 959 +} 960 + 961 +@media (max-width: 900px) { 962 + .resource-layout { 963 + grid-template-columns: 1fr; 964 + } 965 + 966 + .resource-sidebar { 967 + position: static; 968 + } 969 +} 970 + 971 +/* ========== Products / Extensions Pages ========== */ 972 + 973 +.product-index-section { 974 + padding: @section-padding; 975 + 976 + h2 { 977 + margin-bottom: 10px; 978 + } 979 +} 980 + 981 +.product-card-grid { 982 + max-width: 840px; 983 + margin: 22px auto 0; 984 + display: grid; 985 + grid-template-columns: 1fr; 986 + grid-gap: 18px; 987 +} 988 + 989 +.product-card { 990 + background: #fff; 991 + border: 1px solid @line; 992 + border-radius: @radius; 993 + box-shadow: @shadow-sm; 994 + padding: 28px; 995 + display: grid; 996 + grid-template-columns: 68px 1fr; 997 + grid-gap: 22px; 998 + align-items: start; 999 + 1000 + .product-card-icon { 1001 + width: 58px; 1002 + height: 58px; 1003 + border-radius: 50%; 1004 + background: fade(@brand, 10%); 1005 + border: 1px solid fade(@brand, 20%); 1006 + color: @brand; 1007 + display: flex; 1008 + align-items: center; 1009 + justify-content: center; 1010 + font-size: 22px; 1011 + flex-shrink: 0; 1012 + } 1013 + 1014 + h3 { 1015 + margin: 0 0 10px; 1016 + color: @text; 1017 + font-size: 23px; 1018 + line-height: 1.25; 1019 + font-weight: 800; 1020 + } 1021 + 1022 + p { 1023 + color: @muted; 1024 + line-height: 1.6; 1025 + } 1026 + 1027 + .card-link { 1028 + margin: 0; 1029 + 1030 + a { 1031 + font-weight: 700; 1032 + } 1033 + } 1034 +} 1035 + 1036 +.product-card-kicker { 1037 + margin-bottom: 10px; 1038 + padding: 5px 10px; 1039 + font-size: 12px; 1040 + text-transform: uppercase; 1041 + letter-spacing: .04em; 1042 +} 1043 + 1044 +.product-highlights { 1045 + margin: 14px 0 20px; 1046 + padding-left: 18px; 1047 + color: @muted; 1048 + 1049 + li { 1050 + margin: 6px 0; 1051 + line-height: 1.45; 1052 + } 1053 +} 1054 + 1055 +/* ========== Individual Product Pages ========== */ 1056 + 1057 +.product-layout { 1058 + display: grid; 1059 + grid-template-columns: 1.1fr .9fr; 1060 + grid-gap: 36px; 1061 + max-width: 1040px; 1062 + margin: 0 auto; 1063 + align-items: start; 1064 +} 1065 + 1066 +.product-summary-card, 1067 +.product-info-card, 1068 +.product-gallery-panel { 1069 + background: #fff; 1070 + border: 1px solid @line; 1071 + border-radius: @radius; 1072 + box-shadow: @shadow-sm; 1073 +} 1074 + 1075 +.product-summary-card { 1076 + padding: 26px; 1077 + 1078 + h2 { 1079 + text-align: left; 1080 + margin-top: 0; 1081 + } 1082 + 1083 + p { 1084 + color: @muted; 1085 + line-height: 1.6; 1086 + } 1087 + 1088 + p:last-child { 1089 + margin-bottom: 0; 1090 + } 1091 +} 1092 + 1093 +.product-info-card { 1094 + padding: 22px; 1095 + 1096 + h3 { 1097 + margin-top: 0; 1098 + margin-bottom: 12px; 1099 + } 1100 + 1101 + ul { 1102 + margin: 0; 1103 + padding-left: 20px; 1104 + color: @muted; 1105 + } 1106 + 1107 + li { 1108 + margin: 8px 0; 1109 + line-height: 1.45; 1110 + } 1111 +} 1112 + 1113 +.product-feature-grid { 1114 + display: grid; 1115 + grid-template-columns: repeat(3, minmax(0, 1fr)); 1116 + grid-gap: 18px; 1117 + max-width: 1040px; 1118 + margin: 22px auto 0; 1119 +} 1120 + 1121 +.product-feature { 1122 + background: #fff; 1123 + border: 1px solid @line; 1124 + border-radius: @radius; 1125 + box-shadow: @shadow-sm; 1126 + padding: 22px; 1127 + 1128 + .feature-icon { 1129 + width: 46px; 1130 + height: 46px; 1131 + border-radius: 50%; 1132 + background: fade(@brand, 10%); 1133 + color: @brand; 1134 + display: flex; 1135 + align-items: center; 1136 + justify-content: center; 1137 + margin-bottom: 14px; 1138 + font-size: 18px; 1139 + } 1140 + 1141 + h3 { 1142 + margin: 0 0 8px; 1143 + color: @text; 1144 + font-size: 18px; 1145 + line-height: 1.25; 1146 + } 1147 + 1148 + p { 1149 + margin: 0; 1150 + color: @muted; 1151 + line-height: 1.5; 1152 + } 1153 +} 1154 + 1155 +.product-gallery-panel { 1156 + max-width: 1040px; 1157 + margin: 20px auto 0; 1158 + padding: 26px; 1159 + 1160 + h2 { 1161 + margin-top: 0; 1162 + text-align: center; 1163 + } 1164 + 1165 + .gallery-note { 1166 + max-width: 700px; 1167 + margin: 0 auto 18px; 1168 + color: @muted; 1169 + text-align: center; 1170 + line-height: 1.55; 1171 + } 1172 +} 1173 + 1174 +.product-gallery-placeholder { 1175 + min-height: 260px; 1176 + padding: 28px; 1177 + border: 1px dashed fade(@brand, 40%); 1178 + border-radius: @radius; 1179 + background: fade(@brand, 5%); 1180 + color: @muted; 1181 + text-align: center; 1182 + display: flex; 1183 + align-items: center; 1184 + justify-content: center; 1185 +} 1186 + 1187 +.product-section-muted { 1188 + background: 1189 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1190 +} 1191 + 1192 +@media (max-width: 980px) { 1193 + .product-layout, 1194 + .product-feature-grid { 1195 + grid-template-columns: 1fr; 1196 + } 1197 + 1198 + .product-summary-card h2 { 1199 + text-align: center; 1200 + } 1201 +} 1202 + 1203 +@media (max-width: 640px) { 1204 + .product-card { 1205 + grid-template-columns: 1fr; 1206 + padding: 22px; 1207 + text-align: left; 1208 + 1209 + .product-card-icon { 1210 + margin-bottom: 2px; 1211 + } 1212 + } 1213 + 1214 + .product-summary-card, 1215 + .product-info-card, 1216 + .product-feature, 1217 + .product-gallery-panel { 1218 + padding: 20px; 1219 + } 1220 +} 1221 + 1222 +/* ========== Resources Index ========== */ 1223 + 1224 +.resources-index-page { 1225 + background: #fff; 1226 + 1227 + .services-grid { 1228 + grid-template-columns: repeat(2, minmax(0, 1fr)); 1229 + } 1230 +} 1231 + 1232 +@media (max-width: 980px) { 1233 + .resources-index-page { 1234 + .services-grid { 1235 + grid-template-columns: 1fr; 1236 + } 1237 + } 1238 +} 1239 + 1240 +@media (max-width: 767px) { 1241 + .resources-index-page { 1242 + padding: @section-padding-mobile; 1243 + 1244 + .resources-intro { 1245 + text-align: left; 1246 + margin-bottom: 24px; 1247 + } 1248 + 1249 + .resources-grid { 1250 + grid-template-columns: 1fr; 1251 + gap: 18px; 1252 + } 1253 + 1254 + .resource-card { 1255 + padding: 20px; 1256 + } 1257 + 1258 + .resource-card h2 { 1259 + font-size: 20px; 1260 + } 1261 + 1262 + .resources-next { 1263 + text-align: left; 1264 + } 1265 + } 1266 +}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,204 +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; 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; 3 +/* Desktop alignment */ 4 +#menuview .navbar-nav { 5 + float: right !important; 20 20 } 21 21 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 -} 8 +/* Top-level menu items */ 38 38 39 -.agnease-services-menu { 40 - .dropdown-toggle { 41 - font-weight: 400; 42 - 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; 43 43 } 44 44 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 + 45 45 .caret { 46 - margin-left: 4px; 33 + margin-left: 5px; 34 + border-top-color: @brand; 35 + border-bottom-color: @brand; 47 47 } 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 + } 48 48 } 49 49 50 50 /* Dropdown panel */ 51 -.agnease-services-dropdown { 52 - min-width: 360px; 53 - padding: 10px; 54 - border: 1px solid @line; 49 + 50 +.agnease-dropdown { 51 + min-width: 310px; 52 + padding: 10px 8px; 53 + border: 1px solid fade(@brand, 18%); 55 55 border-radius: 12px; 56 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 57 background: #fff; 56 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 58 58 59 59 > li > a { 60 60 display: flex; 61 - align-items: flex-start;60 + align-items: center; 62 62 gap: 12px; 63 - padding: 10px 12px; 64 - border-radius: 10px; 65 - white-space: normal; 66 - text-decoration: none; 67 - background: transparent; 62 + padding: 11px 14px; 68 68 color: @brand; 64 + white-space: nowrap; 65 + font-size: 16px; 66 + font-weight: 600; 67 + line-height: 1.3; 68 + text-decoration: none; 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 + 70 70 &:hover, 71 - &:focus { 79 + &:focus, 80 + &:active { 72 72 color: @brand-strong; 73 - background: @brand-bg; 74 74 text-decoration: none; 83 + outline: none; 75 75 76 - .menu-icon{85 + i { 77 77 color: @brand-strong; 78 - background: fade(@brand, 12%); 79 - border-color: fade(@brand, 24%); 80 80 } 88 + } 89 + } 81 81 82 - .menu-text strong { 83 - color: @brand-strong; 84 - } 91 + > .active > a { 92 + color: @brand-strong; 85 85 86 - .menu-text small { 87 - color: @muted; 88 - } 94 + i { 95 + color: @brand-strong; 89 89 } 90 90 } 91 91 92 92 .divider { 93 93 margin: 8px 0; 94 - background-color: @ line;101 + background-color: fade(@brand, 16%); 95 95 } 103 +} 96 96 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; 105 +/* Mobile */ 106 + 107 +@media (max-width: 767px) { 108 + .site-nav { 109 + margin-left: 0; 106 106 justify-content: center; 107 - flex-shrink: 0; 108 - transition: color .15s ease, background .15s ease, border-color .15s ease; 111 + flex-wrap: wrap; 109 109 } 110 110 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; 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; 120 120 } 121 - 122 - small { 123 - color: @muted; 124 - font-size: 12px; 125 - margin-top: 2px; 126 - font-weight: 400; 127 - } 128 128 } 129 -} 130 130 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; 124 + .agnease-dropdown { 143 143 min-width: 0; 144 - max-height: calc(100vh - 190px); 145 - overflow-y: auto; 126 + width: 100%; 127 + padding: 4px 8px 8px 18px; 128 + border: 0; 129 + border-radius: 0; 130 + box-shadow: none; 131 + background: transparent; 146 146 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 - 154 154 > li > a { 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; 134 + padding: 8px 10px; 162 162 white-space: normal; 136 + font-size: 15px; 137 + 138 + i { 139 + width: 18px; 140 + flex-basis: 18px; 141 + } 163 163 } 164 164 165 165 .divider { 166 - margin: 6px 0;145 + margin: 5px 0; 167 167 } 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 - } 203 203 } 204 204 }