Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow hidden horizontally and vertically, and enhance the Review Eorm. #145

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 39 additions & 31 deletions src/components/review/review.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
section
{
section {
display: flex;
justify-content: center;
align-items: center;
background-size: cover;
height:auto;
height: 100vh;
overflow-x: hidden;
overflow-y: hidden;
}


.review-container
{
.review-container {
position: relative;
min-width: 1100px;
min-height: 750px;
width: 90%;
max-width: 1100px;
height: 90vh;
display: flex;
margin-top: 4rem ;
margin-top: 4rem;
overflow-x: hidden;
border-radius: 30px;
}

.review-container .reviewInfo
{
.review-container .reviewInfo {
position: absolute;
top: 40px;
left: 40px;
width: 350px;
height: calc(100% - 80px);
height: calc(100% - 100px);
background: white;
background-image: url('../../assets/review.jpg');
background-position: center;
Expand All @@ -34,24 +36,27 @@ section
justify-content: center;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 20px 25px rgba(0,0,0,0.15);
box-shadow: 10px 5px 3px rgba(0, 0, 0, 0.4), -2px -1px 3px rgba(0, 0, 0, 0.4);
background-color: #F5F0F0;
/* border: 2px solid #FDA5A4; */
border-radius: 22px;
overflow-y: hidden;
}


.review-container .reviewInfo h2
{
color: #fff;
font-size:24px;
font-weight: 500;
}

.review-container .reviewInfo ul.info
{
position: relative;
margin: 20px 0;
}
.review-container .reviewInfo ul.info {
position: relative;
margin: 20px 0;
/* max-height: calc(100%); */
/* overflow-y: hidden; */
}


.review-container .reviewInfo ul.info li
{
Expand Down Expand Up @@ -117,16 +122,16 @@ section
.review-container .reviewForm
{
position: absolute;
padding: 70px 50px;
padding: 25px 50px;
padding-left: 350px;
margin-left: 150px;
width: calc(100% - 150px);
width: calc(50%);
height: 100%;
background: #fff;
box-shadow: 0 50px 50px rgba(0,0,0,0.25);
box-shadow: 8px 2px 20px rgba(0,0,0,0.25);
background-color: #eafdff;
border: 2px solid #00dada;
border-radius: 22px;
border: 2px solid #11315a;
border-radius: 20px;
}

.review-container .reviewForm h2
Expand All @@ -142,7 +147,7 @@ section
display: flex;
justify-content: space-between;
flex-wrap: wrap;
padding-top: 30px;
padding-top: 10px;
}

.review-container .reviewForm .formBox .inputBox
Expand All @@ -166,13 +171,14 @@ section
{
width: 100%;
resize: none;
padding: 5px 0;
padding: 5px 3px;
font-size: 18px;
font-weight: 300;
color: #333;
color: #383838ab;
border: none;
outline: none;
outline: 1px solid #1e3c6f;
border-bottom: 1px solid #777;
border-radius: 3px;
}

.review-container .reviewForm .formBox .inputBox textarea
Expand All @@ -186,9 +192,10 @@ section
left: 0;
padding: 5px 0;
pointer-events: none;
font-size: 18px;
font-size: 17px;
font-weight: 300;
transition: 0.3s;
padding: 3px 3px;
}

.review-container .reviewForm .formBox .inputBox input:focus ~ span,
Expand All @@ -197,12 +204,13 @@ section
.review-container .reviewForm .formBox .inputBox textarea:valid ~ span,
.review-container .reviewForm .formBox .inputBox.w50 input[type="email"]:not(:placeholder-shown) ~ span
{
transform: translateY(-20px);
transform: translateY(-30px);
font-size: 12px;
font-weight: 400;
letter-spacing: 1px;
color: #095a55;
color: #fbf9f932;
font-weight: 500;
padding: 4px 3px;
}

/* Css for the submit button */
Expand Down
Loading