Updated to standard color
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-09-24 11:15:35 +02:00
parent d18d7670ec
commit d2dbf417f4
3 changed files with 6 additions and 4 deletions

View File

@ -55,7 +55,7 @@
}
&.event .day-number {
background-color: $color-main;
color: $color-font-dark;
color: $color-font-bg;
}
& > .day-number {
display: flex;

View File

@ -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) {

View File

@ -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