Fixed rules order

This commit is contained in:
Ilya Zverev 2015-05-27 21:12:25 +03:00 committed by Alex Zolotarev
parent 3411cb1bd4
commit 2772ae846b
4 changed files with 52 additions and 51 deletions

View file

@ -0,0 +1,50 @@
way::*
{
linejoin: round;
linecap: round;
text-position: line;
}
*::*
{
text-halo-color: @white;
text-anchor-horizontal: center;
text-anchor-vertical: center;
icon-width: 16;
icon-height: 16;
}
*::int_name
{
text-offset: 20;
}
node::* {
text-anchor-vertical: top;
}
area::* {
text-position: center;
text-anchor-vertical: center;
}
*[amenity],
*[office],
*[historic],
*[tourism],
*[leisure],
*[man_made],
*[natural],
*[power],
*[landuse],
*[craft],
*[internet_access],
{
text-position: center
}
area[aeroway],
area[tourism]
{
fill-position: background;
}

View file

@ -1,54 +1,3 @@
way::*
{
linejoin: round;
linecap: round;
text-position: line;
}
*::*
{
text-halo-color: @white;
text-anchor-horizontal: center;
text-anchor-vertical: center;
icon-width: 16;
icon-height: 16;
}
*::int_name
{
text-offset: 20;
}
node::* {
text-anchor-vertical: top;
}
area::* {
text-position: center;
text-anchor-vertical: center;
}
*[amenity],
*[office],
*[historic],
*[tourism],
*[leisure],
*[man_made],
*[natural],
*[power],
*[landuse],
*[craft],
*[internet_access],
{
text-position: center
}
area[aeroway],
area[tourism]
{
fill-position: background;
}
line[highway=motorway_junction]
{
casing-width: 0;

View file

@ -1,4 +1,5 @@
@import("colors_dark.mapcss");
@import("include/base_defaults.mapcss");
@import("include/base_roads.mapcss");
/* @import("include/base_roads_UK.mapcss"); */
@import("include/base_shop.mapcss");

View file

@ -1,4 +1,5 @@
@import("colors_light.mapcss");
@import("include/base_defaults.mapcss");
@import("include/base_roads.mapcss");
/* @import("include/base_roads_UK.mapcss"); */
@import("include/base_shop.mapcss");