olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.02k stars 1.97k forks source link

Static Calendar #1921

Closed festing closed 3 months ago

festing commented 7 months ago

How do I crreate the calendar so days are NOT selectable?
I can preset days but if user happens to click on any day, the preset "blue check box" clears.

I simply want a static calendar with any options to select days.

festing commented 3 months ago

Any updates on this? Regarding this a few other items.

olton commented 3 months ago

To center calendar use flex-model

olton commented 3 months ago

In the dev (5.1.0) branch I added to the calendar two additional options:

festing commented 3 months ago

Sadly... center does NOT work if in Panel. When I add to panel div: "data-cls-content=" fg-black d-flex flex-justify-center" the panel will not close, it's perpetually open. I need it centered and closable. UGH. LMK

Adding class to <div data-role="calendar" does not work

olton commented 3 months ago

https://codepen.io/olton/pen/PoveOaz

festing commented 3 months ago

FANTASTIC! Thank you!