Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2013 20:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/4496811 to your computer and use it in GitHub Desktop.
The selector:
:not(:not(input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input[type='time'], input[type='date'], input[type='month'], input[type='week'], input[type='datetime'], input[type='datetime-local'], input[type='color'], input:not([type]), input[type='file'])):not(input[type='color'][data-role='colorpalette'])
Formatted for clarity:
:not(
:not(
input[type='text'],
input[type='search'],
:jqmData(type='search'),
input[type='number'],
:jqmData(type='number'),
input[type='password'],
input[type='email'],
input[type='url'],
input[type='tel'],
textarea,
input[type='time'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
input:not([type]),
input[type='file']
)
):not(
input[type='color'][data-role='colorpalette']
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment