progressLinear.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v0.11.4
  6. */
  7. md-progress-linear {
  8. display: block;
  9. position: relative;
  10. width: 100%;
  11. height: 5px;
  12. padding-top: 0 !important;
  13. margin-bottom: 0 !important; }
  14. md-progress-linear .md-container {
  15. display: block;
  16. position: relative;
  17. overflow: hidden;
  18. width: 100%;
  19. height: 5px;
  20. -webkit-transform: translate(0, 0) scale(1, 1);
  21. transform: translate(0, 0) scale(1, 1); }
  22. md-progress-linear .md-container .md-bar {
  23. position: absolute;
  24. left: 0;
  25. top: 0;
  26. bottom: 0;
  27. width: 100%;
  28. height: 5px; }
  29. md-progress-linear .md-container .md-dashed:before {
  30. content: "";
  31. display: none;
  32. position: absolute;
  33. margin-top: 0;
  34. height: 5px;
  35. width: 100%;
  36. background-color: transparent;
  37. background-size: 10px 10px !important;
  38. background-position: 0px -23px; }
  39. md-progress-linear .md-container .md-bar1, md-progress-linear .md-container .md-bar2 {
  40. transition: -webkit-transform 0.2s linear;
  41. transition: transform 0.2s linear; }
  42. md-progress-linear .md-container.md-mode-query .md-bar1 {
  43. display: none; }
  44. md-progress-linear .md-container.md-mode-query .md-bar2 {
  45. transition: all 0.2s linear;
  46. -webkit-animation: query .8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
  47. animation: query .8s infinite cubic-bezier(0.39, 0.575, 0.565, 1); }
  48. md-progress-linear .md-container.md-mode-determinate .md-bar1 {
  49. display: none; }
  50. md-progress-linear .md-container.md-mode-indeterminate .md-bar1 {
  51. -webkit-animation: md-progress-linear-indeterminate-scale-1 4s infinite, md-progress-linear-indeterminate-1 4s infinite;
  52. animation: md-progress-linear-indeterminate-scale-1 4s infinite, md-progress-linear-indeterminate-1 4s infinite; }
  53. md-progress-linear .md-container.md-mode-indeterminate .md-bar2 {
  54. -webkit-animation: md-progress-linear-indeterminate-scale-2 4s infinite, md-progress-linear-indeterminate-2 4s infinite;
  55. animation: md-progress-linear-indeterminate-scale-2 4s infinite, md-progress-linear-indeterminate-2 4s infinite; }
  56. md-progress-linear .md-container.ng-hide {
  57. -webkit-animation: none;
  58. animation: none; }
  59. md-progress-linear .md-container.ng-hide .md-bar1 {
  60. -webkit-animation-name: none;
  61. animation-name: none; }
  62. md-progress-linear .md-container.ng-hide .md-bar2 {
  63. -webkit-animation-name: none;
  64. animation-name: none; }
  65. md-progress-linear .md-container.md-mode-buffer {
  66. background-color: transparent !important;
  67. transition: all 0.2s linear; }
  68. md-progress-linear .md-container.md-mode-buffer .md-dashed:before {
  69. display: block;
  70. -webkit-animation: buffer 3s infinite linear;
  71. animation: buffer 3s infinite linear; }
  72. @-webkit-keyframes query {
  73. 0% {
  74. opacity: 1;
  75. -webkit-transform: translateX(35%) scale(.3, 1);
  76. transform: translateX(35%) scale(.3, 1); }
  77. 100% {
  78. opacity: 0;
  79. -webkit-transform: translateX(-50%) scale(0, 1);
  80. transform: translateX(-50%) scale(0, 1); } }
  81. @keyframes query {
  82. 0% {
  83. opacity: 1;
  84. -webkit-transform: translateX(35%) scale(.3, 1);
  85. transform: translateX(35%) scale(.3, 1); }
  86. 100% {
  87. opacity: 0;
  88. -webkit-transform: translateX(-50%) scale(0, 1);
  89. transform: translateX(-50%) scale(0, 1); } }
  90. @-webkit-keyframes buffer {
  91. 0% {
  92. opacity: 1;
  93. background-position: 0px -23px; }
  94. 50% {
  95. opacity: 0; }
  96. 100% {
  97. opacity: 1;
  98. background-position: -200px -23px; } }
  99. @keyframes buffer {
  100. 0% {
  101. opacity: 1;
  102. background-position: 0px -23px; }
  103. 50% {
  104. opacity: 0; }
  105. 100% {
  106. opacity: 1;
  107. background-position: -200px -23px; } }
  108. @-webkit-keyframes md-progress-linear-indeterminate-scale-1 {
  109. 0% {
  110. -webkit-transform: scaleX(0.1);
  111. transform: scaleX(0.1);
  112. -webkit-animation-timing-function: linear;
  113. animation-timing-function: linear; }
  114. 36.6% {
  115. -webkit-transform: scaleX(0.1);
  116. transform: scaleX(0.1);
  117. -webkit-animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
  118. animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1); }
  119. 69.15% {
  120. -webkit-transform: scaleX(0.83);
  121. transform: scaleX(0.83);
  122. -webkit-animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
  123. animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098); }
  124. 100% {
  125. -webkit-transform: scaleX(0.1);
  126. transform: scaleX(0.1); } }
  127. @keyframes md-progress-linear-indeterminate-scale-1 {
  128. 0% {
  129. -webkit-transform: scaleX(0.1);
  130. transform: scaleX(0.1);
  131. -webkit-animation-timing-function: linear;
  132. animation-timing-function: linear; }
  133. 36.6% {
  134. -webkit-transform: scaleX(0.1);
  135. transform: scaleX(0.1);
  136. -webkit-animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
  137. animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1); }
  138. 69.15% {
  139. -webkit-transform: scaleX(0.83);
  140. transform: scaleX(0.83);
  141. -webkit-animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
  142. animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098); }
  143. 100% {
  144. -webkit-transform: scaleX(0.1);
  145. transform: scaleX(0.1); } }
  146. @-webkit-keyframes md-progress-linear-indeterminate-1 {
  147. 0% {
  148. left: -105.16667%;
  149. -webkit-animation-timing-function: linear;
  150. animation-timing-function: linear; }
  151. 20% {
  152. left: -105.16667%;
  153. -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
  154. animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582); }
  155. 69.15% {
  156. left: 21.5%;
  157. -webkit-animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
  158. animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635); }
  159. 100% {
  160. left: 95.44444%; } }
  161. @keyframes md-progress-linear-indeterminate-1 {
  162. 0% {
  163. left: -105.16667%;
  164. -webkit-animation-timing-function: linear;
  165. animation-timing-function: linear; }
  166. 20% {
  167. left: -105.16667%;
  168. -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
  169. animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582); }
  170. 69.15% {
  171. left: 21.5%;
  172. -webkit-animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
  173. animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635); }
  174. 100% {
  175. left: 95.44444%; } }
  176. @-webkit-keyframes md-progress-linear-indeterminate-scale-2 {
  177. 0% {
  178. -webkit-transform: scaleX(0.1);
  179. transform: scaleX(0.1);
  180. -webkit-animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
  181. animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397); }
  182. 19.15% {
  183. -webkit-transform: scaleX(0.57);
  184. transform: scaleX(0.57);
  185. -webkit-animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
  186. animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432); }
  187. 44.15% {
  188. -webkit-transform: scaleX(0.91);
  189. transform: scaleX(0.91);
  190. -webkit-animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
  191. animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179); }
  192. 100% {
  193. -webkit-transform: scaleX(0.1);
  194. transform: scaleX(0.1); } }
  195. @keyframes md-progress-linear-indeterminate-scale-2 {
  196. 0% {
  197. -webkit-transform: scaleX(0.1);
  198. transform: scaleX(0.1);
  199. -webkit-animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
  200. animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397); }
  201. 19.15% {
  202. -webkit-transform: scaleX(0.57);
  203. transform: scaleX(0.57);
  204. -webkit-animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
  205. animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432); }
  206. 44.15% {
  207. -webkit-transform: scaleX(0.91);
  208. transform: scaleX(0.91);
  209. -webkit-animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
  210. animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179); }
  211. 100% {
  212. -webkit-transform: scaleX(0.1);
  213. transform: scaleX(0.1); } }
  214. @-webkit-keyframes md-progress-linear-indeterminate-2 {
  215. 0% {
  216. left: -54.88889%;
  217. -webkit-animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
  218. animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968); }
  219. 25% {
  220. left: -17.25%;
  221. -webkit-animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
  222. animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372); }
  223. 48.35% {
  224. left: 29.5%;
  225. -webkit-animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
  226. animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203); }
  227. 100% {
  228. left: 117.38889%; } }
  229. @keyframes md-progress-linear-indeterminate-2 {
  230. 0% {
  231. left: -54.88889%;
  232. -webkit-animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
  233. animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968); }
  234. 25% {
  235. left: -17.25%;
  236. -webkit-animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
  237. animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372); }
  238. 48.35% {
  239. left: 29.5%;
  240. -webkit-animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
  241. animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203); }
  242. 100% {
  243. left: 117.38889%; } }