First commit.
This commit is contained in:
commit
b7977e1c28
2 changed files with 28081 additions and 0 deletions
33
sass/navigation/breadcrumb/_breadcrumb.scss
Normal file
33
sass/navigation/breadcrumb/_breadcrumb.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
10
sass/navigation/breadcrumb/breadcrumb.twig
Normal file
10
sass/navigation/breadcrumb/breadcrumb.twig
Normal 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>
|
||||
Loading…
Reference in a new issue