From d1498b802bbae0d71d77948c9494820b39bbbf2b Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Wed, 14 Feb 2018 18:14:10 +0530 Subject: [PATCH] Add icons and blog page styles --- foundation/public/css/erpnext-org-theme.css | 122 +++++- foundation/public/css/indicator.css | 71 ++++ foundation/public/img/agriculture.svg | 390 ++++++++++++++++++ foundation/public/img/distribution.svg | 265 ++++++++++++ foundation/public/img/education.svg | 169 ++++++++ foundation/public/img/healthcare.svg | 368 +++++++++++++++++ .../public/img/manufacturing-domain.svg | 176 ++++---- foundation/public/img/non-profit.svg | 228 ++++++++++ foundation/public/img/retail.svg | 149 +++++++ foundation/public/img/services.svg | 178 ++++++++ foundation/public/less/erpnext-org-theme.less | 138 ++++++- foundation/public/less/indicator.less | 2 + foundation/public/less/variables.less | 2 +- foundation/templates/base.html | 4 + .../templates/includes/navbar/navbar.html | 8 +- foundation/www/index.html | 56 ++- 16 files changed, 2194 insertions(+), 132 deletions(-) create mode 100644 foundation/public/css/indicator.css create mode 100644 foundation/public/img/agriculture.svg create mode 100644 foundation/public/img/distribution.svg create mode 100644 foundation/public/img/education.svg create mode 100644 foundation/public/img/healthcare.svg create mode 100644 foundation/public/img/non-profit.svg create mode 100644 foundation/public/img/retail.svg create mode 100644 foundation/public/img/services.svg diff --git a/foundation/public/css/erpnext-org-theme.css b/foundation/public/css/erpnext-org-theme.css index 12389294..f04836a3 100644 --- a/foundation/public/css/erpnext-org-theme.css +++ b/foundation/public/css/erpnext-org-theme.css @@ -104,8 +104,21 @@ a:hover { .navbar-brand:visited { color: #36414C; } +.menu { + display: flex; +} +.menu-items { + padding-left: 1.5rem; +} +.menu-links { + color: #6c7680; + text-decoration: none; +} +.menu-links:hover { + text-decoration: none; +} .container { - max-width: 1366px; + max-width: 1200px; margin: 0 auto; } .feature, @@ -128,20 +141,21 @@ a:hover { } .domain-links { font-size: 1.5rem; + display: block; } .domain-image { - width: 200px; + width: 125px; padding-bottom: 1.5rem; } .list-items { text-align: center; padding: 2em; - border: 1px solid #d1d8dd; + /* border: 1px solid @border-color;*/ border-radius: .5rem; background-color: #fff; } .list.grid-of-four { - grid-gap: 4rem; + grid-gap: 2.5rem; } .list { list-style: none; @@ -172,12 +186,15 @@ a:hover { } .intro-copy { font-size: 1.5rem; - max-width: 683px; + max-width: 600px; margin: 0 auto 1.5rem auto; line-height: 1.5em; } +.community-bg .intro-copy { + max-width: 800px; +} .primary-links { - color: #7575ff; + color: #6c7680; transition: color 0.5s ease-in; } .primary-links:hover { @@ -249,6 +266,9 @@ a:hover { padding: 0; margin: 0; } +.list-unstyled li { + list-style: none; +} .bulleted-list { margin: 0; list-style: circle; @@ -275,7 +295,7 @@ a:hover { } .page-container { display: flex; - max-width: 1366px; + max-width: 1200px; margin: 0 auto; } .active { @@ -311,6 +331,7 @@ a:hover { } .page-content { width: 100%; + padding: 4rem 0; } .page-content.with-sidebar { padding: 4rem 0 4rem 2.5rem; @@ -450,7 +471,7 @@ code { text-decoration: none; } .screenshot { - width: 100%; + max-width: 800px; margin: auto; } img.blog-cover-image, @@ -462,3 +483,88 @@ img.blog-cover-image, .btn-next-wrapper { margin-top: 4rem; } +/*blog*/ +.blog-text h1, +.blog-text h2, +.blog-text h3, +.blog-text h4, +.blog-text h5, +.blog-text h6 { + margin-top: 3em; + margin-bottom: 1em; + font-weight: bold; + color: #36414C; +} +.blog-list-content { + border: 0px; + background: transparent; +} +.blog-list-item { + padding-top: 4em; + padding-bottom: 4em; + border-bottom: 1px solid #EBEFF2; +} +.blog-list-item:last-child { + border-bottom: 0; +} +.blog-list-item a { + color: #8D99A6; +} +.blog-list-item h1 { + margin-bottom: .5em; +} +.blogpost-cover-img { + width: 75%; +} +.blog-list-item .avatar { + margin-right: 1em; +} +.blog-list-item .blog-header { + font-size: 1.6em; +} +.blog-header { + font-size: 2em; + font-weight: bold; +} +.blog-comments { + position: relative; + border-top: 1px solid #d1d8dd; +} +.blog-info { + margin: 2em 0; +} +.blog-text { + line-height: 2; + font-size: 1.25em; + letter-spacing: 0.01em; +} +.blog-content { + margin-bottom: 3em; +} +.blogger { + padding-top: 0px; + padding-bottom: 3em; +} +.blogger-name { + margin-top: .25em; +} +.post-description { + margin: 1em 0; +} +.blog-list-item .avatar { + margin-right: 1em; +} +.avatar { + display: inline-block; + vertical-align: middle; + width: 50px; + height: 50px; +} +.avatar img { + max-width: 100%; + max-height: 100%; + border-radius: 4px; +} +.inline-block { + display: inline-block; +} diff --git a/foundation/public/css/indicator.css b/foundation/public/css/indicator.css new file mode 100644 index 00000000..bd283dd6 --- /dev/null +++ b/foundation/public/css/indicator.css @@ -0,0 +1,71 @@ +.indicator, +.indicator-right { + background: none; + font-size: 12px; + vertical-align: middle; + font-weight: bold; + color: #6c7680; +} +.indicator::before, +.indicator-right::after { + content: ''; + display: inline-block; + height: 8px; + width: 8px; + border-radius: 8px; +} +.indicator::before { + margin: 0 4px 0 0px; +} +.indicator-right::after { + margin: 0 0 0 4px; +} +.indicator.grey::before, +.indicator-right.grey::after { + background: #F0F4F7; +} +.indicator.blue::before, +.indicator-right.blue::after { + background: #5e64ff; +} +.indicator.red::before, +.indicator-right.red::after { + background: #ff5858; +} +.indicator.green::before, +.indicator-right.green::after { + background: #98d85b; +} +.indicator.orange::before, +.indicator-right.orange::after { + background: #ffa00a; +} +.indicator.purple::before, +.indicator-right.purple::after { + background: #743ee2; +} +.indicator.darkgrey::before, +.indicator-right.darkgrey::after { + background: #b8c2cc; +} +.indicator.black::before, +.indicator-right.black::after { + background: #36414C; +} +.indicator.yellow::before, +.indicator-right.yellow::after { + background: #FEEF72; +} +.indicator.light-blue::before, +.indicator-right.light-blue::after { + background: #7CD6FD; +} +.indicator.lightblue::before, +.indicator-right.lightblue::after { + background: #7CD6FD; +} +.modal-header .indicator { + float: left; + margin-top: 7.5px; + margin-right: 3px; +} diff --git a/foundation/public/img/agriculture.svg b/foundation/public/img/agriculture.svg new file mode 100644 index 00000000..15231db1 --- /dev/null +++ b/foundation/public/img/agriculture.svg @@ -0,0 +1,390 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/distribution.svg b/foundation/public/img/distribution.svg new file mode 100644 index 00000000..c666d98d --- /dev/null +++ b/foundation/public/img/distribution.svg @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/education.svg b/foundation/public/img/education.svg new file mode 100644 index 00000000..429ed801 --- /dev/null +++ b/foundation/public/img/education.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/healthcare.svg b/foundation/public/img/healthcare.svg new file mode 100644 index 00000000..bc5162cd --- /dev/null +++ b/foundation/public/img/healthcare.svg @@ -0,0 +1,368 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/manufacturing-domain.svg b/foundation/public/img/manufacturing-domain.svg index 60589578..f17c62e9 100644 --- a/foundation/public/img/manufacturing-domain.svg +++ b/foundation/public/img/manufacturing-domain.svg @@ -9,29 +9,15 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="402.74045" + width="374.767" height="388.11996" - viewBox="0 0 106.55841 102.69008" + viewBox="0 0 99.157099 102.69008" version="1.1" id="svg8" inkscape:version="0.92.2 5c3e80d, 2017-08-06" sodipodi:docname="manufacturing-domain.svg"> - - - @@ -46,6 +32,20 @@ style="opacity:1;vector-effect:none;fill:#f0f4f7;fill-opacity:1;stroke:none;stroke-width:5.29166698;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" transform="scale(-1,1)" /> + + + @@ -122,15 +122,15 @@ ry="4.1713142" rx="4.4166856" cy="143.46324" - cx="-41.443138" + cx="-40.12022" id="ellipse851" style="opacity:1;vector-effect:none;fill:#f0f4f7;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -138,17 +138,17 @@ rx="1.3229166" ry="1.3229166" y="131.52184" - x="-68.277458" + x="-72.435196" height="3.4352" width="6.8704" id="rect857" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -156,17 +156,17 @@ rx="1.3229166" ry="1.3229166" y="131.52184" - x="-48.711956" + x="-52.869694" height="3.4352" width="6.8704" id="rect861" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -174,17 +174,17 @@ rx="1.3229166" ry="1.3229166" y="131.52184" - x="-29.146441" + x="-33.30418" height="3.4352" width="6.8704" id="rect865" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -192,17 +192,17 @@ rx="1.3229166" ry="1.3229166" y="151.56705" - x="-78.060211" + x="-82.217949" height="3.4352" width="6.8704" id="rect869" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -210,17 +210,17 @@ rx="1.3229166" ry="1.3229166" y="151.56705" - x="-58.494709" + x="-62.652447" height="3.4352" width="6.8704" id="rect873" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -228,17 +228,17 @@ rx="1.3229166" ry="1.3229166" y="151.56705" - x="-38.929199" + x="-43.086937" height="3.4352" width="6.8704" id="rect877" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -246,31 +246,24 @@ rx="1.3229166" ry="1.3229166" y="151.56705" - x="-19.363684" + x="-23.521421" height="3.4352" width="6.8704" id="rect881" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> - @@ -278,17 +271,17 @@ rx="1.3229166" ry="1.3229166" y="131.52184" - x="-107.40848" + x="-111.56622" height="3.4352" width="6.8704" id="rect933" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -296,26 +289,26 @@ rx="1.3229166" ry="1.3229166" y="131.52184" - x="-87.842964" + x="-92.000702" height="3.4352" width="6.8704" id="rect937" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> @@ -323,39 +316,32 @@ rx="1.3229166" ry="1.3229166" y="151.56705" - x="-97.625717" + x="-101.78345" height="3.4352" width="6.8704" id="rect943" - style="opacity:1;vector-effect:none;fill:#7575ff;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> - + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:1.32291663;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:5.29166651;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:1.32291663;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + style="opacity:1;vector-effect:none;fill:#8D99A6;fill-opacity:1;stroke:none;stroke-width:1.32291663;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/retail.svg b/foundation/public/img/retail.svg new file mode 100644 index 00000000..c5c686b9 --- /dev/null +++ b/foundation/public/img/retail.svg @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/foundation/public/img/services.svg b/foundation/public/img/services.svg new file mode 100644 index 00000000..660f9154 --- /dev/null +++ b/foundation/public/img/services.svg @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less index 7b576b2c..ba918ed8 100644 --- a/foundation/public/less/erpnext-org-theme.less +++ b/foundation/public/less/erpnext-org-theme.less @@ -37,6 +37,22 @@ a { .navbar-brand:visited{ color: @text-color; } + +.menu { + display: flex; +} + +.menu-items { + padding-left: 1.5rem; +} +.menu-links{ + color:@text-light; + text-decoration:none; + &:hover{ + text-decoration:none; + } +} + .container { max-width: @screen-max; margin: 0 auto; @@ -65,23 +81,24 @@ a { .domain-links{ font-size: 1.5rem; + display:block; } .domain-image { - width: 200px; + width: 125px; padding-bottom: 1.5rem; } .list-items { text-align: center; padding: 2em; - border: 1px solid @border-color; + /* border: 1px solid @border-color;*/ border-radius: .5rem; background-color: #fff; } .list.grid-of-four{ - grid-gap: 4rem; + grid-gap: 2.5rem; } .list{ @@ -125,8 +142,12 @@ a { line-height: 1.5em; } +.community-bg .intro-copy{ + max-width:800px; +} + .primary-links { - color: @brand-primary; + color: @text-light; transition: @transition-color; &:hover{ color: @text-dark; @@ -206,6 +227,9 @@ a { padding: 0; margin: 0; } +.list-unstyled li { + list-style: none; +} .bulleted-list { margin: 0; @@ -277,6 +301,7 @@ a { .page-content{ width:100%; + padding: 4rem 0; } .page-content.with-sidebar { @@ -421,7 +446,7 @@ code { } .screenshot { - width: 100%; + max-width:800px; margin: auto; } @@ -433,3 +458,106 @@ img.blog-cover-image, .blog-text img, .screenshot { .btn-next-wrapper { margin-top: 4rem; } + +/*blog*/ +.headers(@style) { + h1, h2, h3, h4, h5, h6 { + @style(); + } +} + +.blog-text { + .headers({ + margin-top: 3em; + margin-bottom: 1em; + font-weight:bold; + color: @text-color; + }); +} + +.blog-list-content { + border: 0px; + background: transparent; +} + +.blog-list-item { + padding-top: 4em; + padding-bottom: 4em; + border-bottom: 1px solid @navbar-default-border; + &:last-child{ + border-bottom: 0; + } + a { + color: @text-muted; + } + h1{ + margin-bottom: .5em; + } +} + + + +.blogpost-cover-img{ +width: 75%; +} + +.blog-list-item .avatar { + margin-right: 1em; +} + +.blog-list-item .blog-header { + font-size: 1.6em; +} + +.blog-header { + font-size: 2em; + font-weight:bold; +} +.blog-comments { + position: relative; + border-top: 1px solid @border-color; +} +.blog-info { + margin: 2em 0; +} +.blog-text { + line-height: 2; + font-size: 1.25em; + letter-spacing: 0.01em; +} + +.blog-content{ +margin-bottom: 3em; +} + +.blogger { + padding-top: 0px; + padding-bottom: 3em; +} +.blogger-name { + margin-top: .25em; +} + +.post-description { + margin: 1em 0; +} + +.blog-list-item .avatar { + margin-right: 1em; +} + +.avatar { + display: inline-block; + vertical-align: middle; + width: 50px; + height: 50px; +} +.avatar img { + max-width: 100%; + max-height: 100%; + border-radius: 4px; +} + +.inline-block { + display: inline-block; +} diff --git a/foundation/public/less/indicator.less b/foundation/public/less/indicator.less index 0616af3e..7288b89d 100644 --- a/foundation/public/less/indicator.less +++ b/foundation/public/less/indicator.less @@ -1,3 +1,5 @@ +@import "../../../../frappe/frappe/public/less/variables.less"; + .indicator, .indicator-right { background:none; diff --git a/foundation/public/less/variables.less b/foundation/public/less/variables.less index 86e30d0c..eed447c0 100644 --- a/foundation/public/less/variables.less +++ b/foundation/public/less/variables.less @@ -6,5 +6,5 @@ @button-primary-hover: darken(desaturate(@brand-primary, 50%), 15%); @button-secondary-hover: darken(@light-bg, 15%); @primary-link-color: lighten(@brand-primary, 5%); -@screen-max: 1366px; +@screen-max: 1200px; @transition-color: color .5s ease-in; diff --git a/foundation/templates/base.html b/foundation/templates/base.html index 7ad9217e..a678ffaf 100644 --- a/foundation/templates/base.html +++ b/foundation/templates/base.html @@ -22,6 +22,10 @@ {% endif %} + {% if pathname == 'blog' %} + + + {% endif %} {%- endblock -%} {# loading required JS for login #}