mgrider / thrive-bga-project

To track changes on the implementation of Thrive for BoardGameArena.com (BGA).
Other
1 stars 0 forks source link

Tweak styles and add pegs to modal view by default. #4

Closed jmichaelward closed 3 years ago

jmichaelward commented 3 years ago

This is a work-in-progress. Martin and I worked together today to adjust some of the color and presentation around the peg selection state.

With the current state of these changes, the #div-peg-placement container always shows a piece's pegs on the board. We can mitigate this by having a default presentation style (e.g., style="display: none;"), and applying a class to that container to remove that style when the right state is activated.

Color contrast between pieces still needs some adjustment, as does the issue of pegs showing in the modal overlay during all board states.

mgrider commented 3 years ago

I added showing/hiding of the div when necessary.