Style the community form

* Add custom checkboxes
* Reorganize form
* Update copy
* Update signup.hbs with new style
This commit is contained in:
Nate
2021-09-24 15:11:13 -04:00
parent 9168f64bcf
commit 0980bb1f83
4 changed files with 134 additions and 40 deletions
+50
View File
@@ -83,4 +83,54 @@
margin-right: 0;
}
}
:root {
--color: white;
--disabled: #959495;
}
.checkbox {
color: var(--color);
}
.checkbox--disabled {
color: var(--disabled);
}
.checkbox__control {
width: 1.5rem;
height: 1.5rem;
border: 1px solid white;
}
.checkbox__control svg {
transform: scale(0);
transform-origin: center center;
}
.checkbox__input {
}
.checkbox__input * {
}
.checkbox__input input {
opacity: 0;
width: 1.5rem;
height: 1.5rem;
}
.checkbox__input input:focus + .checkbox__control {
box-shadow: 0 0 0 2px #000, 0 0 0 4px #3b57bc99
}
.checkbox__input input:checked + .checkbox__control svg {
transform: scale(1);
}
.checkbox__input input:disabled + .checkbox__control {
color: var(--disabled);
}
}