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.

147 lines
4.6 KiB

7 years ago
  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.3
  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-checkbox {
  96. margin: inherit; }
  97. .md-toolbar-tools .md-button {
  98. margin-top: 0;
  99. margin-bottom: 0; }
  100. .md-toolbar-tools .md-button, .md-toolbar-tools .md-button.md-icon-button md-icon {
  101. -webkit-transition-duration: 0.5s;
  102. transition-duration: 0.5s;
  103. -webkit-transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  104. transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
  105. -webkit-transition-property: background-color, fill, color;
  106. transition-property: background-color, fill, color; }
  107. .md-toolbar-tools .md-button.ng-animate, .md-toolbar-tools .md-button.md-icon-button md-icon.ng-animate {
  108. -webkit-transition: none;
  109. transition: none; }
  110. .md-toolbar-tools > .md-button:first-child {
  111. margin-left: -8px; }
  112. [dir=rtl] .md-toolbar-tools > .md-button:first-child {
  113. margin-left: auto;
  114. margin-right: -8px; }
  115. .md-toolbar-tools > .md-button:last-child {
  116. margin-right: -8px; }
  117. [dir=rtl] .md-toolbar-tools > .md-button:last-child {
  118. margin-right: auto;
  119. margin-left: -8px; }
  120. .md-toolbar-tools > md-menu:last-child {
  121. margin-right: -8px; }
  122. [dir=rtl] .md-toolbar-tools > md-menu:last-child {
  123. margin-right: auto;
  124. margin-left: -8px; }
  125. .md-toolbar-tools > md-menu:last-child > .md-button {
  126. margin-right: 0; }
  127. [dir=rtl] .md-toolbar-tools > md-menu:last-child > .md-button {
  128. margin-right: auto;
  129. margin-left: 0; }
  130. @media screen and (-ms-high-contrast: active) {
  131. .md-toolbar-tools {
  132. border-bottom: 1px solid #fff; } }
  133. @media (min-width: 0) and (max-width: 959px) and (orientation: portrait) {
  134. md-toolbar {
  135. min-height: 56px; }
  136. .md-toolbar-tools {
  137. height: 56px;
  138. max-height: 56px; } }
  139. @media (min-width: 0) and (max-width: 959px) and (orientation: landscape) {
  140. md-toolbar {
  141. min-height: 48px; }
  142. .md-toolbar-tools {
  143. height: 48px;
  144. max-height: 48px; } }