@birdycom/omniaui-blocks 0.11.0 → 0.11.2
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/LICENSE +21 -21
- package/README.md +10 -10
- package/blocks/about-timeline.html +23 -23
- package/blocks/app-header.html +32 -32
- package/blocks/app-shell.html +84 -84
- package/blocks/auth-split.html +45 -45
- package/blocks/auth.html +21 -21
- package/blocks/contact-grid.html +38 -38
- package/blocks/cta.html +8 -8
- package/blocks/data-table.html +111 -111
- package/blocks/faq.html +33 -33
- package/blocks/features.html +18 -18
- package/blocks/footer.html +41 -41
- package/blocks/forgot-password.html +34 -34
- package/blocks/form-page.html +28 -28
- package/blocks/hero-code.html +27 -27
- package/blocks/hero-orbit.html +38 -38
- package/blocks/hero-split.html +12 -12
- package/blocks/hero.html +10 -10
- package/blocks/login-01.html +41 -41
- package/blocks/login-02.html +55 -55
- package/blocks/login-03.html +47 -47
- package/blocks/module-header.html +24 -24
- package/blocks/otp-01.html +36 -36
- package/blocks/otp-02.html +46 -46
- package/blocks/page-hero.html +10 -10
- package/blocks/portfolio-grid.html +31 -31
- package/blocks/pricing.html +42 -42
- package/blocks/process.html +19 -19
- package/blocks/product-grid.html +37 -37
- package/blocks/profile-header.html +27 -27
- package/blocks/reset-password.html +45 -45
- package/blocks/showcase.html +27 -27
- package/blocks/sidebar-01.html +56 -56
- package/blocks/sidebar-02.html +55 -55
- package/blocks/sidebar-03.html +53 -53
- package/blocks/sidebar-04.html +56 -56
- package/blocks/sidebar-05.html +68 -68
- package/blocks/signup-01.html +53 -53
- package/blocks/signup-02.html +56 -56
- package/blocks/site-footer.html +39 -39
- package/blocks/site-header.html +14 -14
- package/blocks/spotlight.html +22 -22
- package/blocks/stats-counter.html +15 -15
- package/blocks/stats.html +19 -19
- package/blocks/team-list.html +30 -30
- package/blocks/two-factor.html +33 -33
- package/blocks/wizard-dialog.html +36 -36
- package/dist/blocks.css +371 -343
- package/dist/blocks.min.css +1 -1
- package/dist/parts/site-about-timeline.css +61 -61
- package/dist/parts/site-contact-grid.css +58 -58
- package/dist/parts/site-faq.css +52 -52
- package/dist/parts/site-hero-orbit.css +62 -62
- package/dist/parts/site-portfolio-grid.css +23 -23
- package/dist/parts/site-profile-header.css +77 -77
- package/package.json +55 -55
package/blocks/showcase.html
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<!-- OmniaUI block: showcase — Portfolio grid: project cards with a browser frame around the screenshot. Needs @birdycom/omniaui. -->
|
|
2
|
-
<section class="oc-section-pad">
|
|
3
|
-
<div class="oc-container">
|
|
4
|
-
<p class="oc-eyebrow">Work</p>
|
|
5
|
-
<h2 class="oc-display oc-display--md">Websites made to measure. <span class="oc-text-gradient">Different for every client.</span></h2>
|
|
6
|
-
<div class="oc-card-grid" style="--oc-card-min: 26rem;">
|
|
7
|
-
<a class="oc-product-card oc-accent--green p-0 overflow-hidden" href="#">
|
|
8
|
-
<span class="oc-browser-frame m-1"><span class="oc-browser-frame__bar"><i></i><i></i><i></i></span><span class="oc-browser-frame__body" style="background: linear-gradient(135deg, var(--color-green-40), var(--color-teal-80));"></span></span>
|
|
9
|
-
<span class="grid gap-0.5 p-1.5 pt-0">
|
|
10
|
-
<span class="oc-pill oc-pill--accent">Website with CMS</span>
|
|
11
|
-
<span class="oc-product-card__name">Verdavita</span>
|
|
12
|
-
<span class="oc-product-card__summary">Garden design and maintenance</span>
|
|
13
|
-
<span class="oc-product-card__more">View the project</span>
|
|
14
|
-
</span>
|
|
15
|
-
</a>
|
|
16
|
-
<a class="oc-product-card oc-accent--blue p-0 overflow-hidden" href="#">
|
|
17
|
-
<span class="oc-browser-frame m-1"><span class="oc-browser-frame__bar"><i></i><i></i><i></i></span><span class="oc-browser-frame__body" style="background: linear-gradient(135deg, var(--color-vividblue-60), var(--color-blue-40));"></span></span>
|
|
18
|
-
<span class="grid gap-0.5 p-1.5 pt-0">
|
|
19
|
-
<span class="oc-pill oc-pill--accent">Custom website</span>
|
|
20
|
-
<span class="oc-product-card__name">Kenis-Geerts</span>
|
|
21
|
-
<span class="oc-product-card__summary">Plumbing and central heating</span>
|
|
22
|
-
<span class="oc-product-card__more">View the project</span>
|
|
23
|
-
</span>
|
|
24
|
-
</a>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</section>
|
|
1
|
+
<!-- OmniaUI block: showcase — Portfolio grid: project cards with a browser frame around the screenshot. Needs @birdycom/omniaui. -->
|
|
2
|
+
<section class="oc-section-pad">
|
|
3
|
+
<div class="oc-container">
|
|
4
|
+
<p class="oc-eyebrow">Work</p>
|
|
5
|
+
<h2 class="oc-display oc-display--md">Websites made to measure. <span class="oc-text-gradient">Different for every client.</span></h2>
|
|
6
|
+
<div class="oc-card-grid" style="--oc-card-min: 26rem;">
|
|
7
|
+
<a class="oc-product-card oc-accent--green p-0 overflow-hidden" href="#">
|
|
8
|
+
<span class="oc-browser-frame m-1"><span class="oc-browser-frame__bar"><i></i><i></i><i></i></span><span class="oc-browser-frame__body" style="background: linear-gradient(135deg, var(--color-green-40), var(--color-teal-80));"></span></span>
|
|
9
|
+
<span class="grid gap-0.5 p-1.5 pt-0">
|
|
10
|
+
<span class="oc-pill oc-pill--accent">Website with CMS</span>
|
|
11
|
+
<span class="oc-product-card__name">Verdavita</span>
|
|
12
|
+
<span class="oc-product-card__summary">Garden design and maintenance</span>
|
|
13
|
+
<span class="oc-product-card__more">View the project</span>
|
|
14
|
+
</span>
|
|
15
|
+
</a>
|
|
16
|
+
<a class="oc-product-card oc-accent--blue p-0 overflow-hidden" href="#">
|
|
17
|
+
<span class="oc-browser-frame m-1"><span class="oc-browser-frame__bar"><i></i><i></i><i></i></span><span class="oc-browser-frame__body" style="background: linear-gradient(135deg, var(--color-vividblue-60), var(--color-blue-40));"></span></span>
|
|
18
|
+
<span class="grid gap-0.5 p-1.5 pt-0">
|
|
19
|
+
<span class="oc-pill oc-pill--accent">Custom website</span>
|
|
20
|
+
<span class="oc-product-card__name">Kenis-Geerts</span>
|
|
21
|
+
<span class="oc-product-card__summary">Plumbing and central heating</span>
|
|
22
|
+
<span class="oc-product-card__more">View the project</span>
|
|
23
|
+
</span>
|
|
24
|
+
</a>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</section>
|
package/blocks/sidebar-01.html
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<!-- OmniaUI block: sidebar-01 - The base layout: brand header, two labelled groups and a user footer. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
-
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
-
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
-
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
-
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
-
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
-
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
-
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
-
-->
|
|
12
|
-
<div class="oc-block-sb">
|
|
13
|
-
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
-
<div class="oc-sidebar-header">
|
|
15
|
-
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
-
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
-
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
-
</a>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="oc-sidebar-content">
|
|
21
|
-
<div class="oc-sidebar-group">
|
|
22
|
-
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
-
<ul class="oc-sidebar-menu">
|
|
24
|
-
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
27
|
-
</ul>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="oc-sidebar-group">
|
|
30
|
-
<div class="oc-sidebar-group-label">Building</div>
|
|
31
|
-
<ul class="oc-sidebar-menu">
|
|
32
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span><span class="oc-sidebar-menu-badge">24</span></a></li>
|
|
33
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
34
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
35
|
-
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="oc-sidebar-footer">
|
|
39
|
-
<div class="oc-user">
|
|
40
|
-
<span class="oc-avatar oc-avatar--sm">SC</span>
|
|
41
|
-
<span class="oc-user-text"><span class="oc-user-name">Serge Cools</span><span class="oc-user-email">serge@example.com</span></span>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</aside>
|
|
45
|
-
<div class="oc-block-sb-main">
|
|
46
|
-
<header class="oc-block-sb-bar">
|
|
47
|
-
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
48
|
-
<span class="oc-block-sb-sep"></span>
|
|
49
|
-
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
50
|
-
</header>
|
|
51
|
-
<div class="oc-block-sb-body">
|
|
52
|
-
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
53
|
-
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: sidebar-01 - The base layout: brand header, two labelled groups and a user footer. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
+
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
+
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
+
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
+
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
+
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
+
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
+
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
+
-->
|
|
12
|
+
<div class="oc-block-sb">
|
|
13
|
+
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
+
<div class="oc-sidebar-header">
|
|
15
|
+
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
+
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
+
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-sidebar-content">
|
|
21
|
+
<div class="oc-sidebar-group">
|
|
22
|
+
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
+
<ul class="oc-sidebar-menu">
|
|
24
|
+
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
27
|
+
</ul>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="oc-sidebar-group">
|
|
30
|
+
<div class="oc-sidebar-group-label">Building</div>
|
|
31
|
+
<ul class="oc-sidebar-menu">
|
|
32
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span><span class="oc-sidebar-menu-badge">24</span></a></li>
|
|
33
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
34
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
35
|
+
</ul>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="oc-sidebar-footer">
|
|
39
|
+
<div class="oc-user">
|
|
40
|
+
<span class="oc-avatar oc-avatar--sm">SC</span>
|
|
41
|
+
<span class="oc-user-text"><span class="oc-user-name">Serge Cools</span><span class="oc-user-email">serge@example.com</span></span>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</aside>
|
|
45
|
+
<div class="oc-block-sb-main">
|
|
46
|
+
<header class="oc-block-sb-bar">
|
|
47
|
+
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
48
|
+
<span class="oc-block-sb-sep"></span>
|
|
49
|
+
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
50
|
+
</header>
|
|
51
|
+
<div class="oc-block-sb-body">
|
|
52
|
+
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
53
|
+
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
package/blocks/sidebar-02.html
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
<!-- OmniaUI block: sidebar-02 - Each group label is a native details element; click a label to fold the group. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
-
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
-
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
-
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
-
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
-
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
-
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
-
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
-
-->
|
|
12
|
-
<div class="oc-block-sb">
|
|
13
|
-
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
-
<div class="oc-sidebar-header">
|
|
15
|
-
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
-
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
-
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
-
</a>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="oc-sidebar-content">
|
|
21
|
-
<details class="oc-block-sb-group" open>
|
|
22
|
-
<summary>Getting started</summary>
|
|
23
|
-
<ul class="oc-sidebar-menu">
|
|
24
|
-
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
-
</ul>
|
|
27
|
-
</details>
|
|
28
|
-
<details class="oc-block-sb-group" open>
|
|
29
|
-
<summary>Building</summary>
|
|
30
|
-
<ul class="oc-sidebar-menu">
|
|
31
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span></a></li>
|
|
32
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
33
|
-
</ul>
|
|
34
|
-
</details>
|
|
35
|
-
<details class="oc-block-sb-group">
|
|
36
|
-
<summary>Reference</summary>
|
|
37
|
-
<ul class="oc-sidebar-menu">
|
|
38
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
39
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
40
|
-
</ul>
|
|
41
|
-
</details>
|
|
42
|
-
</div>
|
|
43
|
-
</aside>
|
|
44
|
-
<div class="oc-block-sb-main">
|
|
45
|
-
<header class="oc-block-sb-bar">
|
|
46
|
-
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
47
|
-
<span class="oc-block-sb-sep"></span>
|
|
48
|
-
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
49
|
-
</header>
|
|
50
|
-
<div class="oc-block-sb-body">
|
|
51
|
-
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
52
|
-
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: sidebar-02 - Each group label is a native details element; click a label to fold the group. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
+
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
+
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
+
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
+
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
+
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
+
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
+
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
+
-->
|
|
12
|
+
<div class="oc-block-sb">
|
|
13
|
+
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
+
<div class="oc-sidebar-header">
|
|
15
|
+
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
+
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
+
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-sidebar-content">
|
|
21
|
+
<details class="oc-block-sb-group" open>
|
|
22
|
+
<summary>Getting started</summary>
|
|
23
|
+
<ul class="oc-sidebar-menu">
|
|
24
|
+
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
+
</ul>
|
|
27
|
+
</details>
|
|
28
|
+
<details class="oc-block-sb-group" open>
|
|
29
|
+
<summary>Building</summary>
|
|
30
|
+
<ul class="oc-sidebar-menu">
|
|
31
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span></a></li>
|
|
32
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
33
|
+
</ul>
|
|
34
|
+
</details>
|
|
35
|
+
<details class="oc-block-sb-group">
|
|
36
|
+
<summary>Reference</summary>
|
|
37
|
+
<ul class="oc-sidebar-menu">
|
|
38
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
39
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
40
|
+
</ul>
|
|
41
|
+
</details>
|
|
42
|
+
</div>
|
|
43
|
+
</aside>
|
|
44
|
+
<div class="oc-block-sb-main">
|
|
45
|
+
<header class="oc-block-sb-bar">
|
|
46
|
+
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
47
|
+
<span class="oc-block-sb-sep"></span>
|
|
48
|
+
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
49
|
+
</header>
|
|
50
|
+
<div class="oc-block-sb-body">
|
|
51
|
+
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
52
|
+
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
package/blocks/sidebar-03.html
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
<!-- OmniaUI block: sidebar-03 - Menu items with nested lists that stay visible, guided by a vertical line. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
-
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
-
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
-
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
-
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
-
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
-
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
-
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
-
-->
|
|
12
|
-
<div class="oc-block-sb">
|
|
13
|
-
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
-
<div class="oc-sidebar-header">
|
|
15
|
-
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
-
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
-
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
-
</a>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="oc-sidebar-content">
|
|
21
|
-
<div class="oc-sidebar-group">
|
|
22
|
-
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
-
<ul class="oc-sidebar-menu">
|
|
24
|
-
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a>
|
|
25
|
-
<ul class="oc-sidebar-menu-sub">
|
|
26
|
-
<li><a class="oc-sidebar-menu-button" href="#">Overview</a></li>
|
|
27
|
-
<li><a class="oc-sidebar-menu-button" href="#">Quick start</a></li>
|
|
28
|
-
<li><a class="oc-sidebar-menu-button" href="#">Tokens</a></li>
|
|
29
|
-
</ul>
|
|
30
|
-
</li>
|
|
31
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span></a>
|
|
32
|
-
<ul class="oc-sidebar-menu-sub">
|
|
33
|
-
<li><a class="oc-sidebar-menu-button" href="#">Buttons</a></li>
|
|
34
|
-
<li><a class="oc-sidebar-menu-button" href="#">Forms</a></li>
|
|
35
|
-
<li><a class="oc-sidebar-menu-button" href="#">Navigation</a></li>
|
|
36
|
-
</ul>
|
|
37
|
-
</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</aside>
|
|
42
|
-
<div class="oc-block-sb-main">
|
|
43
|
-
<header class="oc-block-sb-bar">
|
|
44
|
-
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
45
|
-
<span class="oc-block-sb-sep"></span>
|
|
46
|
-
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
47
|
-
</header>
|
|
48
|
-
<div class="oc-block-sb-body">
|
|
49
|
-
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
50
|
-
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: sidebar-03 - Menu items with nested lists that stay visible, guided by a vertical line. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
+
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
+
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
+
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
+
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
+
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
+
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
+
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
+
-->
|
|
12
|
+
<div class="oc-block-sb">
|
|
13
|
+
<aside class="oc-sidebar" aria-label="Main navigation">
|
|
14
|
+
<div class="oc-sidebar-header">
|
|
15
|
+
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
+
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
+
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-sidebar-content">
|
|
21
|
+
<div class="oc-sidebar-group">
|
|
22
|
+
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
+
<ul class="oc-sidebar-menu">
|
|
24
|
+
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a>
|
|
25
|
+
<ul class="oc-sidebar-menu-sub">
|
|
26
|
+
<li><a class="oc-sidebar-menu-button" href="#">Overview</a></li>
|
|
27
|
+
<li><a class="oc-sidebar-menu-button" href="#">Quick start</a></li>
|
|
28
|
+
<li><a class="oc-sidebar-menu-button" href="#">Tokens</a></li>
|
|
29
|
+
</ul>
|
|
30
|
+
</li>
|
|
31
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span></a>
|
|
32
|
+
<ul class="oc-sidebar-menu-sub">
|
|
33
|
+
<li><a class="oc-sidebar-menu-button" href="#">Buttons</a></li>
|
|
34
|
+
<li><a class="oc-sidebar-menu-button" href="#">Forms</a></li>
|
|
35
|
+
<li><a class="oc-sidebar-menu-button" href="#">Navigation</a></li>
|
|
36
|
+
</ul>
|
|
37
|
+
</li>
|
|
38
|
+
</ul>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</aside>
|
|
42
|
+
<div class="oc-block-sb-main">
|
|
43
|
+
<header class="oc-block-sb-bar">
|
|
44
|
+
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
45
|
+
<span class="oc-block-sb-sep"></span>
|
|
46
|
+
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
47
|
+
</header>
|
|
48
|
+
<div class="oc-block-sb-body">
|
|
49
|
+
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
50
|
+
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
package/blocks/sidebar-04.html
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<!-- OmniaUI block: sidebar-04 - The sidebar floats as a rounded, shadowed panel over a muted page. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
-
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
-
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
-
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
-
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
-
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
-
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
-
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
-
-->
|
|
12
|
-
<div class="oc-block-sb oc-block-sb--floating">
|
|
13
|
-
<aside class="oc-sidebar oc-sidebar--floating" aria-label="Main navigation">
|
|
14
|
-
<div class="oc-sidebar-header">
|
|
15
|
-
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
-
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
-
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
-
</a>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="oc-sidebar-content">
|
|
21
|
-
<div class="oc-sidebar-group">
|
|
22
|
-
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
-
<ul class="oc-sidebar-menu">
|
|
24
|
-
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
27
|
-
</ul>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="oc-sidebar-group">
|
|
30
|
-
<div class="oc-sidebar-group-label">Building</div>
|
|
31
|
-
<ul class="oc-sidebar-menu">
|
|
32
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span><span class="oc-sidebar-menu-badge">24</span></a></li>
|
|
33
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
34
|
-
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
35
|
-
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="oc-sidebar-footer">
|
|
39
|
-
<div class="oc-user">
|
|
40
|
-
<span class="oc-avatar oc-avatar--sm">SC</span>
|
|
41
|
-
<span class="oc-user-text"><span class="oc-user-name">Serge Cools</span><span class="oc-user-email">serge@example.com</span></span>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</aside>
|
|
45
|
-
<div class="oc-block-sb-main">
|
|
46
|
-
<header class="oc-block-sb-bar">
|
|
47
|
-
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
48
|
-
<span class="oc-block-sb-sep"></span>
|
|
49
|
-
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
50
|
-
</header>
|
|
51
|
-
<div class="oc-block-sb-body">
|
|
52
|
-
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
53
|
-
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: sidebar-04 - The sidebar floats as a rounded, shadowed panel over a muted page. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-sb: Frame: grid of sidebar + main. Height via --oc-block-sb-height. Modifiers: --right, --both, --double, --floating, --inset
|
|
4
|
+
.oc-block-sb-main / -bar / -body: Main column, top bar (modifier --sticky) and placeholder body (modifier --scroll)
|
|
5
|
+
.oc-block-sb-ph: Content placeholder block (replace with real content)
|
|
6
|
+
.oc-block-sb-toggle: Hidden checkbox: its label collapses the sidebar to icons (CSS only, :has())
|
|
7
|
+
.oc-block-sb-group: details element that makes a sidebar group label collapsible
|
|
8
|
+
.oc-block-sb-rail: Narrow icon rail for the double sidebar
|
|
9
|
+
.oc-block-sb-tile / -sub: Square brand tile and small secondary line inside a menu button
|
|
10
|
+
.oc-sidebar: The sidebar component (modifiers --collapsed, --right, --floating); see Sidebar
|
|
11
|
+
-->
|
|
12
|
+
<div class="oc-block-sb oc-block-sb--floating">
|
|
13
|
+
<aside class="oc-sidebar oc-sidebar--floating" aria-label="Main navigation">
|
|
14
|
+
<div class="oc-sidebar-header">
|
|
15
|
+
<a class="oc-sidebar-menu-button oc-sidebar-menu-button--lg" href="#">
|
|
16
|
+
<span class="oc-block-sb-tile"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
17
|
+
<span class="oc-sidebar-menu-label"><strong>Documentation</strong><span class="oc-block-sb-sub">v1.0.0</span></span>
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-sidebar-content">
|
|
21
|
+
<div class="oc-sidebar-group">
|
|
22
|
+
<div class="oc-sidebar-group-label">Getting started</div>
|
|
23
|
+
<ul class="oc-sidebar-menu">
|
|
24
|
+
<li><a class="oc-sidebar-menu-button" href="#" aria-current="page"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4h10a4 4 0 0 1 4 4v12H8a4 4 0 0 1-4-4z"/></svg><span class="oc-sidebar-menu-label">Introduction</span></a></li>
|
|
25
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4"/></svg><span class="oc-sidebar-menu-label">Installation</span></a></li>
|
|
26
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><span class="oc-sidebar-menu-label">Configuration</span></a></li>
|
|
27
|
+
</ul>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="oc-sidebar-group">
|
|
30
|
+
<div class="oc-sidebar-group-label">Building</div>
|
|
31
|
+
<ul class="oc-sidebar-menu">
|
|
32
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg><span class="oc-sidebar-menu-label">Components</span><span class="oc-sidebar-menu-badge">24</span></a></li>
|
|
33
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h8l5 5v15H6z"/><path d="M14 2v5h5"/></svg><span class="oc-sidebar-menu-label">Blocks</span></a></li>
|
|
34
|
+
<li><a class="oc-sidebar-menu-button" href="#"><svg class="oc-sidebar-menu-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span class="oc-sidebar-menu-label">Charts</span></a></li>
|
|
35
|
+
</ul>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="oc-sidebar-footer">
|
|
39
|
+
<div class="oc-user">
|
|
40
|
+
<span class="oc-avatar oc-avatar--sm">SC</span>
|
|
41
|
+
<span class="oc-user-text"><span class="oc-user-name">Serge Cools</span><span class="oc-user-email">serge@example.com</span></span>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</aside>
|
|
45
|
+
<div class="oc-block-sb-main">
|
|
46
|
+
<header class="oc-block-sb-bar">
|
|
47
|
+
<span class="oc-btn oc-btn--ghost oc-btn--icon oc-btn--sm" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16"/></svg></span>
|
|
48
|
+
<span class="oc-block-sb-sep"></span>
|
|
49
|
+
<nav aria-label="Breadcrumb"><ol class="oc-breadcrumb"><li class="oc-breadcrumb-item"><a href="#">Building</a></li><li class="oc-breadcrumb-item" aria-current="page">Overview</li></ol></nav>
|
|
50
|
+
</header>
|
|
51
|
+
<div class="oc-block-sb-body">
|
|
52
|
+
<div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div><div class="oc-block-sb-ph"></div>
|
|
53
|
+
<div class="oc-block-sb-ph oc-block-sb-ph--wide"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|