This addon adds one more option under Faders tab in PitBull layouts and allows you to select opacity of the unit frame when casting is active.

Please note, that this fader can only increase the opacity of the unit frame and not decrease it because I think that this is right. If you have any suggestions please leave a comment or open a ticket.