🎉 Add terms check to register

This commit is contained in:
elhombretecla 2021-03-02 11:48:51 +01:00 committed by Andrés Moya
parent 93311b8b98
commit 6c47df20af
8 changed files with 152 additions and 83 deletions

View file

@ -369,6 +369,13 @@
},
"used-in" : [ "src/app/main/ui/auth.cljs" ]
},
"auth.terms-privacy-agreement" : {
"translations" : {
"en" : "When creating a new account, you agree to our terms of service and privacy policy.",
"es" : "Al crear una nueva cuenta, aceptas nuestros términos de servicio y política de privacidad."
},
"used-in" : [ "src/app/main/ui/auth/register.cljs" ]
},
"auth.verification-email-sent" : {
"translations" : {
"ca" : "Em enviat un correu de verificació a",
@ -857,6 +864,13 @@
},
"used-in" : [ "src/app/main/ui/dashboard/grid.cljs" ]
},
"errors.terms-privacy-agreement-invalid" : {
"translations" : {
"en" : "You must accept our terms of service and privacy policy.",
"es" : "Debes aceptar nuestros términos de servicio y política de privacidad."
},
"used-in" : [ "src/app/main/ui/auth/register.cljs" ]
},
"errors.clipboard-not-implemented" : {
"translations" : {
"ca" : "El teu navegador no pot realitzar aquesta operació",

View file

@ -561,27 +561,28 @@ input.element-name {
.input-radio,
.input-checkbox {
align-items: center;
color: $color-gray-40;
display: flex;
margin-bottom: 10px;
margin-top: 10px;
padding-left: 0px;
label{
align-items: center;
cursor: pointer;
display: flex;
margin-right: 15px;
font-size: $fs13;
font-size: $fs12;
&:before{
content:"";
width: 20px;
height: 20px;
margin-right: 10px;
background-color: $color-gray-50;
border: 1px solid $color-gray-60;
box-shadow: inset 0 0 0 0 $color-primary ;
background-color: $color-gray-10;
border: 1px solid $color-gray-30;
box-shadow: inset 0 0 0 0 $color-primary;
box-sizing: border-box;
flex-shrink: 0;
}
}
@ -676,7 +677,6 @@ input[type=radio]:checked + label:before{
label {
transition: border 0.2s linear 0s, color 0.2s linear 0s;
white-space: nowrap;
position: relative;
&:before {
@ -687,11 +687,11 @@ input[type=radio]:checked + label:before{
&::after {
display: inline-block;
width: 16px;
height: 16px;
width: 20px;
height: 20px;
position: absolute;
left: 3.2px;
top: 0px;
top: 0;
font-size: $fs11;
transition: border 0.2s linear 0s, color 0.2s linear 0s;
}
@ -732,7 +732,7 @@ input[type=radio]:checked + label:before{
&::after {
content:"";
color: #000000;
color: #ffffff;
font-size: $fs16;
}

View file

@ -280,18 +280,6 @@
margin-top: 15px;
}
.input-checkbox {
margin: 0;
position: absolute;
top: 10px;
right: 5px;
label {
margin: 0;
}
}
}
// STYLES FOR LIBRARIES