diff --git a/umap/static/umap/content.css b/umap/static/umap/content.css index bade8061..6ad7cb07 100644 --- a/umap/static/umap/content.css +++ b/umap/static/umap/content.css @@ -149,12 +149,12 @@ h2.section { } h2.tabs { text-transform: uppercase; - color: #263B58; + color: var(--color-darkBlue); text-align: left; padding-top: 28px; } h2.tabs a { - color: #263B58; + color: var(--color-darkBlue); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-skip-ink: none; @@ -162,7 +162,7 @@ h2.tabs a { } h2.tabs a:not(.selected) { font-weight: normal; - color: #263B58; + color: var(--color-darkBlue); text-decoration: none; margin-right: 0; } @@ -203,8 +203,8 @@ body.content #umap-ui-container { input[type="submit"], .button { - background-color: #B9F5D2; - color: #263B58; + background-color: var(--color-waterMint); + color: var(--color-darkBlue); } .button-primary { font-weight: bold; @@ -213,8 +213,8 @@ input[type="submit"], background-color: #35537c; } .wrapper .neutral, .wrapper input[type="submit"].neutral { - background-color: #ddd; - color: #323737; + background-color: var(--color-lightGray); + color: var(--color-darkGray); } .wrapper.somber { background-color: #2E3641; @@ -397,7 +397,7 @@ ul.umap-autocomplete { } } .table-header form input { - border: 2px solid #263B58; + border: 2px solid var(--color-darkBlue); border-radius: 0; padding: .5rem 1rem; margin-bottom: 0; @@ -408,7 +408,7 @@ ul.umap-autocomplete { width: 30ch; } .table-header form input[type="submit"] { - background-color: #263B58; + background-color: var(--color-darkBlue); color: white; font-weight: bold; } @@ -417,8 +417,8 @@ ul.umap-autocomplete { width: inherit; display: inline; padding: .5rem 1rem; - border: 2px solid #263B58; - color: #263B58; + border: 2px solid var(--color-darkBlue); + color: var(--color-darkBlue); font-weight: bold; background-color: initial; margin-bottom: 0; @@ -440,7 +440,7 @@ ul.umap-autocomplete { } .table-wrapper table a, .table-wrapper table thead { - color: #263B58; + color: var(--color-darkBlue); } .table-wrapper table thead th:last-of-type { min-width: 240px; @@ -460,7 +460,7 @@ ul.umap-autocomplete { .table-wrapper table input[type="submit"] { display: inline; background-color: transparent; - color: #263B58; + color: var(--color-darkBlue); padding: 0; width: inherit; height: 1rem; @@ -520,7 +520,7 @@ dialog::backdrop { padding: 1rem; } .pagination a { - color: #263B58; + color: var(--color-darkBlue); text-decoration: underline; } diff --git a/umap/static/umap/test/index.html b/umap/static/umap/test/index.html index 23c9d52f..86364301 100644 --- a/umap/static/umap/test/index.html +++ b/umap/static/umap/test/index.html @@ -62,6 +62,7 @@ + diff --git a/umap/static/umap/vars.css b/umap/static/umap/vars.css new file mode 100644 index 00000000..a4b4e783 --- /dev/null +++ b/umap/static/umap/vars.css @@ -0,0 +1,9 @@ +:root { + /* In use for primary buttons. */ + --color-darkBlue: #263B58; + --color-waterMint: #B9F5D2; + + /* In use for secondary buttons. */ + --color-lightGray: #ddd; + --color-darkGray: #323737; +} diff --git a/umap/templates/umap/css.html b/umap/templates/umap/css.html index 186b1dfa..3ba178c9 100644 --- a/umap/templates/umap/css.html +++ b/umap/templates/umap/css.html @@ -22,6 +22,7 @@ href="{% static 'umap/vendors/locatecontrol/L.Control.Locate.min.css' %}" /> +