jquery / themeroller.jquerymobile.com

ThemeRoller site for jQuery Mobile
Other
140 stars 73 forks source link

:visited, :hover rules use fixed theme letter for every theme #103

Closed jtara closed 12 years ago

jtara commented 12 years ago

The rules added for :visited and :hover use the "c" theme letter in every case. I beleive they should be using the appropriate theme letters.

For example, import the default theme. You will get:

.ui-btn-up-c:visited,
.ui-btn-up-a a.ui-link-inherit {
    color: #fff /*{a-bup-color}*/;
}

.ui-btn-hover-c:visited,
.ui-btn-hover-c:hover,
.ui-btn-hover-a a.ui-link-inherit {
color: #fff /*{a-bhover-color}*/;
}

This is in the styling of the a theme!

Etc.

It uses .ui-btn-[x]-c in every case - .e.g. regardless of theme.

tybenz commented 12 years ago

Nice catch! It should be fixed now.

jtara commented 12 years ago

Thanks for the quick attention to this!