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; 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;
} }
} }