admin_menu_toolbar.css

  1. nittany7 modules/contrib/admin_menu/admin_menu_toolbar/admin_menu_toolbar.css
  2. cis7 modules/contrib/admin_menu/admin_menu_toolbar/admin_menu_toolbar.css
  3. mooc7 modules/contrib/admin_menu/admin_menu_toolbar/admin_menu_toolbar.css

Toolbar style for Administration menu.

Important: We cannot re-use toolbar.png from Toolbar module, since we cannot reliably determine the path to it.

@todo Separate shortcut functionality into own module/widget.

File

modules/contrib/admin_menu/admin_menu_toolbar/admin_menu_toolbar.css
View source
  1. /**
  2. * @file
  3. * Toolbar style for Administration menu.
  4. *
  5. * Important: We cannot re-use toolbar.png from Toolbar module, since we cannot
  6. * reliably determine the path to it.
  7. *
  8. * @todo Separate shortcut functionality into own module/widget.
  9. */
  10. /* Adjust margin/height */
  11. html body.admin-menu {
  12. margin-top: 29px !important;
  13. }
  14. html body.admin-menu-with-shortcuts {
  15. margin-top: 65px !important;
  16. }
  17. /* Displace the core Toolbar, if concurrently output. */
  18. body div#toolbar.toolbar {
  19. top: 30px;
  20. }
  21. /**
  22. * Base styles.
  23. *
  24. * We use a keyword for the toolbar font size to make it display consistently
  25. * across different themes, while still allowing browsers to resize the text.
  26. */
  27. #admin-menu {
  28. font: normal small "Lucida Grande", Verdana, sans-serif;
  29. -moz-box-shadow: 0 -10px 20px 13px #000;
  30. -webkit-box-shadow: 0 -10px 20px 13px #000;
  31. box-shadow: 0 -10px 20px 13px #000;
  32. right: 0;
  33. width: auto;
  34. }
  35. #admin-menu-wrapper {
  36. font-size: .846em;
  37. padding: 5px 10px 0;
  38. }
  39. #admin-menu .dropdown a {
  40. color: #fafafa;
  41. }
  42. /* Remove border from all lists and actions */
  43. #admin-menu .dropdown .admin-menu-action a {
  44. border-left: 0;
  45. }
  46. #admin-menu .dropdown .admin-menu-icon > a {
  47. padding: 2px 10px 3px;
  48. }
  49. /**
  50. * Administration menu.
  51. */
  52. #admin-menu .dropdown .admin-menu-icon > a span {
  53. vertical-align: text-bottom;
  54. width: 11px;
  55. height: 14px;
  56. display: block;
  57. background: url(toolbar.png) no-repeat 0 -45px;
  58. text-indent: -9999px;
  59. }
  60. #admin-menu > div > .dropdown > li > a {
  61. border-right: 0;
  62. margin-bottom: 4px;
  63. padding: 2px 10px 3px;
  64. }
  65. #admin-menu .dropdown .admin-menu-toolbar-category > a,
  66. #admin-menu .dropdown .admin-menu-action > a {
  67. border-radius: 10px;
  68. -moz-border-radius: 10px;
  69. -webkit-border-radius: 10px;
  70. }
  71. #admin-menu .dropdown .admin-menu-toolbar-category > a.active-trail {
  72. text-shadow: #333 0 1px 0;
  73. background: url(toolbar.png) 0 0 repeat-x;
  74. }
  75. #admin-menu .dropdown .admin-menu-toolbar-category > a:hover {
  76. background-color: #444;
  77. }
  78. #admin-menu .dropdown .admin-menu-tab a {
  79. border-right: 0;
  80. }
  81. #admin-menu .dropdown li li.expandable ul {
  82. margin: -22px 0 0 160px;
  83. }
  84. /**
  85. * Shortcuts toggle.
  86. */
  87. #admin-menu .shortcut-toggle {
  88. cursor: pointer;
  89. background: url(toolbar.png) 0 -20px no-repeat;
  90. display: block;
  91. float: right;
  92. margin: 0 0 0 1.3em;
  93. text-indent: -9999px;
  94. overflow: hidden;
  95. width: 25px;
  96. height: 25px;
  97. }
  98. #admin-menu .shortcut-toggle:focus,
  99. #admin-menu .shortcut-toggle:hover {
  100. background-position: -50px -20px;
  101. }
  102. #admin-menu .shortcut-toggle.active {
  103. background-position: -25px -20px;
  104. }
  105. #admin-menu .shortcut-toggle.active:focus,
  106. #admin-menu .shortcut-toggle.active:hover {
  107. background-position: -75px -20px;
  108. }
  109. /**
  110. * Shortcuts widget.
  111. */
  112. #admin-menu .shortcut-toolbar {
  113. background-color: #666;
  114. clear: both;
  115. display: none;
  116. margin: 0 -10px;
  117. overflow: hidden;
  118. /* Align with icon; @see shortcut.css */
  119. padding-left: 5px;
  120. }
  121. #admin-menu .shortcut-toolbar.active {
  122. display: block;
  123. }
  124. /* Override theme list style; @see shortcut.css */
  125. #admin-menu .shortcut-toolbar ul {
  126. margin: 0;
  127. }
  128. /* @see toolbar.css */
  129. #admin-menu .shortcut-toolbar li {
  130. float: left;
  131. list-style-image: none;
  132. list-style-type: none;
  133. }
  134. #admin-menu .shortcut-toolbar a {
  135. display: block;
  136. }