Set style and added css for out-of-range buttons when disabling palette
selector