I love the new feature that highlights elements as you hover over them and shows you what you have selected when you click on it. Starting a ticket for a variety of bugs/problems I'm running into. So far I have done everything in Mac/FF, I'll try some other browsers later.
- I changed the css for .sweaver-hovered and .sweaver-clicked to use a background color to make it easier to see. The silver outline is practically invisible in many themes/elements. I can control that myself, just noting that it helped me.
- The effect on hovering works fine for me in a variety of themes and environments. No problems there.
- The effect that is supposed to show me the clicked elements is not working as well. Most of the time I can't see any effect at all. When I use firebug, I see that the style is not getting applied to the elements that should have it.
- The clicked effect is erratic, sometimes, in some themes (like Garland) I can see the clicked effect, but later I come back and can't see it any more. I suspect something to do with caching. I have turned off page caching and css caching and js caching, but still am having trouble.
- In some themes rather than being erratic the clicked effect is never applied to anything. I've been checking with firebug and nothing I do seems to add the .sweaver-clicked style to any page elements. This could be whatever is causing the erratic problem noted above -- something cached somewhere?
- The hover and clicked effects are showing up in the Sweaver panel as well as on the page. That became obvious when I added a background color to the css. I suspect that is a mistake -- we don't want to apply the effect to elements in the Sweaver panel. When using a background color, I sometimes ended up making all the elements in the Sweaver panel invisible, depending on what element I was targeting.
Comments
Comment #1
karens commentedOK, having the hover effects show up in the panel is another thing that is erratic -- sometimes I see it, then I clear caches and go back and don't see it any more. I'm trying to come up with a reproduceable example, but the problems are so erratic it is making that hard. I'll try to come up with something more specific.
Comment #2
jyve commentedPersonally I would keep the the highlighting limited to the outline. The more we add on click, the more difficult it is to see your theme changes. Maybe the color should be something that stands out more (e.g. the nice Sweaver green :)).
I've tested the clicking on several browsers, and had no issues so far. Also code-wise there is no indication why it would not work since applying that class is done in the same place as the printing of the full path. Page and css caching should not interfere since everything is done on the fly with jquery. Please let me know if you have more information on this issue.
As for the last issue, you will need to add some classes to the 'excluded classes' in the backend:
clear
clear-fix
clear-block
sweaver
sweaver-hovered
sweaver-clicked
This list is updated in the latest dev version, but unless you start from a fresh install, you will have to add them yourself.
Comment #3
karens commentedOK, either I didn't have all the changes or some later change took care of this, but now I am seeing what I should see -- the clicked elements have borders on them.
Thanks!