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,31 @@ 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 + } 621 + 622 + .resource-content { 623 + order: 1; 624 + } 625 +} 626 + 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%); 764 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 765 + 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; ... ... @@ -902,67 +902,6 @@ 902 902 } 903 903 /* ========== Products / Extensions Pages ========== */ 904 904 905 -.product-page, 906 -.agnease-product-page { 907 - color: @text; 908 -} 909 - 910 -/* Product index hero: keeps the same visual language as .hero-centered, 911 - but allows the product index to stay compact and structured. */ 912 -.product-index-hero { 913 - padding: 56px 0 48px; 914 - text-align: center; 915 - background: 916 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 917 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 918 - border-top: none; 919 - border-bottom: 1px solid @line; 920 - 921 - h1 { 922 - max-width: 790px; 923 - margin: 0 auto; 924 - line-height: 1.18; 925 - } 926 - 927 - .page-lead { 928 - max-width: 760px; 929 - margin: 14px auto 0; 930 - color: @muted; 931 - text-align: center; 932 - font-size: 19px; 933 - line-height: 1.55; 934 - } 935 -} 936 - 937 -.product-page-kicker, 938 -.product-card-kicker { 939 - display: inline-flex; 940 - align-items: center; 941 - gap: 8px; 942 - color: @brand; 943 - background: fade(@brand, 8%); 944 - border: 1px solid fade(@brand, 18%); 945 - border-radius: 999px; 946 - padding: 6px 12px; 947 - margin-bottom: 14px; 948 - font-size: 13px; 949 - font-weight: 700; 950 - 951 - i { 952 - color: @brand; 953 - } 954 -} 955 - 956 -.product-card-kicker { 957 - margin-bottom: 10px; 958 - padding: 5px 10px; 959 - font-size: 12px; 960 - text-transform: uppercase; 961 - letter-spacing: .04em; 962 -} 963 - 964 -/* Product index listing */ 965 - 966 966 .product-index-section { 967 967 padding: 52px 0 56px; 968 968 ... ... @@ -1032,6 +1032,14 @@ 1032 1032 } 1033 1033 } 1034 1034 985 +.product-card-kicker { 986 + margin-bottom: 10px; 987 + padding: 5px 10px; 988 + font-size: 12px; 989 + text-transform: uppercase; 990 + letter-spacing: .04em; 991 +} 992 + 1035 1035 .product-highlights { 1036 1036 margin: 14px 0 20px; 1037 1037 padding-left: 18px; ... ... @@ -1043,40 +1043,8 @@ 1043 1043 } 1044 1044 } 1045 1045 1046 -.product-cta-section { 1047 - padding: 0 0 56px; 1048 - border-top: 1px solid @line; 1049 -} 1050 - 1051 -.product-cta-panel { 1052 - max-width: 860px; 1053 - margin: 0 auto; 1054 - padding: 32px; 1055 - border-radius: @radius; 1056 - border: 1px solid fade(@brand, 20%); 1057 - background: 1058 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1059 - box-shadow: @shadow-sm; 1060 - text-align: center; 1061 - 1062 - h2 { 1063 - margin-top: 0; 1064 - } 1065 - 1066 - p { 1067 - max-width: 680px; 1068 - margin: 0 auto 18px; 1069 - color: @muted; 1070 - line-height: 1.55; 1071 - } 1072 -} 1073 - 1074 1074 /* ========== Individual Product Pages ========== */ 1075 1075 1076 -.product-hero { 1077 - min-height: 330px; 1078 -} 1079 - 1080 1080 .product-layout { 1081 1081 display: grid; 1082 1082 grid-template-columns: 1.1fr .9fr; ... ... @@ -1181,8 +1181,6 @@ 1181 1181 } 1182 1182 } 1183 1183 1184 -/* Screenshot / gallery area for product pages */ 1185 - 1186 1186 .product-gallery-panel { 1187 1187 max-width: 1040px; 1188 1188 margin: 20px auto 0; ... ... @@ -1215,28 +1215,11 @@ 1215 1215 justify-content: center; 1216 1216 } 1217 1217 1218 -/* Optional product detail sections */ 1219 - 1220 1220 .product-section-muted { 1221 1221 background: 1222 1222 radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1223 1223 } 1224 1224 1225 -.product-use-cases { 1226 - ul { 1227 - margin: 0; 1228 - padding-left: 20px; 1229 - color: @muted; 1230 - } 1231 - 1232 - li { 1233 - margin: 8px 0; 1234 - line-height: 1.5; 1235 - } 1236 -} 1237 - 1238 -/* ========== Products Responsive ========== */ 1239 - 1240 1240 @media (max-width: 980px) { 1241 1241 .product-layout, 1242 1242 .product-feature-grid { ... ... @@ -1249,14 +1249,6 @@ 1249 1249 } 1250 1250 1251 1251 @media (max-width: 640px) { 1252 - .product-index-hero { 1253 - padding: 38px 0 34px; 1254 - 1255 - .page-lead { 1256 - font-size: 17px; 1257 - } 1258 - } 1259 - 1260 1260 .product-card { 1261 1261 grid-template-columns: 1fr; 1262 1262 padding: 22px; ... ... @@ -1273,8 +1273,142 @@ 1273 1273 .product-gallery-panel { 1274 1274 padding: 20px; 1275 1275 } 1175 +} 1176 +/* ========== Resources Index ========== */ 1276 1276 1277 - .product-cta-panel { 1278 - padding: 24px 20px; 1178 +.resources-index-page { 1179 + padding: 56px 0 72px; 1180 + background: @brand-bg; 1181 +} 1182 + 1183 +.resources-intro { 1184 + max-width: 820px; 1185 + margin: 0 auto 32px; 1186 + text-align: center; 1187 +} 1188 + 1189 +.resources-intro p { 1190 + color: @muted; 1191 + font-size: 17px; 1192 + line-height: 1.7; 1193 + margin: 0; 1194 +} 1195 + 1196 +.resources-grid { 1197 + display: grid; 1198 + grid-template-columns: repeat(2, minmax(0, 1fr)); 1199 + gap: 24px; 1200 + margin-bottom: 36px; 1201 +} 1202 + 1203 +.resource-card { 1204 + display: flex; 1205 + gap: 18px; 1206 + background: #fff; 1207 + border: 1px solid @line; 1208 + border-radius: @radius; 1209 + box-shadow: @shadow-sm; 1210 + padding: 24px; 1211 +} 1212 + 1213 +.resource-card-icon { 1214 + flex: 0 0 46px; 1215 + width: 46px; 1216 + height: 46px; 1217 + border-radius: 14px; 1218 + background: @brand-soft; 1219 + color: @brand-strong; 1220 + display: flex; 1221 + align-items: center; 1222 + justify-content: center; 1223 + font-size: 20px; 1224 +} 1225 + 1226 +.resource-card-label { 1227 + color: @brand-strong; 1228 + font-size: 13px; 1229 + font-weight: 700; 1230 + text-transform: uppercase; 1231 + letter-spacing: .04em; 1232 + margin-bottom: 8px; 1233 +} 1234 + 1235 +.resource-card h2 { 1236 + font-size: 22px; 1237 + line-height: 1.25; 1238 + margin: 0 0 12px; 1239 +} 1240 + 1241 +.resource-card h2 a { 1242 + color: @text; 1243 + text-decoration: none; 1244 +} 1245 + 1246 +.resource-card h2 a:hover { 1247 + color: @brand-strong; 1248 + text-decoration: none; 1249 +} 1250 + 1251 +.resource-card p { 1252 + color: @muted; 1253 + font-size: 15px; 1254 + line-height: 1.65; 1255 + margin: 0 0 16px; 1256 +} 1257 + 1258 +.resource-card-link { 1259 + color: @brand-strong; 1260 + font-weight: 700; 1261 + text-decoration: none; 1262 +} 1263 + 1264 +.resource-card-link:hover { 1265 + color: @brand; 1266 + text-decoration: none; 1267 +} 1268 + 1269 +.resources-next { 1270 + max-width: 820px; 1271 + margin: 0 auto 32px; 1272 + text-align: center; 1273 +} 1274 + 1275 +.resources-next h2 { 1276 + font-size: 26px; 1277 + margin: 0 0 10px; 1278 +} 1279 + 1280 +.resources-next p { 1281 + color: @muted; 1282 + font-size: 16px; 1283 + line-height: 1.7; 1284 + margin: 0; 1285 +} 1286 + 1287 +@media (max-width: 767px) { 1288 + .resources-index-page { 1289 + padding: 36px 0 52px; 1279 1279 } 1291 + 1292 + .resources-intro { 1293 + text-align: left; 1294 + margin-bottom: 24px; 1295 + } 1296 + 1297 + .resources-grid { 1298 + grid-template-columns: 1fr; 1299 + gap: 18px; 1300 + } 1301 + 1302 + .resource-card { 1303 + padding: 20px; 1304 + } 1305 + 1306 + .resource-card h2 { 1307 + font-size: 20px; 1308 + } 1309 + 1310 + .resources-next { 1311 + text-align: left; 1312 + } 1280 1280 }
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,156 +1,237 @@ 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 +/* Keep the public menu aligned to the right on desktop */ 4 +@media (min-width: 768px) { 5 + .navbar-nav { 6 + float: right; 7 + } 9 9 9 + .site-nav { 10 + margin-left: auto; 11 + justify-content: flex-end; 12 + } 13 +} 14 + 10 10 /* Top-level menu items */ 11 11 12 -.agnease-services-menu, 13 -.agnease-products-menu { 17 +.agnease-menu-item { 14 14 .dropdown-toggle { 15 - font-weight: inherit; 16 - font-size: inherit; 19 + color: @brand; 20 + font-weight: 600; 21 + font-size: 17px; 22 + padding-left: 16px; 23 + padding-right: 16px; 24 + background: transparent !important; 25 + background-color: transparent !important; 26 + background-image: none !important; 27 + box-shadow: none !important; 17 17 } 18 18 19 19 .caret { 20 - margin-left: 4px; 31 + margin-left: 5px; 32 + border-top-color: @brand; 33 + border-bottom-color: @brand; 21 21 } 22 22 23 23 &.open > .dropdown-toggle, 37 + &.active > .dropdown-toggle, 24 24 .dropdown-toggle:hover, 25 - .dropdown-toggle:focus { 39 + .dropdown-toggle:focus, 40 + .dropdown-toggle:active { 26 26 color: @brand-strong; 27 - background: transparent; 28 - background-color: transparent; 29 - box-shadow: none; 42 + background: transparent !important; 43 + background-color: transparent !important; 44 + background-image: none !important; 45 + box-shadow: none !important; 46 + outline: none; 30 30 } 48 + 49 + &.open > .dropdown-toggle .caret, 50 + &.active > .dropdown-toggle .caret, 51 + .dropdown-toggle:hover .caret, 52 + .dropdown-toggle:focus .caret, 53 + .dropdown-toggle:active .caret { 54 + border-top-color: @brand-strong; 55 + border-bottom-color: @brand-strong; 56 + } 31 31 } 32 32 33 -/* KeepAgneasepublic top-levelmenuvisually clean when hovered/open/focused*/59 +/* Remove Bootstrap/XWiki gray backgrounds from top-level nav states */ 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; 61 +.navbar-nav > li > a, 62 +.navbar-nav > li > a:hover, 63 +.navbar-nav > li > a:focus, 64 +.navbar-nav > li > a:active, 65 +.navbar-nav > li.open > a, 66 +.navbar-nav > li.open > a:hover, 67 +.navbar-nav > li.open > a:focus, 68 +.navbar-nav > li.open > a:active, 69 +.navbar-nav > li.active > a, 70 +.navbar-nav > li.active > a:hover, 71 +.navbar-nav > li.active > a:focus, 72 +.navbar-nav > li.active > a:active, 73 +.nav .open > a, 74 +.nav .open > a:hover, 75 +.nav .open > a:focus { 76 + background: transparent !important; 77 + background-color: transparent !important; 78 + background-image: none !important; 79 + box-shadow: none !important; 80 +} 81 + 82 +/* Contact item should visually match the dropdown top-level entries */ 83 +.navbar-nav > li > a { 84 + color: @brand; 85 + font-size: 17px; 86 + font-weight: 600; 87 +} 88 + 89 +.navbar-nav > li > a:hover, 90 +.navbar-nav > li > a:focus, 91 +.navbar-nav > li > a:active { 49 49 color: @brand-strong; 50 - box-shadow: none; 51 51 } 52 52 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; 97 +.agnease-dropdown { 98 + min-width: 310px; 99 + padding: 10px 8px; 100 + border: 1px solid fade(@brand, 18%); 60 60 border-radius: 12px; 61 - box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 102 + background: #fff; 103 + box-shadow: 0 12px 32px fade(@brand-strong, 12%); 62 62 63 63 > li > a { 64 64 display: flex; 65 - align-items: flex-start;107 + align-items: center; 66 66 gap: 12px; 67 - padding: 10px 12px; 68 - border-radius: 10px; 69 - color: @text; 70 - white-space: normal; 109 + padding: 11px 14px; 110 + border-radius: 0; 111 + color: @brand; 112 + background: transparent !important; 113 + background-color: transparent !important; 114 + background-image: none !important; 115 + white-space: nowrap; 116 + font-size: 16px; 117 + font-weight: 600; 118 + line-height: 1.3; 119 + box-shadow: none !important; 71 71 121 + i { 122 + width: 20px; 123 + flex: 0 0 20px; 124 + color: @brand; 125 + text-align: center; 126 + font-size: 15px; 127 + } 128 + 72 72 &:hover, 73 - &:focus { 130 + &:focus, 131 + &:active { 74 74 color: @brand-strong; 75 - background: @brand-bg; 133 + background: transparent !important; 134 + background-color: transparent !important; 135 + background-image: none !important; 76 76 text-decoration: none; 137 + outline: none; 138 + box-shadow: none !important; 77 77 78 - .menu-icon{140 + i { 79 79 color: @brand-strong; 80 - background: fade(@brand, 14%); 81 - border-color: fade(@brand, 28%); 82 82 } 143 + } 144 + } 83 83 84 - strong { 85 - color: @brand-strong; 86 - } 146 + > .active > a, 147 + > .active > a:hover, 148 + > .active > a:focus, 149 + > .active > a:active { 150 + color: @brand-strong; 151 + background: transparent !important; 152 + background-color: transparent !important; 153 + background-image: none !important; 154 + text-decoration: none; 155 + box-shadow: none !important; 87 87 88 - small { 89 - color: @muted; 90 - } 157 + i { 158 + color: @brand-strong; 91 91 } 92 92 } 93 93 94 94 .divider { 95 95 margin: 8px 0; 96 - background-color: @ line;164 + background-color: fade(@brand, 16%); 97 97 } 166 +} 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 - } 168 +.agnease-products-dropdown, 169 +.agnease-resources-dropdown { 170 + min-width: 290px; 131 131 } 132 132 133 -/* Products dropdowncanbeslightlynarrower for now*/173 +/* Remove Bootstrap/XWiki gray backgrounds from dropdown entries globally */ 134 134 135 -.agnease-products-dropdown { 136 - min-width: 340px; 175 +.dropdown-menu > li > a, 176 +.dropdown-menu > li > a:hover, 177 +.dropdown-menu > li > a:focus, 178 +.dropdown-menu > li > a:active, 179 +.dropdown-menu > .active > a, 180 +.dropdown-menu > .active > a:hover, 181 +.dropdown-menu > .active > a:focus, 182 +.dropdown-menu > .active > a:active { 183 + background: transparent !important; 184 + background-color: transparent !important; 185 + background-image: none !important; 186 + box-shadow: none !important; 137 137 } 138 138 139 -/* Mobile */ 189 +/* ========== Mobile Menu ========== */ 140 140 141 141 @media (max-width: 767px) { 142 - .agnease-services-dropdown, 143 - .agnease-products-dropdown { 192 + .navbar-nav { 193 + float: none; 194 + } 195 + 196 + .navbar-nav > li > a, 197 + .agnease-menu-item .dropdown-toggle { 198 + font-size: 16px; 199 + padding-top: 9px; 200 + padding-bottom: 9px; 201 + } 202 + 203 + .agnease-dropdown { 144 144 min-width: 0; 145 145 width: 100%; 146 - padding: 6px; 206 + padding: 4px 8px 8px 18px; 207 + border: 0; 147 147 border-radius: 0; 148 - border-left: 0; 149 - border-right: 0; 150 150 box-shadow: none; 210 + background: transparent; 151 151 152 152 > li > a { 153 - padding: 10px; 213 + padding: 8px 10px; 214 + white-space: normal; 215 + font-size: 15px; 216 + color: @brand; 217 + background: transparent !important; 218 + 219 + i { 220 + width: 18px; 221 + flex-basis: 18px; 222 + } 223 + 224 + &:hover, 225 + &:focus, 226 + &:active { 227 + color: @brand-strong; 228 + background: transparent !important; 229 + } 154 154 } 231 + 232 + .divider { 233 + margin: 5px 0; 234 + background-color: fade(@brand, 16%); 235 + } 155 155 } 156 156 }