admin.menu.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /**
  2. * Breadcrumb
  3. */
  4. div#admin-toolbar div.admin-tab.admin-menu #admin-tab-admin-menu {
  5. display:block;
  6. height:20px;
  7. overflow:hidden;
  8. position:relative;
  9. }
  10. div#admin-toolbar div.admin-tab a {
  11. background:url(../images/sprite.png) 100% -70px no-repeat;
  12. padding-right:20px;
  13. }
  14. div#admin-toolbar div.admin-tab a:last-child {
  15. background:transparent;
  16. padding:0px;
  17. }
  18. /**
  19. * Tooltips
  20. */
  21. div#admin-toolbar.vertical div.admin-toolbar-menu-hover div.block-content { bottom:100px; }
  22. div#admin-toolbar span.menu-description { display:none; }
  23. div#admin-toolbar a.menu-hover span.menu-description {
  24. color:#ccc;
  25. display:block;
  26. }
  27. div#admin-toolbar.vertical a.menu-hover span.menu-description {
  28. position:absolute;
  29. overflow:hidden;
  30. left:0px;
  31. right:0px;
  32. bottom:0px;
  33. padding:0px 20px;
  34. height:90px;
  35. }
  36. div#admin-toolbar.horizontal a.menu-hover span.menu-description {
  37. position:absolute;
  38. top:0px;
  39. left:60%;
  40. width:35%;
  41. padding-left:20px;
  42. }
  43. /**
  44. * Menu
  45. */
  46. #admin-toolbar ul.menu,
  47. #admin-toolbar ul.menu ul,
  48. #admin-toolbar ul.menu li,
  49. #admin-toolbar ul.menu li a {
  50. list-style:none;
  51. background:transparent;
  52. padding:0px;
  53. margin:0px;
  54. border:0px;
  55. }
  56. /* IE7 */
  57. *:first-child+html #admin-toolbar ul.menu,
  58. *:first-child+html #admin-toolbar ul.menu ul,
  59. *:first-child+html #admin-toolbar ul.menu li,
  60. *:first-child+html #admin-toolbar ul.menu li a { overflow:hidden; }
  61. #admin-toolbar.horizontal ul.drilldown-active-menu {
  62. float:left;
  63. width:60%;
  64. }
  65. #admin-toolbar.horizontal div.admin-pane ul.drilldown-active-menu {
  66. float:none;
  67. width:auto;
  68. }
  69. #admin-toolbar.horizontal ul.drilldown-active-menu li {
  70. float:left;
  71. width:49.9%;
  72. }
  73. #admin-toolbar ul.drilldown-active-menu li { background:url(../images/sprite.png) 0% -85px no-repeat; }
  74. #admin-toolbar ul.menu li.leaf,
  75. #admin-toolbar ul.drilldown-active-menu li.leaf { background:url(../images/sprite.png) 0% -110px no-repeat; }
  76. #admin-toolbar ul.menu li a {
  77. -moz-border-radius:5px;
  78. -webkit-border-radius:5px;
  79. display:block;
  80. margin-left:25px;
  81. height:15px;
  82. padding:5px 10px 4px;
  83. border-bottom:1px solid #222;
  84. white-space:nowrap;
  85. overflow:hidden;
  86. }
  87. #admin-toolbar ul.menu li a span.menu-description { white-space:normal; }
  88. /* IE7 requires height to be explicitly set. */
  89. #admin-toolbar ul.menu li.leaf,
  90. #admin-toolbar ul.drilldown-active-menu li { height:25px; }
  91. #admin-toolbar ul.menu li a.active { background:#222; }
  92. #admin-toolbar ul.menu li a:hover {
  93. color:#000;
  94. background:url(../images/bleeds.png) 0px -30px repeat-x;
  95. }
  96. /* Drilldown generic styles */
  97. .drilldown ul.menu li { display:none !important; }
  98. .drilldown ul.menu li a { display:none !important; }
  99. .drilldown ul.menu li.drilldown-active-trail { display:block !important; }
  100. .drilldown ul.drilldown-active-menu li { display:block !important; }
  101. .drilldown ul.drilldown-active-menu li a { display:block !important; }
  102. .drilldown ul.drilldown-active-menu li ul { display:none !important; }
  103. .drilldown ul.drilldown-active-menu li.expanded { cursor:pointer; }
  104. .drilldown ul.drilldown-active-menu ul.menu li a { display:none !important; }