mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[styles] Add specific icon for light rail
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
658c3c0af8
commit
1c4b2ea991
1
data/styles/default/dark/symbols/train_light-m.svg
Normal file
1
data/styles/default/dark/symbols/train_light-m.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="18" viewBox="0 0 19 18" width="19" xmlns="http://www.w3.org/2000/svg"><g fill="none" transform="translate(.5)"><rect fill="#000" height="18" opacity=".6" rx="1.875" width="18"/><rect fill="#2f6499" height="16.5" rx="1.5" width="16.5" x=".75" y=".75"/><path d="m11.1635042 3.32c.9166667 0 1.6666667.66666667 1.75 1.66666667l.4166667 6.16666673c.0658591.7244508-.3887734 1.3968526-1.0759527 1.6881253l1.6207932 2.432708h-.5115744c-.5433269 0-1.0507006-.2715375-1.3520813-.7236125l-.0592588-.0888875h-5.90419379l-.05925887.0888875c-.30135625.452075-.80875438.7236125-1.35208125.7236125h-.51157438l1.60894392-2.4139894c-.64154773-.2540677-1.07042832-.8673091-1.07042832-1.6235106v-.0833333l.25-6.16666673c0-.91666667.75-1.66666667 1.66666667-1.58333333zm-.1955156 9.6666667h-3.93699999l-.44136412.6625h4.82080621zm-4.47115106-2.6666667c-.41666666 0-.75.3333334-.75.75 0 .4166667.33333334.75.75.75.41666667 0 .75-.4166666.75-.8333333s-.33333333-.6666667-.75-.6666667zm4.83333336 0c-.4166667 0-.75.3333334-.75.75 0 .4166667.3333333.75.75.75s.75-.4166666.75-.75c0-.4166666-.3333333-.75-.75-.75zm-.4166667-5.66666666h-3.99999999c-.5 0-.91666667.41666666-.91666667 1l-.08333333 2.41666666c0 .58333334.41666667.99999997.91666667.99999997h4.25000002c.5 0 .8333333-.41666663.8333333-.99999997l-.0833333-2.41666666c-.0833333-.58333334-.4166667-1-.9166667-1z" fill="#000"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
1
data/styles/default/dark/symbols/train_light-s.svg
Normal file
1
data/styles/default/dark/symbols/train_light-s.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="12" viewBox="0 0 13 12" width="13" xmlns="http://www.w3.org/2000/svg"><g fill="none" transform="translate(.5)"><rect fill="#000" height="12" opacity=".6" rx="1.875" width="12"/><rect fill="#2f6499" height="11.00025" rx="1.5" width="11.00025" x=".500003" y=".500003"/><path d="m7.39726314 2.38c.59201388 0 1.07638889.43055555 1.13020833 1.07638889l.26909723 3.98263889c.04497326.49470585-.28586452.95183061-.77268547 1.12014242l.97612377 1.4638854h-.314815c-.334355 0-.646585-.16710005-.83205-.44530005l-.036467-.0547h-3.63335l-.036467.0547c-.18545.2782-.497695.44530005-.83205.44530005h-.314815l.96794325-1.45430125c-.45680561-.14353251-.76858978-.55775579-.76858978-1.07590713v-.05381944l.16145834-3.98263889c0-.59201389.484375-1.07638889 1.07638889-1.02256945zm-.18027014 6.24305555h-2.435l-.265301.4h2.96665zm-2.83361875-1.72222222c-.26909722 0-.484375.21527778-.484375.484375s.21527778.484375.484375.484375.484375-.26909722.484375-.53819445c0-.26909721-.21527778-.43055555-.484375-.43055555zm3.12152778 0c-.26909723 0-.484375.21527778-.484375.484375s.21527777.484375.484375.484375c.26909722 0 .48437499-.26909722.48437499-.484375 0-.26909722-.21527777-.484375-.48437499-.484375zm-.26909723-3.65972222h-2.58333333c-.32291667 0-.59201388.26909722-.59201388.64583333l-.05381946 1.56076389c0 .37673611.26909723.64583334.59201389.64583334h2.74479167c.32291667 0 .53819445-.26909723.53819445-.64583334l-.05381944-1.56076389c-.05381945-.37673611-.26909723-.64583333-.5920139-.64583333z" fill="#000"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -269,6 +269,11 @@ node|z17-[railway=station]::int_name,
|
||||
node|z17-[railway=halt]::int_name,
|
||||
{text-offset: 1;font-size: 12;text-halo-opacity: 0.9;}
|
||||
|
||||
node|z12-14[railway=station][station=light_rail],
|
||||
{icon-image: train_light-s.svg;}
|
||||
node|z15-[railway=station][station=light_rail],
|
||||
{icon-image: train_light-m.svg;}
|
||||
|
||||
/* 3.2 Road Icons */
|
||||
|
||||
node|z19-[highway=traffic_signals],
|
||||
|
||||
@@ -27,9 +27,9 @@ node|z13-[railway=station][transport=subway],
|
||||
node|z15-[railway=station][transport=subway],
|
||||
{icon-image: subway-m.svg;}
|
||||
node|z13-[railway=station][station=light_rail],
|
||||
{icon-image: train-s.svg;}
|
||||
{icon-image: train_light-s.svg;}
|
||||
node|z15-[railway=station][station=light_rail],
|
||||
{icon-image: train-m.svg;}
|
||||
{icon-image: train_light-m.svg;}
|
||||
node|z13-[railway=station][station=monorail],
|
||||
{icon-image: monorail-s.svg;}
|
||||
node|z15-[railway=station][station=monorail],
|
||||
|
||||
1
data/styles/default/light/symbols/train_light-m.svg
Normal file
1
data/styles/default/light/symbols/train_light-m.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="18" viewBox="0 0 19 18" width="19" xmlns="http://www.w3.org/2000/svg"><g fill="none" transform="translate(.5)"><rect fill="#fff" height="18" opacity=".6" rx="1.875" width="18"/><rect fill="#2f6499" height="16.5" rx="1.5" width="16.5" x=".75" y=".75"/><path d="m11.1635042 3.32c.9166667 0 1.6666667.66666667 1.75 1.66666667l.4166667 6.16666673c.0658591.7244508-.3887734 1.3968526-1.0759527 1.6881253l1.6207932 2.432708h-.5115744c-.5433269 0-1.0507006-.2715375-1.3520813-.7236125l-.0592588-.0888875h-5.90419379l-.05925887.0888875c-.30135625.452075-.80875438.7236125-1.35208125.7236125h-.51157438l1.60894392-2.4139894c-.64154773-.2540677-1.07042832-.8673091-1.07042832-1.6235106v-.0833333l.25-6.16666673c0-.91666667.75-1.66666667 1.66666667-1.58333333zm-.1955156 9.6666667h-3.93699999l-.44136412.6625h4.82080621zm-4.47115106-2.6666667c-.41666666 0-.75.3333334-.75.75 0 .4166667.33333334.75.75.75.41666667 0 .75-.4166666.75-.8333333s-.33333333-.6666667-.75-.6666667zm4.83333336 0c-.4166667 0-.75.3333334-.75.75 0 .4166667.3333333.75.75.75s.75-.4166666.75-.75c0-.4166666-.3333333-.75-.75-.75zm-.4166667-5.66666666h-3.99999999c-.5 0-.91666667.41666666-.91666667 1l-.08333333 2.41666666c0 .58333334.41666667.99999997.91666667.99999997h4.25000002c.5 0 .8333333-.41666663.8333333-.99999997l-.0833333-2.41666666c-.0833333-.58333334-.4166667-1-.9166667-1z" fill="#fff"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
1
data/styles/default/light/symbols/train_light-s.svg
Normal file
1
data/styles/default/light/symbols/train_light-s.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg height="12" viewBox="0 0 13 12" width="13" xmlns="http://www.w3.org/2000/svg"><g fill="none" transform="translate(.5)"><rect fill="#fff" height="12" opacity=".6" rx="1.875" width="12"/><rect fill="#2f6499" height="11.00025" rx="1.5" width="11.00025" x=".500003" y=".500003"/><path d="m7.39726314 2.38c.59201388 0 1.07638889.43055555 1.13020833 1.07638889l.26909723 3.98263889c.04497326.49470585-.28586452.95183061-.77268547 1.12014242l.97612377 1.4638854h-.314815c-.334355 0-.646585-.16710005-.83205-.44530005l-.036467-.0547h-3.63335l-.036467.0547c-.18545.2782-.497695.44530005-.83205.44530005h-.314815l.96794325-1.45430125c-.45680561-.14353251-.76858978-.55775579-.76858978-1.07590713v-.05381944l.16145834-3.98263889c0-.59201389.484375-1.07638889 1.07638889-1.02256945zm-.18027014 6.24305555h-2.435l-.265301.4h2.96665zm-2.83361875-1.72222222c-.26909722 0-.484375.21527778-.484375.484375s.21527778.484375.484375.484375.484375-.26909722.484375-.53819445c0-.26909721-.21527778-.43055555-.484375-.43055555zm3.12152778 0c-.26909723 0-.484375.21527778-.484375.484375s.21527777.484375.484375.484375c.26909722 0 .48437499-.26909722.48437499-.484375 0-.26909722-.21527777-.484375-.48437499-.484375zm-.26909723-3.65972222h-2.58333333c-.32291667 0-.59201388.26909722-.59201388.64583333l-.05381946 1.56076389c0 .37673611.26909723.64583334.59201389.64583334h2.74479167c.32291667 0 .53819445-.26909723.53819445-.64583334l-.05381944-1.56076389c-.05381945-.37673611-.26909723-.64583333-.5920139-.64583333z" fill="#fff"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user