Changes opacity in color legend whan active-inactive and adds pointer look