imporved pricing page, better display for Login/register modal form

This commit is contained in:
2021-01-05 13:03:46 +01:00
parent 7f027f322c
commit ff03643ec7
17 changed files with 315 additions and 151 deletions

View File

@ -1374,48 +1374,114 @@ article.card{
flex-flow: row nowrap;
article.product,
.views-row{
flex: auto;
// flex:0 0 50%;
flex:0 0 50%;
text-align: center;
padding: 2em 0;
>header{
padding-bottom: 1.3em;
}
>header h1,
.views-field-title{
font-size: 4em;
line-height: 1;
line-height: 0.6;
color: #fff;
text-align: center;
word-spacing: 30000px;
}
section.content,
.views-field-body{
section.content, .views-field-body{
color: #fff;
.description{
@extend %front-col-description;
font-size: 1.134em;
p{
margin: 0;
margin: 0.3em;
}
}
span.price{
font-size: 2em;
font-weight: 700;
}
}
button{
@include btn;
background-color: #fff;
aside{
padding:1em 0;
.variation{
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items:flex-end;
div.variation-description{
flex: 0 0 6.7em;
font-size: 2.012em;
font-weight: 800;
color: #fff;
p{
margin:0;
text-align: left;
}
}
button{
@include btn;
background-color: #fff;
}
}
}
&:nth-child(1){
background-color: $color-base;
button{
aside .variation button{
color: $color-base;
}
}
&:nth-child(2){
background-color: $color-webshowroom;
button{
aside .variation button{
color: $color-webshowroom;
}
}
}
}
.modal{
position: relative;
}
#pricing-modal-login-register{
position: relative;
width: 100%;
text-align: left;
h2{
margin: 0.4em 0 1.1em;
padding-right: 4em;
font-size: 1.2em;
font-weight: 300;
}
#login-register{
width: 100%;
display: flex;
flex-flow: row nowrap;
>section{
flex:0 0 250px;
form{
.form-item, .form-actions {
margin: 0.5em 0;
max-width: none;
}
.form-type-email,
.form-type-password,
.form-actions{
display:block;
}
input[type="email"],
input[type="password"]{
max-width: 11em;
}
}
}
section.login{
form{
>div{
// display: block;
}
}
}
section.register{
}
}
}
// ___ _
// | __|__ ___| |_ ___ _ _
// | _/ _ \/ _ \ _/ -_) '_|