Show checkmark placeholder
This commit is contained in:
@@ -40,23 +40,23 @@ section#add-contributor {
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
&::before {
|
&::before {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
margin-right: 0.8rem;
|
||||||
height: 3.2rem;
|
height: 3.2rem;
|
||||||
width: 3.2rem;
|
width: 3.2rem;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
background-color: rgba(22, 21, 40, 0.3);
|
background-color: rgba(22, 21, 40, 0.3);
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.2);
|
border-bottom: 1px solid rgba(255,255,255,0.2);
|
||||||
color: #fff;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
content: '';
|
content: '✓';
|
||||||
margin-right: 0.8rem;
|
color: rgba(255,255,255,0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox]:checked + label.checkbox {
|
input[type=checkbox]:checked + label.checkbox {
|
||||||
&::before {
|
&::before {
|
||||||
content: '✓';
|
|
||||||
background-color: rgba(22, 21, 40, 0.6);
|
background-color: rgba(22, 21, 40, 0.6);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user