disable inputs
Move the CSS selectors to the top so they can be shared.