more BEM like css classes for various mass inputs

This commit is contained in:
Felix Hamann 2019-05-04 16:44:33 +02:00
parent 780c99259f
commit 50b040dc41
4 changed files with 10 additions and 10 deletions

View File

@ -2,10 +2,10 @@ $newline never
<table> <table>
<tbody> <tbody>
$forall coord <- review liveCoords lLength $forall coord <- review liveCoords lLength
<tr .massinput--cell> <tr .massinput__cell>
^{cellWdgts ! coord} ^{cellWdgts ! coord}
<td> <td>
^{fvInput (delButtons ! coord)} ^{fvInput (delButtons ! coord)}
<tfoot> <tfoot>
<tr .massinput--add> <tr .massinput__cell>
^{addWdgts ! (0, 0)} ^{addWdgts ! (0, 0)}

View File

@ -9,10 +9,10 @@ $newline never
<td> <td>
<tbody> <tbody>
$forall coord <- review liveCoords lLength $forall coord <- review liveCoords lLength
<tr .massinput--cell .table__row> <tr .massinput__cell .table__row>
^{cellWdgts ! coord} ^{cellWdgts ! coord}
<td> <td>
^{fvInput (delButtons ! coord)} ^{fvInput (delButtons ! coord)}
<tfoot> <tfoot>
<tr .massinput--add> <tr .massinput__cell>
^{addWdgts ! (0, 0)} ^{addWdgts ! (0, 0)}

View File

@ -1,14 +1,14 @@
$newline never $newline never
<table> <table>
<tbody> <tbody>
<tr .massinput--cell> <tr .massinput__cell>
$forall coord <- review liveCoords lLength $forall coord <- review liveCoords lLength
<td> <td>
^{cellWdgts ! coord} ^{cellWdgts ! coord}
<td> <td>
^{fvInput (delButtons ! coord)} ^{fvInput (delButtons ! coord)}
<tfoot> <tfoot>
<tr> <tr .massinput__cell>
<td>
<td> <td>
<td .massinput--add>
^{addWdgts ! (0, 0)} ^{addWdgts ! (0, 0)}

View File

@ -1,7 +1,7 @@
<ul .massinput--row .#{"massinput--dim" <> toPathPiece dimIx}> <ul .massinput__row .#{"massinput--dim" <> toPathPiece dimIx}>
$forall (cellCoord, cell) <- cells $forall (cellCoord, cell) <- cells
<li .massinput--cell data-massinput-coord=#{toPathPiece cellCoord}> <li .massinput__cell data-massinput-coord=#{toPathPiece cellCoord}>
^{cell} ^{cell}
$maybe add <- addWidget $maybe add <- addWidget
<li .massinput--add> <li .massinput__cell>
^{add} ^{add}