From 71dc422567f267ed3811a62fb98e045df12807c1 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 17 Apr 2018 18:20:13 -0700 Subject: [PATCH] Template for child pages; auto-footer; etc. --- 5layers.yml | 18 +-- assets/css/devportal.css | 7 +- tool/template-footer.html | 31 +++-- ...ng.html => template-landing-category.html} | 0 tool/template-landing-docs.html | 31 +++-- tool/template-page-children.html | 107 ++++++++++-------- 6 files changed, 112 insertions(+), 82 deletions(-) rename tool/{template-cat-landing.html => template-landing-category.html} (100%) diff --git a/5layers.yml b/5layers.yml index d40edff68c..eb24aedaad 100644 --- a/5layers.yml +++ b/5layers.yml @@ -66,7 +66,7 @@ pages: doc_type: Concepts category: Payment System html: concept-payment-system.html - template: template-cat-landing.html + template: template-landing-category.html targets: - local @@ -113,7 +113,7 @@ pages: doc_type: Concepts category: Consensus Network html: concept-consensus-network.html - template: template-cat-landing.html + template: template-landing-category.html targets: - local @@ -143,7 +143,7 @@ pages: doc_type: References category: rippled API Public Methods html: reference-rippled-public.html - template: template-cat-landing.html + template: template-landing-category.html targets: - local @@ -222,7 +222,7 @@ pages: doc_type: References category: rippled API Admin Methods html: reference-rippled-admin.html - template: template-cat-landing.html + template: template-landing-category.html targets: - local @@ -231,7 +231,7 @@ pages: doc_type: References category: rippled API Admin Methods subcategory: Server Control Methods - template: template-cat-landing.html + template: template-landing-category.html targets: - local @@ -240,21 +240,21 @@ pages: doc_type: References category: Test Empty Category html: reference-rippled-conventions.html - template: template-cat-landing.html + template: template-landing-category.html targets: - local - name: Use Cases funnel: Use Cases html: use-cases.html - template: template-cat-landing.html # TODO: use-cases landing + template: template-landing-category.html # TODO: use-cases landing targets: - local - name: Dev Tools funnel: Dev Tools html: dev-tools.html - template: template-cat-landing.html # TODO: dev tools landing + template: template-landing-category.html # TODO: dev tools landing targets: - local @@ -301,7 +301,7 @@ pages: - name: News funnel: News html: news.html - template: template-cat-landing.html # TODO: news landing + template: template-landing-category.html # TODO: news landing targets: - local diff --git a/assets/css/devportal.css b/assets/css/devportal.css index b80f2e6096..59d1245a7d 100644 --- a/assets/css/devportal.css +++ b/assets/css/devportal.css @@ -421,6 +421,7 @@ th { line-height: 38px; color: #27a2db; text-decoration: none; + transition: 0.5s; } .navbar-default .navbar-nav .active a { @@ -955,12 +956,8 @@ th { font-size: } -.foot-nav-col .children-display ul { - padding-left: 20px; -} -.foot-nav-col .children-display li { +.children-display ul { padding-left: 0; - margin-left: 0; } .foot-nav-col .children-display li:before { content: ""; diff --git a/tool/template-footer.html b/tool/template-footer.html index 7e162fee70..7d5083f731 100644 --- a/tool/template-footer.html +++ b/tool/template-footer.html @@ -1,23 +1,32 @@