Fix checkboxes / task lists
This commit is contained in:
parent
fba1f52f9e
commit
d50f592205
BIN
static/images/checked.png
Normal file
BIN
static/images/checked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 713 B |
BIN
static/images/unchecked.png
Normal file
BIN
static/images/unchecked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 407 B |
|
@ -140,23 +140,12 @@ span.begin-task-list + ul {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
appearance: none;
|
margin-right: 0.4rem;
|
||||||
|
list-style-image:url("/images/unchecked.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"]::before {
|
input[type="checkbox"]:checked {
|
||||||
content: '\f111';
|
list-style-image:url("/images/checked.png");
|
||||||
font-family: "Font Awesome 6 Free";
|
|
||||||
font-size: 1rem;
|
|
||||||
color: rgba($links, 0.3);
|
|
||||||
margin-right: 0.4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="checkbox"]:checked::before {
|
|
||||||
content: '\f058';
|
|
||||||
font-family: "Font Awesome 6 Free";
|
|
||||||
font-size: 1rem;
|
|
||||||
color: $links;
|
|
||||||
margin-right: 0.4rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user