From e7f1d6e66e3d8df548296cd3cd1d9cf8eb0b670d Mon Sep 17 00:00:00 2001 From: Benjamin Jubb Date: Wed, 24 Feb 2021 15:46:05 -0800 Subject: [PATCH 1/3] tlink-196 --- style.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index 86c7a99..27bbaeb 100644 --- a/style.css +++ b/style.css @@ -62,13 +62,18 @@ header .translink-logo::before { /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ dialog { - top: 50%; - left: 50%; - width: 90%; - height: 90%; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; max-width: 50em; max-height: 55em; - transform: translateY(-50%) translateX(-50%); font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif; z-index: 3; padding: 0; From d4762d2191f2ca88bbf0bbad45d9b246e11809f2 Mon Sep 17 00:00:00 2001 From: Benjamin Jubb Date: Wed, 24 Feb 2021 15:53:50 -0800 Subject: [PATCH 2/3] tlink-195 --- .../temporary-road-closure-extent.geojson | 6 +----- .../temporary-road-closure/temporary-road-closure.geojson | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/layers/temporary-road-closure-extent/temporary-road-closure-extent.geojson b/layers/temporary-road-closure-extent/temporary-road-closure-extent.geojson index 8f68ce5..411ff9b 100644 --- a/layers/temporary-road-closure-extent/temporary-road-closure-extent.geojson +++ b/layers/temporary-road-closure-extent/temporary-road-closure-extent.geojson @@ -3,10 +3,6 @@ "name": "temporary-road-closure-extent", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ -{ "type": "Feature", "properties": { "Status": "Active", "StartDate": "2020-07-16T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureName": "Temporary Partial Road Closure: Granville Street Curb Lanes Closed until October 31, 2020 (All hours of the day)", "ClosureDescription": "The curb lanes on Granville Street in the City of Vancouver are closed to vehicular traffic between Broadway and 16th Avenue during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.13886, 49.26371 ], [ -123.13817, 49.26371 ], [ -123.13831, 49.26262 ], [ -123.13846, 49.26171 ], [ -123.13845, 49.26076 ], [ -123.13856, 49.25986 ], [ -123.13858, 49.25893 ], [ -123.1386, 49.25803 ], [ -123.13863, 49.25686 ], [ -123.13905, 49.25686 ], [ -123.13897, 49.25857 ], [ -123.13889, 49.25985 ], [ -123.13884, 49.26079 ], [ -123.13881, 49.26173 ], [ -123.13877, 49.26264 ], [ -123.13886, 49.26371 ] ] ] ] } }, -{ "type": "Feature", "properties": { "Status": "Active", "StartDate": "2020-08-18T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureName": "Temporary Partial Road Closure: Seymour Street Curb Lane Closed until October 31, 2020 (All hours of the day)", "ClosureDescription": "The west side curb lane on Seymour Street in the City of Vancouver is closed to vehicular traffic at the north of Helmcken Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.12369, 49.2776 ], [ -123.12354, 49.2775 ], [ -123.12309, 49.27782 ], [ -123.12327, 49.27793 ], [ -123.12372, 49.27762 ], [ -123.12369, 49.2776 ] ] ] ] } }, -{ "type": "Feature", "properties": { "Status": "Active", "StartDate": "2020-09-03T00:00:00Z", "EndDate": "2020-10-31T23:59:00Z", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureName": "Temporary Partial Road Closure: Main Street Curb Lane Closed Northbound until October 31, 2020 (All hours of the day)", "ClosureDescription": "The northbound curb lane on Main Street in the City of Vancouver is closed to vehicular traffic between National Avenue and Prior Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.10026, 49.27476 ], [ -123.09963, 49.27476 ], [ -123.09961, 49.27698 ], [ -123.10018, 49.277 ], [ -123.10026, 49.27476 ] ] ] ] } }, -{ "type": "Feature", "properties": { "Status": "Active", "StartDate": "2020-06-05T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Link": "https:\/\/www.cnv.org\/city-services\/health-and-public-safety\/emergency-preparedness\/covid-19\/open-streets-in-the-city\/open-streets-phases", "Notes": null, "ClosureName": "Temporary Partial Road Closure: Lonsdale Avenue Curb Lanes Closed until October 31, 2020 (All hours of the day)", "ClosureDescription": "The curb lanes on Lonsdale Avenue in the City of North Vancouver are closed to vehicular traffic between 13th Street and 19th Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of North Vancouver for additional information." }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.07206, 49.31987 ], [ -123.07202, 49.32203 ], [ -123.07197, 49.32518 ], [ -123.07198, 49.32627 ], [ -123.07255, 49.32626 ], [ -123.07254, 49.32409 ], [ -123.07256, 49.32199 ], [ -123.07261, 49.31986 ], [ -123.07206, 49.31987 ] ] ] ] } }, -{ "type": "Feature", "properties": { "Status": "Active", "StartDate": "2020-08-11T08:00:00Z", "EndDate": "2020-11-30T23:59:00Z", "Link": "https:\/\/www.fraserhealth.ca\/your-community\/new-westminster\/royal-columbian-hospital-redevelopment-project\/construction-zone#.X1_DXn6SnIV", "Notes": null, "ClosureName": "Temporary Full Road Closure: East Columbia Street Storm Line Work", "ClosureDescription": "

From early August to late November 2020 there will be a rolling full road closure on East Columbia Street between Simpson Street and Sherbrooke Street. This closure is required for the installation of a new storm line down the centre of East Columbia Street. Construction is being phased and expected to be complete in November 2020.<\/p>

Traffic control barriers and signage have been set up and personnel are on site to direct local traffic around the closure. Non-local traffic is being detoured to Brunette Street and Braid Street.<\/p>

Please direct questions to 604.418.5326<\/a> or RCHRedevelopment@fraserhealth.ca<\/a><\/p>

Visit www.fraserhealth.ca\/royalcolumbian<\/a> to learn more about the redevelopment project.<\/p>\n" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.89306, 49.22451 ], [ -122.89271, 49.22451 ], [ -122.8927, 49.22634 ], [ -122.89265, 49.22799 ], [ -122.89301, 49.228 ], [ -122.89304, 49.22614 ], [ -122.89306, 49.22451 ] ] ] ] } } + ] } diff --git a/layers/temporary-road-closure/temporary-road-closure.geojson b/layers/temporary-road-closure/temporary-road-closure.geojson index bd8f6db..4777ac5 100644 --- a/layers/temporary-road-closure/temporary-road-closure.geojson +++ b/layers/temporary-road-closure/temporary-road-closure.geojson @@ -3,10 +3,6 @@ "name": "temporary-road-closure", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ -{ "type": "Feature", "properties": { "ClosureName": "Temporary Partial Road Closure: Granville Street Curb Lanes Closed until October 31, 2020 (All hours of the day)", "StartDate": "2020-07-16T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Status": "Active", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureDescription": "The curb lanes on Granville Street in the City of Vancouver are closed to vehicular traffic between Broadway and 16th Avenue during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "Point", "coordinates": [ -123.13869, 49.26009 ] } }, -{ "type": "Feature", "properties": { "ClosureName": "Temporary Partial Road Closure: Seymour Street Curb Lane Closed until October 31, 2020 (All hours of the day)", "StartDate": "2020-08-18T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Status": "Active", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureDescription": "The west side curb lane on Seymour Street in the City of Vancouver is closed to vehicular traffic at the north of Helmcken Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "Point", "coordinates": [ -123.12338, 49.27772 ] } }, -{ "type": "Feature", "properties": { "ClosureName": "Temporary Partial Road Closure: Main Street Curb Lane Closed Northbound until October 31, 2020 (All hours of the day)", "StartDate": "2020-09-03T00:00:00Z", "EndDate": "2020-10-31T23:59:00Z", "Status": "Active", "Link": "https:\/\/vancouver.ca\/your-government\/contact-the-city-of-vancouver.aspx", "Notes": null, "ClosureDescription": "The northbound curb lane on Main Street in the City of Vancouver is closed to vehicular traffic between National Avenue and Prior Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of Vancouver for additional information." }, "geometry": { "type": "Point", "coordinates": [ -123.09991, 49.27585 ] } }, -{ "type": "Feature", "properties": { "ClosureName": "Temporary Partial Road Closure: Lonsdale Avenue Curb Lanes Closed until October 31, 2020 (All hours of the day)", "StartDate": "2020-06-05T00:00:00Z", "EndDate": "2020-10-31T23:59:59Z", "Status": "Active", "Link": "https:\/\/www.cnv.org\/city-services\/health-and-public-safety\/emergency-preparedness\/covid-19\/open-streets-in-the-city\/open-streets-phases", "Notes": null, "ClosureDescription": "The curb lanes on Lonsdale Avenue in the City of North Vancouver are closed to vehicular traffic between 13th Street and 19th Street during all hours of the day. This is a temporary closure effective through October 31, 2020. Please contact the City of North Vancouver for additional information." }, "geometry": { "type": "Point", "coordinates": [ -123.07228, 49.32311 ] } }, -{ "type": "Feature", "properties": { "ClosureName": "Temporary Full Road Closure: East Columbia Street Storm Line Work", "StartDate": "2020-08-11T08:00:00Z", "EndDate": "2020-11-30T23:59:00Z", "Status": "Active", "Link": "https:\/\/www.fraserhealth.ca\/your-community\/new-westminster\/royal-columbian-hospital-redevelopment-project\/construction-zone#.X1_DXn6SnIV", "Notes": null, "ClosureDescription": "

From early August to late November 2020 there will be a rolling full road closure on East Columbia Street between Simpson Street and Sherbrooke Street. This closure is required for the installation of a new storm line down the centre of East Columbia Street. Construction is being phased and expected to be complete in November 2020.<\/p>

Traffic control barriers and signage have been set up and personnel are on site to direct local traffic around the closure. Non-local traffic is being detoured to Brunette Street and Braid Street.<\/p>

Please direct questions to 604.418.5326<\/a> or RCHRedevelopment@fraserhealth.ca<\/a><\/p>

Visit www.fraserhealth.ca\/royalcolumbian<\/a> to learn more about the redevelopment project.<\/p>\n" }, "geometry": { "type": "Point", "coordinates": [ -122.89287, 49.22622 ] } } + ] } From 8b37c59224ad5be4cee47c5af71b566e655c9025 Mon Sep 17 00:00:00 2001 From: Benjamin Jubb Date: Fri, 26 Feb 2021 20:59:12 -0800 Subject: [PATCH 3/3] fix disclaimer dialog height --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 27bbaeb..8f9d07d 100644 --- a/style.css +++ b/style.css @@ -73,7 +73,7 @@ dialog { justify-content: center; align-items: center; max-width: 50em; - max-height: 55em; + max-height: calc( 100% - 5em ); font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif; z-index: 3; padding: 0; @@ -86,6 +86,7 @@ dialog form { flex-direction: column; height: 100%; justify-content: space-between; + min-height: 0; } dialog header {