Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Objects (2 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -599,6 +599,32 @@ 599 599 } 600 600 } 601 601 602 +.resource-content { 603 + order: 1; 604 +} 605 + 606 +.resource-sidebar { 607 + order: 2; 608 +} 609 + 610 +@media (max-width: 767px) { 611 + .resource-layout { 612 + display: flex; 613 + flex-direction: column; 614 + } 615 + 616 + .resource-sidebar { 617 + order: 0; 618 + position: static; 619 + width: 100%; 620 + margin-bottom: 24px; 621 + } 622 + 623 + .resource-content { 624 + order: 1; 625 + } 626 +} 627 + 602 602 /* ========== CTA ========== */ 603 603 604 604 .cta-section { ... ... @@ -736,24 +736,10 @@ 736 736 padding: 40px 0 30px; 737 737 border-top: none; 738 738 background: 739 - radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 765 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 766 + 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,3 +900,403 @@ 900 900 position: static; 901 901 } 902 902 } 915 +/* ========== Products / Extensions Pages ========== */ 916 + 917 +.product-index-section { 918 + padding: 52px 0 56px; 919 + 920 + h2 { 921 + margin-bottom: 10px; 922 + } 923 +} 924 + 925 +.product-card-grid { 926 + max-width: 840px; 927 + margin: 28px auto 0; 928 + display: grid; 929 + grid-template-columns: 1fr; 930 + grid-gap: 18px; 931 +} 932 + 933 +.product-card { 934 + background: #fff; 935 + border: 1px solid @line; 936 + border-radius: @radius; 937 + box-shadow: @shadow-sm; 938 + padding: 28px; 939 + display: grid; 940 + grid-template-columns: 68px 1fr; 941 + grid-gap: 22px; 942 + align-items: start; 943 + transition: transform .18s ease, box-shadow .18s ease; 944 + 945 + &:hover { 946 + transform: translateY(-2px); 947 + box-shadow: @shadow; 948 + } 949 + 950 + .product-card-icon { 951 + width: 58px; 952 + height: 58px; 953 + border-radius: 50%; 954 + background: fade(@brand, 10%); 955 + border: 1px solid fade(@brand, 20%); 956 + color: @brand; 957 + display: flex; 958 + align-items: center; 959 + justify-content: center; 960 + font-size: 22px; 961 + flex-shrink: 0; 962 + } 963 + 964 + h3 { 965 + margin: 0 0 10px; 966 + color: @text; 967 + font-size: 23px; 968 + line-height: 1.25; 969 + font-weight: 800; 970 + } 971 + 972 + p { 973 + color: @muted; 974 + line-height: 1.6; 975 + } 976 + 977 + .card-link { 978 + margin: 0; 979 + 980 + a { 981 + font-weight: 700; 982 + } 983 + } 984 +} 985 + 986 +.product-card-kicker { 987 + margin-bottom: 10px; 988 + padding: 5px 10px; 989 + font-size: 12px; 990 + text-transform: uppercase; 991 + letter-spacing: .04em; 992 +} 993 + 994 +.product-highlights { 995 + margin: 14px 0 20px; 996 + padding-left: 18px; 997 + color: @muted; 998 + 999 + li { 1000 + margin: 6px 0; 1001 + line-height: 1.45; 1002 + } 1003 +} 1004 + 1005 +/* ========== Individual Product Pages ========== */ 1006 + 1007 +.product-layout { 1008 + display: grid; 1009 + grid-template-columns: 1.1fr .9fr; 1010 + grid-gap: 36px; 1011 + max-width: 1040px; 1012 + margin: 0 auto; 1013 + align-items: start; 1014 +} 1015 + 1016 +.product-summary-card, 1017 +.product-info-card, 1018 +.product-gallery-panel { 1019 + background: #fff; 1020 + border: 1px solid @line; 1021 + border-radius: @radius; 1022 + box-shadow: @shadow-sm; 1023 +} 1024 + 1025 +.product-summary-card { 1026 + padding: 26px; 1027 + 1028 + h2 { 1029 + text-align: left; 1030 + margin-top: 0; 1031 + } 1032 + 1033 + p { 1034 + color: @muted; 1035 + line-height: 1.6; 1036 + } 1037 + 1038 + p:last-child { 1039 + margin-bottom: 0; 1040 + } 1041 +} 1042 + 1043 +.product-info-card { 1044 + padding: 22px; 1045 + 1046 + h3 { 1047 + margin-top: 0; 1048 + margin-bottom: 12px; 1049 + } 1050 + 1051 + ul { 1052 + margin: 0; 1053 + padding-left: 20px; 1054 + color: @muted; 1055 + } 1056 + 1057 + li { 1058 + margin: 8px 0; 1059 + line-height: 1.45; 1060 + } 1061 +} 1062 + 1063 +.product-feature-grid { 1064 + display: grid; 1065 + grid-template-columns: repeat(3, minmax(0, 1fr)); 1066 + grid-gap: 18px; 1067 + max-width: 1040px; 1068 + margin: 26px auto 0; 1069 +} 1070 + 1071 +.product-feature { 1072 + background: #fff; 1073 + border: 1px solid @line; 1074 + border-radius: @radius; 1075 + box-shadow: @shadow-sm; 1076 + padding: 22px; 1077 + transition: transform .18s ease, box-shadow .18s ease; 1078 + 1079 + &:hover { 1080 + transform: translateY(-2px); 1081 + box-shadow: @shadow; 1082 + } 1083 + 1084 + .feature-icon { 1085 + width: 46px; 1086 + height: 46px; 1087 + border-radius: 50%; 1088 + background: fade(@brand, 10%); 1089 + color: @brand; 1090 + display: flex; 1091 + align-items: center; 1092 + justify-content: center; 1093 + margin-bottom: 14px; 1094 + font-size: 18px; 1095 + } 1096 + 1097 + h3 { 1098 + margin: 0 0 8px; 1099 + color: @text; 1100 + font-size: 18px; 1101 + line-height: 1.25; 1102 + } 1103 + 1104 + p { 1105 + margin: 0; 1106 + color: @muted; 1107 + line-height: 1.5; 1108 + } 1109 +} 1110 + 1111 +.product-gallery-panel { 1112 + max-width: 1040px; 1113 + margin: 20px auto 0; 1114 + padding: 26px; 1115 + 1116 + h2 { 1117 + margin-top: 0; 1118 + text-align: center; 1119 + } 1120 + 1121 + .gallery-note { 1122 + max-width: 700px; 1123 + margin: 0 auto 18px; 1124 + color: @muted; 1125 + text-align: center; 1126 + line-height: 1.55; 1127 + } 1128 +} 1129 + 1130 +.product-gallery-placeholder { 1131 + min-height: 260px; 1132 + padding: 28px; 1133 + border: 1px dashed fade(@brand, 40%); 1134 + border-radius: @radius; 1135 + background: fade(@brand, 5%); 1136 + color: @muted; 1137 + text-align: center; 1138 + display: flex; 1139 + align-items: center; 1140 + justify-content: center; 1141 +} 1142 + 1143 +.product-section-muted { 1144 + background: 1145 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1146 +} 1147 + 1148 +@media (max-width: 980px) { 1149 + .product-layout, 1150 + .product-feature-grid { 1151 + grid-template-columns: 1fr; 1152 + } 1153 + 1154 + .product-summary-card h2 { 1155 + text-align: center; 1156 + } 1157 +} 1158 + 1159 +@media (max-width: 640px) { 1160 + .product-card { 1161 + grid-template-columns: 1fr; 1162 + padding: 22px; 1163 + text-align: left; 1164 + 1165 + .product-card-icon { 1166 + margin-bottom: 2px; 1167 + } 1168 + } 1169 + 1170 + .product-summary-card, 1171 + .product-info-card, 1172 + .product-feature, 1173 + .product-gallery-panel { 1174 + padding: 20px; 1175 + } 1176 +} 1177 +/* ========== Resources Index ========== */ 1178 + 1179 +.resources-index-page { 1180 + padding: 56px 0 72px; 1181 + background: @brand-bg; 1182 +} 1183 + 1184 +.resources-intro { 1185 + max-width: 820px; 1186 + margin: 0 auto 32px; 1187 + text-align: center; 1188 +} 1189 + 1190 +.resources-intro p { 1191 + color: @muted; 1192 + font-size: 17px; 1193 + line-height: 1.7; 1194 + margin: 0; 1195 +} 1196 + 1197 +.resources-grid { 1198 + display: grid; 1199 + grid-template-columns: repeat(2, minmax(0, 1fr)); 1200 + gap: 24px; 1201 + margin-bottom: 36px; 1202 +} 1203 + 1204 +.resource-card { 1205 + display: flex; 1206 + gap: 18px; 1207 + background: #fff; 1208 + border: 1px solid @line; 1209 + border-radius: @radius; 1210 + box-shadow: @shadow-sm; 1211 + padding: 24px; 1212 +} 1213 + 1214 +.resource-card-icon { 1215 + flex: 0 0 46px; 1216 + width: 46px; 1217 + height: 46px; 1218 + border-radius: 14px; 1219 + background: @brand-soft; 1220 + color: @brand-strong; 1221 + display: flex; 1222 + align-items: center; 1223 + justify-content: center; 1224 + font-size: 20px; 1225 +} 1226 + 1227 +.resource-card-label { 1228 + color: @brand-strong; 1229 + font-size: 13px; 1230 + font-weight: 700; 1231 + text-transform: uppercase; 1232 + letter-spacing: .04em; 1233 + margin-bottom: 8px; 1234 +} 1235 + 1236 +.resource-card h2 { 1237 + font-size: 22px; 1238 + line-height: 1.25; 1239 + margin: 0 0 12px; 1240 +} 1241 + 1242 +.resource-card h2 a { 1243 + color: @text; 1244 + text-decoration: none; 1245 +} 1246 + 1247 +.resource-card h2 a:hover { 1248 + color: @brand-strong; 1249 + text-decoration: none; 1250 +} 1251 + 1252 +.resource-card p { 1253 + color: @muted; 1254 + font-size: 15px; 1255 + line-height: 1.65; 1256 + margin: 0 0 16px; 1257 +} 1258 + 1259 +.resource-card-link { 1260 + color: @brand-strong; 1261 + font-weight: 700; 1262 + text-decoration: none; 1263 +} 1264 + 1265 +.resource-card-link:hover { 1266 + color: @brand; 1267 + text-decoration: none; 1268 +} 1269 + 1270 +.resources-next { 1271 + max-width: 820px; 1272 + margin: 0 auto 32px; 1273 + text-align: center; 1274 +} 1275 + 1276 +.resources-next h2 { 1277 + font-size: 26px; 1278 + margin: 0 0 10px; 1279 +} 1280 + 1281 +.resources-next p { 1282 + color: @muted; 1283 + font-size: 16px; 1284 + line-height: 1.7; 1285 + margin: 0; 1286 +} 1287 + 1288 +@media (max-width: 767px) { 1289 + .resources-index-page { 1290 + padding: 36px 0 52px; 1291 + } 1292 + 1293 + .resources-intro { 1294 + text-align: left; 1295 + margin-bottom: 24px; 1296 + } 1297 + 1298 + .resources-grid { 1299 + grid-template-columns: 1fr; 1300 + gap: 18px; 1301 + } 1302 + 1303 + .resource-card { 1304 + padding: 20px; 1305 + } 1306 + 1307 + .resource-card h2 { 1308 + font-size: 20px; 1309 + } 1310 + 1311 + .resources-next { 1312 + text-align: left; 1313 + } 1314 +}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,16 +1,6 @@ 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 menu items */ 11 - 12 -.agnease-services-menu, 13 -.agnease-products-menu { 3 +.agnease-menu-item { 14 14 .dropdown-toggle { 15 15 font-weight: inherit; 16 16 font-size: inherit; ... ... @@ -18,6 +18,8 @@ 18 18 19 19 .caret { 20 20 margin-left: 4px; 11 + border-top-color: @brand; 12 + border-bottom-color: @brand; 21 21 } 22 22 23 23 &.open > .dropdown-toggle, ... ... @@ -28,22 +28,23 @@ 28 28 background-color: transparent; 29 29 box-shadow: none; 30 30 } 23 + 24 + &.open > .dropdown-toggle .caret, 25 + .dropdown-toggle:hover .caret, 26 + .dropdown-toggle:focus .caret { 27 + border-top-color: @brand-strong; 28 + border-bottom-color: @brand-strong; 29 + } 31 31 } 32 32 33 -/* Keep Agneasepublic top-levelmenuvisuallyclean when hovered/open/focused */32 +/* Keep public top-level dropdown items clean and green when hovered/open/focused */ 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 { 34 +.navbar-nav > li.agnease-menu-item > a, 35 +.navbar-nav > li.agnease-menu-item > a:hover, 36 +.navbar-nav > li.agnease-menu-item > a:focus, 37 +.navbar-nav > li.agnease-menu-item.open > a, 38 +.navbar-nav > li.agnease-menu-item.open > a:hover, 39 +.navbar-nav > li.agnease-menu-item.open > a:focus { 47 47 background: transparent; 48 48 background-color: transparent; 49 49 color: @brand-strong; ... ... @@ -50,107 +50,134 @@ 50 50 box-shadow: none; 51 51 } 52 52 46 +/* Override Bootstrap/XWiki gray open states */ 47 +.nav .open > a, 48 +.nav .open > a:hover, 49 +.nav .open > a:focus, 50 +.navbar-nav > .open > a, 51 +.navbar-nav > .open > a:hover, 52 +.navbar-nav > .open > a:focus { 53 + background: transparent; 54 + background-color: transparent; 55 + color: @brand-strong; 56 + box-shadow: none; 57 +} 58 + 53 53 /* Dropdown panels */ 54 54 55 -.agnease-services-dropdown, 56 -.agnease-products-dropdown { 57 - min-width: 360px; 58 - padding: 10px; 59 - border: 1px solid @line; 61 +.agnease-dropdown { 62 + min-width: 270px; 63 + padding: 8px; 64 + border: 1px solid fade(@brand, 18%); 60 60 border-radius: 12px; 61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 66 + background: #fff; 67 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 62 62 63 63 > li > a { 64 64 display: flex; 65 - align-items: flex-start; 66 - gap: 12px; 67 - padding: 10px 12px; 68 - border-radius: 10px; 69 - color: @text; 70 - white-space: normal; 71 + align-items: center; 72 + gap: 10px; 73 + padding: 9px 11px; 74 + border-radius: 9px; 75 + color: @brand; 76 + background: transparent; 77 + white-space: nowrap; 78 + font-size: 14px; 79 + font-weight: 700; 80 + line-height: 1.25; 71 71 82 + i { 83 + width: 18px; 84 + flex: 0 0 18px; 85 + color: @brand; 86 + text-align: center; 87 + font-size: 14px; 88 + } 89 + 72 72 &:hover, 73 - &:focus { 91 + &:focus, 92 + &:active { 74 74 color: @brand-strong; 75 - background: @brand -bg;94 + background: fade(@brand, 8%); 76 76 text-decoration: none; 96 + outline: none; 77 77 78 - .menu-icon{98 + i { 79 79 color: @brand-strong; 80 - background: fade(@brand, 14%); 81 - border-color: fade(@brand, 28%); 82 82 } 101 + } 102 + } 83 83 84 - strong { 85 - color: @brand-strong; 86 - } 104 + > .active > a, 105 + > .active > a:hover, 106 + > .active > a:focus { 107 + color: @brand-strong; 108 + background: fade(@brand, 10%); 109 + text-decoration: none; 87 87 88 - small { 89 - color: @muted; 90 - } 111 + i { 112 + color: @brand-strong; 91 91 } 92 92 } 93 93 94 94 .divider { 95 - margin: 8px 0;96 - background-color: @ line;117 + margin: 7px 0; 118 + background-color: fade(@brand, 16%); 97 97 } 120 +} 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; 108 - justify-content: center; 109 - flex-shrink: 0; 110 - transition: color .15s ease, background .15s ease, border-color .15s ease; 111 - } 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; 122 - } 123 - 124 - small { 125 - color: @muted; 126 - font-size: 12px; 127 - margin-top: 2px; 128 - font-weight: 400; 129 - } 130 - } 122 +.agnease-products-dropdown, 123 +.agnease-resources-dropdown { 124 + min-width: 260px; 131 131 } 132 132 133 -/* Products dropdowncan be slightly narrowerfor now*/134 - 135 -. agnease-products-dropdown {136 - min-width:340px;127 +/* Remove gray Bootstrap dropdown item states */ 128 +.dropdown-menu > li > a:hover, 129 +.dropdown-menu > li > a:focus { 130 + background-image: none; 137 137 } 138 138 139 -/* Mobile */ 133 +/* ========== Mobile Menu ========== */ 140 140 141 141 @media (max-width: 767px) { 142 - .agnease-services-dropdown, 143 - .agnease-products-dropdown { 136 + .navbar-nav > li.agnease-menu-item > a, 137 + .navbar-nav > li > a { 138 + padding-top: 8px; 139 + padding-bottom: 8px; 140 + } 141 + 142 + .agnease-dropdown { 144 144 min-width: 0; 145 145 width: 100%; 146 - padding: 6px; 145 + padding: 4px 8px 8px 18px; 146 + border: 0; 147 147 border-radius: 0; 148 - border-left: 0; 149 - border-right: 0; 150 150 box-shadow: none; 149 + background: #fff; 151 151 152 152 > li > a { 153 - padding: 10px; 152 + padding: 8px 10px; 153 + white-space: normal; 154 + font-size: 14px; 155 + border-radius: 8px; 156 + color: @brand; 157 + 158 + i { 159 + width: 16px; 160 + flex-basis: 16px; 161 + } 162 + 163 + &:hover, 164 + &:focus, 165 + &:active { 166 + color: @brand-strong; 167 + background: fade(@brand, 8%); 168 + } 154 154 } 170 + 171 + .divider { 172 + margin: 5px 0; 173 + background-color: fade(@brand, 16%); 174 + } 155 155 } 156 156 }