From 13ada7a36e13ce862dbbf6abefabdeb3faff340b Mon Sep 17 00:00:00 2001 From: mrszympek Date: Sat, 1 Jun 2019 23:42:08 +0200 Subject: [PATCH] DOCS timeline --- pages/_data/docs.yml | 1 + pages/_docs/cards.md | 14 +++++++------- pages/_docs/timelines.md | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 pages/_docs/timelines.md diff --git a/pages/_data/docs.yml b/pages/_data/docs.yml index e3fb7f35..e525cfed 100644 --- a/pages/_data/docs.yml +++ b/pages/_data/docs.yml @@ -14,6 +14,7 @@ - page: steps - page: tables - page: tabs +- page: timelines - page: toasts - page: tooltips - page: typography diff --git a/pages/_docs/cards.md b/pages/_docs/cards.md index ae5379de..06cc16ff 100644 --- a/pages/_docs/cards.md +++ b/pages/_docs/cards.md @@ -30,7 +30,7 @@ The best way to make your post eye-catching is adding an image to it. To do so, If you want to create a couple of posts next to each other, add the `.row-deck` class to `.row`—then they will all have the same height. -{% example html columns=2 %} +{% example html columns=3 %}
@@ -54,13 +54,13 @@ If you want to create a couple of posts next to each other, add the `.row-deck` You can also add the image on the left side of the card. All you need do to is: add the `.card-aside` class to the element with the `.card` class. Then add the image in the `.card-aside-column` element. No worries, tabler will automatically center it and scale to right size: -{% example html columns=2 %} +{% example html columns=3 %} {% include cards/blog-single.html type="aside" liked=1 %} {% endexample %} ### Color variations -{% example html columns=2 %} +{% example html columns=3 %}
{% include cards/card.html title="Card status on top" hide-options=true status-position="top" status-color="red" body="Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima neque" %} @@ -89,7 +89,7 @@ You can also add the image on the left side of the card. All you need do to is: ### Card with badge on image -{% example html columns=2 %} +{% example html columns=3 %}
@@ -116,7 +116,7 @@ You can also add the image on the left side of the card. All you need do to is: ### Card with badge -{% example html columns=2 %} +{% example html columns=3 %}
@@ -146,7 +146,7 @@ You can also add the image on the left side of the card. All you need do to is: ### Card with aside image -{% example html columns=2 %} +{% example html columns=3 %}
@@ -251,7 +251,7 @@ You can also add the image on the left side of the card. All you need do to is: {% endexample %} ### Card with search -{% example html columns=2 %} +{% example html columns=3 %}
{% include cards/card.html title="Card with alert" alert="Adding action was successful" %} diff --git a/pages/_docs/timelines.md b/pages/_docs/timelines.md new file mode 100644 index 00000000..131d4520 --- /dev/null +++ b/pages/_docs/timelines.md @@ -0,0 +1,14 @@ +--- +title: Timelines +menu: docs.timelines +--- + +### Timeline +{% example html columns=3 %} + {% include cards/timeline.html %} +{% endexample %} + +### Simple Timeline +{% example html columns=1 %} + {% include cards/timeline.html simple=true %} +{% endexample %} -- GitLab