Skip to content

Instantly share code, notes, and snippets.

@Henner
Created May 30, 2012 22:41
Show Gist options
  • Save Henner/2839387 to your computer and use it in GitHub Desktop.
Save Henner/2839387 to your computer and use it in GitHub Desktop.
buoj body styles
#buoy_body {
point-allow-overlap: true;
point-ignore-placement: true;
[zoom < 13] {point-transform: "scale(0.1);"}
[zoom > 12] {point-transform: "scale(0.2);"}
[body_shape='stake'] {
point-file: url(icons/Stake.svg);
[body_colou='G'] {
point-file: url(icons/Stake_Green.svg);
}
[body_colou='R'] {
point-file: url(icons/Stake_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Stake_Yellow.svg);
}
}
[body_shape='barrel'] {
point-file: url(icons/Barrel.svg);
[body_colou='BY'] {
point-file: url(icons/Barrel_Yellow.svg);
}
}
[body_shape='tower'] {
point-file: url(icons/Tower.svg);
[body_colou='BRB'] {
point-file: url(icons/Tower_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Tower_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Tower_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Tower_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Tower_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Tower_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Tower_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Tower_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Tower_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Tower_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Tower_Red.svg);
}
[body_colou='WY'] {
point-file: url(icons/Tower_White_Yellow.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Tower_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Tower_Yellow_Black.svg);
}
[body_colou='YR'] {
point-file: url(icons/Tower_Yellow_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Tower_Yellow.svg);
}
}
[body_shape='beacon'] {
point-file: url(icons/Beacon.svg);
[body_colou='BRB'] {
point-file: url(icons/Beacon_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Beacon_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Beacon_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Beacon_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Beacon_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Beacon_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Beacon_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Beacon_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Beacon_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Beacon_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Beacon_Red.svg);
}
[body_colou='WY'] {
point-file: url(icons/Beacon_White_Yellow.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Beacon_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Beacon_Yellow_Black.svg);
}
[body_colou='YR'] {
point-file: url(icons/Beacon_Yellow_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Beacon_Yellow.svg);
}
}
[body_shape='can'] {
point-file: url(icons/Can.svg);
[body_colou='BRB'] {
point-file: url(icons/Can_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Can_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Can_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Can_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Can_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Can_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Can_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Can_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Can_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Can_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Can_Red.svg);
}
[body_colou='WY'] {
point-file: url(icons/Can_White_Yellow.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Can_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Can_Yellow_Black.svg);
}
[body_colou='YR'] {
point-file: url(icons/Can_Yellow_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Can_Yellow.svg);
}
}
[body_shape='conical'] {
point-file: url(icons/Cone.svg);
[body_colou='BRB'] {
point-file: url(icons/Cone_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Cone_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Cone_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Cone_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Cone_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Cone_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Cone_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Cone_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Cone_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Cone_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Cone_Red.svg);
}
[body_colou='WY'] {
point-file: url(icons/Cone_White_Yellow.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Cone_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Cone_Yellow_Black.svg);
}
[body_colou='YR'] {
point-file: url(icons/Cone_Yellow_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Cone_Yellow.svg);
} }
[body_shape='spherical'] {
point-file: url(icons/Sphere.svg);
[body_colou='BRB'] {
point-file: url(icons/Sphere_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Sphere_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Sphere_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Sphere_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Sphere_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Sphere_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Sphere_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Sphere_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Sphere_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Sphere_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Sphere_Red.svg);
}
[body_colou='WY'] {
point-file: url(icons/Sphere_White_Yellow.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Sphere_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Sphere_Yellow_Black.svg);
}
[body_colou='YR'] {
point-file: url(icons/Sphere_Yellow_Red.svg);
}
[body_colou='Y'] {
point-file: url(icons/Sphere_Yellow.svg);
}
}
[body_shape='spar'] {
point-file: url(icons/Spar.svg);
[body_colou='BRB'] {
point-file: url(icons/Spar_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Spar_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Spar_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Spar_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Spar_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Spar_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Spar_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Spar_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Spar_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Spar_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Spar_Red.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Spar_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Spar_Yellow_Black.svg);
}
[body_colou='Y'] {
point-file: url(icons/Spar_Yellow.svg);
}
}
[body_shape='pillar'] {
point-file: url(icons/Pillar.svg);
[body_colou='BRB'] {
point-file: url(icons/Pillar_Black_Red_Black.svg);
}
[body_colou='BYB'] {
point-file: url(icons/Pillar_Black_Yellow_Black.svg);
}
[body_colou='BY'] {
point-file: url(icons/Pillar_Black_Yellow.svg);
}
[body_colou='GRG'] {
point-file: url(icons/Pillar_Green_Red_Green.svg);
}
[body_colou='GWGW'] {
point-file: url(icons/Pillar_Green_White_Green_White.svg);
}
[body_colou='G'] {
point-file: url(icons/Pillar_Green.svg);
}
[body_colou='RGRG'] {
point-file: url(icons/Pillar_Red_Green_Red_Green.svg);
}
[body_colou='RGR'] {
point-file: url(icons/Pillar_Red_Green_Red.svg);
}
[body_colou='RWRW'] {
point-file: url(icons/Pillar_Red_White_Red_White.svg);
}
[body_colou='RW'] {
point-file: url(icons/Pillar_Red_White.svg);
}
[body_colou='R'] {
point-file: url(icons/Pillar_Red.svg);
}
[body_colou='YBY'] {
point-file: url(icons/Pillar_Yellow_Black_Yellow.svg);
}
[body_colou='YB'] {
point-file: url(icons/Pillar_Yellow_Black.svg);
}
[body_colou='Y'] {
point-file: url(icons/Pillar_Yellow.svg);
}
}
[body_shape='light_minor'] {
point-file: url(icons/Light_Minor.svg);
}
[body_shape='light_major'] {
point-file: url(icons/Light_Major.svg);
}
[body_shape='light_house'] {
point-file: url(icons/Light_House.svg);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment