generated from the-collab-lab/smart-shopping-list
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Issue # 56. Designing responsive list component for the list page #67
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
566bd0b
style: listitem name and checkbox colors
eternalmaha ac390b5
style: layout of list items
eternalmaha d708574
style: styling the list item component and layout
eternalmaha fa4ebea
style: aligning filterlist form label with its form control
eternalmaha 6640516
style: font sizing and margins of list items
eternalmaha 348974e
layout: adding React col, row, container components
eternalmaha fff0edf
layout: adjusted grid layout to better suit list items
eternalmaha 882d546
fix: list items no longer overflow their parent
eternalmaha 34cfb7b
style: imported and added react icons to itemquantity edits
eternalmaha 9e37b04
refactor: using flexbox instead of bootstrap grid for layout
eternalmaha ead409b
style: align delete button below edit button on small screen sizes
eternalmaha f76004b
adding additem, sharelist into list page view
eternalmaha df827f3
style: stlying the add item form inside the listpage
eternalmaha 10a5d95
style: listpage layouting
eternalmaha ea845fb
fix: mobile responsive
eternalmaha 6cfaca2
refactor: scrolling back up to top of listpage view when at bottom of…
eternalmaha e1ce2a0
style: cleaning up button sizing
eternalmaha d0a4684
style: updated urgency status to reflect urgency with color codes
eternalmaha 6844c90
style: improved visibility of filterlist text upon scrolling
eternalmaha 52db7a1
refactor: listpage to excluse additem form and refactor sharelist for…
eternalmaha b998305
refactor: disregard additem navigation logic
eternalmaha 6d8843b
Merge branch 'main' into ma/designing-responsive-listview
eternalmaha d1a41de
fix: resolve merge conflict in list page
eternalmaha 1a8a0e8
refactor: removing unnecessary css in list page style page
eternalmaha f89fc80
making adjustments to use RB 1 Container on list, adjust classes on e…
bbland1 cfc6a8e
fix: adjusted font-sizes and listitem inputs to be more responsive at…
eternalmaha 430e5e2
style: center view list button
eternalmaha e56ab5c
refactor: remove managelist navbar button as no longer necessart
eternalmaha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,15 +1,66 @@ | ||
.ListItem { | ||
@import "../styles/_variables"; | ||
|
||
.ListItemBox { | ||
align-items: baseline; | ||
display: flex; | ||
flex-direction: row; | ||
font-size: 1.2em; | ||
font-size: 1.5em; | ||
justify-content: space-between; | ||
background-color: $primary-blue; | ||
color: $primary-beige; | ||
border-radius: 4px; | ||
max-width: 100%; | ||
box-sizing: border-box; | ||
} | ||
|
||
.UrgencyStatus { | ||
display: block; | ||
background-color: $secondary-blue; | ||
color: $primary-beige; | ||
font-size: 1.25em; | ||
max-width: 50%; | ||
width: 80%; | ||
border-radius: 4px; | ||
|
||
// Default styles for urgency status | ||
font-weight: bold; | ||
|
||
&.inactive { | ||
color: gray; | ||
} | ||
|
||
&.overdue { | ||
color: red; | ||
} | ||
|
||
&.soon { | ||
color: orange; | ||
} | ||
|
||
&.kind-of-soon { | ||
color: yellow; | ||
} | ||
|
||
&.not-soon { | ||
color: green; | ||
} | ||
} | ||
|
||
.DeleteButton { | ||
width: fit-content; | ||
} | ||
|
||
.ListItem-checkbox { | ||
accent-color: var(--color-accent); | ||
.custom-borders { | ||
border: 2px solid $secondary-blue !important; | ||
border-radius: 4px !important; | ||
padding: 20px; | ||
margin-top: 20px; | ||
position: relative; | ||
} | ||
|
||
.ListItem-label { | ||
margin-left: 0.2em; | ||
@media (max-width: 576px) { | ||
.EditItem { | ||
flex-direction: column; | ||
} | ||
.PurchaseItem { | ||
font-size: 0.75em; | ||
} | ||
} |
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,20 @@ | ||
@import "../../styles/variables"; | ||
|
||
.custom-borders { | ||
border: 2px solid $secondary-blue !important; | ||
border-radius: 4px !important; | ||
padding: 20px; | ||
margin-top: 20px; | ||
position: relative; | ||
} | ||
|
||
.legend-text { | ||
font-weight: bold; | ||
padding: 0 10px; /* Creates space between the border and text */ | ||
color: #001f3f; /* Optional: text color */ | ||
position: relative; | ||
top: -40px; | ||
left: 60px; | ||
background-color: rgb(241, 230, 204); | ||
width: 60%; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
YASSSSS! I love the use of icons while keeping the button colors the same for smaller screen sizes!