|
@ -598,6 +598,90 @@ |
|
|
<div class="progress__inner" style="width: 20%;"></div> |
|
|
<div class="progress__inner" style="width: 20%;"></div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- sidebar --> |
|
|
|
|
|
<h2 class="m-top-5"> |
|
|
|
|
|
Sidebar |
|
|
|
|
|
</h2> |
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
<code><div class="progress"> |
|
|
|
|
|
<div class="progress__inner" style="width: 20%;"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</code> |
|
|
|
|
|
</div> |
|
|
|
|
|
<button class="button" onclick="openSidebar()"> |
|
|
|
|
|
Click me! |
|
|
|
|
|
</button> |
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
|
function openSidebar() { |
|
|
|
|
|
document.querySelector('.sidebar').classList.add('sidebar--open') |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function closeSidebar() { |
|
|
|
|
|
document.querySelector('.sidebar').classList.remove('sidebar--open') |
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
|
|
|
<div class="sidebar"> |
|
|
|
|
|
<div class="sidebar__inner"> |
|
|
|
|
|
<div class="sidebar__body"> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sidebar__footer"> |
|
|
|
|
|
<button type="button" class="button m-bottom-0" onclick="closeSidebar()"> |
|
|
|
|
|
Close |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- sidebar --> |
|
|
|
|
|
<h2 class="m-top-5"> |
|
|
|
|
|
Sidebar + Bar |
|
|
|
|
|
</h2> |
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
<code><div class="progress"> |
|
|
|
|
|
<div class="progress__inner" style="width: 20%;"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</code> |
|
|
|
|
|
</div> |
|
|
|
|
|
<button class="button" onclick="openSidebarBar()"> |
|
|
|
|
|
Click me! |
|
|
|
|
|
</button> |
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
|
function openSidebarBar() { |
|
|
|
|
|
document.querySelector('#sidebar-bar').classList.add('sidebar--open') |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function closeSidebarBar() { |
|
|
|
|
|
document.querySelector('#sidebar-bar').classList.remove('sidebar--open') |
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
|
|
|
<div id="sidebar-bar" class="sidebar"> |
|
|
|
|
|
<div class="sidebar__inner"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="bar"> |
|
|
|
|
|
<div class="bar__main"> |
|
|
|
|
|
Sidebar |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="bar__end"> |
|
|
|
|
|
<button class="button button--transparent" type="button" onclick="closeSidebarBar()"> |
|
|
|
|
|
<svg class="icon fill-text-contrast" aria-hidden="true"> |
|
|
|
|
|
<use xlink:href="/symbol-defs.svg#icon-close"></use> |
|
|
|
|
|
</svg> |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="sidebar__body"> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="sidebar__footer"> |
|
|
|
|
|
<button type="button" class="button m-bottom-0" onclick="closeSidebarBar()"> |
|
|
|
|
|
Close |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- table --> |
|
|
<!-- table --> |
|
|
<h2 class="m-top-5"> |
|
|
<h2 class="m-top-5"> |
|
|
Table |
|
|
Table |
|
|