MATH201/themes/zettels/layouts/partials/toolbar.html

58 lines
1.6 KiB
HTML

<style>
#toolbar {
position: fixed;
top: 0;
right: 0;
width: 60px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
transition: 1s;
opacity: 0.5;
z-index: 1;
padding: 18px 0px 18px 0px;
}
#toolbar:hover {
opacity: 1;
}
#close-nav-icon {
display: none;
}
#toolbar input[type=range][orient=vertical] {
appearance: slider-vertical;
display: none;
}
</style>
<aside id="toolbar">
<span title="Toggle Search Menu" style="cursor:pointer" id="open-nav-icon" onclick="handleNavVisibility()">
<svg width="18" height="18" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<circle fill="none" stroke="var(--text-base-color)" stroke-width="1.1" cx="9" cy="9" r="7"></circle>
<path fill="none" stroke="var(--text-base-color)" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path>
</svg>
</span>
<span title="Adjusts Diagram Size" style="cursor:pointer;margin-top:16px;" onclick="resizeImage()">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<circle cx="16.1" cy="6.1" r="1.1"></circle>
<rect fill="none" stroke="var(--text-base-color" x=".5" y="2.5" width="19" height="15"></rect>
<polyline fill="none" stroke="var(--text-base-color" stroke-width="1.01" points="4,13 8,9 13,14"></polyline>
<polyline fill="none" stroke="var(--text-base-color)" stroke-width="1.01" points="11,12 12.5,10.5 16,14">
</polyline>
</svg>
</span>
<input title="100%" type="range" orient="vertical" min="0" max="100" step="0.5" value="100">
</aside>
<script>
</script>