@birdycom/omniaui 0.12.6 → 0.14.0
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/bin/lib/copy-js.mjs +5 -1
- package/dist/components.css +1194 -45
- package/dist/components.min.css +1 -1
- package/dist/contact-form.d.ts +5 -0
- package/dist/contact-form.js +138 -0
- package/dist/fly.d.ts +4 -0
- package/dist/fly.js +80 -0
- package/dist/form-extras.d.ts +3 -1
- package/dist/form-extras.js +21 -3
- package/dist/oc-theme.css +3 -1
- package/dist/particles.d.ts +14 -0
- package/dist/particles.js +133 -0
- package/dist/parts/app-accordion-accent.css +18 -1
- package/dist/parts/app-callout.css +20 -0
- package/dist/parts/app-group.css +36 -0
- package/dist/parts/app-result.css +39 -0
- package/dist/parts/data-graph.css +132 -0
- package/dist/parts/data-meter-row.css +56 -3
- package/dist/parts/data-reading.css +26 -0
- package/dist/parts/forms-form.css +76 -0
- package/dist/parts/forms-language-select.css +18 -0
- package/dist/parts/media-lightbox.css +4 -0
- package/dist/parts/nav-menu-static.css +50 -0
- package/dist/parts/site-backgrounds.css +68 -0
- package/dist/parts/site-base.css +33 -0
- package/dist/parts/site-brand-mark.css +56 -0
- package/dist/parts/site-cards.css +184 -0
- package/dist/parts/site-fly.css +40 -0
- package/dist/parts/site-layout.css +69 -0
- package/dist/parts/site-neon.css +33 -0
- package/dist/parts/site-panel.css +29 -0
- package/dist/parts/site-prose.css +12 -0
- package/dist/parts/utility-hover.css +44 -0
- package/dist/showcase.css +83 -19
- package/manifest.json +136 -0
- package/package.json +5 -2
- package/snippets/accordion-accent.html +22 -0
- package/snippets/backgrounds.html +18 -0
- package/snippets/brand-mark.html +41 -0
- package/snippets/callout.html +17 -0
- package/snippets/feature-card.html +52 -0
- package/snippets/fly-in.html +30 -0
- package/snippets/graph.html +41 -0
- package/snippets/group.html +34 -0
- package/snippets/hover-effects.html +19 -0
- package/snippets/icon-list.html +28 -0
- package/snippets/language-select.html +11 -0
- package/snippets/lazy.html +7 -7
- package/snippets/menu-static.html +36 -0
- package/snippets/meter-row.html +22 -0
- package/snippets/name-card.html +4 -4
- package/snippets/neon.html +18 -0
- package/snippets/page-sections.html +50 -0
- package/snippets/panel.html +18 -0
- package/snippets/particle-field.html +14 -0
- package/snippets/reading.html +25 -0
- package/snippets/result.html +31 -0
- package/snippets/ribbon.html +8 -8
- package/snippets/shot-grid.html +27 -0
package/snippets/meter-row.html
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
data-level="warn" / "critical": Orange / red bar (and a red value at critical). Without it the bar is green.
|
|
7
7
|
.oc-meter-row__bar[role=meter]: The bar; give it aria-valuenow and a label for screen readers.
|
|
8
8
|
.oc-meter-list (--compact): A stack of rows; --compact for a small widget.
|
|
9
|
+
.oc-meter-list--dense: Tighter rows with a 5px bar and a 0.8rem label, for a tray window.
|
|
10
|
+
.oc-meter-row__sub: Muted second line under the bar; .oc-meter-row__subbar: its thin bar (--oc-meter, data-level).
|
|
11
|
+
.oc-meter-row__fill: Optional fill element inside a bar or sub-bar; patch its inline inline-size in place.
|
|
9
12
|
-->
|
|
10
13
|
<div class="oc-meter-list" style="inline-size:min(100%,28rem)">
|
|
11
14
|
<div class="oc-meter-row" style="--oc-meter: 62%">
|
|
@@ -27,3 +30,22 @@
|
|
|
27
30
|
<span class="oc-meter-row__reset"><iconify-icon icon="mdi:timer-sand" aria-hidden="true"></iconify-icon>Upgrade or clean up to keep syncing</span>
|
|
28
31
|
</div>
|
|
29
32
|
</div>
|
|
33
|
+
<div class="oc-meter-list oc-meter-list--dense" style="inline-size:min(100%,24rem)">
|
|
34
|
+
<div class="oc-meter-row" style="--oc-meter: 34%">
|
|
35
|
+
<span class="oc-meter-row__label">CPU</span>
|
|
36
|
+
<span class="oc-meter-row__value"><strong>34%</strong><span class="oc-reading">52 °C</span></span>
|
|
37
|
+
<span class="oc-meter-row__bar" role="meter" aria-label="CPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="34"></span>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="oc-meter-row" data-level="warn" style="--oc-meter: 81%">
|
|
40
|
+
<span class="oc-meter-row__label">GPU</span>
|
|
41
|
+
<span class="oc-meter-row__value"><strong>81%</strong><span class="oc-reading oc-reading--warm">74 °C</span></span>
|
|
42
|
+
<span class="oc-meter-row__bar" role="meter" aria-label="GPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="81"></span>
|
|
43
|
+
<span class="oc-meter-row__sub">VRAM 2.7 / 8.0 GB<span class="oc-meter-row__subbar" style="--oc-meter: 34%"></span></span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="oc-meter-row" style="--oc-meter: 58%">
|
|
46
|
+
<span class="oc-meter-row__label">Memory</span>
|
|
47
|
+
<span class="oc-meter-row__value"><strong>58%</strong> · 18.6 / 32 GB</span>
|
|
48
|
+
<span class="oc-meter-row__bar" role="meter" aria-label="Memory" aria-valuemin="0" aria-valuemax="100" aria-valuenow="58"><span class="oc-meter-row__fill" style="inline-size: 58%"></span></span>
|
|
49
|
+
<span class="oc-meter-row__sub">Swap 1.2 / 4 GB<span class="oc-meter-row__subbar"><span class="oc-meter-row__fill" style="inline-size: 30%"></span></span></span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
package/snippets/name-card.html
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<span class="oc-name-card__actions"><button type="button" class="oc-btn oc-btn--soft-destructive oc-btn--icon oc-btn--sm" aria-label="Delete Base cabinets" title="Delete"><iconify-icon icon="mdi:trash-can-outline" aria-hidden="true"></iconify-icon></button></span>
|
|
29
29
|
</summary>
|
|
30
30
|
<div class="oc-name-card__body">
|
|
31
|
-
<p class="m-0 text-muted">6 articles · 2 options</p>
|
|
31
|
+
<p class="m-0 oc-text-muted">6 articles · 2 options</p>
|
|
32
32
|
</div>
|
|
33
33
|
</details>
|
|
34
34
|
<details class="oc-name-card">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<span class="oc-name-card__actions"><button type="button" class="oc-btn oc-btn--soft-destructive oc-btn--icon oc-btn--sm" aria-label="Delete Wall cabinets" title="Delete"><iconify-icon icon="mdi:trash-can-outline" aria-hidden="true"></iconify-icon></button></span>
|
|
41
41
|
</summary>
|
|
42
42
|
<div class="oc-name-card__body">
|
|
43
|
-
<p class="m-0 text-muted">4 articles</p>
|
|
43
|
+
<p class="m-0 oc-text-muted">4 articles</p>
|
|
44
44
|
</div>
|
|
45
45
|
</details>
|
|
46
46
|
<details class="oc-name-card">
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<span class="oc-name-card__actions"><button type="button" class="oc-btn oc-btn--soft-destructive oc-btn--icon oc-btn--sm" aria-label="Delete Worktop" title="Delete"><iconify-icon icon="mdi:trash-can-outline" aria-hidden="true"></iconify-icon></button></span>
|
|
53
53
|
</summary>
|
|
54
54
|
<div class="oc-name-card__body">
|
|
55
|
-
<p class="m-0 text-muted">1 article · cut to size</p>
|
|
55
|
+
<p class="m-0 oc-text-muted">1 article · cut to size</p>
|
|
56
56
|
</div>
|
|
57
57
|
</details>
|
|
58
58
|
</div>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<span class="oc-name-card__actions"><button type="button" class="oc-btn oc-btn--soft-destructive oc-btn--icon oc-btn--sm" aria-label="Delete Bathroom – first floor" title="Delete"><iconify-icon icon="mdi:trash-can-outline" aria-hidden="true"></iconify-icon></button></span>
|
|
67
67
|
</summary>
|
|
68
68
|
<div class="oc-name-card__body">
|
|
69
|
-
<p class="m-0 text-muted">Add a part with the button below.</p>
|
|
69
|
+
<p class="m-0 oc-text-muted">Add a part with the button below.</p>
|
|
70
70
|
</div>
|
|
71
71
|
</details>
|
|
72
72
|
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- OmniaUI component: neon - A border that glows from one accent color to the other, and a button with a neon gradient. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/neon.html | Map: glowing form -> other colors.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-glow-border: Border and glow move from --oc-accent-from to --oc-accent-to and back (3s); works on any element with a border, glass included.
|
|
5
|
+
--oc-glow-border-duration: Length of one round (3s).
|
|
6
|
+
.oc-btn--neon: Gradient from one accent to the other with a glow, bold with a little letter spacing; muted when disabled.
|
|
7
|
+
--oc-btn-neon-ink: Text color on the gradient (white in light mode, near black in dark mode).
|
|
8
|
+
-->
|
|
9
|
+
<form class="oc-card oc-glow-border" style="display:grid;gap:0.75rem;padding:1.25rem;inline-size:min(100%,24rem)" onsubmit="return false">
|
|
10
|
+
<label class="oc-field"><span class="oc-field-label">Email address</span><input class="oc-input" type="email" placeholder="info@company1.example"></label>
|
|
11
|
+
<button type="submit" class="oc-btn oc-btn--neon">START SCAN</button>
|
|
12
|
+
</form>
|
|
13
|
+
<div style="display:flex;flex-wrap:wrap;gap:1rem;align-items:center">
|
|
14
|
+
<button type="button" class="oc-btn oc-btn--neon oc-accent--green">Green</button>
|
|
15
|
+
<button type="button" class="oc-btn oc-btn--neon oc-accent--orange">Orange</button>
|
|
16
|
+
<button type="button" class="oc-btn oc-btn--neon" disabled>Disabled</button>
|
|
17
|
+
<div class="oc-card oc-glow-border oc-accent--violet" style="padding:1rem 1.25rem">Violet border</div>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!-- OmniaUI component: page-sections - Building blocks for the pages of a company site: the header of an inner page, a section head, a row of buttons, a group title with a count, a full-width band and a meta line. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/page-sections.html | Map: inner page header -> section head, group title and more row -> centered head and buttons.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-section-pad--page: Header of an inner page: padding clamp(4rem, 10vw, 7rem) on top, clamp(2rem, 5vw, 3rem) below.
|
|
5
|
+
.oc-display--page: Larger display title for that header: clamp(2.5rem, 6.5vw, 4.75rem).
|
|
6
|
+
.oc-section-head: Head of a section (eyebrow, title, lead): max 46rem, 3rem below. --center centers it.
|
|
7
|
+
.oc-section-more: Row under a section (a <em>see all</em> link): 2.5rem above.
|
|
8
|
+
.oc-actions: Row of buttons that wraps: gap .75rem, 2rem above. --center, --end, --tight (1rem above).
|
|
9
|
+
.oc-group-title: Title of a group of cards; .oc-group-title__count is the number in a pill.
|
|
10
|
+
.oc-band: Band over the full width with a line above and below (--oc-band-bg, surface); the content stays in its .oc-container.
|
|
11
|
+
.oc-meta: Meta line under a title: version · date. Subtle text (--oc-subtle-foreground), 0.9rem.
|
|
12
|
+
-->
|
|
13
|
+
<section class="oc-section-pad--page" style="inline-size:100%">
|
|
14
|
+
<div class="oc-container">
|
|
15
|
+
<p class="oc-eyebrow">Contact</p>
|
|
16
|
+
<h1 class="oc-display oc-display--page">Let's <span class="oc-text-gradient">talk</span></h1>
|
|
17
|
+
<p class="oc-lead">A new project, a question about one of our apps or help with your IT? We would like to hear from you.</p>
|
|
18
|
+
<p class="oc-meta">Version 2 · 30 October 2026</p>
|
|
19
|
+
<div class="oc-actions">
|
|
20
|
+
<a class="oc-btn oc-btn--lg" href="#form">Send a message</a>
|
|
21
|
+
<a class="oc-btn oc-btn--outline oc-btn--lg" href="tel:+3230000000">Call us</a>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</section>
|
|
25
|
+
<section style="inline-size:100%">
|
|
26
|
+
<div class="oc-section-head">
|
|
27
|
+
<p class="oc-eyebrow">Software</p>
|
|
28
|
+
<h2 class="oc-display oc-display--md">Our own products</h2>
|
|
29
|
+
<p class="oc-lead">Apps we build, sell and maintain ourselves.</p>
|
|
30
|
+
</div>
|
|
31
|
+
<h3 class="oc-group-title">Business apps <span class="oc-group-title__count">3</span></h3>
|
|
32
|
+
<div class="oc-card-grid">
|
|
33
|
+
<div class="oc-card" style="padding:1.25rem">Product 1</div>
|
|
34
|
+
<div class="oc-card" style="padding:1.25rem">Product 2</div>
|
|
35
|
+
<div class="oc-card" style="padding:1.25rem">Product 3</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="oc-section-more">
|
|
38
|
+
<a class="oc-link-arrow" href="#products">See all products</a>
|
|
39
|
+
</div>
|
|
40
|
+
</section>
|
|
41
|
+
<section style="inline-size:100%">
|
|
42
|
+
<div class="oc-section-head oc-section-head--center">
|
|
43
|
+
<h2 class="oc-display oc-display--md">Ready for the next step?</h2>
|
|
44
|
+
<p class="oc-lead" style="margin-inline:auto">Tell us what you need; we answer within one working day.</p>
|
|
45
|
+
<div class="oc-actions oc-actions--center">
|
|
46
|
+
<a class="oc-btn oc-btn--lg" href="#contact">Start a project</a>
|
|
47
|
+
<a class="oc-btn oc-btn--ghost oc-btn--lg" href="#work">See our work</a>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</section>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- OmniaUI component: panel - A framed panel on the page for a form, a call to action or a feature: card background, strong border, large radius and an optional soft glow in a corner. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/panel.html | Map: panel with a glow -> glow positions.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-panel: The panel: padding clamp(1.5rem, 4vw, 2.5rem) (--oc-panel-padding), --oc-border-strong, radius 1.2 × --oc-radius-lg, scroll-margin-top from --oc-scroll-offset (6rem).
|
|
5
|
+
.oc-panel--glow: A soft light in the top start corner in --oc-panel-glow-color (brand 1); --oc-panel-glow-at moves it.
|
|
6
|
+
.oc-panel--glow-end: The light in the top end corner.
|
|
7
|
+
.oc-panel--glow-both: Two lights: brand 1 top start and brand 3 bottom end (call to action).
|
|
8
|
+
-->
|
|
9
|
+
<div class="oc-panel oc-panel--glow" style="inline-size:min(100%, 34rem)">
|
|
10
|
+
<h2 style="margin:0 0 0.5rem;font-size:1.35rem">Send us a message</h2>
|
|
11
|
+
<p class="oc-text-muted" style="margin:0">We usually answer within one working day.</p>
|
|
12
|
+
</div>
|
|
13
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem;inline-size:100%">
|
|
14
|
+
<div class="oc-panel"><strong>.oc-panel</strong><p class="oc-text-muted" style="margin:0.35rem 0 0">No light.</p></div>
|
|
15
|
+
<div class="oc-panel oc-panel--glow"><strong>--glow</strong><p class="oc-text-muted" style="margin:0.35rem 0 0">Top start.</p></div>
|
|
16
|
+
<div class="oc-panel oc-panel--glow oc-panel--glow-end"><strong>--glow-end</strong><p class="oc-text-muted" style="margin:0.35rem 0 0">Top end.</p></div>
|
|
17
|
+
<div class="oc-panel oc-panel--glow-both"><strong>--glow-both</strong><p class="oc-text-muted" style="margin:0.35rem 0 0">Two lights.</p></div>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- OmniaUI component: particle-field - A background canvas with slowly drifting points and thin lines between points that are close together. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/particle-field.html | Map: behind a hero.
|
|
3
|
+
Behaviour: particles.js (npx omniaui copy-js particles); works without it.
|
|
4
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
5
|
+
canvas.oc-particles: Fixed behind the page (z-index -1). color = points and lines, border-color = a second point color.
|
|
6
|
+
.oc-particles--local: Fills a positioned parent instead of the viewport.
|
|
7
|
+
data-count / data-speed / data-link: Number of points (110), drift speed (0.35) and the line distance in px (115).
|
|
8
|
+
initParticles(canvas, options): From @birdycom/omniaui/particles.js; returns a stop function.
|
|
9
|
+
-->
|
|
10
|
+
<div style="position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;align-content:center;gap:0.5rem;min-block-size:18rem;inline-size:100%;border-radius:var(--oc-radius);background:var(--oc-card)">
|
|
11
|
+
<canvas class="oc-particles oc-particles--local" data-count="70" aria-hidden="true"></canvas>
|
|
12
|
+
<p style="margin:0;font-size:1.6rem;font-weight:800">See what is out there</p>
|
|
13
|
+
<p style="margin:0;color:var(--oc-muted-foreground)">Points and lines in the accent colors.</p>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- OmniaUI component: reading - A small measured value next to another value, such as a temperature, with a cool, warm or hot level. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/reading.html | Map: three levels -> in a meter row.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-reading: The pill: small, bold, tabular numbers, muted by default.
|
|
5
|
+
.oc-reading--cool / --warm / --hot: Muted, warning or destructive color.
|
|
6
|
+
--oc-reading-color: Any other color token.
|
|
7
|
+
.oc-meter-row__value .oc-reading: Inside the value of a meter row it gets a little room on its left.
|
|
8
|
+
-->
|
|
9
|
+
<div style="display:flex;flex-wrap:wrap;gap:0.75rem;align-items:center">
|
|
10
|
+
<span class="oc-reading">41 °C</span>
|
|
11
|
+
<span class="oc-reading oc-reading--warm">72 °C</span>
|
|
12
|
+
<span class="oc-reading oc-reading--hot">88 °C</span>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="oc-meter-list" style="inline-size:min(100%,26rem)">
|
|
15
|
+
<div class="oc-meter-row" style="--oc-meter: 38%">
|
|
16
|
+
<span class="oc-meter-row__label">CPU</span>
|
|
17
|
+
<span class="oc-meter-row__value"><strong>38%</strong><span class="oc-reading">57 °C</span></span>
|
|
18
|
+
<span class="oc-meter-row__bar" role="meter" aria-label="CPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="38"></span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-meter-row" data-level="warn" style="--oc-meter: 84%">
|
|
21
|
+
<span class="oc-meter-row__label">GPU</span>
|
|
22
|
+
<span class="oc-meter-row__value"><strong>84%</strong><span class="oc-reading oc-reading--hot">86 °C</span></span>
|
|
23
|
+
<span class="oc-meter-row__bar" role="meter" aria-label="GPU" aria-valuemin="0" aria-valuemax="100" aria-valuenow="84"></span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- OmniaUI component: result - The outcome of an action in the place where the form was: an icon tile, a title, a short text and a button such as Send another message. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/result.html | Map: message sent -> centered.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-result: The result: tile, title, text and actions stacked, aligned at the start.
|
|
5
|
+
.oc-result__title: The title (1.2rem).
|
|
6
|
+
.oc-result__text: Muted text; links in the primary color, underlined.
|
|
7
|
+
.oc-result__actions: Row of buttons under the text.
|
|
8
|
+
.oc-result--center: Centers everything (an empty state or a full page).
|
|
9
|
+
role="status" tabindex="-1": Announces the result and lets the script move the focus to it.
|
|
10
|
+
-->
|
|
11
|
+
<div class="oc-panel" style="inline-size:min(100%, 34rem)">
|
|
12
|
+
<div class="oc-result" role="status" tabindex="-1">
|
|
13
|
+
<span class="oc-icon-tile oc-icon-tile--sm oc-accent--green" aria-hidden="true"><iconify-icon icon="mdi:check"></iconify-icon></span>
|
|
14
|
+
<h2 class="oc-result__title">Thank you, your message was sent</h2>
|
|
15
|
+
<p class="oc-result__text">You will get a confirmation by e-mail.<br>Urgent? Call us on <a href="tel:+3230000000">+32 3 000 00 00</a>.</p>
|
|
16
|
+
<div class="oc-result__actions">
|
|
17
|
+
<a class="oc-btn oc-btn--outline" href="#contact-form">Send another message</a>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="oc-panel" style="inline-size:min(100%, 34rem)">
|
|
22
|
+
<div class="oc-result oc-result--center" role="status" tabindex="-1">
|
|
23
|
+
<span class="oc-icon-tile oc-icon-tile--sm oc-accent--orange" aria-hidden="true"><iconify-icon icon="mdi:clock-outline"></iconify-icon></span>
|
|
24
|
+
<h2 class="oc-result__title">Your request is waiting for approval</h2>
|
|
25
|
+
<p class="oc-result__text">Customer 1 gets an e-mail as soon as it is approved.</p>
|
|
26
|
+
<div class="oc-result__actions">
|
|
27
|
+
<a class="oc-btn" href="#orders">Back to the orders</a>
|
|
28
|
+
<a class="oc-btn oc-btn--ghost" href="#request">View the request</a>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
package/snippets/ribbon.html
CHANGED
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:1rem;inline-size:100%">
|
|
12
12
|
<div class="oc-card" style="min-block-size:9rem;display:grid;place-items:center;text-align:center">
|
|
13
13
|
<span class="oc-ribbon oc-ribbon--top-start">New</span>
|
|
14
|
-
<div><strong>Top start</strong><br><small class="text-muted">--top-start</small></div>
|
|
14
|
+
<div><strong>Top start</strong><br><small class="oc-text-muted">--top-start</small></div>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="oc-card" style="min-block-size:9rem;display:grid;place-items:center;text-align:center">
|
|
17
17
|
<span class="oc-ribbon oc-ribbon--success">Paid</span>
|
|
18
|
-
<div><strong>Top end</strong><br><small class="text-muted">default</small></div>
|
|
18
|
+
<div><strong>Top end</strong><br><small class="oc-text-muted">default</small></div>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="oc-card" style="min-block-size:9rem;display:grid;place-items:center;text-align:center">
|
|
21
21
|
<span class="oc-ribbon oc-ribbon--bottom-start oc-ribbon--warning">Due soon</span>
|
|
22
|
-
<div><strong>Bottom start</strong><br><small class="text-muted">--bottom-start</small></div>
|
|
22
|
+
<div><strong>Bottom start</strong><br><small class="oc-text-muted">--bottom-start</small></div>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="oc-card" style="min-block-size:9rem;display:grid;place-items:center;text-align:center">
|
|
25
25
|
<span class="oc-ribbon oc-ribbon--bottom-end oc-ribbon--destructive">Overdue</span>
|
|
26
|
-
<div><strong>Bottom end</strong><br><small class="text-muted">--bottom-end</small></div>
|
|
26
|
+
<div><strong>Bottom end</strong><br><small class="oc-text-muted">--bottom-end</small></div>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
29
|
<article class="oc-card" style="max-inline-size:30rem;inline-size:100%;padding:1.5rem;display:grid;gap:1rem">
|
|
30
30
|
<span class="oc-ribbon oc-ribbon--success oc-ribbon--lg">Paid</span>
|
|
31
31
|
<header style="display:grid;gap:0.25rem">
|
|
32
|
-
<span class="text-muted" style="font-size:0.8125rem">Invoice</span>
|
|
32
|
+
<span class="oc-text-muted" style="font-size:0.8125rem">Invoice</span>
|
|
33
33
|
<strong style="font-size:1.25rem">2026-0042</strong>
|
|
34
34
|
<span style="font-size:0.875rem">Customer 1 · info@company1.example</span>
|
|
35
35
|
</header>
|
|
36
36
|
<dl style="display:grid;grid-template-columns:auto 1fr;gap:0.25rem 1rem;margin:0;font-size:0.875rem">
|
|
37
|
-
<dt class="text-muted">Invoice date</dt><dd style="margin:0">2 November 2026</dd>
|
|
38
|
-
<dt class="text-muted">Paid on</dt><dd style="margin:0">9 November 2026</dd>
|
|
39
|
-
<dt class="text-muted">Total</dt><dd style="margin:0"><strong>€ 1.210,00</strong></dd>
|
|
37
|
+
<dt class="oc-text-muted">Invoice date</dt><dd style="margin:0">2 November 2026</dd>
|
|
38
|
+
<dt class="oc-text-muted">Paid on</dt><dd style="margin:0">9 November 2026</dd>
|
|
39
|
+
<dt class="oc-text-muted">Total</dt><dd style="margin:0"><strong>€ 1.210,00</strong></dd>
|
|
40
40
|
</dl>
|
|
41
41
|
</article>
|
|
42
42
|
<div style="display:flex;flex-wrap:wrap;gap:1rem">
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!-- OmniaUI component: shot-grid - A grid of screenshots with a caption that open in the lightbox, and a browser frame with a glow in the accent color and a product mark on it. Needs @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/ui/snippets/shot-grid.html | Map: screenshots -> browser frame with a glow.
|
|
3
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
4
|
+
.oc-shot-grid: Auto-fit grid; --oc-shot-min is the minimum column width (18rem).
|
|
5
|
+
.oc-shot: Figure: image (or picture) with object-fit: contain, --oc-shot-ratio (16 / 10), caption under it; a link or button around the image shows a zoom cursor.
|
|
6
|
+
.oc-browser-frame--glow: Browser frame with a shadow in --oc-accent-from; the screenshot zooms in a little on hover.
|
|
7
|
+
.oc-browser-frame__mark: A product mark or tile on the bottom end corner of the frame.
|
|
8
|
+
-->
|
|
9
|
+
<div class="oc-shot-grid" style="inline-size:100%">
|
|
10
|
+
<figure class="oc-shot">
|
|
11
|
+
<a href="/img/blocks/dashboard-01.jpg"><img src="/img/blocks/dashboard-01.jpg" alt="Dashboard" loading="lazy" width="640" height="400"></a>
|
|
12
|
+
<figcaption>Dashboard with the figures of the day</figcaption>
|
|
13
|
+
</figure>
|
|
14
|
+
<figure class="oc-shot">
|
|
15
|
+
<a href="/img/blocks/data-table.jpg"><img src="/img/blocks/data-table.jpg" alt="Customer list" loading="lazy" width="640" height="400"></a>
|
|
16
|
+
<figcaption>Customer list with filters</figcaption>
|
|
17
|
+
</figure>
|
|
18
|
+
<figure class="oc-shot">
|
|
19
|
+
<a href="/img/blocks/product-detail.jpg"><img src="/img/blocks/product-detail.jpg" alt="Product page" loading="lazy" width="640" height="400"></a>
|
|
20
|
+
<figcaption>Product page with stock and documents</figcaption>
|
|
21
|
+
</figure>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="oc-browser-frame oc-browser-frame--glow oc-accent--green" style="inline-size:min(100%, 34rem)">
|
|
24
|
+
<div class="oc-browser-frame__bar"><i></i><i></i><i></i></div>
|
|
25
|
+
<img class="oc-browser-frame__body" src="/img/blocks/dashboard-01.jpg" alt="Dashboard of Product 1" width="640" height="400">
|
|
26
|
+
<span class="oc-browser-frame__mark oc-icon-tile oc-icon-tile--lg oc-accent--green" aria-hidden="true"><iconify-icon icon="mdi:chart-box-outline"></iconify-icon></span>
|
|
27
|
+
</div>
|