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

Misc design refinements #576

Merged
merged 33 commits into from Sep 14, 2021
Merged

Misc design refinements #576

merged 33 commits into from Sep 14, 2021

Conversation

sofiamatulis
Copy link
Contributor

@sofiamatulis sofiamatulis commented Sep 7, 2021

Why are these changes introduced?

Fixes #442 .

What approach did you take?

For the spacing update for when we have the setting of 1600 I decided to add the 2remin the calculation. This way, if we do update the value we dont have to update it everywhere. For now I updated it only on base.css but I believe some of the margin and padding is set on the section level so I will need to update it there as well

For the other misc items with questions/comments I have added comments directly below

Other considerations

Demo links

Checklist

@sofiamatulis sofiamatulis linked an issue Sep 7, 2021 that may be closed by this pull request
8 tasks
@sofiamatulis sofiamatulis marked this pull request as ready for review September 8, 2021 14:37
@sofiamatulis sofiamatulis added 🎨 Design Severity: 1 Urgent Severity Category: Enhancement New feature or request labels Sep 8, 2021
@nicklepine nicklepine added this to In progress in Dawn: Iterations Roadmap Sep 8, 2021
@ludoboludo ludoboludo self-requested a review September 9, 2021 14:29
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First look, left a few comments.

layout/theme.liquid Outdated Show resolved Hide resolved
assets/collage.css Show resolved Hide resolved
sections/header.liquid Outdated Show resolved Hide resolved
sections/header.liquid Show resolved Hide resolved
sections/main-password-footer.liquid Show resolved Hide resolved
sections/main-product.liquid Show resolved Hide resolved
assets/collage.css Show resolved Hide resolved
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Started reviewing again but I will finish tomorrow morning 👍

assets/base.css Outdated Show resolved Hide resolved
assets/collage.css Outdated Show resolved Hide resolved
assets/component-image-with-text.css Outdated Show resolved Hide resolved
assets/component-menu-drawer.css Show resolved Hide resolved
assets/component-product-grid.css Outdated Show resolved Hide resolved
assets/component-product-grid.css Outdated Show resolved Hide resolved
@sofiamatulis
Copy link
Contributor Author

sofiamatulis commented Sep 10, 2021

Here are the current patterns for 1200 (for 1600 youd add or remove 2rem depending if its negative or positive since its from 5rem to 7rem)

Mobile and Desktop:
padding-top: 4rem; (for 1600 it would be 6rem) Mobile will always default to the 1200 values

  1. .blog.background-secondary
  2. multicolumn.background-secondary
  3. .collection-hero.collection-hero--with-image

padding-bottom: 5rem; (for 1600 it would be 7rem)

  1. .background-secondary
  2. .blog.background-secondary
  3. .multicolumn.background-secondary
  4. .multicolumn:not(.background-secondary)
  5. .image-with-text:not(.color-scheme-background-1)

Mobile
margin-top: -1rem; (ONLY FOR 1200)

  1. .collage-wrapper-title
  2. .collection-list-wrapper:not(.no-heading) .title-wrapper-with-link
  3. .blog:not(.no-heading)
  4. .collection .title:not(.title--no-heading)

Desktop
margin-top: 6rem; (for 1200, so for 1600 it would be 8rem)

  1. .collage-wrapper.no-heading (ONLY FOR 1200)
  2. .collection-list-wrapper.no-heading
  3. .blog.no-heading
  4. .multicolumn.no-heading:not(.background-secondary)
  5. .collection .title-wrapper-with-link--no-heading

Some other rules:

  1. When there are multiple collage sections without titles they stack under each other: https://screenshot.click/10-34-sqi0t-jmux0.mp4

  2. The sections that have product cards (featured collections, search results) should have a reduce margin-bottom, because there is additional spacing below each product card. This is where you will see the class negative-margin. Video: https://screenshot.click/10-35-gqebt-oin3l.mp4 You will find it being used in featured collections, search results, main collection and collection list.

  3. The collage section and collection stack (in this order). When collection list doesn't have a title: https://screenshot.click/10-37-2ioz7-e3kw3.mp4

