From 3f8b8bb4f81db590ff87931c9df8c085dbcb726c Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Mon, 12 Feb 2018 17:03:07 +0530 Subject: [PATCH] fix footer css --- foundation/public/css/erpnext-org-theme.css | 24 +++++- foundation/public/less/erpnext-org-theme.less | 26 ++++++- .../templates/includes/footer/footer.html | 78 +++++++++---------- foundation/www/index.html | 19 +---- 4 files changed, 84 insertions(+), 63 deletions(-) diff --git a/foundation/public/css/erpnext-org-theme.css b/foundation/public/css/erpnext-org-theme.css index d68723d5..49c0c37a 100644 --- a/foundation/public/css/erpnext-org-theme.css +++ b/foundation/public/css/erpnext-org-theme.css @@ -6,9 +6,10 @@ max-width: 1366px; margin: 0 auto; } -.feature { +.feature, +.footer { padding: 8rem 2.5rem; - border-bottom: 1px solid #EBEFF2; + border-top: 1px solid #EBEFF2; } .homepage-illustration { margin-bottom: 4rem; @@ -81,7 +82,7 @@ background-color: #fafbfc; } .secondary-link { - color: #7575ff; + color: #6c7680; transition: color 0.5s ease-in; } .secondary-link:hover { @@ -99,3 +100,20 @@ .bulleted-list li { padding-bottom: 1em; } +.row { + display: flex; + text-align: left; + justify-content: space-between; + margin-bottom: 8rem; +} +.footer-list { + padding-left: 0; + padding: ; +} +.list-unstyled li { + list-style: none; + margin: 1em 0; +} +.top-spacer { + margin-top: 3rem; +} diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less index 6b59e855..e9b16337 100644 --- a/foundation/public/less/erpnext-org-theme.less +++ b/foundation/public/less/erpnext-org-theme.less @@ -10,9 +10,9 @@ text-align:center; margin: 0 auto; } -.feature { +.feature, .footer { padding: 8rem 2.5rem; - border-bottom: 1px solid @light-border-color; + border-top: 1px solid @light-border-color; } .homepage-illustration { @@ -97,7 +97,7 @@ text-align:center; .secondary-link{ - color:@brand-primary; + color:@text-light; transition: color .5s ease-in; &:hover{ color: @text-dark; @@ -118,3 +118,23 @@ text-align:center; .bulleted-list li { padding-bottom: 1em; } + +.row { + display: flex; + text-align: left; + justify-content: space-between; + margin-bottom: 8rem; +} + +.footer-list { + padding-left: 0; + padding: ; +} +.list-unstyled li { + list-style: none; + margin: 1em 0; +} + +.top-spacer { +margin-top: 3rem; +} diff --git a/foundation/templates/includes/footer/footer.html b/foundation/templates/includes/footer/footer.html index d440cd2d..2293f82d 100644 --- a/foundation/templates/includes/footer/footer.html +++ b/foundation/templates/includes/footer/footer.html @@ -1,124 +1,124 @@ -