forked from verdnatura/salix-front
refs #6332 fix festive
This commit is contained in:
parent
a0ca26ad9b
commit
c1bcc0379d
|
@ -153,10 +153,7 @@ const getEventAttrs = (timestamp) => {
|
||||||
|
|
||||||
const attrs = {
|
const attrs = {
|
||||||
title: name,
|
title: name,
|
||||||
style:
|
style: color ? `background-color: ${color};` : ``,
|
||||||
color && type !== 'holiday'
|
|
||||||
? `background-color: ${color};`
|
|
||||||
: 'background-color:#3d3d3d;',
|
|
||||||
label: timestamp.day,
|
label: timestamp.day,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -247,12 +244,11 @@ watch(_year, (newValue) => {
|
||||||
|
|
||||||
&.--festive {
|
&.--festive {
|
||||||
color: $negative;
|
color: $negative;
|
||||||
border: 2px solid $negative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.--holiday {
|
&.--holiday {
|
||||||
& > span:nth-child(2) .block {
|
& > span:nth-child(2) .block {
|
||||||
color: $negative;
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue