Created
September 26, 2012 23:09
-
-
Save andrewxhill/3791207 to your computer and use it in GitHub Desktop.
Color ramp for a topology
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#troparevo_nikulino_1 [layer='points']{ | |
marker-fill:#FF3366; | |
marker-width:8; | |
marker-line-color:#000000; | |
marker-line-width:1; | |
marker-opacity:1; | |
marker-line-opacity:1; | |
marker-placement:point; | |
marker-type:ellipse; | |
marker-allow-overlap:true; | |
} | |
#troparevo_nikulino_1 [layer='topo']{ | |
polygon-fill:transparent; | |
line-color:#D53E4F; | |
line-width:2; | |
line-opacity:1; | |
[cars<1]{ | |
line-color:#F46D43; | |
line-opacity: 0.95; | |
} | |
[cars<0.9]{ | |
line-color:#FDAE61; | |
line-opacity: 0.9; | |
} | |
[cars<0.8]{ | |
line-color:#FEE08B; | |
line-opacity: 0.85; | |
} | |
[cars<0.7]{ | |
line-color:#FFFFBF; | |
line-opacity: 0.8; | |
} | |
[cars<0.6]{ | |
line-color:#E6F598; | |
line-opacity: 0.75; | |
} | |
[cars<0.5]{ | |
line-color:#ABDDA4; | |
line-opacity: 0.7; | |
} | |
[cars<0.4]{ | |
line-color:#66C2A5; | |
line-opacity: 0.65; | |
} | |
[cars<0.3]{ | |
line-color:#3288BD; | |
line-opacity: 0.6; | |
} | |
} | |
#troparevo_nikulino_1::glow [layer='topo']{ | |
polygon-fill:transparent; | |
line-color:#D53E4F; | |
line-width:5; | |
line-opacity:0.5; | |
[cars<1]{ | |
line-color:#F46D43; | |
[cars<0.9]{ | |
line-color:#FDAE61; | |
line-opacity:0.4; | |
line-width:8; | |
[cars<0.8]{ | |
line-color:#FEE08B; | |
[cars<0.7]{ | |
line-color:#FFFFBF; | |
[cars<0.6]{ | |
line-color:#E6F598; | |
line-opacity:0.3; | |
line-width:10; | |
[cars<0.5]{ | |
line-color:#ABDDA4; | |
[cars<0.4]{ | |
line-color:#66C2A5; | |
line-opacity:0.2; | |
line-width:25; | |
[cars<0.3]{ | |
line-color:#3288BD; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment