@ulu/frontend 0.1.0-beta.28 → 0.1.0-beta.29
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/CHANGELOG.md +14 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/assets/main.js +832 -421
- package/docs-dev/assets/placeholder/icon-calendar.svg +1 -0
- package/docs-dev/assets/placeholder/icon-check.svg +1 -0
- package/docs-dev/assets/style.css +629 -233
- package/docs-dev/changelog/index.html +68 -8
- package/docs-dev/demos/accordion/index.html +38 -8
- package/docs-dev/demos/button/index.html +38 -8
- package/docs-dev/demos/button-verbose/index.html +5109 -0
- package/docs-dev/demos/callout/index.html +38 -8
- package/docs-dev/demos/captioned-figure/index.html +38 -8
- package/docs-dev/demos/card/index.html +105 -473
- package/docs-dev/demos/card-grid/index.html +88 -12
- package/docs-dev/demos/card-new/index.html +5088 -0
- package/docs-dev/demos/card-old/index.html +5223 -0
- package/docs-dev/demos/card.1/index.html +5223 -0
- package/docs-dev/demos/card.TRASH/index.html +5541 -0
- package/docs-dev/demos/css-icons/index.html +38 -8
- package/docs-dev/demos/data-grid/index.html +38 -8
- package/docs-dev/demos/data-table/index.html +63 -33
- package/docs-dev/demos/details-group/index.html +38 -8
- package/docs-dev/demos/file-save/index.html +38 -8
- package/docs-dev/demos/flipcard/index.html +38 -8
- package/docs-dev/demos/form-theme/index.html +38 -8
- package/docs-dev/demos/index.html +38 -8
- package/docs-dev/demos/list-inline/index.html +38 -8
- package/docs-dev/demos/list-lines/index.html +38 -8
- package/docs-dev/demos/menu-stack/index.html +38 -8
- package/docs-dev/demos/modals/index.html +38 -8
- package/docs-dev/demos/nav-strip/index.html +38 -8
- package/docs-dev/demos/overlay-section/index.html +38 -8
- package/docs-dev/demos/popovers/index.html +38 -8
- package/docs-dev/demos/print/index.html +38 -8
- package/docs-dev/demos/pull-quote/index.html +38 -8
- package/docs-dev/demos/rule/index.html +38 -8
- package/docs-dev/demos/scrollpoints/index.html +38 -8
- package/docs-dev/demos/spoke-spinner/index.html +38 -8
- package/docs-dev/demos/sticky-list/index.html +38 -8
- package/docs-dev/demos/tabs/index.html +38 -8
- package/docs-dev/demos/tag/index.html +38 -8
- package/docs-dev/demos/theme-toggle/index.html +38 -8
- package/docs-dev/demos/tiles/index.html +38 -8
- package/docs-dev/demos/tooltip/index.html +38 -8
- package/docs-dev/guide/building-stylesheet/index.html +38 -8
- package/docs-dev/guide/developing-ulu-scss-module/index.html +38 -8
- package/docs-dev/guide/index.html +38 -8
- package/docs-dev/index.html +38 -8
- package/docs-dev/javascript/events/index.html +38 -8
- package/docs-dev/javascript/index.html +38 -8
- package/docs-dev/javascript/settings/index.html +38 -8
- package/docs-dev/javascript/ui-breakpoints/index.html +38 -8
- package/docs-dev/javascript/ui-collapsible/index.html +38 -8
- package/docs-dev/javascript/ui-details-group/index.html +38 -8
- package/docs-dev/javascript/ui-dialog/index.html +38 -8
- package/docs-dev/javascript/ui-flipcard/index.html +38 -8
- package/docs-dev/javascript/ui-grid/index.html +38 -8
- package/docs-dev/javascript/ui-modal-builder/index.html +38 -8
- package/docs-dev/javascript/ui-overflow-scroller/index.html +38 -8
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +38 -8
- package/docs-dev/javascript/ui-page/index.html +38 -8
- package/docs-dev/javascript/ui-popover/index.html +38 -8
- package/docs-dev/javascript/ui-print/index.html +38 -8
- package/docs-dev/javascript/ui-print-details/index.html +38 -8
- package/docs-dev/javascript/ui-programmatic-modal/index.html +38 -8
- package/docs-dev/javascript/ui-proxy-click/index.html +38 -8
- package/docs-dev/javascript/ui-resizer/index.html +38 -8
- package/docs-dev/javascript/ui-scroll-slider/index.html +38 -8
- package/docs-dev/javascript/ui-scrollpoint/index.html +38 -8
- package/docs-dev/javascript/ui-slider/index.html +38 -8
- package/docs-dev/javascript/ui-tabs/index.html +38 -8
- package/docs-dev/javascript/ui-theme-toggle/index.html +38 -8
- package/docs-dev/javascript/ui-tooltip/index.html +38 -8
- package/docs-dev/javascript/utils-class-logger/index.html +38 -8
- package/docs-dev/javascript/utils-dom/index.html +38 -8
- package/docs-dev/javascript/utils-file-save/index.html +38 -8
- package/docs-dev/javascript/utils-floating-ui/index.html +38 -8
- package/docs-dev/javascript/utils-id/index.html +38 -8
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +38 -8
- package/docs-dev/sass/base/color/index.html +38 -8
- package/docs-dev/sass/base/elements/index.html +38 -8
- package/docs-dev/sass/base/index/index.html +38 -8
- package/docs-dev/sass/base/index.html +38 -8
- package/docs-dev/sass/base/keyframes/index.html +38 -8
- package/docs-dev/sass/base/layout/index.html +38 -8
- package/docs-dev/sass/base/normalize/index.html +38 -8
- package/docs-dev/sass/base/print/index.html +38 -8
- package/docs-dev/sass/base/root/index.html +38 -8
- package/docs-dev/sass/base/typography/index.html +38 -8
- package/docs-dev/sass/components/accordion/index.html +38 -8
- package/docs-dev/sass/components/adaptive-spacing/index.html +38 -8
- package/docs-dev/sass/components/badge/index.html +38 -8
- package/docs-dev/sass/components/basic-hero/index.html +38 -8
- package/docs-dev/sass/components/button/index.html +38 -8
- package/docs-dev/sass/components/button-verbose/index.html +96 -17
- package/docs-dev/sass/components/callout/index.html +38 -8
- package/docs-dev/sass/components/captioned-figure/index.html +38 -8
- package/docs-dev/sass/components/card/index.html +44 -14
- package/docs-dev/sass/components/card-grid/index.html +38 -8
- package/docs-dev/sass/components/css-icon/index.html +38 -8
- package/docs-dev/sass/components/data-grid/index.html +38 -8
- package/docs-dev/sass/components/data-table/index.html +38 -8
- package/docs-dev/sass/components/fill-context/index.html +38 -8
- package/docs-dev/sass/components/flipcard/index.html +38 -8
- package/docs-dev/sass/components/flipcard-grid/index.html +38 -8
- package/docs-dev/sass/components/form-theme/index.html +124 -93
- package/docs-dev/sass/components/hero/index.html +38 -8
- package/docs-dev/sass/components/horizontal-rule/index.html +38 -8
- package/docs-dev/sass/components/image-grid/index.html +38 -8
- package/docs-dev/sass/components/index/index.html +38 -8
- package/docs-dev/sass/components/index.html +38 -8
- package/docs-dev/sass/components/links/index.html +38 -8
- package/docs-dev/sass/components/list-inline/index.html +38 -8
- package/docs-dev/sass/components/list-lines/index.html +38 -8
- package/docs-dev/sass/components/list-ordered/index.html +38 -8
- package/docs-dev/sass/components/list-unordered/index.html +38 -8
- package/docs-dev/sass/components/menu-stack/index.html +38 -8
- package/docs-dev/sass/components/modal/index.html +38 -8
- package/docs-dev/sass/components/nav-strip/index.html +38 -8
- package/docs-dev/sass/components/overlay-section/index.html +38 -8
- package/docs-dev/sass/components/pager/index.html +38 -8
- package/docs-dev/sass/components/placeholder-block/index.html +38 -8
- package/docs-dev/sass/components/popover/index.html +38 -8
- package/docs-dev/sass/components/pull-quote/index.html +38 -8
- package/docs-dev/sass/components/ratio-box/index.html +38 -8
- package/docs-dev/sass/components/rule/index.html +38 -8
- package/docs-dev/sass/components/scroll-slider/index.html +38 -8
- package/docs-dev/sass/components/skip-link/index.html +38 -8
- package/docs-dev/sass/components/slider/index.html +38 -8
- package/docs-dev/sass/components/spoke-spinner/index.html +38 -8
- package/docs-dev/sass/components/sticky-list/index.html +38 -8
- package/docs-dev/sass/components/tabs/index.html +38 -8
- package/docs-dev/sass/components/tag/index.html +38 -8
- package/docs-dev/sass/components/tile-button/index.html +38 -8
- package/docs-dev/sass/components/tile-grid/index.html +38 -8
- package/docs-dev/sass/components/tile-grid-overlay/index.html +38 -8
- package/docs-dev/sass/components/vignette/index.html +38 -8
- package/docs-dev/sass/components/wysiwyg/index.html +38 -8
- package/docs-dev/sass/core/breakpoint/index.html +38 -8
- package/docs-dev/sass/core/button/index.html +38 -8
- package/docs-dev/sass/core/color/index.html +38 -8
- package/docs-dev/sass/core/cssvar/index.html +38 -8
- package/docs-dev/sass/core/element/index.html +38 -8
- package/docs-dev/sass/core/index.html +38 -8
- package/docs-dev/sass/core/layout/index.html +38 -8
- package/docs-dev/sass/core/path/index.html +38 -8
- package/docs-dev/sass/core/selector/index.html +38 -8
- package/docs-dev/sass/core/typography/index.html +38 -8
- package/docs-dev/sass/core/units/index.html +38 -8
- package/docs-dev/sass/core/utils/index.html +38 -8
- package/docs-dev/sass/helpers/color/index.html +38 -8
- package/docs-dev/sass/helpers/display/index.html +38 -8
- package/docs-dev/sass/helpers/index/index.html +38 -8
- package/docs-dev/sass/helpers/index.html +38 -8
- package/docs-dev/sass/helpers/print/index.html +38 -8
- package/docs-dev/sass/helpers/typography/index.html +38 -8
- package/docs-dev/sass/helpers/units/index.html +38 -8
- package/docs-dev/sass/helpers/utilities/index.html +38 -8
- package/docs-dev/sass/index.html +38 -8
- package/package.json +8 -6
- package/scss/components/_button-verbose.scss +57 -9
- package/scss/components/_card.scss +34 -18
- package/scss/components/_form-theme.scss +52 -40
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
|
-
Card
|
|
7
|
+
Card New
|
|
8
8
|
</title>
|
|
9
9
|
<meta name="description" content="Modular Sass Theming Library">
|
|
10
10
|
<meta name="generator" content="Eleventy v3.0.0">
|
|
@@ -196,6 +196,21 @@
|
|
|
196
196
|
</li>
|
|
197
197
|
|
|
198
198
|
|
|
199
|
+
<li class="nav-tree__item ">
|
|
200
|
+
|
|
201
|
+
<a class="nav-tree__link " href="/frontend/demos/button-verbose/">
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
<span class="nav-tree__text">
|
|
205
|
+
Button Verbose
|
|
206
|
+
</span>
|
|
207
|
+
|
|
208
|
+
</a>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
</li>
|
|
212
|
+
|
|
213
|
+
|
|
199
214
|
<li class="nav-tree__item ">
|
|
200
215
|
|
|
201
216
|
<a class="nav-tree__link " href="/frontend/demos/callout/">
|
|
@@ -226,13 +241,13 @@
|
|
|
226
241
|
</li>
|
|
227
242
|
|
|
228
243
|
|
|
229
|
-
<li class="nav-tree__item
|
|
244
|
+
<li class="nav-tree__item ">
|
|
230
245
|
|
|
231
|
-
<a class="nav-tree__link
|
|
246
|
+
<a class="nav-tree__link " href="/frontend/demos/card-grid/">
|
|
232
247
|
|
|
233
248
|
|
|
234
249
|
<span class="nav-tree__text">
|
|
235
|
-
Card
|
|
250
|
+
Card Grid
|
|
236
251
|
</span>
|
|
237
252
|
|
|
238
253
|
</a>
|
|
@@ -241,13 +256,13 @@
|
|
|
241
256
|
</li>
|
|
242
257
|
|
|
243
258
|
|
|
244
|
-
<li class="nav-tree__item
|
|
259
|
+
<li class="nav-tree__item is-active is-active-trail ">
|
|
245
260
|
|
|
246
|
-
<a class="nav-tree__link " href="/frontend/demos/card
|
|
261
|
+
<a class="nav-tree__link is-active is-active-trail" href="/frontend/demos/card/" aria-current="page">
|
|
247
262
|
|
|
248
263
|
|
|
249
264
|
<span class="nav-tree__text">
|
|
250
|
-
Card
|
|
265
|
+
Card New
|
|
251
266
|
</span>
|
|
252
267
|
|
|
253
268
|
</a>
|
|
@@ -2667,6 +2682,21 @@
|
|
|
2667
2682
|
</li>
|
|
2668
2683
|
|
|
2669
2684
|
|
|
2685
|
+
<li class="nav-tree__item ">
|
|
2686
|
+
|
|
2687
|
+
<a class="nav-tree__link " href="/frontend/demos/button-verbose/">
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
<span class="nav-tree__text">
|
|
2691
|
+
Button Verbose
|
|
2692
|
+
</span>
|
|
2693
|
+
|
|
2694
|
+
</a>
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
</li>
|
|
2698
|
+
|
|
2699
|
+
|
|
2670
2700
|
<li class="nav-tree__item ">
|
|
2671
2701
|
|
|
2672
2702
|
<a class="nav-tree__link " href="/frontend/demos/callout/">
|
|
@@ -2697,13 +2727,13 @@
|
|
|
2697
2727
|
</li>
|
|
2698
2728
|
|
|
2699
2729
|
|
|
2700
|
-
<li class="nav-tree__item
|
|
2730
|
+
<li class="nav-tree__item ">
|
|
2701
2731
|
|
|
2702
|
-
<a class="nav-tree__link
|
|
2732
|
+
<a class="nav-tree__link " href="/frontend/demos/card-grid/">
|
|
2703
2733
|
|
|
2704
2734
|
|
|
2705
2735
|
<span class="nav-tree__text">
|
|
2706
|
-
Card
|
|
2736
|
+
Card Grid
|
|
2707
2737
|
</span>
|
|
2708
2738
|
|
|
2709
2739
|
</a>
|
|
@@ -2712,13 +2742,13 @@
|
|
|
2712
2742
|
</li>
|
|
2713
2743
|
|
|
2714
2744
|
|
|
2715
|
-
<li class="nav-tree__item
|
|
2745
|
+
<li class="nav-tree__item is-active is-active-trail ">
|
|
2716
2746
|
|
|
2717
|
-
<a class="nav-tree__link " href="/frontend/demos/card
|
|
2747
|
+
<a class="nav-tree__link is-active is-active-trail" href="/frontend/demos/card/" aria-current="page">
|
|
2718
2748
|
|
|
2719
2749
|
|
|
2720
2750
|
<span class="nav-tree__text">
|
|
2721
|
-
Card
|
|
2751
|
+
Card New
|
|
2722
2752
|
</span>
|
|
2723
2753
|
|
|
2724
2754
|
</a>
|
|
@@ -5021,7 +5051,7 @@
|
|
|
5021
5051
|
|
|
5022
5052
|
|
|
5023
5053
|
<div class="page__body-top container ">
|
|
5024
|
-
<h1 class="page__title h1">Card</h1>
|
|
5054
|
+
<h1 class="page__title h1">Card New</h1>
|
|
5025
5055
|
|
|
5026
5056
|
<p class="type-large type-light">
|
|
5027
5057
|
Cards are...
|
|
@@ -5030,468 +5060,70 @@
|
|
|
5030
5060
|
|
|
5031
5061
|
<hr class="rule rule--light rule--margin-large">
|
|
5032
5062
|
|
|
5033
|
-
<
|
|
5034
|
-
<div
|
|
5035
|
-
<div id="icd-display" class="interactive-demo__display">
|
|
5063
|
+
<div class="live-demo" data-live-demo="">
|
|
5064
|
+
<div class="live-demo__display" data-live-demo-display="">
|
|
5036
5065
|
</div>
|
|
5037
|
-
<form
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
<select id="fieldModifier" name="fieldModifier">
|
|
5065
|
-
<option value="default" selected="">Default</option>
|
|
5066
|
-
<option value="horizontal">Horizontal</option>
|
|
5067
|
-
<option value="overlay">Overlay</option>
|
|
5068
|
-
</select>
|
|
5069
|
-
<div class="form-theme__description">Note: Overlay is not compatible with "Icon" and "No Image" options.</div>
|
|
5070
|
-
</div>
|
|
5071
|
-
<div class="form-theme__actions">
|
|
5072
|
-
<button type="button" id="icdSubmit" class="button">Refresh</button>
|
|
5073
|
-
</div>
|
|
5074
|
-
</form>
|
|
5066
|
+
<form class="live-demo__form form-theme" data-live-demo-form="">
|
|
5067
|
+
<fieldset>
|
|
5068
|
+
<legend>Elements Visible</legend>
|
|
5069
|
+
<div>
|
|
5070
|
+
<div class="form-theme__item form-theme__item--checkbox">
|
|
5071
|
+
<input type="checkbox" id="live-demo-id-141" name="title" checked="">
|
|
5072
|
+
<label for="live-demo-id-141">
|
|
5073
|
+
Title
|
|
5074
|
+
</label>
|
|
5075
|
+
</div>
|
|
5076
|
+
<div class="form-theme__item form-theme__item--checkbox">
|
|
5077
|
+
<input type="checkbox" id="live-demo-id-142" name="body" checked="">
|
|
5078
|
+
<label for="live-demo-id-142">
|
|
5079
|
+
Body
|
|
5080
|
+
</label>
|
|
5081
|
+
</div>
|
|
5082
|
+
<div class="form-theme__item form-theme__item--checkbox">
|
|
5083
|
+
<input type="checkbox" id="live-demo-id-143" name="content" checked="">
|
|
5084
|
+
<label for="live-demo-id-143">
|
|
5085
|
+
Content
|
|
5086
|
+
</label>
|
|
5087
|
+
</div>
|
|
5088
|
+
<div class="form-theme__item form-theme__item--checkbox">
|
|
5089
|
+
<input type="checkbox" id="live-demo-id-144" name="footer" checked="">
|
|
5090
|
+
<label for="live-demo-id-144">
|
|
5091
|
+
Footer
|
|
5092
|
+
</label>
|
|
5075
5093
|
</div>
|
|
5076
|
-
<!-- Note you will need to run the pageModified event after re-rendering the card, you can add the following to cause the scripts to update
|
|
5077
|
-
|
|
5078
|
-
document.dispatchEvent(new CustomEvent("ulu:pageModified", { bubbles: true })); -->
|
|
5079
|
-
<script>
|
|
5080
|
-
(() => {
|
|
5081
|
-
const display = document.getElementById("icd-display");
|
|
5082
|
-
const submit = document.getElementById("icdSubmit");
|
|
5083
|
-
const form = document.getElementById("icdForm");
|
|
5084
|
-
|
|
5085
|
-
// Run initially
|
|
5086
|
-
render();
|
|
5087
|
-
|
|
5088
|
-
// Update on submit click
|
|
5089
|
-
submit.addEventListener("click", (event) => {
|
|
5090
|
-
event.preventDefault();
|
|
5091
|
-
render();
|
|
5092
|
-
document.dispatchEvent(new CustomEvent("ulu:pageModified", { bubbles: true }));
|
|
5093
|
-
});
|
|
5094
|
-
|
|
5095
|
-
function render() {
|
|
5096
|
-
const formData = new FormData(form);
|
|
5097
|
-
const values = {};
|
|
5098
|
-
formData.forEach((value, key) => {
|
|
5099
|
-
values[key] = value;
|
|
5100
|
-
});
|
|
5101
|
-
console.log("values:\n", values);
|
|
5102
|
-
display.innerHTML = cardTemplate(values);
|
|
5103
|
-
}
|
|
5104
|
-
|
|
5105
|
-
function cardFooterBuilder(options) {
|
|
5106
|
-
if(options.fieldFooter) {
|
|
5107
|
-
return `
|
|
5108
|
-
<div class="card__footer">
|
|
5109
|
-
${ options.fieldTitle && options.fieldBody ? `<a class="button button--small" href="https://www.yahoo.com/">Footer</a>` : `Card Footer Text` }
|
|
5110
|
-
</div>
|
|
5111
|
-
`.trim();
|
|
5112
|
-
}
|
|
5113
|
-
return "";
|
|
5114
|
-
}
|
|
5115
|
-
|
|
5116
|
-
function cardImageBuilder(imageType) {
|
|
5117
|
-
if(imageType == "image") {
|
|
5118
|
-
return `
|
|
5119
|
-
<div class="card__image">
|
|
5120
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5121
|
-
</div>
|
|
5122
|
-
`.trim();
|
|
5123
|
-
} else if(imageType == "icon") {
|
|
5124
|
-
return `
|
|
5125
|
-
<div class="card__image card__image--icon">
|
|
5126
|
-
<span aria-hidden class="css-icon css-icon--circle-question"></span>
|
|
5127
|
-
</div>
|
|
5128
|
-
`.trim();
|
|
5129
|
-
}
|
|
5130
|
-
return "";
|
|
5131
|
-
}
|
|
5132
|
-
|
|
5133
|
-
function cardBodyBuilder(options) {
|
|
5134
|
-
if(options.fieldBody) {
|
|
5135
|
-
let cardContent = `<div class="card__body">`
|
|
5136
|
-
if(options.fieldTitle) {
|
|
5137
|
-
cardContent = cardContent + `
|
|
5138
|
-
<h5 class="card__title">
|
|
5139
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card Title</a>
|
|
5140
|
-
</h5>
|
|
5141
|
-
`.trim();
|
|
5142
|
-
}
|
|
5143
|
-
if(options.fieldContent) {
|
|
5144
|
-
cardContent = cardContent + `
|
|
5145
|
-
<div>
|
|
5146
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5147
|
-
</div>
|
|
5148
|
-
`.trim();
|
|
5149
|
-
}
|
|
5150
|
-
cardContent = cardContent + `</div>`
|
|
5151
|
-
return cardContent
|
|
5152
|
-
}
|
|
5153
|
-
return "";
|
|
5154
|
-
}
|
|
5155
|
-
|
|
5156
|
-
// Template for update
|
|
5157
|
-
function cardTemplate(options) {
|
|
5158
|
-
const cardOpen = `<${ options.fieldTitle && options.fieldBody ? 'article data-ulu-proxy-click' : 'a href="https://www.google.com"' } class="card card--${options.fieldModifier}">`
|
|
5159
|
-
const cardClose = (options.fieldTitle && options.fieldBody) ? '</article>' : '</a>'
|
|
5160
|
-
console.log(cardClose)
|
|
5161
|
-
return cardOpen + cardBodyBuilder(options) + cardImageBuilder(options.fieldImage) + cardFooterBuilder(options) + cardClose
|
|
5162
|
-
}
|
|
5163
|
-
})();
|
|
5164
|
-
</script>
|
|
5165
|
-
<details class="accordion">
|
|
5166
|
-
<summary class="accordion__summary">
|
|
5167
|
-
Card Default Styling
|
|
5168
|
-
<!-- The span is the icon on the side that -->
|
|
5169
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5170
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5171
|
-
</span>
|
|
5172
|
-
</summary>
|
|
5173
|
-
<div class="accordion__content">
|
|
5174
|
-
<div class="h4">All Fields</div>
|
|
5175
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5176
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5177
|
-
</h5><div>
|
|
5178
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5179
|
-
</div></div><div class="card__image ">
|
|
5180
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5181
|
-
</div><div class="card__footer">
|
|
5182
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5183
|
-
</div></article>
|
|
5184
|
-
<div class="h4">No Body (no proxy click link)</div>
|
|
5185
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__image ">
|
|
5186
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5187
|
-
</div><div class="card__footer">
|
|
5188
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5189
|
-
</div></article>
|
|
5190
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5191
|
-
<article class="card "><div class="card__body"><div>
|
|
5192
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5193
|
-
</div></div><div class="card__image ">
|
|
5194
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5195
|
-
</div><div class="card__footer">
|
|
5196
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5197
|
-
</div></article>
|
|
5198
|
-
<div class="h4">No Content</div>
|
|
5199
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5200
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5201
|
-
</h5></div><div class="card__image ">
|
|
5202
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5203
|
-
</div><div class="card__footer">
|
|
5204
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5205
|
-
</div></article>
|
|
5206
|
-
<div class="h4">No Image</div>
|
|
5207
|
-
<article class="card card--no-image" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5208
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5209
|
-
</h5><div>
|
|
5210
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5211
|
-
</div></div><div class="card__footer">
|
|
5212
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5213
|
-
</div></article>
|
|
5214
|
-
<div class="h4">No Footer</div>
|
|
5215
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5216
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5217
|
-
</h5><div>
|
|
5218
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5219
|
-
</div></div><div class="card__image ">
|
|
5220
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5221
|
-
</div></article>
|
|
5222
|
-
</div>
|
|
5223
|
-
</details>
|
|
5224
|
-
<details class="accordion">
|
|
5225
|
-
<summary class="accordion__summary">
|
|
5226
|
-
Card Image-fit Styling
|
|
5227
|
-
<!-- The span is the icon on the side that -->
|
|
5228
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5229
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5230
|
-
</span>
|
|
5231
|
-
</summary>
|
|
5232
|
-
<div class="accordion__content">
|
|
5233
|
-
<div class="h4">All Fields</div>
|
|
5234
|
-
<article class="card card--image-fit" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5235
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5236
|
-
</h5><div>
|
|
5237
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5238
|
-
</div></div><div class="card__image ">
|
|
5239
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5240
|
-
</div><div class="card__footer">
|
|
5241
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5242
|
-
</div></article>
|
|
5243
|
-
<div class="h4">No Body (no proxy click link)</div>
|
|
5244
|
-
<article class="card card--image-fit" data-ulu-proxy-click=""><div class="card__image ">
|
|
5245
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5246
|
-
</div><div class="card__footer">
|
|
5247
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5248
|
-
</div></article>
|
|
5249
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5250
|
-
<article class="card card--image-fit"><div class="card__body"><div>
|
|
5251
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5252
|
-
</div></div><div class="card__image ">
|
|
5253
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5254
|
-
</div><div class="card__footer">
|
|
5255
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5256
|
-
</div></article>
|
|
5257
|
-
<div class="h4">No Content</div>
|
|
5258
|
-
<article class="card card--image-fit" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5259
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5260
|
-
</h5></div><div class="card__image ">
|
|
5261
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5262
|
-
</div><div class="card__footer">
|
|
5263
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5264
|
-
</div></article>
|
|
5265
|
-
<div class="h4">No Image</div>
|
|
5266
|
-
<article class="card card--image-fit card--no-image" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5267
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5268
|
-
</h5><div>
|
|
5269
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5270
|
-
</div></div><div class="card__footer">
|
|
5271
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5272
|
-
</div></article>
|
|
5273
|
-
<div class="h4">No Footer</div>
|
|
5274
|
-
<article class="card card--image-fit" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5275
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5276
|
-
</h5><div>
|
|
5277
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5278
|
-
</div></div><div class="card__image ">
|
|
5279
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5280
|
-
</div></article>
|
|
5281
|
-
</div>
|
|
5282
|
-
</details>
|
|
5283
|
-
<details class="accordion">
|
|
5284
|
-
<summary class="accordion__summary">
|
|
5285
|
-
Card Icon Styling
|
|
5286
|
-
<!-- The span is the icon on the side that -->
|
|
5287
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5288
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5289
|
-
</span>
|
|
5290
|
-
</summary>
|
|
5291
|
-
<div class="accordion__content">
|
|
5292
|
-
<div class="h4">All Fields</div>
|
|
5293
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5294
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5295
|
-
</h5><div>
|
|
5296
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5297
|
-
</div></div><div class="card__image card__image--icon">
|
|
5298
|
-
<span aria-hidden="" class="css-icon css-icon--circle-question"></span>
|
|
5299
|
-
</div><div class="card__footer">
|
|
5300
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5301
|
-
</div></article>
|
|
5302
|
-
<div class="h4">No Body (no proxy click link)</div>
|
|
5303
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__image card__image--icon">
|
|
5304
|
-
<span aria-hidden="" class="css-icon css-icon--circle-question"></span>
|
|
5305
|
-
</div><div class="card__footer">
|
|
5306
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5307
|
-
</div></article>
|
|
5308
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5309
|
-
<article class="card "><div class="card__body"><div>
|
|
5310
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5311
|
-
</div></div><div class="card__image card__image--icon">
|
|
5312
|
-
<span aria-hidden="" class="css-icon css-icon--circle-question"></span>
|
|
5313
|
-
</div><div class="card__footer">
|
|
5314
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5315
|
-
</div></article>
|
|
5316
|
-
<div class="h4">No Content</div>
|
|
5317
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5318
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5319
|
-
</h5></div><div class="card__image card__image--icon">
|
|
5320
|
-
<span aria-hidden="" class="css-icon css-icon--circle-question"></span>
|
|
5321
|
-
</div><div class="card__footer">
|
|
5322
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5323
|
-
</div></article>
|
|
5324
|
-
<div class="h4">No Image</div>
|
|
5325
|
-
<article class="card card--no-image" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5326
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5327
|
-
</h5><div>
|
|
5328
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5329
|
-
</div></div><div class="card__footer">
|
|
5330
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5331
|
-
</div></article>
|
|
5332
|
-
<div class="h4">No Footer</div>
|
|
5333
|
-
<article class="card " data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5334
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5335
|
-
</h5><div>
|
|
5336
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5337
|
-
</div></div><div class="card__image card__image--icon">
|
|
5338
|
-
<span aria-hidden="" class="css-icon css-icon--circle-question"></span>
|
|
5339
|
-
</div></article>
|
|
5340
|
-
</div>
|
|
5341
|
-
</details>
|
|
5342
|
-
<details class="accordion">
|
|
5343
|
-
<summary class="accordion__summary">
|
|
5344
|
-
Card Overlay Styling
|
|
5345
|
-
<!-- The span is the icon on the side that -->
|
|
5346
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5347
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5348
|
-
</span>
|
|
5349
|
-
</summary>
|
|
5350
|
-
<div class="accordion__content">
|
|
5351
|
-
<div class="h4">All Fields</div>
|
|
5352
|
-
<article class="card card--overlay" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5353
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5354
|
-
</h5><div>
|
|
5355
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5356
|
-
</div></div><div class="card__image ">
|
|
5357
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5358
|
-
</div><div class="card__footer">
|
|
5359
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5360
|
-
</div></article>
|
|
5361
|
-
<div class="h4">No Body (no proxy click link)</div>
|
|
5362
|
-
<article class="card card--overlay" data-ulu-proxy-click=""><div class="card__image ">
|
|
5363
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5364
|
-
</div><div class="card__footer">
|
|
5365
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5366
|
-
</div></article>
|
|
5367
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5368
|
-
<article class="card card--overlay"><div class="card__body"><div>
|
|
5369
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5370
|
-
</div></div><div class="card__image ">
|
|
5371
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5372
|
-
</div><div class="card__footer">
|
|
5373
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5374
|
-
</div></article>
|
|
5375
|
-
<div class="h4">No Content</div>
|
|
5376
|
-
<article class="card card--overlay" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5377
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5378
|
-
</h5></div><div class="card__image ">
|
|
5379
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5380
|
-
</div><div class="card__footer">
|
|
5381
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5382
|
-
</div></article>
|
|
5383
|
-
<div class="h4">No Footer</div>
|
|
5384
|
-
<article class="card card--overlay" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5385
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5386
|
-
</h5><div>
|
|
5387
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5388
|
-
</div></div><div class="card__image ">
|
|
5389
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5390
|
-
</div></article>
|
|
5391
|
-
</div>
|
|
5392
|
-
</details>
|
|
5393
|
-
<details class="accordion">
|
|
5394
|
-
<summary class="accordion__summary">
|
|
5395
|
-
Card Horizontal Styling
|
|
5396
|
-
<!-- The span is the icon on the side that -->
|
|
5397
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5398
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5399
|
-
</span>
|
|
5400
|
-
</summary>
|
|
5401
|
-
<div class="accordion__content">
|
|
5402
|
-
<div class="h4">All Fields</div>
|
|
5403
|
-
<article class="card card--horizontal" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5404
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5405
|
-
</h5><div>
|
|
5406
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5407
|
-
</div></div><div class="card__image ">
|
|
5408
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5409
|
-
</div></article>
|
|
5410
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5411
|
-
<article class="card card--horizontal"><div class="card__body"><div>
|
|
5412
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5413
|
-
</div></div><div class="card__image ">
|
|
5414
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5415
|
-
</div><div class="card__footer">
|
|
5416
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5417
|
-
</div></article>
|
|
5418
|
-
<div class="h4">No Content</div>
|
|
5419
|
-
<article class="card card--horizontal" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5420
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5421
|
-
</h5></div><div class="card__image ">
|
|
5422
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5423
|
-
</div><div class="card__footer">
|
|
5424
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5425
|
-
</div></article>
|
|
5426
|
-
<div class="h4">No Image</div>
|
|
5427
|
-
<article class="card card--horizontal card--no-image" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5428
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5429
|
-
</h5><div>
|
|
5430
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5431
|
-
</div></div><div class="card__footer">
|
|
5432
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5433
|
-
</div></article>
|
|
5434
|
-
</div>
|
|
5435
|
-
</details>
|
|
5436
|
-
<details class="accordion">
|
|
5437
|
-
<summary class="accordion__summary">
|
|
5438
|
-
Card Horizontal and Image-fit Styling
|
|
5439
|
-
<!-- The span is the icon on the side that -->
|
|
5440
|
-
<span class="accordion__icon" aria-hidden="true">
|
|
5441
|
-
<span class="css-icon css-icon--plus-to-minus"></span>
|
|
5442
|
-
</span>
|
|
5443
|
-
</summary>
|
|
5444
|
-
<div class="accordion__content">
|
|
5445
|
-
<div class="h4">All Fields</div>
|
|
5446
|
-
<article class="card card--image-fit card--horizontal" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5447
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5448
|
-
</h5><div>
|
|
5449
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5450
|
-
</div></div><div class="card__image ">
|
|
5451
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5452
|
-
</div><div class="card__footer">
|
|
5453
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5454
|
-
</div></article>
|
|
5455
|
-
<div class="h4">No Body (no proxy click link)</div>
|
|
5456
|
-
<article class="card card--image-fit card--horizontal" data-ulu-proxy-click=""><div class="card__image ">
|
|
5457
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5458
|
-
</div><div class="card__footer">
|
|
5459
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5460
|
-
</div></article>
|
|
5461
|
-
<div class="h4">No Title (no proxy click link)</div>
|
|
5462
|
-
<article class="card card--image-fit card--horizontal"><div class="card__body"><div>
|
|
5463
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5464
|
-
</div></div><div class="card__image ">
|
|
5465
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5466
|
-
</div><div class="card__footer">
|
|
5467
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5468
|
-
</div></article>
|
|
5469
|
-
<div class="h4">No Content</div>
|
|
5470
|
-
<article class="card card--image-fit card--horizontal" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5471
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5472
|
-
</h5></div><div class="card__image ">
|
|
5473
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5474
|
-
</div><div class="card__footer">
|
|
5475
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5476
|
-
</div></article>
|
|
5477
|
-
<div class="h4">No Image</div>
|
|
5478
|
-
<article class="card card--w-image card--horizontal card--no-image" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5479
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5480
|
-
</h5><div>
|
|
5481
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5482
|
-
</div></div><div class="card__footer">
|
|
5483
|
-
<a class="button button--small" href="https://www.yahoo.com/">Footer</a>
|
|
5484
|
-
</div></article>
|
|
5485
|
-
<div class="h4">No Footer</div>
|
|
5486
|
-
<article class="card card--image-fit card--horizontal" data-ulu-proxy-click=""><div class="card__body"><h5 class="card__title">
|
|
5487
|
-
<a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
|
|
5488
|
-
</h5><div>
|
|
5489
|
-
This is the card content. It can contain around 2-3 sentences.
|
|
5490
|
-
</div></div><div class="card__image ">
|
|
5491
|
-
<img src="/frontend/assets/placeholder/image-1.jpg">
|
|
5492
|
-
</div></article>
|
|
5493
5094
|
</div>
|
|
5494
|
-
</
|
|
5095
|
+
</fieldset>
|
|
5096
|
+
<div class="form-theme__item form-theme__item--select">
|
|
5097
|
+
<label for="live-demo-id-145">
|
|
5098
|
+
Action
|
|
5099
|
+
<span class="fas fa-info-circle" data-ulu-tooltip="Proxy click only works when title is present"></span>
|
|
5100
|
+
</label>
|
|
5101
|
+
<select id="live-demo-id-145" name="action">
|
|
5102
|
+
<option value="">None</option>,<option value="link">Card is Link</option>,<option value="proxy">Proxy Click</option>
|
|
5103
|
+
</select>
|
|
5104
|
+
</div>
|
|
5105
|
+
<div class="form-theme__item form-theme__item--select">
|
|
5106
|
+
<label for="live-demo-id-146">
|
|
5107
|
+
Media
|
|
5108
|
+
</label>
|
|
5109
|
+
<select id="live-demo-id-146" name="media">
|
|
5110
|
+
<option value="icon">Icon</option>,<option value="image">Image</option>,<option value="imageFit">Image (fit)</option>,<option value="none">No Image</option>
|
|
5111
|
+
</select>
|
|
5112
|
+
</div>
|
|
5113
|
+
<div class="form-theme__item form-theme__item--select">
|
|
5114
|
+
<label for="live-demo-id-147">
|
|
5115
|
+
Layout
|
|
5116
|
+
<span class="fas fa-info-circle" data-ulu-tooltip="Overlay is not compatible with 'Icon' and 'No Image' options"></span>
|
|
5117
|
+
</label>
|
|
5118
|
+
<select id="live-demo-id-147" name="layout">
|
|
5119
|
+
<option value="">Default</option>,<option value="horizontal">Horizontal</option>,<option value="overlay">Overlay</option>
|
|
5120
|
+
</select>
|
|
5121
|
+
</div>
|
|
5122
|
+
</form>
|
|
5123
|
+
<script type="application/json" data-live-demo-options="">
|
|
5124
|
+
{"debug":false,"template":"{% set hasProxy = action == \"proxy\" %}\n{% set isLink = action == \"link\" %}\n{% set hasImage = media == \"image\" or media == \"imageFit\" %}\n{% set element = isLink ? \"a\" : \"article\" %}\n{% set classes = [\n \"card\",\n layout ? \"card--\" ~ layout : \"\",\n media == \"imageFit\" ? \"card--image-fit\" : \"\"\n] %}\n\n<{{ element }} \n class=\"{{ classes|join(' ') }}\"\n {{ hasProxy ? \"data-ulu-proxy-click\" }}\n {{ isLink ? \"href='https://www.google.com'\" }}\n>\n {% if body %}\n <div class=\"card__body\">\n {% if title %}\n <h5 class=\"card__title\">\n {# If link don't nest link (no link title) #}\n {% if isLink %}\n Card Title\n {% else %}\n <a \n class=\"card__title-link\" \n href=\"https://www.google.com\" \n {{ hasProxy ? \"data-ulu-proxy-click-source\" }}\n >\n Card Title\n </a>\n {% endif %}\n </h5>\n {% endif %}\n {% if content %}\n <div>\n This is the card content. It can contain around 2-3 sentences.\n </div>\n {% endif %}\n </div>\n {% endif %}\n\n {% if hasImage %}\n <div class=\"card__image\">\n <img src=\"/frontend/assets/placeholder/image-1.jpg\">\n </div>\n {% endif %}\n\n {% if media == \"icon\" %}\n <div class=\"card__image card__image--icon\">\n <img src=\"/frontend/assets/placeholder/icon-calendar.svg\" width=\"150\" height=\"150\">\n </div>\n {% endif %}\n\n {% if footer %}\n <div class=\"card__footer\">\n {# If link don't nest link (no link title) #}\n {% if isLink %}\n Card Footer Text\n {% else %}\n <a class=\"button button--small\" href=\"https://www.yahoo.com/\">Footer</a>\n {% endif %}\n </div>\n {% endif %}\n</{{ element }}>"}
|
|
5125
|
+
</script>
|
|
5126
|
+
</div>
|
|
5495
5127
|
|
|
5496
5128
|
</div>
|
|
5497
5129
|
|