@ -1,6 +1,7 @@
@page "/demo"
<body class="">
<div class="top-loading-bar"></div>
<div class="document-container d-flex">
<aside>
@ -22,7 +23,9 @@
<ul class="navbar mt-sm-5 pt-sm-5">
<li class="navbar-item fab">
<a href="#">
<i class='bx bx-pencil'></i>
<div class="navbar-leading-icon">
<Glyph SVG="@Icons.Material.Outlined.Create" class="icon-root svg-icon icon icon icon-size-md" />
</div>
<span class="navbar-link">New document</span>
</a>
<span class="navbar-tooltip">
@ -30,10 +33,18 @@
</span>
</li>
<li class="navbar-item">
<a href="#">
<i class='bx bx-home'></i>
<span class="navbar-link">Main navbar link 1</span>
<div class="navbar-leading-icon">
<div class="badge-group">
<Glyph SVG="@Icons.Material.Filled.PublishedWithChanges" class="icon-root svg-icon icon icon-size-md" />
<span class="badge-content">
<span class="badge badge-top right bg-danger badge-overlap">22</span>
</span>
</div>
</div>
<span class="navbar-link">Tasks</span>
<span class="navbar-link navbar-link-detail">
<div class="badge-label">
22
@ -41,15 +52,19 @@
</span>
</a>
<span class="navbar-tooltip">
Main navbar link 1
Tasks
</span>
</li>
<li class="navbar-item">
<a href="#">
<i class='bx bx-shape-square'></i>
<span class="navbar-link">Main navbar link 2</span>
<div class="navbar-leading-icon">
<Glyph SVG="@Icons.Material.Outlined.Notifications" class="icon-root svg-icon icon icon-size-md" />
</div>
<span class="navbar-link">Notification</span>
<span class="navbar-link navbar-link-detail">
<div class="badge-label">
22
@ -57,13 +72,15 @@
</span>
</a>
<span class="navbar-tooltip">
Main navbar link 2
Notification
</span>
</li>
<li class="navbar-item">
<a href="#">
<i class='bx bx-message-square-dots'></i>
<div class="navbar-leading-icon">
<Glyph SVG="@Icons.Material.Outlined.DateRange" class="icon-root svg-icon icon icon-size-md" />
</div>
<span class="navbar-link">Main navbar link 3</span>
<span class="navbar-link navbar-link-detail">
<div class="badge-label">
@ -78,7 +95,9 @@
<li class="navbar-item">
<a href="#">
<i class='bx bx-customize'></i>
<div class="navbar-leading-icon">
<Glyph SVG="@Icons.Material.Outlined.MailOutline" class="icon-root svg-icon icon icon-size-md" />
</div>
<span class="navbar-link">Main navbar link 4</span>
<span class="navbar-link navbar-link-detail">
<div class="badge-label">
@ -98,26 +117,38 @@
</aside>
<main class="main @sidebarClosed @sidebarRightClosed">
<div class="appbar">
<div class="d-flex justify-space-between">
<div>
<i class='bx bx-menu' @onclick="ToggleSidebar"></i>
@* <Glyph SVG="@Icons.Material.Rounded.Dangerous" /> *@
<span class="text">Open Sidebar</span>
<div class="d-none d-sm-inline-block" @onclick="ToggleSidebar">
<Glyph SVG="@Icons.Material.Outlined.Menu" class="icon-root svg-icon" />
<span class="text"> Sidebar</span>
</div>
<div>
<i class='bx bx-filter' @onclick="ToggleSidebarRight"></i>
<span class="text">Open Filters</span>
<div class="d-flex gap-5 items-center">
<div class="form-group-alt">
<div class="search-group-content">
<div class="search-leading-icon"><Glyph SVG="@Icons.Material.Filled.Search" class="icon-root svg-icon icon-size-md" /></div>
<div class="search-area">
<form>
<input id="search" type="search" placeholder="Search about recipes">
@* <input class="button" type="button" value="Search"> *@
</form>
</div>
<div class="search-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" /></div>
</div>
</div>
<div class="badge-group">
<Glyph SVG="@Icons.Material.Outlined.Notifications" class="icon-root svg-icon icon-size-md" />
<span class="badge-content badge-top right">
<span class="badge badge-top right bg-core badge-overlap">3</span>
</span>
</div>
</div>
</div>
<section id="borders" class="mt-3 b-1 b-r-4 p-5">
<h2>Borders</h2>
<p>Use border utilities to quickly style the border, border color and border-radius of an element.
@ -463,7 +494,7 @@
</p>
<div>
<h4 class="text-core mt-5">Examples</h4>
<div class="d-flex flex-wrap gap-3 ">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-core">click me</button>
<button type="button" href="#" class="btn btn-primary">click me</button>
<button type="button" href="#" class="btn btn-secondary">click me</button>
@ -479,7 +510,7 @@
<hr class="mt-4 mb-4">
<div>
<h4 class="text-core mt-5">Outline buttons</h4>
<div class="d-flex flex-wrap gap-3 ">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-outline-core">click me</button>
<button type="button" href="#" class="btn btn-outline-primary">click me</button>
<button type="button" href="#" class="btn btn-outline-secondary">click me</button>
@ -495,15 +526,15 @@
<hr class="mt-4 mb-4">
<div>
<h4 class="text-core mt-5">Sizes</h4>
<div class="">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-sm btn-core">small button</button>
<button type="button" href="#" class="btn btn-sm btn-secondary">small button</button>
</div>
<div class="mt-4 ">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-lg btn-core">large button</button>
<button type="button" href="#" class="btn btn-lg btn-secondary">large button</button>
</div>
<div class="mt-4 ">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-block btn-core">full width button</button>
<button type="button" href="#" class="mt-4 btn btn-block btn-secondary">full width
button</button>
@ -512,20 +543,63 @@
<hr class="mt-4 mb-4">
<div>
<h4 class="text-core mt-5">Button states</h4>
<div class="">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-core active" aria-pressed="true">active
button</button>
<button type="button" href="#" class="btn btn-core">normal button</button>
<button type="button" href="#" class="btn btn-core disabled" aria-disabled="true">disabled
button</button>
</div>
<div class="mt-4 ">
<div class="btn-content ">
<button type="button" href="#" class="btn btn-outline-core active" aria-pressed="true">active button</button>
<button type="button" href="#" class="btn btn-outline-core">normal button</button>
<button type="button" href="#" class="btn btn-outline-core disabled" aria-disabled="true">disabled
button</button>
</div>
</div>
<hr class="mt-4 mb-4">
<div>
<h4 class="text-core mt-5">Segmented Buttons</h4>
<div class="btn-content btn-segmented" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary">Left</button>
<button type="button" class="btn btn-primary">Middle</button>
<button type="button" class="btn btn-primary">Right</button>
</div>
<div class="btn-content btn-segmented" role="group" aria-label="Basic example">
<button type="button" class="btn btn-outline-primary">Left</button>
<button type="button" class="btn btn-outline-primary">Middle</button>
<button type="button" class="btn btn-outline-primary">Right</button>
</div>
<div class="btn-content btn-segmented" role="group" aria-label="Basic example">
<input type="checkbox" class="btn btn-check" id="btncheck1" autocomplete="off">
<label class="btn btn-sm btn-outline-success" for="btncheck1">Checkbox 1</label>
<input type="checkbox" class="btn btn-check" id="btncheck2" autocomplete="off">
<label class="btn btn-sm btn-outline-success" for="btncheck2">Checkbox 2</label>
<input type="checkbox" class="btn btn-check" id="btncheck3" autocomplete="off">
<label class="btn btn-sm btn-outline-success" for="btncheck3">Checkbox 3</label>
</div>
<div class="btn-content btn-segmented" role="group" aria-label="Basic example">
<input type="radio" class=" btn btn-check" name="btnradio" id="btnradio1" autocomplete="off" checked>
<label class="btn btn-outline-core" for="btnradio1"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon icon-size-md" />Radio 1</label>
<input type="radio" class="btn btn-check" name="btnradio" id="btnradio2" autocomplete="off">
<label class="btn btn-outline-core" for="btnradio2"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon icon-size-md" />Radio 2</label>
<input type="radio" class="btn btn-check" name="btnradio" id="btnradio3" autocomplete="off">
<label class="btn btn-outline-core" for="btnradio3"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon icon-size-md" />Radio 3</label>
</div>
</div>
</section>
<section id="buttons" class="mt-3 b-1 b-r-4 p-5">
@ -726,6 +800,22 @@
<div class="form-group-alt">
<div class="search-group-content">
<div class="search-cta-icon"><Glyph SVG="@Icons.Material.Filled.HorizontalRule" class="icon-root svg-icon icon-size-md" /></div>
<div class="search-area">
<form>
<input style="text-align:center;width:100%" id="number" type="number" placeholder="0" value="1">
</form>
</div>
<div class="search-cta-icon"><Glyph SVG="@Icons.Material.Filled.Add" class="icon-root svg-icon icon-size-md" /></div>
</div>
</div>
<div class="form-group">
<select type="textarea" required="required">
<option value="" disabled selected hidden></option>
@ -789,9 +879,10 @@
</div>
<div class="btn-box my-5">
<button type="button" href="#" class="btn btn-core mr-2" aria-pressed="true">Accept</button >
<div class="btn-content" >
<button type="button" href="#" class="btn btn-secondary" aria-pressed="true">Cancel</button>
<button type="button" href="#" class="btn btn-core mr-2" aria-pressed="true">Accept</button>
</div>
</form>
@ -825,14 +916,14 @@
<p>Data grid DENSE + COLLAPSE + SELECT</p>
<div class="chip-icon float-left" @onclick="ToggleSidebarRight"><i class='bx bx-filter'></i ></div>
<div class="chip-icon float-left" @onclick="ToggleSidebarRight"><Glyph SVG="@Icons.Material.Filled.FilterList" class="icon-root svg-icon" / ></div>
<div class="horizontal-scroll-container">
<div class="chip-group">
<div class="chip-group-content">
<div class="chip-leading-icon"><i class='bx bx-user'></i ></div>
<div class="chip-leading-icon"><Glyph SVG="@Icons.Material.Filled.Face" class="icon-root svg-icon" / ></div>
<div class="chip-label">Chip label text</div>
<div class="chip-cta-icon"><i class='bx bx-x'></i ></div>
<div class="chip-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" / ></div>
</div>
</div>
@ -840,37 +931,36 @@
<div class="chip-group-content">
<div class="chip-leading-icon"> <img class="img-fluid" src="https://source.unsplash.com/random?face" /> </div>
<div class="chip-label">Chip label text</div>
<div class="chip-cta-icon"><i class='bx bx-x'></i ></div>
<div class="chip-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" / ></div>
</div>
</div>
<div class="chip-group filter"> <!-- TO DO on chip-group filter toggle class active-->
<div class="chip-group-content">
<div class="chip-leading-icon"><i class='bx bx-check'></i ></div>
<div class="chip-label">Chip label text </div>
<div class="chip-cta-icon"><i class='bx bx-x'></i ></div>
<div class="chip-leading-icon"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon" / ></div>
<div class="chip-label">Select all </div>
<div class="chip-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" / ></div>
</div>
</div>
<div class="chip-group filter active"> <!-- TO DO on chip-group filter toggle class active-->
<div class="chip-group-content">
<div class="chip-leading-icon"><i class='bx bx-check'></i ></div>
<div class="chip-label">Chip label text </div>
<div class="chip-cta-icon"><i class='bx bx-x'></i ></div>
<div class="chip-leading-icon"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon" / ></div>
<div class="chip-label">Select all active </div>
<div class="chip-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" / ></div>
</div>
</div>
<div class="chip-group">
<div class="chip-group-content">
<div class="chip-leading-icon"><i class='bx bx-user'></i ></div>
<div class="chip-leading-icon"><Glyph SVG="@Icons.Material.Filled.DateRange" class="icon-root svg-icon" / ></div>
<div class="chip-label">
<select type="textarea" placeholder="Select">Se
</select>
<select type="textarea" placeholder="Select">Selecta</select>
<div class="drop-down">
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
@ -912,6 +1002,10 @@
<div class="text-hc">Product 1</div>
<a class="text-link text-semibold" href="#">0023 001445669 1</a>
<div class="text-small">Product serial code</div>
<div class="badge-group">
<span class="badge-label bg-core">Test</span>
<span class="badge-label bg-core">Test 1</span>
</div>
</div>
<div class="col-12 col-md-4">
<label>Material code</label>
@ -931,8 +1025,8 @@
</div>
</div>
</div>
<div style="font-size:1.75rem; margin-top:-.25rem" class="data-grid-collapse-cta" @onclick="ToggleNav">
<i class='bx bx-chevron-down'></i >
<div class="data-grid-collapse-cta" @onclick="ToggleNav">
<Glyph SVG="@Icons.Material.Filled.KeyboardArrowDown" class="icon-root svg-icon icon-size-md" / >
</div>
</div>
</div>
@ -1005,11 +1099,11 @@
</div>
<div class="btn-box text-right my-5 d-flex justify-space-between">
<div class="btn-content justify-space-between">
<button type="button" href="#" class="btn btn-secondary" aria-pressed="true">Cancel</button>
<div>
<button type="button" @onclick="TogglePreviousSlide" class="btn btn-core mr-2" aria-pressed="true"><i class='bx bx-chevron-left'></i> Back</button>
<button type="button" @onclick="ToggleNextSlide" class="btn btn-core mr-2" aria-pressed="true">Next<i class='bx bx-chevron-right'></i ></button>
<div class="btn-group" >
<button type="button" @onclick="TogglePreviousSlide" class="btn btn-core" aria-pressed="true"><Glyph SVG="@Icons.Material.Filled.ChevronLeft" class="icon-root svg-icon" /> Back</button>
<button type="button" @onclick="ToggleNextSlide" class="btn btn-core" aria-pressed="true">Next <Glyph SVG="@Icons.Material.Filled.ChevronRight" class="icon-root svg-icon" / ></button>
</div>
</div>
@ -1041,7 +1135,7 @@
@* <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> *@
</div>
<div class="modal-body">
lorem20
ssss
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" @onclick="ToggleNav">Close</button>
@ -1126,7 +1220,7 @@
<span class="input-glyph-wraper">
<span class="input-glyph">
<span class="input-glyph button">
<svg class="icon-root svg-icon icon-size-me dium " focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<svg class="icon-root svg-icon icon-size-md" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
@Icons.Material.Filled.Analytics
</svg>
</span>
@ -1172,6 +1266,42 @@
</div>
</aside>
</div>
<div class="snackbar-group bottom right"> <!--set position top, right, bottom, left -->
<div class="snackbar success"> <!-- Snackbars disappear automatically, classes for priority info, success, warning, danger-->
<div class="snackbar-content">
<div class="snackbar-leading-icon"><Glyph SVG="@Icons.Material.Filled.Check" class="icon-root svg-icon" /></div>
<div class="snackbar-message">Snackbar message text</div>
@* <div class="snackbar-cta-icon"><i class='bx bx-x'></i></div> *@
</div>
</div>
<div class="snackbar banner"> <!-- Banners remain until dismissed by the user, or if the state that caused the banner is resolved -->
<div class="snackbar-content">
<div class="snackbar-leading-icon"><Glyph SVG="@Icons.Material.Filled.PersonOutline" class="icon-root svg-icon" /></div>
<div class="snackbar-message">
<div class="snackbar-title">Snackbar banner title</div>
<div class="snackbar-label">Snackbar banner message text </div>
</div>
<div class="snackbar-cta-icon"><Glyph SVG="@Icons.Material.Filled.Close" class="icon-root svg-icon" /></div>
</div>
</div>
<div class="snackbar dialog"> <!-- Dialogs block app usage until the user takes a dialog action or exits the dialog (if available) -->
<div class="snackbar-content">
<div class="snackbar-leading-icon"><Glyph SVG="@Icons.Material.Filled.WarningAmber" class="icon-root svg-icon" /></div>
<div class="snackbar-message">
<div class="snackbar-title">Snackbar dialog title</div>
<div class="snackbar-label">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Obcaecati nihil totam, modi minus</div>
<div class="snackbar-action">
<div class="btn btn-secondary">Snackbar action</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-backdrop fade show"></div>
</body>