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.

145 lines
4.5 KiB

  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.1
  6. */
  7. md-toolbar {
  8. box-sizing: border-box;
  9. display: -webkit-box;
  10. display: -webkit-flex;
  11. display: flex;
  12. -webkit-box-orient: vertical;
  13. -webkit-box-direction: normal;
  14. -webkit-flex-direction: column;
  15. flex-direction: column;
  16. position: relative;
  17. z-index: 2;
  18. font-size: 20px;
  19. min-height: 64px;
  20. width: 100%; }
  21. md-toolbar._md-toolbar-transitions {
  22. -webkit-transition-duration: 0.5s;
  23. transition-duration: 0.5s;
  24. -webkit-transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  25. transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  26. -webkit-transition-property: background-color, fill, color;
  27. transition-property: background-color, fill, color; }
  28. md-toolbar.md-whiteframe-z1-add, md-toolbar.md-whiteframe-z1-remove {
  29. -webkit-transition: box-shadow 0.5s linear;
  30. transition: box-shadow 0.5s linear; }
  31. md-toolbar md-toolbar-filler {
  32. width: 72px; }
  33. md-toolbar *,
  34. md-toolbar *:before,
  35. md-toolbar *:after {
  36. box-sizing: border-box; }
  37. md-toolbar.ng-animate {
  38. -webkit-transition: none;
  39. transition: none; }
  40. md-toolbar.md-tall {
  41. height: 128px;
  42. min-height: 128px;
  43. max-height: 128px; }
  44. md-toolbar.md-medium-tall {
  45. height: 88px;
  46. min-height: 88px;
  47. max-height: 88px; }
  48. md-toolbar.md-medium-tall .md-toolbar-tools {
  49. height: 48px;
  50. min-height: 48px;
  51. max-height: 48px; }
  52. md-toolbar > .md-indent {
  53. margin-left: 64px; }
  54. [dir=rtl] md-toolbar > .md-indent {
  55. margin-left: auto;
  56. margin-right: 64px; }
  57. md-toolbar ~ md-content > md-list {
  58. padding: 0; }
  59. md-toolbar ~ md-content > md-list md-list-item:last-child md-divider {
  60. display: none; }
  61. .md-toolbar-tools {
  62. font-size: 20px;
  63. letter-spacing: 0.005em;
  64. box-sizing: border-box;
  65. font-weight: 400;
  66. display: -webkit-box;
  67. display: -webkit-flex;
  68. display: flex;
  69. -webkit-box-align: center;
  70. -webkit-align-items: center;
  71. align-items: center;
  72. -webkit-box-orient: horizontal;
  73. -webkit-box-direction: normal;
  74. -webkit-flex-direction: row;
  75. flex-direction: row;
  76. width: 100%;
  77. height: 64px;
  78. max-height: 64px;
  79. padding: 0 16px;
  80. margin: 0; }
  81. .md-toolbar-tools h1, .md-toolbar-tools h2, .md-toolbar-tools h3 {
  82. font-size: inherit;
  83. font-weight: inherit;
  84. margin: inherit; }
  85. .md-toolbar-tools a {
  86. color: inherit;
  87. text-decoration: none; }
  88. .md-toolbar-tools .fill-height {
  89. display: -webkit-box;
  90. display: -webkit-flex;
  91. display: flex;
  92. -webkit-box-align: center;
  93. -webkit-align-items: center;
  94. align-items: center; }
  95. .md-toolbar-tools .md-button {
  96. margin-top: 0;
  97. margin-bottom: 0; }
  98. .md-toolbar-tools .md-button, .md-toolbar-tools .md-button.md-icon-button md-icon {
  99. -webkit-transition-duration: 0.5s;
  100. transition-duration: 0.5s;
  101. -webkit-transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  102. transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  103. -webkit-transition-property: background-color, fill, color;
  104. transition-property: background-color, fill, color; }
  105. .md-toolbar-tools .md-button.ng-animate, .md-toolbar-tools .md-button.md-icon-button md-icon.ng-animate {
  106. -webkit-transition: none;
  107. transition: none; }
  108. .md-toolbar-tools > .md-button:first-child {
  109. margin-left: -8px; }
  110. [dir=rtl] .md-toolbar-tools > .md-button:first-child {
  111. margin-left: auto;
  112. margin-right: -8px; }
  113. .md-toolbar-tools > .md-button:last-child {
  114. margin-right: -8px; }
  115. [dir=rtl] .md-toolbar-tools > .md-button:last-child {
  116. margin-right: auto;
  117. margin-left: -8px; }
  118. .md-toolbar-tools > md-menu:last-child {
  119. margin-right: -8px; }
  120. [dir=rtl] .md-toolbar-tools > md-menu:last-child {
  121. margin-right: auto;
  122. margin-left: -8px; }
  123. .md-toolbar-tools > md-menu:last-child > .md-button {
  124. margin-right: 0; }
  125. [dir=rtl] .md-toolbar-tools > md-menu:last-child > .md-button {
  126. margin-right: auto;
  127. margin-left: 0; }
  128. @media screen and (-ms-high-contrast: active) {
  129. .md-toolbar-tools {
  130. border-bottom: 1px solid #fff; } }
  131. @media (min-width: 0) and (max-width: 959px) and (orientation: portrait) {
  132. md-toolbar {
  133. min-height: 56px; }
  134. .md-toolbar-tools {
  135. height: 56px;
  136. max-height: 56px; } }
  137. @media (min-width: 0) and (max-width: 959px) and (orientation: landscape) {
  138. md-toolbar {
  139. min-height: 48px; }
  140. .md-toolbar-tools {
  141. height: 48px;
  142. max-height: 48px; } }