If you need dynamic css like this you're doing something wrong on an architectural level, but that's just my $0.02.
You're breaking the nice cascading workflow in favour of a state-based system.
You're breaking the nice cascading workflow in favour of a state-based system.