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

@@ -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" />