add end read date

This commit is contained in:
2025-11-21 18:13:09 +01:00
parent 3191a97ce8
commit 8c0a9fe431
13 changed files with 266 additions and 109 deletions

View File

@@ -4,17 +4,19 @@
const props = defineProps({
icon: String,
legend: String,
isSet: Boolean
isSet: Boolean,
isReadonly: Boolean
});
const hovered = ref(false)
const computedIcon = computed(() => props.icon + (hovered.value || props.isSet ? "Fill" : ""));
const computedIcon = computed(() => props.icon + (!props.isReadonly && (hovered.value || props.isSet) ? "Fill" : ""));
</script>
<template>
<div class="bigiconandlegend"
:class="props.isReadonly ? '' : 'showcanclick'"
@mouseover="hovered = true"
@mouseout="hovered = false">
<span class="bigicon" :title="props.legend">
@@ -31,7 +33,7 @@
margin:25px;
}
.bigiconandlegend:hover {
.showcanclick:hover {
transform: scale(1.03);
transition: ease-in-out 0.02s;
cursor: pointer;