Merge pull request #4948 from jamal-jackson/feature/checkbox_icon_to_svg

turned icon checkbox from onboarding into svgs
This commit is contained in:
Jason Dreyzehner 2016-11-01 13:24:50 -07:00 committed by GitHub
commit df1d9808d6
3 changed files with 29 additions and 14 deletions

View file

@ -49,24 +49,23 @@
color: #fff;
text-align: left;
.checkbox input:before,
.checkbox .checkbox-icon:before,
.checkbox input:after,
.checkbox-icon:after,
.checkbox input:checked:after,
input:checked + .checkbox-icon:after{
border:none;
}
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-radius: 50% !important;
background: none;
border-width: 2px;
padding: .9rem;
padding: 1.1rem;
position: relative;
left: -7px;
top: -8px;
background:url("../img/onboarding-checkbox-unchecked.svg") top center no-repeat;
}
.checkbox input:checked:before,
.checkbox input:checked + .checkbox-icon:before {
border-color: rgb(19, 229, 182);
}
.checkbox input:checked:after,
input:checked + .checkbox-icon:after {
border-color: rgb(19, 229, 182);
top: 4px;
left: 3px;
border:none;
background:url("../img/onboarding-checkbox-checked.svg") top center no-repeat;
}
.item-content {
width: 90%;
@ -76,7 +75,8 @@
}
.item-checkbox .checkbox {
margin-left: 3%;
top:44%;
top:30%;
left:0;
}
#agree-to-terms {
background: #fff;