Closed wgrs33 closed 3 months ago
Thanks @wgrs33 ! I will test it and make a new release by the end of the week.
Hello,
I'd test this version and make some adjustment on the CSS classes. I was not able for now to launch the update database script (I will test more this week-end). But the rest looks ok so I made a release with that. Thank you again for this refactoring and improvement !!!
Hi @yyrkoon94,
Thanks for correcting the CSS! There is only only thing which I would change is to set width: 80px;
in .bus-img
. When you use min-width
then bus destinations might not be aligned. Btw, why the bus icon is higher than line icon? Is it intentional ?
min-wdth: 62px
width: 80px
I added a Python script which will update the database and images in this repository automatically. This script is not a part of the card, but of the repository and it must be launched manually. Example:
The idea is to update the card in a periodical manner (apart from other PRs).
To handle more logically the downloaded files I modified also the card's JS code.
transportmode
reported in the database file.dist/iamges/general
PNG
files are replaced withSVG
as they can be easily scaled without any quality lossRER
card (show_replacement_bus
); the icon is then changed to from a train to a bus and there is a warning sign before