Modify page display attributes

I have a single record form set up with many blocks that I display as pages.

I would like to grey out the page name if the contents of the blocks are empty. Has anyone figured out how to do this yet?

lewis