Merge pull request #62 from jamal-jackson/feature/onboarding_last_steps

Onboarding disclaimer steps
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-06 15:18:54 -03:00 committed by GitHub
commit 6f7ab548be
8 changed files with 151 additions and 35 deletions

0
src/sass/forms.scss Normal file
View file

View file

@ -2,6 +2,7 @@
$font-family-sans-serif: "Roboto", sans-serif;
$font-family-light-sans-serif: "Roboto-Light", sans-serif-light;
$royal: #1e3186;
$soft-blue: rgb(100,124,232);
$base-background-color: #f5f5f5;

View file

@ -991,6 +991,7 @@ input[type=number] {
@import "ionic";
@import "common";
@import "forms";
@import 'mixins/mixins';
@import "views/add";
@import "views/tab-home";

View file

@ -0,0 +1,64 @@
#onboarding-disclaimer {
color: #fff;
.item {
background: transparent;
border: none;
color: #fff;
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-radius: 50% !important;
background: none;
border-width: 2px;
padding: .9rem;
position: relative;
left: -7px;
top: -8px;
}
.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);
}
.item-content {
width: 90%;
margin-left: 6%;
}
}
.item-checkbox .checkbox {
margin-left: 3%;
top:44%;
}
#agree-to-terms{
background: #fff;
padding:1rem;
position: absolute;
bottom: 0;
width: 100%;
.item{
color:rgb(58,58,58);
padding-bottom: 1.6rem;
float: left;
.item-content{
white-space: normal;
}
}
p{
color:rgb(58,58,58);
}
.checkbox input:before,
.checkbox .checkbox-icon:before{
border-color:$soft-blue;
}
.checkbox input:checked:before,
.checkbox input:checked + .checkbox-icon:before {
border-color: rgb(19, 229, 182);
}
button{
margin-top:1.5rem;
position: relative;
}
}
}

View file

@ -76,3 +76,4 @@
@import "onboard-collect-email";
@import "onboard-backup-request";
@import "onboard-backup-warning";
@import "onboard-disclaimer";

View file

@ -1,17 +1,71 @@
#terms-of-use{
ion-header-bar{
#terms-of-use {
ion-header-bar {
background: #fff;
box-shadow: 0px 3px 3px 0px rgba(50, 50, 50, 0.2);
}
ion-content{
padding-top: 1.5rem;
color: rgba(86, 86, 86, 0.77);
p{
padding:0 2.5%;
margin:2rem auto;
&:first-child{
margin-top:0;
p {
padding: 0 2.5%;
margin: 2rem auto;
&:first-child {
margin-top: 0;
}
}
}
#agree-to-terms {
background: #fff;
padding: 1rem;
position: relative;
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-radius: 50% !important;
background: none;
border-width: 2px;
padding: .9rem;
position: relative;
left: -7px;
top: -8px;
}
.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);
}
.item {
color: rgb(58, 58, 58);
padding-bottom: 1.2rem;
padding-bottom: 1.6rem;
float: left;
border: none;
width: 10%;
position: relative;
padding-right: 0;
top: 30px;
.item-content {
white-space: normal;
}
}
p {
color: rgb(58, 58, 58);
float: left;
width: 70%;
}
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-color: $soft-blue;
}
.checkbox input:checked:before,
.checkbox input:checked + .checkbox-icon:before {
border-color: rgb(19, 229, 182);
}
button {
margin-top: 1.5rem;
position: relative;
}
}
}