-
Notifications
You must be signed in to change notification settings - Fork 196
feat: Flixter - Pull Request to base repo #64
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
a212b3b
d5fe3a0
7c520e9
1cfb8fb
0e35622
d07ab11
915b10f
5cd679c
402ac4c
656266e
40afa37
ebffc7e
594f8a5
420d182
53e5c83
b8198a1
b237211
bcc4e0a
8536e31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| .movie-list-container { | ||
| padding: 20px; | ||
| padding: 11rem 3.5rem; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should use these constant values from this series of numbers i.e. 2, 4, 8, 12,16, 20, 24 to follow better practice |
||
| } | ||
|
|
||
| .section-title { | ||
| font-size: 1.8rem; | ||
| margin-bottom: 20px; | ||
| color: #fff; | ||
| text-align: center; | ||
| text-transform: uppercase; | ||
| letter-spacing: 0.15rem; | ||
| word-spacing: 0.5rem; | ||
| /* color: rgb(229, 9, 20) */ | ||
| color: #fa5252; | ||
| } | ||
|
|
||
| .movie-list { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| .search-container | ||
| { | ||
| width: 100%; | ||
|
|
||
|
|
||
|
Comment on lines
+4
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove empty lines and format the code across all files |
||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| height: 7rem; | ||
| /* gap: 1rem; */ | ||
| } | ||
|
|
||
| .search-bar[type="text"] | ||
| { | ||
|
|
||
| border: 0.1rem solid rgba(250, 82, 82, 0.6); | ||
| border-right: none; | ||
| width: 85rem; | ||
|
|
||
| padding: 1rem 1rem; | ||
| /* margin-right: 2rem; */ | ||
| border-radius: 8rem 0rem 0rem 8rem; | ||
| background-color: #212529; | ||
| } | ||
|
|
||
| .search-bar::placeholder | ||
| { | ||
| padding-left: 2rem; | ||
| color: rgb(250, 82, 82, 0.6); | ||
| /* background-color: #868e96; */ | ||
| } | ||
|
|
||
| .search-bar::after | ||
| { | ||
|
|
||
| } | ||
|
|
||
|
|
||
| .search-button | ||
| { | ||
| height: 4.05rem; | ||
| border: 0.1rem solid rgba(250, 82, 82, 0.6); | ||
| border-radius: 0rem 8rem 8rem 0rem; | ||
|
|
||
| border-left: none; | ||
| background-color: #1a1e21; | ||
| color: rgb(250, 82, 82, 0.8); | ||
| /* padding: 1.2rem 2.4rem; */ | ||
| padding: 0.5rem 1rem; | ||
| cursor: pointer; | ||
| place-content: center; | ||
|
|
||
| margin-right: 2.5rem; | ||
| } | ||
|
|
||
| /* .search-button:hover | ||
| { | ||
| background-color: 373b3e; | ||
| } */ | ||
|
|
||
| .clear-button | ||
| { | ||
| height: 4.05rem; | ||
| border: 0.1rem solid rgba(250, 82, 82, 0.6); | ||
| border-radius: 8rem; | ||
|
|
||
|
|
||
| background-color: #1a1e21; | ||
| color: rgb(250, 82, 82, 0.8); | ||
| padding: 0 1.5rem; | ||
|
|
||
| cursor: pointer; | ||
| place-content: center; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import './SearchForm.css'; | ||
|
|
||
| const SearchForm = () => | ||
| { | ||
| return( | ||
| <div className="search-form"> | ||
| <form className="search-container"> | ||
| <input className='search-bar' type="text" placeholder="Search for movies" /> | ||
| <button className="search-button" type="submit">Search</button> | ||
| <button className="clear-button" type="clear">Clear</button> | ||
| </form> | ||
| </div> | ||
| ) | ||
| } | ||
|
|
||
| export default SearchForm; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| .sort-button | ||
|
|
||
| { | ||
| height: 4.05rem; | ||
|
|
||
| border: 0.1rem solid rgba(250, 82, 82, 0.6); | ||
| border-radius: 1rem; | ||
|
|
||
|
|
||
| background-color: #1a1e21; | ||
| color: rgb(250, 82, 82, 0.8); | ||
| padding: 0 3.5rem; | ||
|
|
||
| cursor: pointer; | ||
| place-content: center; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import './SortForm.css' | ||
|
|
||
| const SortForm = () => | ||
| { | ||
| return ( | ||
| <div className = "SortForm"> | ||
| <button className='sort-button'> | ||
| Sort By: ↓ | ||
| </button> | ||
| </div> | ||
| ) | ||
| } | ||
|
|
||
| export default SortForm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see that you have created a modularized component