CSS - update inactive/active state