diff --git a/umap/static/umap/content.css b/umap/static/umap/content.css index 3d7a8c2e..c961e81e 100644 --- a/umap/static/umap/content.css +++ b/umap/static/umap/content.css @@ -144,16 +144,19 @@ body.login header { } h2.section { text-transform: uppercase; - color: #666; - text-align: center; + color: #263B58; padding-top: 28px; } h2.tabs a { - color: #666; + color: #263B58; + text-decoration: underline; + text-decoration-thickness: 3px; + margin-right: 2rem; } h2.tabs a:not(.selected) { font-weight: normal; - color: #666; + color: #263B58; + text-decoration: none; } h2.tabs a:hover { text-decoration: underline; @@ -310,14 +313,81 @@ ul.umap-autocomplete { /* **************************** */ /* Dashboard */ /* **************************** */ +.table-header { + display: flex; + justify-content: space-between; + align-items: flex-end; + margin-bottom: 1rem; +} +.table-header form { + display: flex; + align-items: flex-end; +} +.table-header form input { + border: 2px solid #263B58; + border-radius: 0; + padding: .5rem 1rem; + margin-bottom: 0; + line-height: inherit; + height: 2.5rem; +} +.table-header form input[type="search"] { + width: 30ch; +} +.table-header form input[type="submit"] { + background-color: #263B58; + color: white; + font-weight: bold; +} + +.table-header .button-download { + width: inherit; + display: inline; + padding: .5rem 1rem; + border: 2px solid #263B58; + color: #263B58; + font-weight: bold; + background-color: initial; + margin-bottom: 0; + line-height: inherit; + height: 2.5rem; +} + table.maps { width: 100%; + border-collapse: collapse; } table.maps .map_fragment { display: block; height: 80vh; width: 100%; } +table.maps a, +table.maps thead { + color: #263B58; +} +table.maps a { + text-decoration: underline; +} +table.maps form { + display: inline; +} +table.maps input[type="submit"] { + display: inline; + background-color: transparent; + color: #263B58; + padding: 0; + width: inherit; + height: 1rem; + margin: 0; + line-height: inherit; +} +table.maps tbody tr { + border-bottom: 1px solid #BDC7D4; +} +table.maps tbody tr td { + padding: 5px 4px; +} table.maps tbody tr:nth-child(odd) { background-color: #f4f4f4; } @@ -357,12 +427,14 @@ dialog::backdrop { display: flex; flex-direction: row; justify-content: space-around; - margin: 1rem; - border-top: 1px solid gray; } .pagination > * { padding: 1rem; } +.pagination a { + color: #263B58; + text-decoration: underline; +} /* ************************************************* */ diff --git a/umap/templates/auth/user_form.html b/umap/templates/auth/user_form.html index 8fca2454..88f98328 100644 --- a/umap/templates/auth/user_form.html +++ b/umap/templates/auth/user_form.html @@ -1,9 +1,10 @@ {% extends "umap/content.html" %} {% load i18n %} {% block maincontent %} -