metamaps--metamaps/views/shared/_metacodeCssColors.html.erb

11 lines
262 B
Text
Raw Normal View History

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