You are here

navbar.menu.css in Navbar 7

File

css/navbar.menu.css
View source
  1. /**
  2. * @file navbar.menu.css
  3. */
  4. #navbar-administration .navbar-menu {
  5. list-style: none;
  6. margin: 0;
  7. padding: 0;
  8. }
  9. #navbar-administration .navbar-box {
  10. display: block;
  11. line-height: 1em; /* this prevents the value "normal" from being returned as the line-height */
  12. position: relative;
  13. width: auto;
  14. }
  15. #navbar-administration .navbar-tray-horizontal .navbar-menu .navbar-handle,
  16. #navbar-administration .navbar-tray-horizontal .navbar-menu .navbar-menu,
  17. #navbar-administration .navbar-tray-vertical .navbar-menu > .navbar-twisty > .navbar-menu {
  18. display: none;
  19. }
  20. #navbar-administration .navbar-tray-vertical .navbar-twisty.open > .navbar-menu {
  21. display: block; /* Show the sub-menus */
  22. }
  23. #navbar-administration .navbar-tray-vertical .navbar-handle + .navbar-menu-item {
  24. margin-right: 3em; /* LTR */
  25. }
  26. #navbar-administration .navbar-tray .navbar-active-trail > .navbar-box .navbar-menu-item,
  27. #navbar-administration .navbar-tray .navbar-active
  28. /* Drupal's active menu item class. */
  29. #navbar-administration .navbar-tray .active {
  30. color: #000;
  31. font-weight: bold;
  32. }
  33. /* ----- Toolbar menu tray for viewports less than 320px ------ */
  34. @media screen and (max-width: 319px) {
  35. #navbar-administration .navbar-tray-vertical.navbar-active {
  36. width: 100%;
  37. }
  38. }
  39. /**
  40. * Items.
  41. */
  42. #navbar-administration .navbar-level-2 > ul {
  43. background-color: #fafafa;
  44. border-bottom-color: #cccccc;
  45. border-top-color: #e5e5e5;
  46. }
  47. #navbar-administration .navbar-level-3 > ul {
  48. background-color: #f5f5f5;
  49. border-bottom-color: #c5c5c5;
  50. border-top-color: #dddddd;
  51. }
  52. #navbar-administration .navbar-level-4 > ul {
  53. background-color: #eeeeee;
  54. border-bottom-color: #bbbbbb;
  55. border-top-color: #d5d5d5;
  56. }
  57. #navbar-administration .navbar-level-5 > ul {
  58. background-color: #e5e5e5;
  59. border-bottom-color: #b5b5b5;
  60. border-top-color: #cccccc;
  61. }
  62. #navbar-administration .navbar-level-6 > ul {
  63. background-color: #eeeeee;
  64. border-bottom-color: #aaaaaa;
  65. border-top-color: #c5c5c5;
  66. }
  67. #navbar-administration .navbar-level-7 > ul {
  68. background-color: #fafafa;
  69. border-bottom-color: #b5b5b5;
  70. border-top-color: #cccccc;
  71. }
  72. #navbar-administration .navbar-level-8 > ul {
  73. background-color: #dddddd;
  74. border-bottom-color: #cccccc;
  75. border-top-color: #dddddd;
  76. }
  77. /**
  78. * Handle.
  79. */
  80. #navbar-administration .navbar-handle:hover {
  81. cursor: pointer;
  82. }
  83. #navbar-administration .navbar-icon.navbar-handle {
  84. bottom: 0;
  85. display: block;
  86. height: 100%;
  87. padding: 0;
  88. position: absolute;
  89. right: 0; /* LTR */
  90. top: 0;
  91. z-index: 1;
  92. }