diff --git a/web/app/static/css/nopaque.css b/web/app/static/css/nopaque.css index 07d1c004..f1e6f5e0 100644 --- a/web/app/static/css/nopaque.css +++ b/web/app/static/css/nopaque.css @@ -1,13 +1,3 @@ -nav, .footer-copyright { - background-color: #00426f !important; - color: white !important; -} - -.page-footer { - background-color: #b1b3b4; - color: white; -} - /* * ### Start sticky footer ### * Force the footer to always stay on the bottom of the page regardless of how diff --git a/web/app/templates/nopaque.html.j2 b/web/app/templates/nopaque.html.j2 index 36187b6a..d2036d6d 100644 --- a/web/app/templates/nopaque.html.j2 +++ b/web/app/templates/nopaque.html.j2 @@ -1,6 +1,7 @@ -{% import "macros/materialize.html.j2" as M %} +{% import "utils/materialize.html.j2" as M %} -{% if title == '' %} + +{% if title is not defined %} {% set title = None %} {% endif %} @@ -12,6 +13,13 @@ {% set main_class = 'grey lighten-5' %} {% endif %} +{% if parallax is not defined %} + {% set parallax = False %} +{% endif %} + +{% set nopaque_primary_color = '#00426f' %} +{% set nopaque_secondary_color = '#b1b3b4' %} + {% set corpus_analysis_color = '#aa9cc9' %} {% set corpus_analysis_color_darken = '#6b3f89' %} {% set corpus_analysis_color_lighten = '#ebe8f6' %} @@ -28,6 +36,12 @@ {% set ocr_color_darken = '#00a58b' %} {% set ocr_color_lighten = '#e7f4f1' %} + +{%- macro insert_content() -%} + {% block page_content %}{% endblock %} +{%- endmacro -%} + +
@@ -36,15 +50,12 @@