Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#6799 closed bug (notabug)

UI ui-state-active overrides ui-state-hover

Reported by: SugaSlide Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.css-framework Version:
Keywords: Cc:
Blocked by: Blocking:

Description

create a button.. have it set as ui-state-active.. if you hover over the button it doesnt do anything.. no visual representation that you hovering over it..

solution: move the ui-state-hover to bellow the ui-state-active in the css file.. (this might not be the best route to take)

better yet

have another style definition .ui-state-active.ui-state-hover

im presuming this is a bug?

http://jsfiddle.net/ssBcW/

hover over the selected item (30 december) nothing happens

Change History (3)

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

This isn't a bug. You can easily create styles for hovered active items by doubling up the class like you've said.

comment:2 Changed 9 years ago by SugaSlide

agreed its not a show stopper.. but surely a button for eg with ui-state-active should have a visual representation of a hover?

it would be nice of themeroller gets updated to include this. i have till now been wondering bout buttons strange behavior that they dont change when you hover over them. my uncertainty as to wether its a bug or not was from me not knowing if you guys over looked it or designed it as such (in which case its pretty incorrect way of doing it).

comment:3 Changed 9 years ago by Scott González

I talked this over with Scott Jehl and we decided to keep this out of ThemeRoller for now. If a bunch of people ask for the ability to style a hovered active element via ThemeRoller, then we'll consider adding another option. For now, this is easy enough to add on your own.

Note: See TracTickets for help on using tickets.