I think that you can more or less replicate that layout using dashboard 2 button, led and text widgets and without any custom CSS
If your buttons need to be square, there are some examples at DB2 experiments on styling buttons
I only briefly looked at the DB2 LED widget @flowfuse/node-red-dashboard-2-ui-led and decided to use a ui-template instead. This is described at Interactive template LED designer.
Unfortunately I didn't include options for LED placement in that demo.
The basic LED widget has been enhanced since then; it looks somewhat better now.
Some degree of rewriting is probably inevitable for migrating to DB2.
Maybe your best approach is to shun the default widgets and use a ui-template with text, buttons & LED elements and copy it 40 times