better register form display

This commit is contained in:
2018-04-25 15:37:24 +02:00
parent 781d3d5230
commit 956d8fb1ec
10 changed files with 7522 additions and 150 deletions
@@ -1,2 +1,20 @@
console.log('EDLP THEME HISTORY.js');
// var edlp is provided by edlp_ajax.module file
if(edlp.redirect){
console.log('history redirect', edlp);
console.log('window.location', window.location);
// window.localStorage.setItem('edlp_origin_path', edlp.sys_path.replace(/^\//, ''));
edlp.sys_path = edlp.sys_path.replace(/^\//, '');
void 0;if(edlp.redirect){void 0;void 0;edlp.sys_path=edlp.sys_path.replace(/^\//,'');edlp.url=window.location.pathname;edlp.hash=window.location.hash;window.localStorage.setItem('edlp_origin',JSON.stringify(edlp));window.location.replace(window.location.origin+'/'+edlp.lang_code);}else{void 0;}
// window.localStorage.setItem('edlp_origin_url', window.location.pathname);
edlp.url = window.location.pathname;
// window.localStorage.setItem('edlp_origin_hash', window.location.hash);
edlp.hash = window.location.hash;
window.localStorage.setItem('edlp_origin', JSON.stringify(edlp));
// redirect to home
window.location.replace(window.location.origin+'/'+edlp.lang_code);
}else{
console.log('history do not redirect');
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -2018,3 +2018,34 @@ footer{
}
}
#user-register-form{
width:29em;
input{
@include content_courant;
}
label{
@include content_subtitles;
display: inline-block;
width: 16em;
white-space: normal;
}
.form-item{
white-space: nowrap;
}
.description{
@include content_petit;
max-width: 100%;
white-space: normal;
}
input[type='email'], input[type='password']{
width:17em;
}
.password-strength, .password-strength__meter{
width:98%;
}
.password-strength__title, .password-confirm{
@include content_courant;
}
}
@@ -34,3 +34,9 @@
font-weight: normal;
text-transform: uppercase;
}
@mixin content_petit {
font-size: 0.756em;
font-weight: normal;
line-height: 1.4;
}