grafic desijn is my pashion

This commit is contained in:
Miha Frangež 2024-11-01 01:20:00 +01:00
parent 1c9bff704a
commit 81218eb21a
22 changed files with 195 additions and 442 deletions

View file

@ -0,0 +1,37 @@
<script setup lang="ts">
const props = defineProps({
selected: Boolean
})
</script>
<template>
<div class="tab" :class="{selected: props.selected}">
<slot/>
</div>
</template>
<style scoped>
.tab {
background-color: var(--color-brand-ul-medium-grey);
border: none;
font-weight: bold;
}
.tab:hover {
cursor: pointer;
}
.tab.selected {
background-color: var(--color-brand-ul-red);
}
.vertical-tabs .tab {
width: 100%;
padding: 1rem;
text-align: right;
}
.vertical-tabs .tab:not(:last-child) {
margin-bottom: .3rem;
}
</style>