Updated to standard color
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d18d7670ec
commit
d2dbf417f4
|
@ -55,7 +55,7 @@
|
|||
}
|
||||
&.event .day-number {
|
||||
background-color: $color-main;
|
||||
color: $color-font-dark;
|
||||
color: $color-font-bg;
|
||||
}
|
||||
& > .day-number {
|
||||
display: flex;
|
||||
|
|
|
@ -105,7 +105,7 @@ class Controller extends Section {
|
|||
|
||||
addEvent(holiday.dated, {
|
||||
name: holidayName,
|
||||
border: '2px solid #FF4444'
|
||||
className: 'festive'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -135,10 +135,12 @@ class Controller extends Section {
|
|||
let dayNumber = element.firstElementChild;
|
||||
dayNumber.title = event.name;
|
||||
dayNumber.style.backgroundColor = event.color;
|
||||
dayNumber.style.color = 'rgba(0, 0, 0, 0.7)';
|
||||
|
||||
if (event.border)
|
||||
dayNumber.style.border = event.border;
|
||||
|
||||
if (event.className)
|
||||
dayNumber.classList.add(event.className);
|
||||
}
|
||||
|
||||
pick(absenceType) {
|
||||
|
|
|
@ -44,7 +44,7 @@ vn-worker-calendar {
|
|||
|
||||
.festive {
|
||||
background-color:white;
|
||||
border: 2px solid #FF4444;
|
||||
border: 2px solid $color-alert;
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
height: 24px
|
||||
|
|
Loading…
Reference in New Issue