andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

CSS : RED, AMBER or GREEN color instead of grey color? #45

Closed Gilles94500 closed 7 years ago

Gilles94500 commented 7 years ago

Is there a way to update this CSS grey color so at a glance you know the status of your doors? Ex : RED when OPEN AMBER when OPENING GREEN when CLOSED

I have had a look at http://demos.jquerymobile.com/1.4.5/icons/index.html but they say that the choice is between black and white.

Thanks Gilles

Gilles94500 commented 7 years ago

I have not been able to change the css jquerymobile background parameters, so I have used paint instead. I have added a green color to the closed.png, a red color to the open.png and an amber color to the opening and closing png :)

Gilles

andrewshilliday commented 7 years ago

Gotcha. Well I'm glad you figured out a solution. Can you attach the new icons? I could push them into the master code as an option.

Gilles94500 commented 7 years ago

Here you go.

From: andrewshilliday [mailto:notifications@github.com] Sent: vendredi 20 janvier 2017 12:47 To: andrewshilliday/garage-door-controller garage-door-controller@noreply.github.com Cc: Gilles94500 gilles.sapene@laposte.net; State change state_change@noreply.github.com Subject: Re: [andrewshilliday/garage-door-controller] CSS : RED, AMBER or GREEN color instead of grey color? (#45)

Gotcha. Well I'm glad you figured out a solution. Can you attach the new icons? I could push them into the master code as an option.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/45#issuecomment-274054049 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQHIgaLeDdtrmUh7K2G5MtZLV4vMlxGHks5rUJ6sgaJpZM4LfNdZ . https://github.com/notifications/beacon/AQHIgc4CDW6TXqYb7RkNTwq8DvHlRIvFks5rUJ6sgaJpZM4LfNdZ.gif

Gilles94500 commented 7 years ago

opening closed closing open

andrewshilliday commented 7 years ago

Thanks. I'll see about adding a color option to the code and include these icons.