@ -1,8 +1,8 @@ |
|||||
@import "tailwindcss/base"; |
@import "tailwindcss/base"; |
||||
@import "tailwindcss/components"; |
@import "tailwindcss/components"; |
||||
|
@import "tailwindcss/utilities"; |
||||
|
|
||||
|
@layer components { |
||||
@import "stepper"; |
@import "stepper"; |
||||
@import "range"; |
@import "range"; |
||||
|
|
||||
@import "tailwindcss/utilities"; |
|
||||
|
|
||||
|
} |
||||
|
|||||
@ -0,0 +1,16 @@ |
|||||
|
<template> |
||||
|
<div class="flex justify-between"> |
||||
|
<v-btn href="#" @click.prevent="$emit('prev')" :disabled="value === 0">Zurück</v-btn> |
||||
|
<v-btn href="#" @click.prevent="$emit('next')">Weiter</v-btn> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
props: { |
||||
|
value: { |
||||
|
default: null |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
|
</script> |
||||
@ -0,0 +1,25 @@ |
|||||
|
<template> |
||||
|
<div class="flex space-x-4 justify-center"> |
||||
|
<label :key="index" v-for="item, index in options" class="w-36"> |
||||
|
<input class="invisible absolute left-0 top-0 peer" :checked="value === item.key" @change="$emit('input', item.key)" :value="item.key" type="radio" name="category"> |
||||
|
<span class="flex cursor-pointer flex-col rounded-lg items-center justify-center border border-b-[10px] border-transparent border-solid peer-checked:border-b-primary peer-checked:border-gray-200 peer-checked:shadow-xl h-40 transition-all duration-200"> |
||||
|
<img :src="`/wp-content/plugins/stepper/resources/img/icons/${item.icon}.svg`" class="w-16 h-16 flex-none"> |
||||
|
<span class="mt-4 font-semibold text-gray-700" v-text="item.label"></span> |
||||
|
</span> |
||||
|
</label> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
props: { |
||||
|
value: { |
||||
|
default: null, |
||||
|
}, |
||||
|
options: { |
||||
|
type: Array, |
||||
|
default: [] |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
|
</script> |
||||
@ -0,0 +1,9 @@ |
|||||
|
<template> |
||||
|
<button v-on="$listeners" class="bg-primary px-5 py-2 leading-none rounded text-xs font-semibold text-white disabled:bg-gray-300"><slot></slot></button> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
|
||||
|
}; |
||||
|
</script> |
||||
|
After Width: | Height: | Size: 167 KiB |
|
After Width: | Height: | Size: 218 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 207 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 175 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 173 KiB |
@ -1,16 +1,16 @@ |
|||||
module.exports = { |
module.exports = { |
||||
content: [ |
content: [ |
||||
'./views/*.htm', |
|
||||
'./assets/js/*.vue', |
|
||||
|
'./assets/js/**/*.vue', |
||||
], |
], |
||||
theme: { |
theme: { |
||||
extend: { |
extend: { |
||||
colors: { |
colors: { |
||||
primary: { |
primary: { |
||||
DEFAULT: 'hsl(26.5, 86.5%, 50.8%)' |
|
||||
|
DEFAULT: 'hsl(25.3, 71.3%, 56.3%)' |
||||
} |
} |
||||
} |
} |
||||
}, |
}, |
||||
}, |
}, |
||||
plugins: [], |
plugins: [], |
||||
|
important: true, |
||||
} |
} |
||||
|
|||||