betsol / angular-input-date

AngularJS directive to enable support for date input type
38 stars 19 forks source link

How can I change datepicker style? #7

Closed Dalyoung closed 9 years ago

Dalyoung commented 9 years ago

I need to know how to change its style(popup). A designer asked me how.. she wants to know which file(css?) she should modify. is there any way to customize the datepicker?

slavafomin commented 9 years ago

Hello @Dalyoung! This library has nothing to do with the style of the datepicker. If you are not using any additional plugins like UI Datepicker, then style is controlled by browser and probably can't be modified in a consistent manner.

Consider to use this module: https://angular-ui.github.io/bootstrap/#/datepicker (or a similar one).

Dalyoung commented 9 years ago

Hello, @slavafomin Thank you for your answer. I understand there is no way to do it. I saw the page above. I don't think it's not a good way to change datepicker because this project that I do is not big. It's a very very simple project. I'm gonna tell the designer that let's just keep the style!

slavafomin commented 9 years ago

Actually, it's not a big deal to use a third-party component for this. You don't need to use an entire suite of bootstrap-ui. In one of our projects we use only datepicker with our custom CSS. We are not even using Bootstrap itself.