Skip to main content

Search and Top Navigation

#6799 closed bug (notabug)

Opened January 01, 2011 09:38PM UTC

Closed January 02, 2011 04:21PM UTC

Last modified January 11, 2011 07:13PM UTC

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

Attachments (0)
Change History (3)

Changed January 02, 2011 04:21PM UTC by scottgonzalez comment:1

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.

Changed January 02, 2011 05:30PM UTC by SugaSlide comment:2

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).

Changed January 11, 2011 07:13PM UTC by scottgonzalez comment:3

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.