Welcome, Guest
Username: Password: Remember me

TOPIC: anchor mouse-over behavior in adminstyle.css

anchor mouse-over behavior in adminstyle.css 3 years 10 months ago #49948

  • sethwhite1
  • sethwhite1's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello Team LimeSurvey

I hope this information about CSS Anchor Pseudo-classes is useful.

“a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!“
src: http://www.w3schools.com/CSS/css_pseudo_classes.asp

However, in /admin/styles/default/adminstyle.css, the a:hover entry comes before a:link and a:visited, so a:hover is not being executed.

This prevents anchor tags (links) from being underlined when you mouse-over them.

To replicate this issue, goto the limesurvey demo and mouse over any link:
demo.limesurvey.org/admin/admin.php

To fix this issue, you could cut/paste the 'a:link, a:visited' entry from lines 512-515 up to line 41 in adminstyle.css. Then the 'a:link, a:visited' entry would come before the 'a:hover' entry. This would cause anchor tags (links) to be properly underlined when you mouse-over them.

Thanks for such great code!

-seth
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.095 seconds
Donation Image