Skip to content

Commit

Permalink
Merge pull request #198 from bcgov/qa
Browse files Browse the repository at this point in the history
dialog display fix
  • Loading branch information
NicoledeGreef authored Mar 2, 2021
2 parents 9779336 + 3f0df09 commit 88bef6e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<p>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><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><p>Please direct questions to <a href=\"tel:16044185326\">604.418.5326<\/a> or <a href=\"mailto:RCHRedevelopment@fraserhealth.ca\">RCHRedevelopment@fraserhealth.ca<\/a><\/p><p>Visit <a href=\"https:\/\/www.fraserhealth.ca\/royalcolumbian\" target=\"_blank\">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 ] ] ] ] } }

]
}
6 changes: 1 addition & 5 deletions layers/temporary-road-closure/temporary-road-closure.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<p>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><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><p>Please direct questions to <a href=\"tel:16044185326\">604.418.5326<\/a> or <a href=\"mailto:RCHRedevelopment@fraserhealth.ca\">RCHRedevelopment@fraserhealth.ca<\/a><\/p><p>Visit <a href=\"https:\/\/www.fraserhealth.ca\/royalcolumbian\" target=\"_blank\">www.fraserhealth.ca\/royalcolumbian<\/a> to learn more about the redevelopment project.<\/p>\n" }, "geometry": { "type": "Point", "coordinates": [ -122.89287, 49.22622 ] } }

]
}
18 changes: 12 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
max-height: calc( 100% - 5em );
font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif;
z-index: 3;
padding: 0;
Expand All @@ -81,6 +86,7 @@ dialog form {
flex-direction: column;
height: 100%;
justify-content: space-between;
min-height: 0;
}

dialog header {
Expand Down

0 comments on commit 88bef6e

Please sign in to comment.