Changes for page Public Web Site

Last modified by Alex Cotiuga on 2026/07/21 12:54

From version 30.10
edited by Alex Cotiuga
on 2026/07/21 12:54
Change comment: There is no comment for this version
To version 29.19
edited by Alex Cotiuga
on 2026/07/03 16:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -249,7 +249,6 @@
249 249   A short description is enough to define practical next steps.
250 250   </p>
251 251   <a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Contact Agnease</a>
252 - <a class="btn btn-secondary" href="$xwiki.getURL('pricing.WebHome')">View service packages</a>
253 253   </div>
254 254   </div>
255 255   </section>
XWiki.StyleSheetExtension[0]
code
... ... @@ -79,7 +79,7 @@
79 79  
80 80  .section-intro {
81 81   max-width: 760px;
82 - margin: 10px auto 22px;
82 + margin: 0 auto 22px;
83 83   text-align: center;
84 84   color: @muted;
85 85   font-size: 16px;
... ... @@ -761,7 +761,6 @@
761 761  }
762 762  
763 763  .resource-card {
764 - background-color: #fff;
765 765   padding: 20px;
766 766  
767 767   h4 {
... ... @@ -1128,7 +1128,7 @@
1128 1128  
1129 1129  .resource-note {
1130 1130   border-left: 4px solid @brand;
1131 - background: #fff;
1130 + background: @brand-bg;
1132 1132   padding: 16px 18px;
1133 1133   margin: 22px 0;
1134 1134   border-radius: 0 @radius @radius 0;
... ... @@ -1230,53 +1230,33 @@
1230 1230   }
1231 1231  }
1232 1232  
1233 -.resource-cta {
1234 - display: flex;
1235 - flex-direction: column;
1236 - align-items: center;
1237 - text-align: center;
1238 -
1239 - max-width: 820px;
1240 - margin: 42px auto 0;
1241 - padding: 28px 30px;
1242 - border: 1px solid fade(@brand, 20%);
1243 - border-radius: @radius;
1244 - background: @brand-bg;
1245 -
1246 - h3 {
1247 - margin-top: 0;
1248 - margin-bottom: 10px;
1249 - }
1250 -
1251 - p {
1252 - max-width: 680px;
1253 - margin-left: auto;
1254 - margin-right: auto;
1255 - color: @muted;
1256 - }
1257 -
1258 - .btn {
1259 - margin-top: 8px;
1260 - }
1261 -}
1262 -
1263 1263  .resource-inline-cta {
1264 - display: flex;
1233 + position: relative;
1234 + display: grid;
1235 + grid-template-columns: minmax(0, 1fr) auto;
1265 1265   align-items: center;
1266 - justify-content: space-between;
1267 1267   gap: 22px;
1268 - margin: 30px 0;
1269 - padding: 20px 22px;
1270 - border: 1px solid @line;
1271 - border-left: 4px solid @brand;
1238 + margin: 32px 0;
1239 + padding: 22px 24px 22px 28px;
1240 + border: 1px solid fade(@brand, 20%);
1272 1272   border-radius: @radius;
1273 1273   background: #fff;
1274 1274   box-shadow: @shadow-sm;
1244 + overflow: hidden;
1275 1275  
1246 + &::before {
1247 + content: "";
1248 + position: absolute;
1249 + inset: 0 auto 0 0;
1250 + width: 5px;
1251 + background: linear-gradient(180deg, @brand 0%, @brand-strong 100%);
1252 + }
1253 +
1276 1276   p {
1277 1277   margin: 0;
1278 1278   color: @muted;
1279 - line-height: 1.55;
1257 + font-size: 15px;
1258 + line-height: 1.6;
1280 1280   }
1281 1281  
1282 1282   strong {
... ... @@ -1284,44 +1284,36 @@
1284 1284   margin-bottom: 4px;
1285 1285   color: @text;
1286 1286   font-size: 17px;
1287 - line-height: 1.3;
1266 + line-height: 1.35;
1288 1288   }
1289 1289  
1290 1290   .btn {
1291 - flex-shrink: 0;
1292 1292   white-space: nowrap;
1271 + align-self: center;
1293 1293   }
1273 +
1274 + .btn-secondary {
1275 + border-color: @text;
1276 + background: @text;
1277 + color: #fff;
1278 +
1279 + &:hover,
1280 + &:focus {
1281 + border-color: @brand-strong;
1282 + background: @brand-strong;
1283 + color: #fff;
1284 + text-decoration: none;
1285 + }
1286 + }
1294 1294  }
1295 1295  
1296 1296  .resource-note,
1297 1297  .resource-checklist,
1298 -.resource-cta,
1299 -.resource-inline-cta {
1300 1300   display: flow-root;
1301 1301  }
1302 1302  
1303 -@media (max-width: 767px) {
1304 - .resource-cta {
1305 - padding: 24px 20px;
1306 - }
1307 -}
1308 1308  
1309 -@media (max-width: 767px) {
1310 - .resource-inline-cta {
1311 - display: block;
1312 1312  
1313 - p {
1314 - margin-bottom: 14px;
1315 - }
1316 -
1317 - .btn {
1318 - display: block;
1319 - width: 100%;
1320 - white-space: normal;
1321 - }
1322 - }
1323 -}
1324 -
1325 1325  @media (max-width: 900px) {
1326 1326   .resource-layout {
1327 1327   padding-top: 22px;
... ... @@ -1455,6 +1455,17 @@
1455 1455   }
1456 1456  }
1457 1457  
1429 +.product-card-contact {
1430 + color: @brand;
1431 + font-weight: 700;
1432 + text-decoration: underline;
1433 +
1434 + &:hover,
1435 + &:focus {
1436 + color: @brand-strong;
1437 + }
1438 +}
1439 +
1458 1458  @media (max-width: 640px) {
1459 1459   .product-card {
1460 1460   grid-template-columns: 1fr;