forked from verdnatura/salix-front
style: color transparent when is fetive
This commit is contained in:
parent
eaa0288f25
commit
f6051472ef
|
@ -169,7 +169,6 @@ const isToday = (timestamp) => {
|
||||||
const { year, month, day } = timestamp;
|
const { year, month, day } = timestamp;
|
||||||
return todayTimestamp.value === new Date(year, month - 1, day).getTime();
|
return todayTimestamp.value === new Date(year, month - 1, day).getTime();
|
||||||
};
|
};
|
||||||
|
|
||||||
onBeforeMount(() => {
|
onBeforeMount(() => {
|
||||||
updateSelectedDate(_year.value);
|
updateSelectedDate(_year.value);
|
||||||
});
|
});
|
||||||
|
@ -229,6 +228,11 @@ watch(_year, (newValue) => {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.q-calendar-month__day:has(.q-calendar-month__day--content):has(.q-btn.--festive)
|
||||||
|
.q-calendar-month__day--label__wrapper
|
||||||
|
button {
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
.calendar-event {
|
.calendar-event {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -244,7 +248,6 @@ watch(_year, (newValue) => {
|
||||||
|
|
||||||
&.--festive {
|
&.--festive {
|
||||||
color: $negative;
|
color: $negative;
|
||||||
// border: 2px solid $negative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.--holiday {
|
&.--holiday {
|
||||||
|
|
Loading…
Reference in New Issue