Changeset 10018 in josm for trunk/styles


Ignore:
Timestamp:
2016-03-19T14:55:39+01:00 (9 years ago)
Author:
Klumbumbus
Message:

condense duplicate mapcss code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r10015 r10018  
    44334433node[place=state],
    44344434node[place=region],
    4435 node[place=county] {
    4436     icon-image: "place/settlement/capital.png";
     4435node[place=county],
     4436node[place=city],
     4437node[place=town],
     4438node[place=suburb],
     4439node[place=village],
     4440node[place=neighbourhood],
     4441node[place=hamlet],
     4442node[place=isolated_dwelling],
     4443node[place=farm],
     4444node[place=island],
     4445node[place=islet] {
    44374446    set icon_z0;
    44384447    set text_z0;
     
    44424451    text-halo-color: white;
    44434452    text-halo-radius: 1;
     4453}
     4454
     4455node[place=continent],
     4456node[place=country],
     4457node[place=state],
     4458node[place=region],
     4459node[place=county] {
     4460    icon-image: "place/settlement/capital.png";
    44444461    z-index: 2.9;
    44454462}
    44464463node[place=city] {
    44474464    icon-image: "place/settlement/city.png";
    4448     set icon_z0;
    4449     set text_z0;
    4450     font-size: 10;
    4451     font-weight: bold;
    4452     text-color:black;
    4453     text-halo-color: white;
    4454     text-halo-radius: 1;
    44554465    z-index: 2.8;
    44564466}
    44574467node[place=town] {
    44584468    icon-image: "place/settlement/town.png";
    4459     set icon_z0;
    4460     set text_z0;
    4461     font-size: 10;
    4462     font-weight: bold;
    4463     text-color:black;
    4464     text-halo-color: white;
    4465     text-halo-radius: 1;
    44664469    z-index: 2.7;
    44674470}
    44684471node[place=suburb] {
    44694472    icon-image: "place/settlement/suburb.png";
    4470     set icon_z0;
    4471     set text_z0;
    4472     font-size: 10;
    4473     font-weight: bold;
    4474     text-color:black;
    4475     text-halo-color: white;
    4476     text-halo-radius: 1;
    44774473    z-index: 2.6;
    44784474}
    44794475node[place=village] {
    44804476    icon-image: "place/settlement/village.png";
    4481     set icon_z0;
    4482     set text_z0;
    4483     font-size: 10;
    4484     font-weight: bold;
    4485     text-color:black;
    4486     text-halo-color: white;
    4487     text-halo-radius: 1;
    44884477    z-index: 2.5;
    44894478}
    44904479node[place=neighbourhood] {
    44914480    icon-image: "place/settlement/neighbourhood.png";
    4492     set icon_z0;
    4493     set text_z0;
    4494     font-size: 10;
    4495     font-weight: bold;
    4496     text-color:black;
    4497     text-halo-color: white;
    4498     text-halo-radius: 1;
    44994481    z-index: 2.4;
    45004482}
    45014483node[place=hamlet] {
    45024484    icon-image: "place/settlement/hamlet.png";
    4503     set icon_z0;
    4504     set text_z0;
    4505     font-size: 10;
    4506     font-weight: bold;
    4507     text-color:black;
    4508     text-halo-color: white;
    4509     text-halo-radius: 1;
    45104485    z-index: 2.3;
    45114486}
    45124487node[place=isolated_dwelling] {
    45134488    icon-image: "place/settlement/isolated_dwelling.png";
    4514     set icon_z0;
    4515     set text_z0;
    4516     font-size: 10;
    4517     font-weight: bold;
    4518     text-color:black;
    4519     text-halo-color: white;
    4520     text-halo-radius: 1;
    45214489    z-index: 2.2;
    45224490}
    45234491node[place=farm] {
    45244492    icon-image: "place/settlement/farm.png";
    4525     set icon_z0;
    4526     set text_z0;
    4527     font-size: 10;
    4528     font-weight: bold;
    4529     text-color:black;
    4530     text-halo-color: white;
    4531     text-halo-radius: 1;
    45324493    z-index: 2.1;
    45334494}
     
    45434504node[place=island] {
    45444505    icon-image: "place/island.png";
    4545     set icon_z0;
    4546     set text_z0;
    4547     font-size: 10;
    4548     font-weight: bold;
    4549     text-color:black;
    4550     text-halo-color: white;
    4551     text-halo-radius: 1;
    45524506}
    45534507node[place=islet] {
    45544508    icon-image: "place/islet.png";
    4555     set icon_z0;
    4556     set text_z0;
    4557     font-size: 10;
    4558     font-weight: bold;
    4559     text-color:black;
    4560     text-halo-color: white;
    4561     text-halo-radius: 1;
    45624509}
    45634510
Note: See TracChangeset for help on using the changeset viewer.