mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Use more generic classes for errors
This commit is contained in:
+41
-41
@@ -1,9 +1,9 @@
|
||||
|
||||
/* OSM Notes and KeepRight Layers */
|
||||
|
||||
.kr_error-header-icon .kr_error-fill,
|
||||
.layer-keepRight .kr_error .kr_error-fill,
|
||||
.layer-improveOSM .iOSM_error .iOSM_error-fill {
|
||||
.kr_error-header-icon .qa_error-fill,
|
||||
.layer-keepRight .qa_error .qa_error-fill,
|
||||
.layer-improveOSM .qa_error .qa_error-fill {
|
||||
stroke: #333;
|
||||
stroke-width: 1.3px; /* NOTE: likely a better way to scale the icon stroke */
|
||||
}
|
||||
@@ -45,98 +45,98 @@
|
||||
|
||||
/* Keep Right Errors
|
||||
------------------------------------------------------- */
|
||||
.kr_error_type_20, /* multiple nodes on same spot */
|
||||
.kr_error_type_40, /* impossible oneways */
|
||||
.kr_error_type_210, /* self intersecting ways */
|
||||
.kr_error_type_270, /* unusual motorway connection */
|
||||
.kr_error_type_310, /* roundabout issues */
|
||||
.kr_error_type_320, /* improper _link */
|
||||
.kr_error_type_350 { /* improper bridge tag */
|
||||
.kr.error_type-20, /* multiple nodes on same spot */
|
||||
.kr.error_type-40, /* impossible oneways */
|
||||
.kr.error_type-210, /* self intersecting ways */
|
||||
.kr.error_type-270, /* unusual motorway connection */
|
||||
.kr.error_type-310, /* roundabout issues */
|
||||
.kr.error_type-320, /* improper _link */
|
||||
.kr.error_type-350 { /* improper bridge tag */
|
||||
color: #ff9;
|
||||
}
|
||||
|
||||
.kr_error_type_50 { /* almost junctions */
|
||||
.kr.error_type-50 { /* almost junctions */
|
||||
color: #88f;
|
||||
}
|
||||
|
||||
.kr_error_type_60, /* deprecated tags */
|
||||
.kr_error_type_70, /* tagging issues */
|
||||
.kr_error_type_90, /* motorway without ref */
|
||||
.kr_error_type_100, /* place of worship without religion */
|
||||
.kr_error_type_110, /* poi without name */
|
||||
.kr_error_type_150, /* railway crossing without tag */
|
||||
.kr_error_type_220, /* misspelled tag */
|
||||
.kr_error_type_380 { /* non-physical sport tag */
|
||||
.kr.error_type-60, /* deprecated tags */
|
||||
.kr.error_type-70, /* tagging issues */
|
||||
.kr.error_type-90, /* motorway without ref */
|
||||
.kr.error_type-100, /* place of worship without religion */
|
||||
.kr.error_type-110, /* poi without name */
|
||||
.kr.error_type-150, /* railway crossing without tag */
|
||||
.kr.error_type-220, /* misspelled tag */
|
||||
.kr.error_type-380 { /* non-physical sport tag */
|
||||
color: #5d0;
|
||||
}
|
||||
|
||||
.kr_error_type_130 { /* disconnected ways */
|
||||
.kr.error_type-130 { /* disconnected ways */
|
||||
color: #fa3;
|
||||
}
|
||||
|
||||
.kr_error_type_170 { /* FIXME tag */
|
||||
.kr.error_type-170 { /* FIXME tag */
|
||||
color: #ff0;
|
||||
}
|
||||
|
||||
.kr_error_type_190 { /* intersection without junction */
|
||||
.kr.error_type-190 { /* intersection without junction */
|
||||
color: #f33;
|
||||
}
|
||||
|
||||
.kr_error_type_200 { /* overlapping ways */
|
||||
.kr.error_type-200 { /* overlapping ways */
|
||||
color: #fdbf6f;
|
||||
}
|
||||
|
||||
.kr_error_type_160, /* railway layer conflict */
|
||||
.kr_error_type_230 { /* layer conflict */
|
||||
.kr.error_type-160, /* railway layer conflict */
|
||||
.kr.error_type-230 { /* layer conflict */
|
||||
color: #b60;
|
||||
}
|
||||
|
||||
.kr_error_type_280 { /* boundary issues */
|
||||
.kr.error_type-280 { /* boundary issues */
|
||||
color: #5f47a0;
|
||||
}
|
||||
|
||||
.kr_error_type_180, /* relation without type */
|
||||
.kr_error_type_290 { /* turn restriction issues */
|
||||
.kr.error_type-180, /* relation without type */
|
||||
.kr.error_type-290 { /* turn restriction issues */
|
||||
color: #ace;
|
||||
}
|
||||
|
||||
.kr_error_type_300, /* missing maxspeed */
|
||||
.kr_error_type_390 { /* missing tracktype */
|
||||
.kr.error_type-300, /* missing maxspeed */
|
||||
.kr.error_type-390 { /* missing tracktype */
|
||||
color: #090;
|
||||
}
|
||||
|
||||
.kr_error_type_360, /* language unknown */
|
||||
.kr_error_type_370, /* doubled places */
|
||||
.kr_error_type_410 { /* website issues */
|
||||
.kr.error_type-360, /* language unknown */
|
||||
.kr.error_type-370, /* doubled places */
|
||||
.kr.error_type-410 { /* website issues */
|
||||
color: #f9b;
|
||||
}
|
||||
|
||||
.kr_error_type_120, /* way without nodes */
|
||||
.kr_error_type_400 { /* geometry / turn angles */
|
||||
.kr.error_type-120, /* way without nodes */
|
||||
.kr.error_type-400 { /* geometry / turn angles */
|
||||
color: #c35;
|
||||
}
|
||||
|
||||
/* ImproveOSM Errors
|
||||
------------------------------------------------------- */
|
||||
|
||||
.iOSM_error_type_ow { /* missing one way */
|
||||
.iOSM.error_type-ow- { /* missing one way */
|
||||
color: #EE7600;
|
||||
}
|
||||
|
||||
.iOSM_error_type_mr_road { /* missing road */
|
||||
.iOSM.error_type-mr-road { /* missing road */
|
||||
color: #B0171F;
|
||||
}
|
||||
.iOSM_error_type_mr_path { /* missing path */
|
||||
.iOSM.error_type-mr-path { /* missing path */
|
||||
color: #A0522D;
|
||||
}
|
||||
.iOSM_error_type_mr_parking { /* missing parking */
|
||||
.iOSM.error_type-mr-parking { /* missing parking */
|
||||
color: #EEEE00;
|
||||
}
|
||||
.iOSM_error_type_mr_both { /* missing road+parking */
|
||||
.iOSM.error_type-mr-both { /* missing road+parking */
|
||||
color: #FFA500;
|
||||
}
|
||||
|
||||
.iOSM_error_type_tr { /* missing turn restriction */
|
||||
.iOSM.error_type-tr- { /* missing turn restriction */
|
||||
color: #1E90FF;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user