New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link styling (theme.css) #4385

Merged
merged 3 commits into from Jun 7, 2012

Conversation

Projects
None yet
3 participants
@jaspermdegroot
Member

jaspermdegroot commented May 18, 2012

Fixed cascade issue bar link styles:
The '.ui-bar-[swatch] .ui-link(:pseudo)' selectors need a higher level of specificity. Otherwise they will be overriden by '.ui-body-[swatch] .ui-link(:pseudo)', as long as the body swatch is the same or comes after the bar swatch.

Reorder ui-link pseudo class rules - visited before hover and active:
By moving the :visited rule in front of the :hover and :active rules all links "respond" to hover.

Added selectors to prevent H5BP anchor styles being applied to JQM buttons:
When JQM is used together with H5BP's style.css buttons get the a:visited and a:hover font color from that stylesheet. Although the user could remove those rules (JQM's ui-link rules override them) we can "protect" the buttons with the suggested changes. H5BP doesn't set color for a:active so this is not included.
Fixes #3444

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker May 24, 2012

Contributor

@Wilto or @scottjehl - mind reviewing?

Contributor

toddparker commented May 24, 2012

@Wilto or @scottjehl - mind reviewing?

jaspermdegroot added a commit that referenced this pull request Jun 7, 2012

@jaspermdegroot jaspermdegroot merged commit 738aa16 into jquery:master Jun 7, 2012

jaspermdegroot added a commit that referenced this pull request Jun 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment