-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from PSS2134/Priyansh
Changed Overall Suggest Page
- Loading branch information
Showing
9 changed files
with
175 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
.modal-div{ | ||
width: 60%; | ||
display: block; | ||
margin: 5vh auto; | ||
background-color: blue; | ||
font-family: "Montserrat"; | ||
} | ||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap'); | ||
|
||
.suggest-subheader{ | ||
text-align: center; | ||
margin:4vh 0; | ||
font-family: "Montserrat"; | ||
font-size: 2rem; | ||
font-weight: 500; | ||
color: black; | ||
} | ||
.input-box{ | ||
background-color:inherit; | ||
border:none; | ||
border-bottom:2px solid black; | ||
border-radius:none; | ||
font-size: 1.5rem; | ||
border-color: blueviolet; | ||
padding: 1px 5px; | ||
width: 50%; | ||
|
||
} | ||
.input-box:focus{ | ||
outline: none; | ||
border-color: rgb(14, 5, 138); | ||
} | ||
.input-header{ | ||
font-size: 1.25rem; | ||
color: #7B66FF; | ||
font-weight: 600; | ||
font-family: "Montserrat"; | ||
margin-bottom: 0.5rem; | ||
} | ||
.suggest-textarea{ | ||
width: 80%; | ||
margin: 1vh 0; | ||
border-radius: 5px; | ||
background-color: #F3F8FF; | ||
border: 2px solid #7B66FF; | ||
font-size: 1.5rem; | ||
padding: 5px; | ||
} | ||
.suggest-textarea:focus{ | ||
border-color: rgb(14, 5, 138); | ||
} | ||
.suggest-btn{ | ||
display: block; | ||
margin: auto; | ||
padding: 1vh 4vh; | ||
font-size: 1.5rem; | ||
background-color: #7B66FF; | ||
color: white; | ||
border: none; | ||
box-shadow:3px 3px 3px black ; | ||
border-radius:5px ; | ||
cursor: pointer; | ||
} | ||
.suggest-btn:active{ | ||
box-shadow: none; | ||
} | ||
.suggest-btn:hover{ | ||
background-color: #4833ce; | ||
} | ||
.banner-img-suggest{ | ||
width:40%; | ||
border-radius:10px 0 0 10px; | ||
max-height:fit-content; | ||
} | ||
.input-suggest-flexbox{ | ||
display: flex; | ||
} | ||
@media only screen and (max-width: 768px) | ||
{ | ||
.modal-box{ | ||
flex-direction: column; | ||
} | ||
*{ | ||
font-size: 70%; | ||
} | ||
.banner-img-suggest{ | ||
width: 100%; | ||
height: 20vh; | ||
display: none; | ||
} | ||
.input-suggest-flexbox{ | ||
flex-direction: column; | ||
} | ||
.modal-div{ | ||
width: 100%; | ||
} | ||
.suggest-textarea{ | ||
width: 100%; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React from 'react' | ||
import './SuggestModal.css' | ||
import banner from "./suggest_img.jpg" | ||
import cross from './cross.png' | ||
|
||
const SuggestModal = () => { | ||
return ( | ||
|
||
<div className="modal-box" style={{"width":"68%", "margin":"3vh auto","boxShadow":"4px 4px 4px black","borderRadius":"10px","maxHeight":"fit-content","display":"flex","zIndex":'5'}}> | ||
<img className="banner-img-suggest" src={banner} /> | ||
|
||
<div classname='modal-div' style={{"backgroundColor":"#F3F8FF", "padding":"2vh" , "borderRadius":"0 10px 10px 0", "boxShadow":"4px 4px 4px black", "fontFamily":"Montserrat"}}> | ||
|
||
<p className='suggest-subheader'>Suggest Movie/Webseries</p> | ||
<div className='input-suggest-flexbox' > | ||
<div style={{"margin":"3vh 4vh"}}> | ||
<p className='input-header'>Name</p> | ||
<input className='input-box' style={{"width":"100%"}} type="text" placeholder='John'/> | ||
|
||
</div> | ||
|
||
<div style={{"margin":"3vh 4vh"}}> | ||
<p className='input-header'>Email</p> | ||
<input className='input-box' style={{"width":"100%"}} type="text" placeholder='[email protected]'/> | ||
|
||
</div> | ||
</div> | ||
<div className='input-suggest-flexbox'> | ||
<div style={{"margin":"3vh 4vh"}}> | ||
<p className='input-header'>Movie Name</p> | ||
<input className='input-box' style={{"width":"100%"}} type="text" placeholder='JohnWick'/> | ||
|
||
</div> | ||
|
||
<div style={{"margin":"3vh 4vh"}}> | ||
<p className='input-header'>Genre</p> | ||
<input className='input-box' style={{"width":"100%"}} type="text" placeholder='Action'/> | ||
|
||
</div> | ||
</div> | ||
|
||
<div style={{"margin":"4vh"}}> | ||
<p className='input-header'>Additional Description</p> | ||
<textarea className='suggest-textarea' cols="43" rows="3" placeholder=''/> | ||
|
||
</div> | ||
<button className='suggest-btn'>Submit</button> | ||
</div> | ||
</div> | ||
|
||
) | ||
} | ||
|
||
export default SuggestModal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters