toolbar.menu.css

toolbar.menu.css

File

drupal/core/modules/toolbar/css/toolbar.menu.css
View source
  1. /**
  2. * @file toolbar.menu.css
  3. */
  4. .toolbar .menu {
  5. list-style: none;
  6. margin: 0;
  7. padding: 0;
  8. }
  9. .toolbar .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. .toolbar .horizontal .menu .handle,
  16. .toolbar .horizontal .menu ul,
  17. .toolbar .vertical .menu ul {
  18. display: none;
  19. }
  20. .toolbar .vertical li.open > ul {
  21. display: block; /* Show the sub-menus */
  22. }
  23. .toolbar .vertical .handle + a {
  24. margin-right: 3em; /* LTR */
  25. }
  26. .toolbar .tray .active-trail > .box a,
  27. .toolbar .tray a.active {
  28. color: #000;
  29. font-weight: bold;
  30. }
  31. /**
  32. * Items.
  33. */
  34. .toolbar .level-2 > ul {
  35. background-color: #fafafa;
  36. border-bottom-color: #cccccc;
  37. border-top-color: #e5e5e5;
  38. }
  39. .toolbar .level-3 > ul {
  40. background-color: #f5f5f5;
  41. border-bottom-color: #c5c5c5;
  42. border-top-color: #dddddd;
  43. }
  44. .toolbar .level-4 > ul {
  45. background-color: #eeeeee;
  46. border-bottom-color: #bbbbbb;
  47. border-top-color: #d5d5d5;
  48. }
  49. .toolbar .level-5 > ul {
  50. background-color: #e5e5e5;
  51. border-bottom-color: #b5b5b5;
  52. border-top-color: #cccccc;
  53. }
  54. .toolbar .level-6 > ul {
  55. background-color: #eeeeee;
  56. border-bottom-color: #aaaaaa;
  57. border-top-color: #c5c5c5;
  58. }
  59. .toolbar .level-7 > ul {
  60. background-color: #fafafa;
  61. border-bottom-color: #b5b5b5;
  62. border-top-color: #cccccc;
  63. }
  64. .toolbar .level-8 > ul {
  65. background-color: #dddddd;
  66. border-bottom-color: #cccccc;
  67. border-top-color: #dddddd;
  68. }
  69. /**
  70. * Handle.
  71. */
  72. .toolbar .handle:hover {
  73. cursor: pointer;
  74. }
  75. .toolbar .icon.handle {
  76. bottom: 0;
  77. display: block;
  78. height: 100%;
  79. padding: 0;
  80. position: absolute;
  81. right: 0; /* LTR */
  82. text-indent: -9999px;
  83. top: 0;
  84. width: 3em;
  85. z-index: 1;
  86. }
  87. .toolbar .icon.handle:before {
  88. background-image: url("../images/icon-open.png");
  89. left: 0; /* LTR */
  90. }
  91. .toolbar .icon.handle.open:before {
  92. background-image: url("../images/icon-collapse.png");
  93. }
  94. .toolbar .menu .menu .icon.handle:before {
  95. background-image: url("../images/icon-child-open.png");
  96. }
  97. .toolbar .menu .menu .icon.handle.open:before {
  98. background-image: url("../images/icon-child-collapse.png");
  99. }