4)The email signup doesn't have a margin-bottom when above the footer (last section) when background one and full width is selected. Otherwise youd end up with double the margin.

  1. Email signup and rich text have less spacing below when background 1 is selected in the colour setting.

  2. When titles are added to sections the margin-top should be 5rem on desktop and 4rem on mobile (for 1200). When titles are removed, the margin-top should be 6rem on desktop and 5rem on mobile. This only applies to: featured collection, collection list, collage, multi-column, blog posts, page section.

@Oliviammarcello
Copy link
Contributor

Oliviammarcello commented Sep 10, 2021

@sofiamatulis Looks great, just have a few notes:

  • The spacing between the section title and the section is now much larger when it shouldn't be. What is done in the live version should remain. Current | This PR
  • For the pagination, the hover over numbers is a 2px thick line, can it be changed to 1px. Also, the arrow still has an opacity. Video
  • The spinner in the add to cart button and on the cart a much larger than the spinner on the filtering page. Can we decrease the size of the first two spinners to match what is done on filters?
  • The margins between sections have been updated on desktop and mobile. It should only be updated when the screen width is set to 1600px (Wide setting) on desktop not mobile.
  • For the collage section, there is a very faint line on the collection cards still. Screenshot.

cc @wiktoriaswiecicka

@sofiamatulis
Copy link
Contributor Author

sofiamatulis commented Sep 10, 2021

  • For the collage section, there is a very faint line on the collection cards still. Screenshot.

@Oliviammarcello Thanks for the feedback! For the collage cards, I cant seem to reproduce what you see 🤔 I already have it set to have no border: https://screenshot.click/10-26-lkn0e-jevrh.mp4

Do you mind sharing what collection youre adding and re-trying it?

I can't seem to reproduce it either now 🤔 Not too sure what happened

assets/component-collection-hero.css Outdated Show resolved Hide resolved
assets/base.css Outdated Show resolved Hide resolved
assets/section-featured-blog.css Outdated Show resolved Hide resolved
Copy link
Contributor

@martinamarien martinamarien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't reviewed everything. But while I take a break, I thought I'd leave these comments for now.

layout/theme.liquid Outdated Show resolved Hide resolved
assets/base.css Show resolved Hide resolved
assets/product-form.js Show resolved Hide resolved
Dawn: Iterations Roadmap automation moved this from In progress to In review Sep 10, 2021
@Oliviammarcello
Copy link
Contributor

Oliviammarcello commented Sep 10, 2021

  • On mobile there is still one issue where the spacing is too tight under the rich text cta. Video.

@Oliviammarcello
Copy link
Contributor

Oliviammarcello commented Sep 13, 2021

  • I'm not sure if this broke in this PR, but the collage section layout with 1 or 2 blocks is now not working. Video

This may have happened when fixing the collage, collection list, and multicolumn sections inconsistent grid alignments?

Copy link
Contributor

@Oliviammarcello Oliviammarcello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM🙌

ludoboludo
ludoboludo previously approved these changes Sep 13, 2021
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well 👍

KaichenWang
KaichenWang previously approved these changes Sep 14, 2021
Copy link
Contributor

@KaichenWang KaichenWang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

layout/theme.liquid Outdated Show resolved Hide resolved
@martinamarien martinamarien dismissed their stale review September 14, 2021 19:20

Two other devs have reviewed.

@sofiamatulis sofiamatulis merged commit 24e442c into main Sep 14, 2021
Dawn: Iterations Roadmap automation moved this from In review to Done Sep 14, 2021
@sofiamatulis sofiamatulis deleted the misc-design branch September 14, 2021 19:23
@ludoboludo ludoboludo mentioned this pull request Sep 17, 2021
5 tasks
olafghanizadeh pushed a commit to hyttefeber/dawn that referenced this pull request Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Enhancement New feature or request Severity: 1 Urgent Severity
Development

Successfully merging this pull request may close these issues.

Miscellaneous design refinements
6 participants