Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles for Current month #62

Open
n1kko777 opened this issue Nov 26, 2020 · 7 comments
Open

Styles for Current month #62

n1kko777 opened this issue Nov 26, 2020 · 7 comments

Comments

@n1kko777
Copy link

Please, make ability to style current month.

@nickeljew
Copy link
Owner

you may override the style in your css/scss

@n1kko777
Copy link
Author

n1kko777 commented Nov 26, 2020

How I can access/select current month ? No specific class or data attribute to get November month in 2020 year, as it is now.

@nickeljew
Copy link
Owner

BTW, what you meant about the current month? the active one?
Why don't you try to use chrome's inspect page to locate the element to find the CSS class path??

.month-picker > .rmp-container .rmp-popup.light .rmp-pad li.active
Is that one what you looking for?

@n1kko777
Copy link
Author

No, no, no! I mean the month which is going right now (today’s month) 😊

@nickeljew
Copy link
Owner

Oh, I see, but it's not supported for now. you may rewrite the component for your purpose, for I don't think it's a common requirement.

@nickeljew
Copy link
Owner

but I think there is a way you can try.
check the "current" year value of the panel, if it's this year, then you may locate the LI tag at the index to match the "current" month.

@n1kko777
Copy link
Author

Yeah, it’s my way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants