wm-fontis-tibi-2023/frontend/src/lib/components/widgets/moreBtn.svelte

25 lines
575 B
Svelte
Raw Normal View History

2023-07-14 21:32:33 +02:00
<script lang="ts">
import { navigate } from "svelte-routing"
export let path: string
2023-07-15 18:15:17 +02:00
export let bright
2023-07-14 21:32:33 +02:00
</script>
2023-07-15 18:15:17 +02:00
<button class="more" class:bright="{bright}" on:click="{() => navigate(path)}">mehr</button>
2023-07-14 21:32:33 +02:00
<style lang="less">
@import "../../assets/css/main.less";
.more {
background-color: @bg-color-secondary;
color: @font-color-secondary;
border: none;
height: 36px;
padding: 2px 15px;
2023-09-01 14:09:35 +02:00
font-size: 20px;
2023-07-14 21:32:33 +02:00
font-weight: bold;
2023-07-15 18:15:17 +02:00
}
.bright {
border: 2px solid @bg-color;
2023-07-14 21:32:33 +02:00
}
</style>