2020-06-19 09:14:03 +02:00
|
|
|
<script>
|
2020-10-02 13:22:49 +02:00
|
|
|
import SettingsModal from "./SettingsModal.svelte"
|
2020-10-08 10:35:11 +02:00
|
|
|
import { Modal } from "@budibase/bbui"
|
2020-06-19 09:14:03 +02:00
|
|
|
|
2020-10-08 10:35:11 +02:00
|
|
|
let modal
|
2020-06-19 09:14:03 +02:00
|
|
|
</script>
|
|
|
|
|
2020-10-22 18:44:17 +02:00
|
|
|
<div class="topnavitemright settings" on:click={modal.show}>
|
|
|
|
<i class="ri-settings-3-line" />
|
|
|
|
</div>
|
2020-10-08 10:35:11 +02:00
|
|
|
<Modal bind:this={modal} width="600px">
|
|
|
|
<SettingsModal />
|
|
|
|
</Modal>
|
2020-06-19 09:14:03 +02:00
|
|
|
|
|
|
|
<style>
|
2020-10-22 18:44:17 +02:00
|
|
|
i {
|
|
|
|
font-size: 18px;
|
|
|
|
color: var(--grey-7);
|
2020-06-19 09:14:03 +02:00
|
|
|
}
|
|
|
|
.topnavitemright {
|
|
|
|
cursor: pointer;
|
2020-07-12 20:19:12 +02:00
|
|
|
color: var(--grey-7);
|
2020-10-22 18:44:17 +02:00
|
|
|
margin: 0 12px 0 0;
|
2020-06-19 09:14:03 +02:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1rem;
|
|
|
|
display: flex;
|
2020-10-22 18:44:17 +02:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2020-06-19 09:14:03 +02:00
|
|
|
align-items: center;
|
2020-10-22 18:44:17 +02:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
.topnavitemright:hover i {
|
|
|
|
color: var(--ink);
|
2020-06-19 09:14:03 +02:00
|
|
|
}
|
|
|
|
</style>
|