Added link state switch to shared styles

Signed-off-by: Tom Wright <tom@inflatablecookie.com>