mirror of
https://github.com/tabler/tabler.git
synced 2026-07-16 18:41:40 +04:00
breadcrumb
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
- page: alerts
|
||||
- page: avatars
|
||||
- page: badges
|
||||
- page: breadcrumb
|
||||
- page: buttons
|
||||
- page: cards
|
||||
- page: carousel
|
||||
|
||||
@@ -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,6 +1,7 @@
|
||||
---
|
||||
title: Steps
|
||||
menu: docs.steps
|
||||
new: true
|
||||
---
|
||||
|
||||
Steps are progress indicators of a sequence of task steps.
|
||||
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user