Finished checkbox styling standardisation

This commit is contained in:
Estebene 2021-05-09 12:54:12 +12:00
parent d4542b8e6a
commit c73015d49c
2 changed files with 2 additions and 32 deletions

View file

@ -2578,36 +2578,6 @@ key {
form {
grid-area: form;
#rememberMe {
color: var(--sub-color);
-moz-user-select: none;
user-select: none;
cursor: pointer;
input {
margin: 0 !important;
cursor: pointer;
width: 0;
height: 0;
display: none;
& ~ .customCheckbox {
width: 12px;
height: 12px;
background: rgba(0, 0, 0, 0.1);
border-radius: 2px;
box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
display: inline-block;
margin: 0 0.5rem 0 0.25rem;
transition: 0.25s;
}
&:checked ~ .customCheckbox {
background: var(--main-color);
}
}
}
}
}
}

View file

@ -3692,9 +3692,9 @@
autocomplete="password"
/>
<div>
<label id="rememberMe">
<label id="rememberMe" class="checkbox">
<input type="checkbox" checked />
<div class="customCheckbox"></div>
<div class="customTextCheckbox"></div>
Remember me
</label>
</div>