metamaps--metamaps/views/shared/_metacodeCssColors.js

11 lines
266 B
JavaScript
Raw Normal View History

<style>
2018-03-05 12:33:16 -05:00
{ # give text the color of the metacode by adding the className .metacodeColor{metacode-id} }
2018-03-03 21:25:42 -05:00
{ Metacode.all.each do |m| }
{ if m.color }
{ ".metacodeColor" + m.id.to_s + "{" }
{ "color:" + m.color + " !important;" }
{ "}" }
{ end }
{ end }
2017-09-08 16:58:17 -04:00
</style>