You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
3.7 KiB

  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.1
  6. */
  7. md-toolbar.md-menu-toolbar h2.md-toolbar-tools {
  8. line-height: 1rem;
  9. height: auto;
  10. padding: 28px;
  11. padding-bottom: 12px; }
  12. md-toolbar.md-has-open-menu {
  13. position: relative;
  14. z-index: 100; }
  15. md-menu-bar {
  16. padding: 0 20px;
  17. display: block;
  18. position: relative;
  19. z-index: 2; }
  20. md-menu-bar .md-menu {
  21. display: inline-block;
  22. padding: 0;
  23. position: relative; }
  24. md-menu-bar button {
  25. font-size: 14px;
  26. padding: 0 10px;
  27. margin: 0;
  28. border: 0;
  29. background-color: transparent;
  30. height: 40px; }
  31. md-menu-bar md-backdrop.md-menu-backdrop {
  32. z-index: -2; }
  33. md-menu-content.md-menu-bar-menu.md-dense {
  34. max-height: none;
  35. padding: 16px 0; }
  36. md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent {
  37. position: relative; }
  38. md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent > md-icon {
  39. position: absolute;
  40. padding: 0;
  41. width: 24px;
  42. top: 6px;
  43. left: 24px; }
  44. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent > md-icon {
  45. left: auto;
  46. right: 24px; }
  47. md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent > .md-button, md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent .md-menu > .md-button {
  48. padding: 0 32px 0 64px; }
  49. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent > .md-button, [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense md-menu-item.md-indent .md-menu > .md-button {
  50. padding: 0 64px 0 32px; }
  51. md-menu-content.md-menu-bar-menu.md-dense .md-button {
  52. min-height: 0;
  53. height: 32px;
  54. display: -webkit-box;
  55. display: -webkit-flex;
  56. display: flex; }
  57. md-menu-content.md-menu-bar-menu.md-dense .md-button span {
  58. -webkit-box-flex: 1;
  59. -webkit-flex-grow: 1;
  60. flex-grow: 1; }
  61. md-menu-content.md-menu-bar-menu.md-dense .md-button span.md-alt-text {
  62. -webkit-box-flex: 0;
  63. -webkit-flex-grow: 0;
  64. flex-grow: 0;
  65. -webkit-align-self: flex-end;
  66. align-self: flex-end;
  67. margin: 0 8px; }
  68. md-menu-content.md-menu-bar-menu.md-dense md-menu-divider {
  69. margin: 8px 0; }
  70. md-menu-content.md-menu-bar-menu.md-dense md-menu-item > .md-button, md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button {
  71. text-align: left; }
  72. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense md-menu-item > .md-button, [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button {
  73. text-align: right; }
  74. md-menu-content.md-menu-bar-menu.md-dense .md-menu {
  75. padding: 0; }
  76. md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button {
  77. position: relative;
  78. margin: 0;
  79. width: 100%;
  80. text-transform: none;
  81. font-weight: normal;
  82. border-radius: 0px;
  83. padding-left: 16px; }
  84. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button {
  85. padding-left: 0;
  86. padding-right: 16px; }
  87. md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button:after {
  88. display: block;
  89. content: '\25BC';
  90. position: absolute;
  91. top: 0px;
  92. speak: none;
  93. -webkit-transform: rotate(270deg) scaleY(0.45) scaleX(0.9);
  94. transform: rotate(270deg) scaleY(0.45) scaleX(0.9);
  95. right: 28px; }
  96. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button:after {
  97. -webkit-transform: rotate(90deg) scaleY(0.45) scaleX(0.9);
  98. transform: rotate(90deg) scaleY(0.45) scaleX(0.9); }
  99. [dir=rtl] md-menu-content.md-menu-bar-menu.md-dense .md-menu > .md-button:after {
  100. right: auto;
  101. left: 28px; }