[openstreetmap/openstreetmap-website] Add dark theme for OSM site and ID editor, depending on color theme (#2532)

Anton notifications at github.com
Wed Feb 12 21:00:19 UTC 2020


@HolgerJeromin if you know rules cascade,  you not say about this problem.
Because inline styles have highest specificity, and to implement other rules, need use important
button.bar-button.save[style="background: rgb(255, 255, 253);"] {
    background: #333332 !important;
 }

You can read more here https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2532#issuecomment-585415112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200212/2b23710f/attachment.htm>


More information about the rails-dev mailing list