]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix index carbon
authorJeremy Thomas <bbxdesign@gmail.com>
Sat, 24 Sep 2016 15:10:11 +0000 (16:10 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 24 Sep 2016 15:10:11 +0000 (16:10 +0100)
docs/_layouts/default.html
docs/bulma-docs.sass
docs/css/bulma-docs.css

index 5e586593debc409e5a7d58e566c79d3f94819044..dc9a5de9d4ffb262a5063b78d171e05b1b700b2b 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
   {% include head.html %}
   <body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
     {{ content }}
index f0590133485f2960a898db8b97fcff5d4ded6be0..c6f05731170efda5e8767efff8b55697555da996 100644 (file)
@@ -201,7 +201,7 @@ $curve: cubic-bezier(0, 0.71, 0.29, 1)
   animation: slideDown 500ms both
   animation-delay: 1.6s
 
-#carbon
+html.route-index #carbon
   animation: slideUp 500ms both
   animation-delay: 1.8s
 
index fd7b9480f8cf851d218cbb4ea36ce7d9ebd98285..9cf9d0be4062148de02de6a25387362428b288a2 100644 (file)
@@ -6387,7 +6387,7 @@ body.page-grid .column > .notification {
   animation-delay: 1.6s;
 }
 
-#carbon {
+html.route-index #carbon {
   animation: slideUp 500ms both;
   animation-delay: 1.8s;
 }