/gespac/css/dropdown/default.css

http://gespac.googlecode.com/ · CSS · 82 lines · 32 code · 19 blank · 31 comment · 0 complexity · 04a2119079c0f8a2151dcf4ca645669a MD5 · raw file

  1. @charset "UTF-8";
  2. /**
  3. * Default CSS Drop-Down Menu Theme
  4. *
  5. * @file default.css
  6. * @name Default
  7. * @version 0.1.1
  8. * @type transitional
  9. * @browsers Windows: IE5+, Opera7+, Firefox1+
  10. * Mac OS: Safari2+, Firefox2+
  11. *
  12. * @link http://www.lwis.net/
  13. * @copyright 2008 Live Web Institute. All Rights Reserved.
  14. *
  15. * Module Classes: *.dir {} *.on {} *.open {} li.hover {} li.first {} li.last {}
  16. * Expected directory tag - li
  17. *
  18. */
  19. /*-------------------------------------------------/
  20. * @section Base Drop-Down Styling
  21. * @structure ul (unordered list)
  22. * ul li (list item)
  23. * ul li a (links)
  24. * /*\.class|(li|a):hover/
  25. * @level sep ul
  26. */
  27. ul.dropdown {
  28. font-weight: bold;
  29. }
  30. ul.dropdown li {
  31. border-style: solid;
  32. border-width: 0 0 1px 0;
  33. }
  34. li.item:hover{
  35. background-color: #eee;
  36. color: #000;
  37. }
  38. ul.dropdown a:link,
  39. ul.dropdown a:visited { color: #000; text-decoration: none; }
  40. ul.dropdown a:hover { color: #000; }
  41. ul.dropdown a:active { color: #ffa500; }
  42. /* -- level mark -- */
  43. ul.dropdown ul {
  44. width: 150px;
  45. margin-top: 1px;
  46. }
  47. ul.dropdown ul li {
  48. font-weight: normal;
  49. }
  50. /*-------------------------------------------------/
  51. * @section Support Class `dir`
  52. * @level sep ul, .class
  53. */
  54. ul.dropdown *.dir {
  55. background-position: 100% 50%;
  56. background-repeat: no-repeat;
  57. }
  58. /* -- Components override -- */
  59. ul.dropdown-horizontal ul *.dir {
  60. padding-right: 15px;
  61. background-position: 100% 50%;
  62. background-repeat: no-repeat;
  63. }