-
Notifications
You must be signed in to change notification settings - Fork 402
[Merged by Bors] - Improve header navigation #315
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
Closed
Closed
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
441e7e0
Organise SCSS files by folder
doup 5a4b11b
Remove `!important` from `container` class
doup 52e034c
Add SASS mixins & functions files
doup 97efd67
Add typography, breakpoint & color vars
doup fa621e2
Move `body` el styling to it's own file & improve `html` root font-si…
doup f5fa676
Move `.container` to its own file
doup 2dc0967
Move `.container` to its own file (cont.)
doup 1041001
Add improved layout header (first-pass)
doup a30bcae
Merge commit '5a4b11b655e49e03f750673138cfc86c3c89be5b' into feature/…
doup b14baef
Remove `docs-menu`
doup a28043d
Add `page-with-menu` component for docs & assets
doup d235eda
Move layouts & macros to folders
doup c4115da
Move layouts & macros to folders (cont.)
doup 4b63913
Remove custom `header-desktop-up` breakpoint in favor of `tablet-land…
doup 93cb36b
Add `page-with-menu` layout
doup f9bae02
Tweak layout styling
doup d61437b
Update `book-section` template to use `page-with-menu` layout
doup 7fbdc5d
Change `assets` layout to `page-with-menu`
doup 037d90a
Reduce hamburger button width
doup f337b21
Change `examples` layout to `page-with-menu`
doup 481a1f6
Make `page-with-menu` layout menu sticky
doup d7e9047
Improve `page-with-menu` menu scrollbar style
doup e495126
Fix features responsive behaviour
doup 0d0be3a
Merge commit 'b12de9d8fc21b97e65dfcc43d405e6a856145639' into feature/…
doup afe80e7
Improve layout so that content overflow-x doesn't break the header
doup 7f96222
Make sponsors responsive
doup d4828ab
Fix sponsors in chrome
doup f85d80d
Fix sponsor distortion in Safari
doup b2c2e38
Move layout level `overflow-x` to `page-with-menu`, otherwise it brea…
doup 9242fd9
Add `item-grid` container (e.g. for assets)
doup 62e19a7
Tweak mobile `main-menu` height so it's taller than the viewport
doup e17b552
Remove unused `card-list` classes
doup 8adc3de
Tweak pages padding
doup 2dcc2b6
Change bronze sponsor color to a redish brown
doup 6c808b6
Fix code blocks word wrapping that was messing with small screens
doup 46f4e32
Add link to homepage on mobile-menu logo
doup 651527d
Tweak assets page with improved grid based layout
doup 7be1d19
Remove unnecessary overflow scroll on `html`
doup 726fc29
Merge commit 'ba02fb6570d8df85d38c664d00f65f504b49925d' into feature/…
doup 98fc04d
Improve behaviour when a mouse is connected
doup e0bcb83
Avoid horizontal overflow on news & docs by forcing word break
doup 06494a6
Merge commit 'c0135244b7a563e532859cffe6e49b8aa5d6f23f' into feature/…
doup b799d3a
Fix assets macro var name
doup 782ca57
Fix mobile menu logo vertical alignment
doup 70b2b5e
Use correct value for `scrollbar-width`
doup d48879f
Merge commit '3cd50a8af5336dae248899d27e0b711addf07e0a' into feature/…
doup 328d2a0
Remove unused code snippet
doup 02be67b
Remove `calc-rem` from CSS components
doup fbcbd1a
Remove Sass color functions
doup b1dbb96
Revert features changes
doup cd1e66e
Remove old layout
doup c309223
Merge commit '4a9b6de3700959e9419cac9e4b38d5549b4feb64' into feature/…
doup daa816c
Remove unused vars
doup 822c2f5
Merge commit '55027e2820c69ccb618422f0313a9e52e6b0fec0' into feature/…
doup 96f640a
Merge commit '9141a6ab47d1994633c05dfa02a408bd608962f5' into feature/…
doup fa4e6b2
Add back header message
doup b1a6e2b
Merge commit 'b974e2676d2d95e31b8d1a2919d846f3d9d9c423' into feature/…
doup 62f5b04
Remove vertical spacing from `examples` & remove unused assets CSS
doup c8267e4
Merge commit 'e807dbab39f70a8cf1291171bb1a9a519dbbca4b' into feature/…
doup 8476ade
Merge commit '75acb730406ef9c5928d37daf8bb32e4dbeb8b13' into feature/…
doup 7da765f
Increase page name size & make it bold
doup dde1c15
Make menu entries bold
doup da7f1ad
Improve buttons vertical alignment & size
doup e4cd420
Fix features page to match current prod version
doup 1c4c8f4
Improve features page responsive
doup 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
This file contains hidden or 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,4 @@ | ||
| /// Convert px size to rem size | ||
| @function calc-rem($size) { | ||
| @return ($size / $size-body) * 1rem; | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,26 @@ | ||
| .button-square { | ||
| @include flex-center; | ||
|
|
||
| position: relative; | ||
| cursor: pointer; | ||
|
|
||
| &:hover { | ||
| &:before { | ||
| $padding: 8px; | ||
|
|
||
| content: ''; | ||
| position: absolute; | ||
| top: $padding; | ||
| right: $padding; | ||
| bottom: $padding; | ||
| left: $padding; | ||
| background-color: rgba($color-white, 0.05); | ||
| border-radius: $border-radius; | ||
| } | ||
| } | ||
|
|
||
| &--header { | ||
| width: calc(var(--header-height) - 8px); | ||
| height: var(--header-height); | ||
| } | ||
| } |
This file contains hidden or 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,43 @@ | ||
| .button { | ||
| $color-blue: #799bbb; | ||
| $color-pink: #bb799c; | ||
|
|
||
| display: inline-flex; | ||
| align-items: center; | ||
| background-color: $color-blue; | ||
| border: 3px solid #576f86; | ||
| padding: 6px 8px; | ||
| border-radius: $border-radius; | ||
| font-size: 1.2rem; | ||
| font-weight: 500; | ||
| transition: transform $duration-fast; | ||
|
|
||
| &:hover { | ||
| background-color: darken($color-blue, 3%); | ||
| } | ||
|
|
||
| &:active { | ||
| transform: translateY(2px); | ||
| } | ||
|
|
||
| &, &:hover, &:visited { | ||
| color: $color-white; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| &__icon { | ||
| height: 1.1em; | ||
| vertical-align: middle; | ||
| margin-left: 0.2em; | ||
| font-size: 0.9em; | ||
| } | ||
|
|
||
| &--pink { | ||
| background-color: $color-pink; | ||
| border-color: #865767; | ||
|
|
||
| &:hover { | ||
| background-color: darken($color-pink, 3%); | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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,12 @@ | ||
| .container { | ||
| --container-padding: 8px; | ||
|
|
||
| width: 100%; | ||
| max-width: calc(#{$max-width} + var(--container-padding) * 2); | ||
| margin: 0 auto; | ||
| padding: 0 var(--container-padding); | ||
|
|
||
| @media #{$bp-tablet-landscape-up} { | ||
| --container-padding: 16px; | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.