domma-cms 0.115.0 → 0.115.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2586,6 +2586,8 @@ LAYOUT_RENDERERS['pricing'] = (attrs, body) => {
|
|
|
2586
2586
|
// Where the button goes - it always went to "#" before. Same handling as [button]'s href;
|
|
2587
2587
|
// the sanitiser removes a javascript: URL.
|
|
2588
2588
|
const href = escapeAttr(attrs.href || '#');
|
|
2589
|
+
// card-pricing-btn: site.css's content-link rules skip any class containing "btn" - without it
|
|
2590
|
+
// they coloured and underlined the button like a link in the text.
|
|
2589
2591
|
const features = parseSubTagList(body, 'feature');
|
|
2590
2592
|
const featHtml = features.map(f => `<div class="card-pricing-feature"><span class="card-pricing-check">\u2713</span>${escapeAttr(f.content)}</div>`).join('');
|
|
2591
2593
|
return `${cardRoot(attrs)}<div class="card-header card-gradient-${gradient}">
|
|
@@ -2593,7 +2595,7 @@ LAYOUT_RENDERERS['pricing'] = (attrs, body) => {
|
|
|
2593
2595
|
<div class="card-stat-value" style="color:#fff">${price}</div>
|
|
2594
2596
|
${period ? `<div style="opacity:.75;font-size:.8rem">${period}</div>` : ''}
|
|
2595
2597
|
</div><div class="card-pricing-features">${featHtml}</div>
|
|
2596
|
-
<a class="card-pricing-cta" href="${href}">${cta}</a></div>\n`;
|
|
2598
|
+
<a class="card-pricing-cta card-pricing-btn" href="${href}">${cta}</a></div>\n`;
|
|
2597
2599
|
};
|
|
2598
2600
|
|
|
2599
2601
|
LAYOUT_RENDERERS['feature-comparison'] = (attrs, body) => {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<link rel="stylesheet" href="/dist/domma/themes/domma-themes.css">
|
|
26
26
|
|
|
27
27
|
<!-- Site CSS -->
|
|
28
|
-
<link rel="stylesheet" href="/public/css/site.css?v=20261004-pricing-
|
|
28
|
+
<link rel="stylesheet" href="/public/css/site.css?v=20261004-pricing-btn">
|
|
29
29
|
<link rel="stylesheet" href="/public/css/forms.css?v=20260927-submit-btn-css">
|
|
30
30
|
<!-- Menu item hover / current-page effects. Loaded after site.css so a
|
|
31
31
|
menu's own highlight wins over the blanket link styling there. -->
|