-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from sebgroup/feature/breadcrumbs
Feature/breadcrumbs
- Loading branch information
Showing
31 changed files
with
193 additions
and
149 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
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,4 +1,45 @@ | ||
@import "../bootstrap-core/breadcrumb"; | ||
.breadcrumb-item { | ||
font-size: $font-size-sm; | ||
&.active { | ||
font-weight: $breadcrumb-active-font-weight; | ||
} | ||
+ .breadcrumb-item::before { | ||
width: $breadcrumb-divider-width; | ||
vertical-align: middle; | ||
} | ||
|
||
} | ||
|
||
|
||
@include media-breakpoint-down(xs) { | ||
.breadcrumb { | ||
padding:0; | ||
margin-bottom: 0; | ||
} | ||
.breadcrumb-item { | ||
display: none; | ||
|
||
+ .breadcrumb-item { | ||
&::before { | ||
display: none; | ||
} | ||
|
||
padding-left: 0; | ||
} | ||
|
||
&:nth-last-child(2) { | ||
display: inline-block; | ||
padding: $breadcrumb-padding-y 0; | ||
margin-bottom: $breadcrumb-margin-bottom; | ||
|
||
&::before { | ||
display: inline-block; | ||
padding-right: $breadcrumb-item-padding; | ||
color: $breadcrumb-divider-color; | ||
content: $breadcrumb-back-icon; | ||
width: $breadcrumb-divider-width; | ||
vertical-align: middle; | ||
} | ||
} | ||
} | ||
} |
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
6 changes: 3 additions & 3 deletions
6
src/example/components/breadcrumbs/breadcrumbs.component.html
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
4 changes: 2 additions & 2 deletions
4
src/example/components/button-group/button-group.component.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
<a name="cards"><h2 class="px-3 px-md-0 my-3">Cards</h2></a> | ||
<div class="row"> | ||
<div class="col mb-4"> | ||
<a name="cards"><h2 class="my-3">Cards</h2></a> | ||
<div class="card mx-n3 mx-md-0"> | ||
<div class="card-body" id="cardExample"> | ||
<h4 class="card-title">Card with header and content</h4> | ||
<p class="mb-3">For more info and examples please refer to Bootstraps <a href="http://getbootstrap.com/docs/4.1/components/card/" target="_blank">official documentation</a>.</p> | ||
<div class="card"> | ||
<div class="card-body" id="cardExample"> | ||
<h4 class="card-title">Card with header and content</h4> | ||
<p class="mb-3">For more info and examples please refer to Bootstraps <a href="http://getbootstrap.com/docs/4.1/components/card/" target="_blank">official documentation</a>.</p> | ||
<div class="card"> | ||
<h4 class="card-header">Card header</h4> | ||
<div class="card-body"> | ||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p> | ||
<a href="#" class="btn btn-primary">Go somewhere</a> | ||
</div> | ||
</div> | ||
<exemplify [selector]="'#cardExample > .card'"></exemplify> | ||
<h4 class="card-header">Card header</h4> | ||
<div class="card-body"> | ||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p> | ||
<a href="#" class="btn btn-primary">Go somewhere</a> | ||
</div> | ||
</div> | ||
<exemplify [selector]="'#cardExample > .card'"></exemplify> | ||
</div> | ||
</div> | ||
</div> |
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.