From 3cb853b90d04e03bcf43eb4e47dffaca99c12126 Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Mon, 12 Aug 2019 17:57:01 +0100 Subject: [PATCH] Change energy to sustainability --- app/src/frontend/fields-config.json | 18 +++++++++--------- app/src/frontend/legend.tsx | 4 ++-- app/src/frontend/sidebar.css | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/src/frontend/fields-config.json b/app/src/frontend/fields-config.json index aff3cd10..3337c433 100644 --- a/app/src/frontend/fields-config.json +++ b/app/src/frontend/fields-config.json @@ -347,54 +347,54 @@ }, { "inactive": true, - "title": "Energy", - "slug": "energy", + "title": "Sustainability", + "slug": "sustainability", "intro": "Are buildings energy efficient? Coming soon…", "help": "https://pages.colouring.london/sustainability", "fields": [ { "title": "Energy Performance Certificate (EPC) rating", "disabled": true, - "slug": "energy_epc_band_current", + "slug": "sustainability_epc_band_current", "type": "text_list", "options": ["A", "B", "C", "D", "E", "F", "G"] }, { "title": "Display Energy Certificate (DEC)", "disabled": true, - "slug": "energy_dec_band_current", + "slug": "sustainability_dec_band_current", "type": "text_list", "options": ["A", "B", "C", "D", "E", "F", "G"] }, { "title": "BREEAM Rating", "disabled": true, - "slug": "energy_breeam_rating", + "slug": "sustainability_breeam_rating", "type": "number", "step": 1 }, { "title": "Year of last significant retrofit", "disabled": true, - "slug": "energy_last_retrofit_date", + "slug": "sustainability_last_retrofit_date", "type": "number", "step": 1 }, { "title": "Embodied carbon estimation (for discussion)", - "slug": "energy_embodied_carbon", + "slug": "sustainability_embodied_carbon", "type": "text", "disabled": true }, { "title": "Adaptability/repairability rating (for discussion)", - "slug": "energy_adaptability_rating", + "slug": "sustainability_adaptability_rating", "type": "text", "disabled": true }, { "title": "Expected lifespan (for discussion)", - "slug": "energy_expected_lifespan", + "slug": "sustainability_expected_lifespan", "type": "number", "step": 1, "disabled": true diff --git a/app/src/frontend/legend.tsx b/app/src/frontend/legend.tsx index 53ae5ae5..3c4cc352 100644 --- a/app/src/frontend/legend.tsx +++ b/app/src/frontend/legend.tsx @@ -65,8 +65,8 @@ const LEGEND_CONFIG = { title: 'Team', elements: [] }, - energy: { - title: 'Energy', + sustainability: { + title: 'Sustainability', elements: [] }, greenery: { diff --git a/app/src/frontend/sidebar.css b/app/src/frontend/sidebar.css index ed823bd7..4c9411f3 100644 --- a/app/src/frontend/sidebar.css +++ b/app/src/frontend/sidebar.css @@ -165,11 +165,11 @@ .section-header.team.active > a::before { color: #6f879c; } -.section-header.active.energy { +.section-header.active.sustainability { border-bottom-color: #5ec232; } -.section-header.energy:hover > a::before, -.section-header.energy.active > a::before { +.section-header.sustainability:hover > a::before, +.section-header.sustainability.active > a::before { color: #5ec232; } .section-header.active.greenery {