Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

listviews link color #2056

Closed
pierredup opened this issue Jul 12, 2011 · 4 comments
Closed

listviews link color #2056

pierredup opened this issue Jul 12, 2011 · 4 comments

Comments

@pierredup
Copy link

When using a custom theme on listviews, when I click on an item (when testing on my pc) the item background turns blue, instead of the color of my custom theme

@pierredup
Copy link
Author

I think .ui-btn-active should be changed to .ui-btn-active-theme (E.g ui-btn-active-a, ui-btn-active-b etc), so the active button color can be changed per theme

@MauriceG
Copy link
Contributor

until there will be may a separate ui-btn-active class, you can use the following workaround:

If you have a custom theme called X you can use a "grand-child" selector in your custom css file like:

.ui-body-x * .ui-btn-active {
  background: firebrick;
  color: firebrick;
  text-shadow: 1px -1px 3px yellow, -1px 1px 0 peachpuff;
}

Same if you want to change the appearance of a active button in a standard theme (a-e)

.ui-body-a * .ui-btn-active {
  background: firebrick;
  color: firebrick;
  text-shadow: 1px -1px 3px yellow, -1px 1px 0 peachpuff;
}

i have tested this with safari on ipad2, iphone4, Mac OS and windows, chrome and FF on windows.

@ghost ghost assigned johnbender Aug 7, 2011
@jaspermdegroot
Copy link
Contributor

There is a feature request for this: #3750

@jaspermdegroot
Copy link
Contributor

Closing since there is already a feature request for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants