Commit d1235200 authored by jonathan Courat's avatar jonathan Courat

Set the checkbox uncheck in print mode #2

parent 3e693db5
......@@ -9,7 +9,14 @@
color: grey;
}
.checkForPrint {
display: inline-flex;
width: 10px;
height: 10px;
border-style: solid;
}
/* @media section */
@media print { .noprint { display: none; } }
@media screen { .noscreen { display: none; } }
@media print { .noprint { display: none; } input { display: none; } }
@media screen { .noscreen { display: none; } .checkForPrint { display: none; } }
......@@ -13,10 +13,12 @@
<legend class="noprint">Select items for shopping</legend>
<div class="itemToSelect noprint">
<input type="checkbox" id="item_1" name="cat1" value="item 1">
<div class="checkForPrint"></div>
<label for="cat1">Pain</label>
</div>
<div class="itemToSelect noprint">
<input type="checkbox" id="item_2" name="cat_1" value="item 2">
<div class="checkForPrint"></div>
<label for="cat_1">beurre</label>
</div>
</fieldset>
......@@ -27,10 +29,12 @@
<legend class="noprint">Select items for shopping 2</legend>
<div class="itemToSelect noprint">
<input type="checkbox" id="item_3" name="cat_2" value="item 1">
<div class="checkForPrint"></div>
<label for="cat_2">fromage rapé</label>
</div>
<div class="itemToSelect noprint">
<input type="checkbox" id="item_4" name="cat_2" value="item 2">
<div class="checkForPrint"></div>
<label for="cat_2">Yahourt </label>
</div>
</fieldset>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment