Skip to content
New issue

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

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

Already on GitHub? # to your account

Add billboard component (Fixes #93) #105

Merged
merged 3 commits into from
May 10, 2018
Merged

Add billboard component (Fixes #93) #105

merged 3 commits into from
May 10, 2018

Conversation

alexgibson
Copy link
Member

@alexgibson alexgibson commented May 9, 2018

@alexgibson alexgibson added WIP 🚧 Work In Progress Do Not Merge ⚠️ Do Not Merge labels May 9, 2018
@alexgibson
Copy link
Member Author

/cc @vincejoyiv

@alexgibson
Copy link
Member Author

Ok, I think this is now ready for review / merge

@alexgibson alexgibson requested a review from craigcook May 10, 2018 17:08
@alexgibson alexgibson removed Do Not Merge ⚠️ Do Not Merge WIP 🚧 Work In Progress labels May 10, 2018
@alexgibson
Copy link
Member Author

Ok, one further amend to make.

@alexgibson alexgibson added Do Not Merge ⚠️ Do Not Merge and removed Do Not Merge ⚠️ Do Not Merge labels May 10, 2018
@alexgibson
Copy link
Member Author

Ok, last design tweaks are in place. This is ready for code review.

@craigcook craigcook self-assigned this May 10, 2018
Copy link
Member

@craigcook craigcook left a comment

Choose a reason for hiding this comment

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

Looks great. I'm a little wary of some of the "magic numbers" that appear without explanation. I think we should define those as variables (just in this file, not tokens for consumption) with some maths to make it clear how those values are derived. That could also cut down on some of the repetition.

&:hover,
&:active,
&:focus {
@include transition(border-bottom .1s ease-in-out);
Copy link
Member

Choose a reason for hiding this comment

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

The nittiest of nitpicks: I think this could be border-bottom-color, though I doubt that makes any real difference.

I've also been favoring milliseconds over decimals lately, based on something I saw in a presentation by someone... somewhere... the gist being "browsers think in milliseconds anyway, you might as well declare them explicitly and save them some work." So this could be 100ms instead of .1s

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

Copy link
Member

@craigcook craigcook left a comment

Choose a reason for hiding this comment

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

🎱

@craigcook craigcook merged commit 281283c into mozilla:master May 10, 2018
@alexgibson alexgibson deleted the marketing-tile branch May 10, 2018 23:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants