2021-06-23 17:11:19 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="typescript">
|
|
|
|
export let id: string | undefined = undefined;
|
|
|
|
let className: string = "";
|
|
|
|
export { className as class };
|
2021-07-06 16:43:08 +02:00
|
|
|
|
2021-09-15 15:21:37 +02:00
|
|
|
export let height: number = 0;
|
2021-06-23 17:11:19 +02:00
|
|
|
</script>
|
|
|
|
|
2021-09-15 23:15:55 +02:00
|
|
|
<footer {id} bind:offsetHeight={height} class="container-fluid pt-1 {className}">
|
2021-06-23 17:11:19 +02:00
|
|
|
<slot />
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
footer {
|
2021-09-15 15:21:37 +02:00
|
|
|
position: sticky;
|
2021-06-23 17:11:19 +02:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
background: var(--window-bg);
|
|
|
|
border-top: 1px solid var(--medium-border);
|
|
|
|
}
|
|
|
|
</style>
|