-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update summary to handle hub, and make icons simpler to positon * Fix wrapping of summary row title when theres an icon * Added hub example to summary page * Hub tweaks for mobile and created example of entire hub page
- Loading branch information
Showing
21 changed files
with
556 additions
and
160 deletions.
There are no files selected for viewing
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,28 +1,38 @@ | ||
$breadcrumb-chevron-height: 0.65rem; | ||
|
||
.breadcrumb { | ||
display: flex; | ||
align-items: center; | ||
padding: 1rem 0; | ||
} | ||
|
||
.breadcrumb__items { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
&__items { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.breadcrumb__item { | ||
display: inline-block; | ||
margin: 0 0.4rem 0 0; | ||
white-space: nowrap; /* stop items from wrapping, break on chevron only */ | ||
&__item { | ||
display: inline-block; | ||
margin: 0; | ||
white-space: nowrap; /* stop items from wrapping, break on chevron only */ | ||
|
||
@include mq(xs, s) { | ||
margin-bottom: 0.5rem; | ||
} | ||
} | ||
&:not(:last-child):after { | ||
@include icon('chevron-right', $breadcrumb-chevron-height, $breadcrumb-chevron-height); | ||
|
||
.breadcrumb__item--current { | ||
color: $color-text-light; | ||
} | ||
content: ''; | ||
margin: 0 0.4rem; | ||
vertical-align: middle; | ||
} | ||
|
||
@include mq(xs, s) { | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.breadcrumb__link { | ||
text-decoration: none; | ||
&--current { | ||
color: $color-text-light; | ||
} | ||
} | ||
|
||
&__link { | ||
text-decoration: none; | ||
} | ||
} |
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
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
Oops, something went wrong.