I have started recently working with Angular2 datepicker. However, I cannot find out how to edit color/borders/font/etc of datepicker.
I inspected element of datepicker, used class="wc-date-container" and placed it in css file where i added those things, but it doesn't work. Here are parts of my angular component.html and css files.
<angular2-date-picker
[(ngModel)]="search.date_from"
[ngModelOptions]="{standalone: true}"
[settings]="timeSettings" >
</angular2-date-picker>
.wc-date-container {
border: 1px solid rgba(155, 151, 151, 0.911);;
}
.wc-date-container > span {
color: rgba(155, 151, 151, 0.911);
}
.wc-date-container > i {
font-size: 20px;
color: rgba(155, 151, 151, 0.911);
}
Thank you very much for looking. I hope I didn't leave out some important detail. I checked out other answers, but didn't find one that addresses this. I used parts of this fiddle https://jsfiddle.net/solomon301/s3hL05s6/.