fix styles order via use-attribute

This commit is contained in:
Gustl22 2018-01-24 16:20:47 +01:00
parent 131f36dbd4
commit f98fe65827
5 changed files with 28 additions and 24 deletions

View File

@ -48,14 +48,7 @@
<!--railway-->
<style-area fade="10" fill="#e6e3e5" id="railway|industrial" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<!-- src="assets:textures/wood.png" -->
<!-- <style-area id="wood" fill="#d1dbc7" fade="8" blend="11" blend-fill="#9ac56e" /> -->
<!-- <style-area id="wood" use="park" fill="#9ac56e" fade="8" stroke="#d1dbc7" stroke-width="1.0"/> -->
<style-area blend="11" blend-fill="#83aa5b" fade="8" fill="#b3d095" id="wood" use="park" />
<!-- <style-line id="wood" fix="true" cap="butt" width="1.0" stroke="#9ac56e" /> -->
<!--Note: ordered according to their inheritance via the `use` attribute-->
<style-area id="tex1" src="assets:textures/rough.png" />
<!-- meadow|garden -->
@ -80,6 +73,14 @@
<style-area fade="11" fill="#9ac56e" id="park" use="tex1" />
<!-- <style-area id="park" fill="#a3ca7b" fade="11" /> -->
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<!-- src="assets:textures/wood.png" -->
<!-- <style-area id="wood" fill="#d1dbc7" fade="8" blend="11" blend-fill="#9ac56e" /> -->
<!-- <style-area id="wood" use="park" fill="#9ac56e" fade="8" stroke="#d1dbc7" stroke-width="1.0"/> -->
<style-area blend="11" blend-fill="#83aa5b" fade="8" fill="#b3d095" id="wood" use="park" />
<!-- <style-line id="wood" fix="true" cap="butt" width="1.0" stroke="#9ac56e" /> -->
<!-- de:Kleingartengebiet -->
<style-area fade="12" fill="#efeae0" id="allotments" use="tex1" />

View File

@ -45,10 +45,6 @@
<!--railway-->
<style-area fade="10" fill="#f2eeef" id="railway|industrial" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<style-area blend="11" blend-fill="#1b271e" fade="7" fill="#151806" id="forest|wood" />
<!-- grass|meadow|garden|grassland|scrub -->
<style-area fade="10" fill="#202f24" id="greens" />
@ -62,6 +58,10 @@
<!-- park|common|green|cemetery|golf_course|dog_park -->
<style-area fade="11" fill="#274a44" id="park" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<style-area blend="11" blend-fill="#1b271e" fade="7" fill="#151806" id="forest|wood" />
<!-- de:Kleingartengebiet -->
<style-area fade="12" fill="#efeae0" id="allotments" />

View File

@ -52,6 +52,7 @@
<!-- src="assets:textures/wood.png" -->
<!-- <style-area id="wood" fill="#d1dbc7" fade="8" blend="11" blend-fill="#9ac56e" /> -->
<!--Note: ordered according to their inheritance via the `use` attribute-->
<style-area id="tex1" src="assets:textures/rough.png" />
<!-- meadow|garden -->
@ -76,6 +77,7 @@
<style-area fade="11" fill="#9ac56e" id="park" use="tex1" />
<!-- <style-area id="wood" use="park" fill="#9ac56e" fade="8" stroke="#d1dbc7" stroke-width="1.0"/> -->
<!--wood-->
<style-area blend="11" blend-fill="#83aa5b" fade="8" fill="#b3d095" id="wood" use="park" />
<!-- <style-line id="wood" fix="true" cap="butt" width="1.0" stroke="#9ac56e" /> -->

View File

@ -47,10 +47,6 @@
<!-- "#f0fae7" mint green -->
<style-area fade="11" fill="#fff8bf" id="farmland" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<style-area blend="11" blend-fill="#1e2205" fade="7" fill="#151806" id="forest|wood" />
<!-- grass|meadow|garden|grassland|scrub -->
<style-area fade="10" fill="#33390c" id="greens" />
@ -60,6 +56,10 @@
<!-- park|common|green|cemetery|golf_course|dog_park -->
<style-area fade="11" fill="#627100" id="park" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<style-area blend="11" blend-fill="#1e2205" fade="7" fill="#151806" id="forest|wood" />
<!-- de:Kleingartengebiet -->
<style-area fade="12" fill="#efeae0" id="allotments" />

View File

@ -41,14 +41,7 @@
<!--railway-->
<style-area fade="10" fill="#e6e3e5" id="railway|industrial" />
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<!-- src="textures/wood.png" -->
<!-- <style-area id="wood" fill="#d1dbc7" fade="8" blend="11" blend-fill="#9ac56e" /> -->
<style-area blend="11" blend-fill="#83aa5b" fade="8" fill="#b3d095" id="wood" use="park" />
<!-- <style-line id="wood" fix="true" cap="butt" width="1.0" stroke="#9ac56e" /> -->
<!-- <style-area id="wood" use="park" fill="#9ac56e" fade="8" stroke="#d1dbc7" stroke-width="1.0"/> -->
<!--Note: ordered according to their inheritance via the `use` attribute-->
<style-area id="tex1" src="textures/rough.png" />
<!-- meadow|garden -->
@ -73,6 +66,14 @@
<style-area fade="11" fill="#9ac56e" id="park" use="tex1" />
<!-- <style-area id="park" fill="#a3ca7b" fade="11" /> -->
<!--wood-->
<!-- fade out at z=7, blend over to 'blend-fill' in z=11 -->
<!-- src="textures/wood.png" -->
<!-- <style-area id="wood" fill="#d1dbc7" fade="8" blend="11" blend-fill="#9ac56e" /> -->
<style-area blend="11" blend-fill="#83aa5b" fade="8" fill="#b3d095" id="wood" use="park" />
<!-- <style-line id="wood" fix="true" cap="butt" width="1.0" stroke="#9ac56e" /> -->
<!-- <style-area id="wood" use="park" fill="#9ac56e" fade="8" stroke="#d1dbc7" stroke-width="1.0"/> -->
<!-- de:Kleingartengebiet -->
<style-area fade="12" fill="#efeae0" id="allotments" use="tex1" />