First commit.

This commit is contained in:
Fredrik Jonsson 2017-03-09 14:26:46 +01:00
commit b7977e1c28
2 changed files with 28081 additions and 0 deletions

View file

@ -0,0 +1,33 @@
// Dependencies.
@import 'components/visually-hidden/visually-hidden';
// Breadcrumb navigation
//
// The path to the current page in the form of a list of links.
//
// Markup: breadcrumb.twig
//
// Style guide: navigation.breadcrumb
.breadcrumb,
%breadcrumb {
@media print {
display: none;
}
&__title {
@extend %visually-hidden;
}
&__list {
margin: 0;
padding: 0;
}
&__item {
display: inline;
list-style-type: none;
margin: 0;
padding: 0;
}
}

View file

@ -0,0 +1,10 @@
<nav class="breadcrumb {{modifier_class}}" role="navigation">
<h2 class="breadcrumb__title">You are here</h2>
<ol class="breadcrumb__list">
<li class="breadcrumb__item"><a href="#">Home</a> › </li>
<li class="breadcrumb__item"><a href="#">Level 1</a> › </li>
<li class="breadcrumb__item"><a href="#">Level 2</a> › </li>
<li class="breadcrumb__item">Current item</li>
</ol>
</nav>