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.

307 lines
11 KiB

  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.1
  6. */
  7. @-webkit-keyframes md-tab-content-hide {
  8. 0% {
  9. opacity: 1; }
  10. 50% {
  11. opacity: 1; }
  12. 100% {
  13. opacity: 0; } }
  14. @keyframes md-tab-content-hide {
  15. 0% {
  16. opacity: 1; }
  17. 50% {
  18. opacity: 1; }
  19. 100% {
  20. opacity: 0; } }
  21. md-tab-data {
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. right: 0;
  26. bottom: 0;
  27. z-index: -1;
  28. opacity: 0; }
  29. md-tabs {
  30. display: block;
  31. margin: 0;
  32. border-radius: 2px;
  33. overflow: hidden;
  34. position: relative;
  35. -webkit-flex-shrink: 0;
  36. flex-shrink: 0; }
  37. md-tabs:not(.md-no-tab-content):not(.md-dynamic-height) {
  38. min-height: 248px; }
  39. md-tabs[md-align-tabs="bottom"] {
  40. padding-bottom: 48px; }
  41. md-tabs[md-align-tabs="bottom"] md-tabs-wrapper {
  42. position: absolute;
  43. bottom: 0;
  44. left: 0;
  45. right: 0;
  46. height: 48px;
  47. z-index: 2; }
  48. md-tabs[md-align-tabs="bottom"] md-tabs-content-wrapper {
  49. top: 0;
  50. bottom: 48px; }
  51. md-tabs.md-dynamic-height md-tabs-content-wrapper {
  52. min-height: 0;
  53. position: relative;
  54. top: auto;
  55. left: auto;
  56. right: auto;
  57. bottom: auto;
  58. overflow: visible; }
  59. md-tabs.md-dynamic-height md-tab-content.md-active {
  60. position: relative; }
  61. md-tabs[md-border-bottom] md-tabs-wrapper {
  62. border-width: 0 0 1px;
  63. border-style: solid; }
  64. md-tabs[md-border-bottom]:not(.md-dynamic-height) md-tabs-content-wrapper {
  65. top: 49px; }
  66. md-tabs-wrapper {
  67. display: block;
  68. position: relative;
  69. -webkit-transform: translate3d(0, 0, 0);
  70. transform: translate3d(0, 0, 0); }
  71. md-tabs-wrapper md-prev-button, md-tabs-wrapper md-next-button {
  72. height: 100%;
  73. width: 32px;
  74. position: absolute;
  75. top: 50%;
  76. -webkit-transform: translateY(-50%);
  77. transform: translateY(-50%);
  78. line-height: 1em;
  79. z-index: 2;
  80. cursor: pointer;
  81. font-size: 16px;
  82. background: transparent no-repeat center center;
  83. -webkit-transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  84. transition: all 0.5s cubic-bezier(0.35, 0, 0.25, 1); }
  85. md-tabs-wrapper md-prev-button:focus, md-tabs-wrapper md-next-button:focus {
  86. outline: none; }
  87. md-tabs-wrapper md-prev-button.md-disabled, md-tabs-wrapper md-next-button.md-disabled {
  88. opacity: 0.25;
  89. cursor: default; }
  90. md-tabs-wrapper md-prev-button.ng-leave, md-tabs-wrapper md-next-button.ng-leave {
  91. -webkit-transition: none;
  92. transition: none; }
  93. md-tabs-wrapper md-prev-button md-icon, md-tabs-wrapper md-next-button md-icon {
  94. position: absolute;
  95. top: 50%;
  96. left: 50%;
  97. -webkit-transform: translate3d(-50%, -50%, 0);
  98. transform: translate3d(-50%, -50%, 0); }
  99. md-tabs-wrapper md-prev-button {
  100. left: 0;
  101. background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMjA4IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyIAkJIiBzdHlsZT0iZmlsbDp3aGl0ZTsiLz4gPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+IDwvZz4gPC9nPiA8ZyBpZD0iR3JpZCIgZGlzcGxheT0ibm9uZSI+IDxnIGRpc3BsYXk9ImlubGluZSI+IDwvZz4gPC9nPiA8L3N2Zz4NCg=="); }
  102. [dir=rtl] md-tabs-wrapper md-prev-button {
  103. left: auto;
  104. right: 0; }
  105. md-tabs-wrapper md-next-button {
  106. right: 0;
  107. background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMzM2IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTAsNiA4LjYsNy40IDEzLjIsMTIgOC42LDE2LjYgMTAsMTggMTYsMTIgCQkiIHN0eWxlPSJmaWxsOndoaXRlOyIvPiA8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4gPC9nPiA8L2c+IDxnIGlkPSJHcmlkIiBkaXNwbGF5PSJub25lIj4gPGcgZGlzcGxheT0iaW5saW5lIj4gPC9nPiA8L2c+IDwvc3ZnPg0K"); }
  108. [dir=rtl] md-tabs-wrapper md-next-button {
  109. right: auto;
  110. left: 0; }
  111. md-tabs-wrapper md-next-button md-icon {
  112. -webkit-transform: translate3d(-50%, -50%, 0) rotate(180deg);
  113. transform: translate3d(-50%, -50%, 0) rotate(180deg); }
  114. md-tabs-wrapper.md-stretch-tabs md-pagination-wrapper {
  115. width: 100%;
  116. display: -webkit-box;
  117. display: -webkit-flex;
  118. display: flex;
  119. -webkit-box-orient: horizontal;
  120. -webkit-box-direction: normal;
  121. -webkit-flex-direction: row;
  122. flex-direction: row; }
  123. md-tabs-wrapper.md-stretch-tabs md-pagination-wrapper md-tab-item {
  124. -webkit-box-flex: 1;
  125. -webkit-flex-grow: 1;
  126. flex-grow: 1; }
  127. md-tabs-canvas {
  128. position: relative;
  129. overflow: hidden;
  130. display: block;
  131. height: 48px; }
  132. md-tabs-canvas:after {
  133. content: '';
  134. display: table;
  135. clear: both; }
  136. md-tabs-canvas .md-dummy-wrapper {
  137. position: absolute;
  138. top: 0;
  139. left: 0; }
  140. [dir=rtl] md-tabs-canvas .md-dummy-wrapper {
  141. left: auto;
  142. right: 0; }
  143. md-tabs-canvas.md-paginated {
  144. margin: 0 32px; }
  145. md-tabs-canvas.md-center-tabs {
  146. display: -webkit-box;
  147. display: -webkit-flex;
  148. display: flex;
  149. -webkit-box-orient: vertical;
  150. -webkit-box-direction: normal;
  151. -webkit-flex-direction: column;
  152. flex-direction: column;
  153. text-align: center; }
  154. md-tabs-canvas.md-center-tabs .md-tab {
  155. float: none;
  156. display: inline-block; }
  157. md-pagination-wrapper {
  158. height: 48px;
  159. display: block;
  160. -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  161. transition: -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  162. transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  163. transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  164. position: absolute;
  165. width: 999999px;
  166. left: 0;
  167. -webkit-transform: translate3d(0, 0, 0);
  168. transform: translate3d(0, 0, 0); }
  169. md-pagination-wrapper:after {
  170. content: '';
  171. display: table;
  172. clear: both; }
  173. [dir=rtl] md-pagination-wrapper {
  174. left: auto;
  175. right: 0; }
  176. md-pagination-wrapper.md-center-tabs {
  177. position: relative;
  178. width: auto;
  179. margin: 0 auto; }
  180. md-tabs-content-wrapper {
  181. display: block;
  182. position: absolute;
  183. top: 48px;
  184. left: 0;
  185. right: 0;
  186. bottom: 0;
  187. overflow: hidden; }
  188. md-tab-content {
  189. display: block;
  190. position: absolute;
  191. top: 0;
  192. left: 0;
  193. right: 0;
  194. bottom: 0;
  195. -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  196. transition: -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  197. transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  198. transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
  199. overflow: auto;
  200. -webkit-transform: translate3d(0, 0, 0);
  201. transform: translate3d(0, 0, 0); }
  202. md-tab-content.md-no-scroll {
  203. bottom: auto;
  204. overflow: hidden; }
  205. md-tab-content.ng-leave, md-tab-content.md-no-transition {
  206. -webkit-transition: none;
  207. transition: none; }
  208. md-tab-content.md-left:not(.md-active) {
  209. -webkit-transform: translateX(-100%);
  210. transform: translateX(-100%);
  211. -webkit-animation: 1s md-tab-content-hide;
  212. animation: 1s md-tab-content-hide;
  213. opacity: 0; }
  214. [dir=rtl] md-tab-content.md-left:not(.md-active) {
  215. -webkit-transform: translateX(100%);
  216. transform: translateX(100%); }
  217. md-tab-content.md-left:not(.md-active) * {
  218. -webkit-transition: visibility 0s linear;
  219. transition: visibility 0s linear;
  220. -webkit-transition-delay: 0.5s;
  221. transition-delay: 0.5s;
  222. visibility: hidden; }
  223. md-tab-content.md-right:not(.md-active) {
  224. -webkit-transform: translateX(100%);
  225. transform: translateX(100%);
  226. -webkit-animation: 1s md-tab-content-hide;
  227. animation: 1s md-tab-content-hide;
  228. opacity: 0; }
  229. [dir=rtl] md-tab-content.md-right:not(.md-active) {
  230. -webkit-transform: translateX(-100%);
  231. transform: translateX(-100%); }
  232. md-tab-content.md-right:not(.md-active) * {
  233. -webkit-transition: visibility 0s linear;
  234. transition: visibility 0s linear;
  235. -webkit-transition-delay: 0.5s;
  236. transition-delay: 0.5s;
  237. visibility: hidden; }
  238. md-tab-content > div.ng-leave {
  239. -webkit-animation: 1s md-tab-content-hide;
  240. animation: 1s md-tab-content-hide; }
  241. md-ink-bar {
  242. position: absolute;
  243. left: auto;
  244. right: auto;
  245. bottom: 0;
  246. height: 2px; }
  247. md-ink-bar.md-left {
  248. -webkit-transition: left 0.125s cubic-bezier(0.35, 0, 0.25, 1), right 0.25s cubic-bezier(0.35, 0, 0.25, 1);
  249. transition: left 0.125s cubic-bezier(0.35, 0, 0.25, 1), right 0.25s cubic-bezier(0.35, 0, 0.25, 1); }
  250. md-ink-bar.md-right {
  251. -webkit-transition: left 0.25s cubic-bezier(0.35, 0, 0.25, 1), right 0.125s cubic-bezier(0.35, 0, 0.25, 1);
  252. transition: left 0.25s cubic-bezier(0.35, 0, 0.25, 1), right 0.125s cubic-bezier(0.35, 0, 0.25, 1); }
  253. md-tab {
  254. position: absolute;
  255. z-index: -1;
  256. left: -9999px; }
  257. .md-tab {
  258. font-size: 14px;
  259. text-align: center;
  260. line-height: 24px;
  261. padding: 12px 24px;
  262. -webkit-transition: background-color 0.35s cubic-bezier(0.35, 0, 0.25, 1);
  263. transition: background-color 0.35s cubic-bezier(0.35, 0, 0.25, 1);
  264. cursor: pointer;
  265. white-space: nowrap;
  266. position: relative;
  267. text-transform: uppercase;
  268. float: left;
  269. font-weight: 500;
  270. box-sizing: border-box;
  271. overflow: hidden;
  272. text-overflow: ellipsis; }
  273. [dir=rtl] .md-tab {
  274. float: right; }
  275. .md-tab.md-focused {
  276. box-shadow: none;
  277. outline: none; }
  278. .md-tab.md-active {
  279. cursor: default; }
  280. .md-tab.md-disabled {
  281. pointer-events: none;
  282. touch-action: pan-y;
  283. -webkit-user-select: none;
  284. -moz-user-select: none;
  285. -ms-user-select: none;
  286. user-select: none;
  287. -webkit-user-drag: none;
  288. opacity: 0.5;
  289. cursor: default; }
  290. .md-tab.ng-leave {
  291. -webkit-transition: none;
  292. transition: none; }
  293. md-toolbar + md-tabs {
  294. border-top-left-radius: 0;
  295. border-top-right-radius: 0; }