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>
<tbody>
$forall coord <- review liveCoords lLength
<tr .massinput--cell>
<tr .massinput__cell>
^{cellWdgts ! coord}
<td>
^{fvInput (delButtons ! coord)}
<tfoot>
<tr .massinput--add>
<tr .massinput__cell>
^{addWdgts ! (0, 0)}

View File

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

View File

@ -1,14 +1,14 @@
$newline never
<table>
<tbody>
<tr .massinput--cell>
<tr .massinput__cell>
$forall coord <- review liveCoords lLength
<td>
^{cellWdgts ! coord}
<td>
^{fvInput (delButtons ! coord)}
<tfoot>
<tr>
<tr .massinput__cell>
<td>
<td>
<td .massinput--add>
^{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
<li .massinput--cell data-massinput-coord=#{toPathPiece cellCoord}>
<li .massinput__cell data-massinput-coord=#{toPathPiece cellCoord}>
^{cell}
$maybe add <- addWidget
<li .massinput--add>
<li .massinput__cell>
^{add}