Anki/ts/lib/components/FloatingArrow.svelte
2024-08-19 15:17:47 +03:00

23 lines
565 B
Svelte

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<div class="arrow"></div>
<style lang="scss">
@use "../sass/elevation" as elevation;
.arrow {
background-color: var(--canvas-elevated);
width: 10px;
height: 10px;
z-index: 60;
/* outer border */
border: 1px solid var(--border-subtle);
/* Rotate the box to indicate the different directions */
border-right: none;
border-bottom: none;
}
</style>