fixing type in data file, opacity gradients for selectors