diff --git a/data/styles/clear/include/Roads.mapcss b/data/styles/clear/include/Roads.mapcss index 2547ead960..940450748f 100644 --- a/data/styles/clear/include/Roads.mapcss +++ b/data/styles/clear/include/Roads.mapcss @@ -680,6 +680,8 @@ line|z15-[highway=steps], {color: @footway;opacity: 0.85;} line|z14-[highway=path], {color: @path;opacity: 0.6;} +line|z14-[highway=path][_path_grade=expert], +{color: @path_expert; opacity: 0.6;} line|z14-[piste:type=hike], {color: @piste; opacity: 0.4;} line|z17-[highway=footway][tunnel?]::tunnelBackground, @@ -882,6 +884,28 @@ line|z18[highway=path][bicycle=yes], line|z19-[highway=path][bicycle=yes], {width: 3.7; dashes: 8,6.2; opacity: 0.8;} +line|z14[highway=path][_path_grade=difficult], +{width: 0.9; dashes: 1,2;} +line|z15[highway=path][_path_grade=difficult], +{width: 1.1; dashes: 1,2;} +line|z16[highway=path][_path_grade=difficult], +{width: 1.5; dashes: 1.8,2.5;} +line|z17[highway=path][_path_grade=difficult], +{width: 2; dashes: 1.8,2.5;} +line|z18-[highway=path][_path_grade=difficult], +{width: 2.8; dashes: 2.8,3.5;} + +line|z14[highway=path][_path_grade=expert], +{width: 0.9; dashes: 1,4;} +line|z15[highway=path][_path_grade=expert], +{width: 1.1; dashes: 1,4;} +line|z16[highway=path][_path_grade=expert], +{width: 1.5; dashes: 1.6,6;} +line|z17[highway=path][_path_grade=expert], +{width: 2; dashes: 1.6,6;} +line|z18-[highway=path][_path_grade=expert], +{width: 2.8; dashes: 2.8,8;} + line|z17-[highway=path][tunnel?]::tunnelBackground {casing-width-add: 0.5;} line|z17-[highway=path][tunnel?]::tunnelCasing diff --git a/data/styles/clear/style-clear/colors.mapcss b/data/styles/clear/style-clear/colors.mapcss index 7fd9d223c4..5ef3903709 100644 --- a/data/styles/clear/style-clear/colors.mapcss +++ b/data/styles/clear/style-clear/colors.mapcss @@ -114,6 +114,7 @@ @construction: #BBBBAA; @track: #635730; @path: #A05012; +@path_expert: #3D2617; @bridleway: #3D361E; /* 5.2 Bridges */ diff --git a/data/styles/clear/style-night/colors.mapcss b/data/styles/clear/style-night/colors.mapcss index 72db026734..f8b3b43f0c 100644 --- a/data/styles/clear/style-night/colors.mapcss +++ b/data/styles/clear/style-night/colors.mapcss @@ -114,6 +114,7 @@ @construction: #332F2D; @track: #5F532D; @path: #944A12; +@path_expert: #523E33; @bridleway: #2B2827; /* 5.2 Bridges */ diff --git a/data/styles/outdoors/include/Roads.mapcss b/data/styles/outdoors/include/Roads.mapcss index dccb6fe912..6c67c80226 100644 --- a/data/styles/outdoors/include/Roads.mapcss +++ b/data/styles/outdoors/include/Roads.mapcss @@ -90,6 +90,9 @@ line|z12-[highway=steps], line|z11-[highway=path], {color: @path; opacity: 1;} +line|z11-[highway=path][_path_grade=expert], +{color: @path_expert; opacity: 1;} + line|z12-[piste:type=hike], {color: @piste; opacity: 0.7;} @@ -182,6 +185,39 @@ line|z18-[highway=path][bicycle=yes], line|z18-[highway=footway][bicycle=yes], {width: 4; dashes: 8,6; opacity: 1;} +line|z11[highway=path][_path_grade=difficult], +line|z11[highway=path][_path_grade=expert], +{width: 1; dashes: 1,2; opacity: 0.7;} +line|z12[highway=path][_path_grade=difficult], +line|z12[highway=path][_path_grade=expert], +{width: 1.1; dashes: 1,2; opacity: 0.8;} + +line|z13[highway=path][_path_grade=difficult], +{width: 1.3; dashes: 1.5,2.5;} +line|z14[highway=path][_path_grade=difficult], +{width: 1.6; dashes: 1.5,2.5;} +line|z15[highway=path][_path_grade=difficult], +{width: 2; dashes: 2.5,4;} +line|z16[highway=path][_path_grade=difficult], +{width: 2.6; dashes: 2.5,4;} +line|z17[highway=path][_path_grade=difficult], +{width: 3.3; dashes: 3.6,5;} +line|z18-[highway=path][_path_grade=difficult], +{width: 4; dashes: 3.6,5;} + +line|z13[highway=path][_path_grade=expert], +{width: 1.3; dashes: 1.4,5;} +line|z14[highway=path][_path_grade=expert], +{width: 1.6; dashes: 1.4,5;} +line|z15[highway=path][_path_grade=expert], +{width: 2; dashes: 2.3,9;} +line|z16[highway=path][_path_grade=expert], +{width: 2.6; dashes: 2.3,9;} +line|z17[highway=path][_path_grade=expert], +{width: 3.3; dashes: 3.5,11;} +line|z18-[highway=path][_path_grade=expert], +{width: 4; dashes: 3.5,11;} + /* Don't display sidewalks and pedestrian crossings till z16. */ line|z11-15[highway=footway][footway=sidewalk], line|z11-15[highway=footway][footway=crossing],