1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-16 18:41:40 +04:00

breadcrumb

This commit is contained in:
chomik
2019-05-20 23:59:30 +02:00
parent a0e91635c7
commit c4307886ea
6 changed files with 44 additions and 1315 deletions
+1
View File
@@ -1,6 +1,7 @@
- page: alerts
- page: avatars
- page: badges
- page: breadcrumb
- page: buttons
- page: cards
- page: carousel
+17
View File
@@ -0,0 +1,17 @@
---
title: Breadcrumb
menu: docs.breadcrumb
---
## Default markup
{% example %}
{% include ui/breadcrumb.html %}
{% endexample %}
## Breadcrumb variations
{% example %}
{% include ui/breadcrumb.html class="breadcrumb-dots" %}
{% include ui/breadcrumb.html class="breadcrumb-arrows" %}
{% endexample %}
File diff suppressed because it is too large Load Diff
+1
View File
@@ -1,6 +1,7 @@
---
title: Steps
menu: docs.steps
new: true
---
Steps are progress indicators of a sequence of task steps.
+10
View File
@@ -0,0 +1,10 @@
{% assign pages = include.pages | default: "Home,Library,Data" | split: "," %}
<ol class="breadcrumb{% if include.class %} {{ include.class }}{% endif %}">
{% for page in pages %}
{% if forloop.last %}
<li class="breadcrumb-item active" aria-current="page">{{ page }}</li>
{% else %}
<li class="breadcrumb-item"><a href="#">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ol>
+15
View File
@@ -1,4 +1,19 @@
.breadcrumb {
margin: 0;
padding: 0;
background: transparent;
}
.breadcrumb-dots {
.breadcrumb-item + .breadcrumb-item::before {
content: '·';
}
}
.breadcrumb-arrows {
.breadcrumb-item + .breadcrumb-item::before {
content: $icon-fe-chevron-right;
font-family: $font-icons;
vertical-align: bottom;
}
}