diff --git a/app/src/frontend/building/categories.css b/app/src/frontend/building/categories.css index 868e7a71..6d26c845 100644 --- a/app/src/frontend/building/categories.css +++ b/app/src/frontend/building/categories.css @@ -26,7 +26,9 @@ text-decoration: none; } .data-category-list .category-link { - display: block; + display: flex; + justify-content: center; + align-items: center; padding: 0.1em; width: 100%; height: 100%; @@ -36,32 +38,14 @@ .data-category-list .category-link:focus { color: #222; } -.data-category-list .help { - position: absolute; - bottom: 0.75rem; - right: 0.75rem; - color: #222; -} -.data-category-list .help:hover, -.data-category-list .help:active, -.data-category-list .help:focus { - color: #000; - background-color: rgba(37, 10, 10, 0.3); -} - -.data-category-list .help::before { - content: "\f05a"; - font-family: FontAwesome; - margin-right: 0.25rem; -} .data-category-list .category { text-align: center; - font-size: 1.5em; - margin: 1.4em 0 0.5em; + font-size: 1.4em; + margin: 0 0 0.5em; } .data-category-list .description { text-align: center; - font-size: 1em; - margin: 0 0 1em; + font-size: 0.9em; + margin: 0; } diff --git a/app/src/frontend/building/categories.tsx b/app/src/frontend/building/categories.tsx index b35bd4c7..509a40eb 100644 --- a/app/src/frontend/building/categories.tsx +++ b/app/src/frontend/building/categories.tsx @@ -35,7 +35,7 @@ const Categories = (props) => ( /> ( /> ( /> - ( mode={props.mode} building_id={props.building_id} /> + { 'Coming soon… Click more info for details.' : 'View/Edit Map' }> -

{props.title}

-

{props.desc}

+
+

{props.title}

+

{props.desc}

+
- - More - ); } diff --git a/app/src/frontend/map/legend.css b/app/src/frontend/map/legend.css index 0f333513..688a3c8c 100644 --- a/app/src/frontend/map/legend.css +++ b/app/src/frontend/map/legend.css @@ -8,7 +8,8 @@ z-index: 1000; min-width: 12rem; - max-height: 50%; + max-height: 60%; + display: flex; flex-direction: column; diff --git a/app/src/frontend/styles/colours.css b/app/src/frontend/styles/colours.css index 86d3c3a0..652baed4 100644 --- a/app/src/frontend/styles/colours.css +++ b/app/src/frontend/styles/colours.css @@ -74,13 +74,13 @@ .background-construction { background-color: #aa7fa7; } -.background-team { +.background-streetscape { background-color: #6f879c; } -.background-sustainability { +.background-team { background-color: #5ec232; } -.background-streetscape { +.background-sustainability { background-color: #6dbb8b; } .background-community {