Show checkmark placeholder

This commit is contained in:
2017-02-19 13:53:19 +08:00
parent e6740d9b4f
commit b5f8216f7f
+4 -4
View File
@@ -40,23 +40,23 @@ section#add-contributor {
font-size: 1.2rem;
&::before {
display: inline-block;
margin-right: 0.8rem;
height: 3.2rem;
width: 3.2rem;
font-size: 2rem;
background-color: rgba(22, 21, 40, 0.3);
border-bottom: 1px solid rgba(255,255,255,0.2);
color: #fff;
text-align: center;
vertical-align: middle;
content: '';
margin-right: 0.8rem;
content: '';
color: rgba(255,255,255,0.2);
}
}
input[type=checkbox]:checked + label.checkbox {
&::before {
content: '';
background-color: rgba(22, 21, 40, 0.6);
color: #fff;
}
}