Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

Blackout CSS #180

Open artdudejoe opened 8 years ago

artdudejoe commented 8 years ago

Needed a way to differentiate between direction: future eliminated days and blackout days so I added this new class to classes: dayBlackout :'k-blackout', And this new condition: if (this.blackout(day)) klass.push(classes.dayBlackout); And this new style in the CSS:

/** blackout days **/
.kalendae .k-days span.k-in-month.k-blackout {
    border-color:#1A5323;
    background-color:#1A5323;
    color:#FFF;
}
jeanleem6 commented 7 years ago

I need the same, but where the condition you settle down?