Changes for page Public Web Site

Last modified by Agnease on 2026/06/24 15:34

From version 24.6
edited by Agnease
on 2026/06/24 14:40
Change comment: There is no comment for this version
To version 24.20
edited by Agnease
on 2026/06/24 15:34
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1156,30 +1156,40 @@
1156 1156  }
1157 1157  
1158 1158  .product-card-grid {
1159 - max-width: 840px;
1160 - margin: 22px auto 0;
1159 + max-width: 980px;
1160 + margin: 26px auto 0;
1161 1161   display: grid;
1162 1162   grid-template-columns: 1fr;
1163 - grid-gap: 18px;
1163 + grid-gap: 22px;
1164 1164  }
1165 1165  
1166 1166  .product-card {
1167 + position: relative;
1167 1167   background: #fff;
1168 1168   border: 1px solid @line;
1169 1169   border-radius: @radius;
1170 1170   box-shadow: @shadow-sm;
1171 - padding: 28px;
1172 + padding: 32px;
1172 1172   display: grid;
1173 - grid-template-columns: 68px 1fr;
1174 - grid-gap: 22px;
1174 + grid-template-columns: 70px 1fr;
1175 + grid-gap: 24px;
1175 1175   align-items: start;
1177 + overflow: hidden;
1176 1176  
1179 + &:before {
1180 + content: "";
1181 + position: absolute;
1182 + inset: 0 auto 0 0;
1183 + width: 5px;
1184 + background: linear-gradient(180deg, @brand 0%, @brand-strong 100%);
1185 + }
1186 +
1177 1177   .product-card-icon {
1178 1178   width: 58px;
1179 1179   height: 58px;
1180 1180   border-radius: 50%;
1181 1181   background: fade(@brand, 10%);
1182 - border: 1px solid fade(@brand, 20%);
1192 + border: 1px solid fade(@brand, 22%);
1183 1183   color: @brand;
1184 1184   display: flex;
1185 1185   align-items: center;
... ... @@ -1188,11 +1188,15 @@
1188 1188   flex-shrink: 0;
1189 1189   }
1190 1190  
1201 + .product-card-body {
1202 + min-width: 0;
1203 + }
1204 +
1191 1191   h3 {
1192 1192   margin: 0 0 10px;
1193 1193   color: @text;
1194 - font-size: 23px;
1195 - line-height: 1.25;
1208 + font-size: 25px;
1209 + line-height: 1.22;
1196 1196   font-weight: 800;
1197 1197   }
1198 1198  
... ... @@ -1201,25 +1201,36 @@
1201 1201   line-height: 1.6;
1202 1202   }
1203 1203  
1204 - .card-link {
1205 - margin: 0;
1206 -
1207 - a {
1208 - font-weight: 700;
1209 - }
1218 + .product-card-description {
1219 + max-width: 760px;
1220 + margin: 0 0 14px;
1221 + font-size: 16px;
1210 1210   }
1211 1211  }
1212 1212  
1213 1213  .product-card-kicker {
1226 + display: inline-flex;
1227 + align-items: center;
1228 + gap: 7px;
1229 + width: fit-content;
1214 1214   margin-bottom: 10px;
1215 1215   padding: 5px 10px;
1232 + border: 1px solid fade(@brand, 24%);
1233 + border-radius: 999px;
1234 + background: fade(@brand, 8%);
1235 + color: @brand-strong;
1216 1216   font-size: 12px;
1237 + font-weight: 800;
1217 1217   text-transform: uppercase;
1218 1218   letter-spacing: .04em;
1240 +
1241 + i {
1242 + color: @brand;
1243 + }
1219 1219  }
1220 1220  
1221 1221  .product-highlights {
1222 - margin: 14px 0 20px;
1247 + margin: 14px 0 22px;
1223 1223   padding-left: 18px;
1224 1224   color: @muted;
1225 1225  
... ... @@ -1229,6 +1229,52 @@
1229 1229   }
1230 1230  }
1231 1231  
1257 +.product-card-actions {
1258 + display: flex;
1259 + align-items: center;
1260 + gap: 16px;
1261 + flex-wrap: wrap;
1262 +
1263 + .btn {
1264 + font-weight: 700;
1265 + }
1266 +}
1267 +
1268 +.product-card-contact {
1269 + color: @brand;
1270 + font-weight: 700;
1271 + text-decoration: underline;
1272 +
1273 + &:hover,
1274 + &:focus {
1275 + color: @brand-strong;
1276 + }
1277 +}
1278 +
1279 +@media (max-width: 640px) {
1280 + .product-card {
1281 + grid-template-columns: 1fr;
1282 + padding: 26px 22px;
1283 + text-align: left;
1284 +
1285 + &:before {
1286 + width: 4px;
1287 + }
1288 +
1289 + .product-card-icon {
1290 + margin-bottom: 2px;
1291 + }
1292 +
1293 + h3 {
1294 + font-size: 22px;
1295 + }
1296 + }
1297 +
1298 + .product-card-actions {
1299 + gap: 12px;
1300 + }
1301 +}
1302 +
1232 1232  /* ========== Individual Product Pages ========== */
1233 1233  
1234 1234  .product-layout {
... ... @@ -1292,7 +1292,7 @@
1292 1292  
1293 1293   li {
1294 1294   margin: 8px 0;
1295 - line-height: 1.45;
1366 + line-height: 1.3;
1296 1296   }
1297 1297  }
1298 1298  
... ... @@ -1362,9 +1362,9 @@
1362 1362  /* Keep the default XWiki gallery style.
1363 1363   Only add spacing before it and center it. */
1364 1364  .gallery.xGallery {
1365 - margin-top: 26px;
1366 - margin-left: auto !important;
1367 - margin-right: auto !important;
1436 + margin: 25px auto;
1437 + width: 920px;
1438 + height: 518px;
1368 1368  }
1369 1369  
1370 1370  .product-section-muted {