From 4ede497c96634a029cc86bff3899d7ac7ef897a1 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Mon, 9 Apr 2018 10:35:44 +0100 Subject: [PATCH] Add main layout --- docs/_data/global.json | 37 ++ docs/_includes/elements/improve-page.html | 16 + docs/_includes/navbar.html | 46 +- docs/_javascript/main.js | 24 +- docs/_layouts/default.html | 2 +- docs/_layouts/documentation.html | 104 ++-- docs/_sass/global.sass | 6 +- docs/_sass/main.sass | 64 +++ docs/_sass/specific.sass | 31 +- docs/bulma-docs.sass | 3 + docs/css/bulma-docs.css | 184 ++++++- docs/documentation/elements/button.html | 615 +++++++++++----------- docs/index.html | 2 +- docs/lib/main.js | 24 +- sass/components/breadcrumb.sass | 5 +- sass/components/navbar.sass | 2 + 16 files changed, 719 insertions(+), 446 deletions(-) create mode 100644 docs/_includes/elements/improve-page.html create mode 100644 docs/_sass/main.sass diff --git a/docs/_data/global.json b/docs/_data/global.json index fc5f0e3e..bcc1dc61 100644 --- a/docs/_data/global.json +++ b/docs/_data/global.json @@ -1,4 +1,41 @@ { + "navbar_items": [ + { + "id": "templates", + "color": "has-text-info", + "fa_type": "fas", + "fa_icon": "fa-code", + "title": "Templates" + }, + { + "id": "videos", + "color": "has-text-success", + "fa_type": "fas", + "fa_icon": "fa-play-circle", + "title": "Videos" + }, + { + "id": "blog", + "color": "bd-has-text-rss", + "fa_type": "fas", + "fa_icon": "fa-rss", + "title": "Blog" + }, + { + "id": "expo", + "color": "bd-has-text-star", + "fa_type": "fas", + "fa_icon": "fa-star", + "title": "Expo" + }, + { + "id": "love", + "color": "has-text-danger", + "fa_type": "fas", + "fa_icon": "fa-heart", + "title": "Love" + } + ], "more_items": [ { "id": "bulma-start", diff --git a/docs/_includes/elements/improve-page.html b/docs/_includes/elements/improve-page.html new file mode 100644 index 00000000..791877a3 --- /dev/null +++ b/docs/_includes/elements/improve-page.html @@ -0,0 +1,16 @@ +
+
+

+ + Made with Bulma + +
+ This page is open source. + Noticed a typo? Or something unclear? +
+ + Improve this page on GitHub + +

+
+
diff --git a/docs/_includes/navbar.html b/docs/_includes/navbar.html index 4f5f3c92..08909a01 100644 --- a/docs/_includes/navbar.html +++ b/docs/_includes/navbar.html @@ -1,4 +1,4 @@ -