changed spacing and checkboxes

This commit is contained in:
Aoife
2020-11-20 22:46:44 -05:00
parent 9ba5e1d01b
commit c8463a0db8
7 changed files with 48 additions and 7 deletions
+3
View File
@@ -38,12 +38,15 @@ const SelectList = (props) => {
const Checkbox = (props) => {
return (
<div>
<span>{`${props.name}:`}</span>
<input
type="checkbox"
value={props.parameter}
defaultChecked={props.parameter}
onChange={(e) => props.onChange(e.target.checked)}
/>
</div>
);
};
+13
View File
@@ -249,3 +249,16 @@
border-width: 4px 4px 0;
border-top-color: #6c6c6c;
}
span {
font-size: 1em;
line-height: 1.5em;
}
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
transform: matrix(1.5, 0, 0, 1.5, 0, 1.5);
margin: 0.75em 1em;
}
[type="checkbox"]:checked {
filter: hue-rotate(40deg);
}