You are here

dhtml_menu.css in DHTML Menu 7

Same filename and directory in other branches
  1. 8 dhtml_menu.css
  2. 6.4 dhtml_menu.css
  3. 6.3 dhtml_menu.css

dhtml_menu.css Static stylesheet rules to be applied to DHTML Menu markup.

File

dhtml_menu.css
View source
  1. /**
  2. * @file dhtml_menu.css
  3. * Static stylesheet rules to be applied to DHTML Menu markup.
  4. */
  5. /*
  6. * Cloned leaves are small and emphasized with italics.
  7. */
  8. li.dhtml-menu-cloned-leaf {
  9. font-size: 0.7em;
  10. font-style: italic;
  11. }
  12. /*
  13. * Menus that are initially collapsed must be hidden statically.
  14. * Otherwise, they will show up while the page renders, until JS runs.
  15. */
  16. li.dhtml-menu.start-collapsed ul {
  17. display: none;
  18. }
  19. /*
  20. * When using open-only menus, expanded links are italicized
  21. * to show that they are now static.
  22. */
  23. li.dhtml-menu-open > a {
  24. font-style: italic;
  25. }
  26. /*
  27. * When using bullet-icon expansion, make the invisible link as large
  28. * as the bullet icon (16x16). It will be positioned by Javascript, respecting
  29. * text direction. Therefore no positioning code is required here.
  30. */
  31. a.dhtml-menu-icon {
  32. position: relative;
  33. float: left;
  34. width: 16px;
  35. height: 16px;
  36. }
  37. /*
  38. * Provide large and visible folder icons for easy clicking.
  39. */
  40. li.dhtml-folder {
  41. list-style: none;
  42. }
  43. li.dhtml-folder.expanded .dhtml-menu-icon {
  44. background-image: url("images/folder-open-white.png");
  45. }
  46. li.dhtml-folder.collapsed .dhtml-menu-icon {
  47. background-image: url("images/folder-closed-white.png");
  48. }