|
20 | 20 | // THE SOFTWARE. |
21 | 21 | // |
22 | 22 |
|
23 | | -@keyframes primary-indeterminate-translate { |
24 | | - 0% { |
25 | | - transform: translateX(0); |
26 | | - } |
27 | | - |
28 | | - 20% { |
29 | | - animation-timing-function: cubic-bezier(.5, 0, .701732, .495819); |
30 | | - transform: translateX(0); |
31 | | - } |
32 | | - |
33 | | - 59.15% { |
34 | | - animation-timing-function: cubic-bezier(.302435, .381352, .55, .956352); |
35 | | - transform: translateX(83.67142%); |
36 | | - } |
37 | | - |
38 | | - 100% { |
39 | | - transform: translateX(200.611057%); |
| 23 | +@mixin mdc-linear-progress-primary-indeterminate-translate-keyframes_ { |
| 24 | + @keyframes primary-indeterminate-translate { |
| 25 | + 0% { |
| 26 | + transform: translateX(0); |
| 27 | + } |
| 28 | + |
| 29 | + 20% { |
| 30 | + animation-timing-function: cubic-bezier(.5, 0, .701732, .495819); |
| 31 | + transform: translateX(0); |
| 32 | + } |
| 33 | + |
| 34 | + 59.15% { |
| 35 | + animation-timing-function: cubic-bezier(.302435, .381352, .55, .956352); |
| 36 | + transform: translateX(83.67142%); |
| 37 | + } |
| 38 | + |
| 39 | + 100% { |
| 40 | + transform: translateX(200.611057%); |
| 41 | + } |
40 | 42 | } |
41 | 43 | } |
42 | 44 |
|
43 | | -@keyframes primary-indeterminate-scale { |
44 | | - 0% { |
45 | | - transform: scaleX(.08); |
46 | | - } |
| 45 | +@mixin mdc-linear-progress-primary-indeterminate-scale-keyframes_ { |
| 46 | + @keyframes primary-indeterminate-scale { |
| 47 | + 0% { |
| 48 | + transform: scaleX(.08); |
| 49 | + } |
47 | 50 |
|
48 | | - 36.65% { |
49 | | - animation-timing-function: cubic-bezier(.334731, .12482, .785844, 1); |
50 | | - transform: scaleX(.08); |
51 | | - } |
| 51 | + 36.65% { |
| 52 | + animation-timing-function: cubic-bezier(.334731, .12482, .785844, 1); |
| 53 | + transform: scaleX(.08); |
| 54 | + } |
52 | 55 |
|
53 | | - 69.15% { |
54 | | - animation-timing-function: cubic-bezier(.06, .11, .6, 1); |
55 | | - transform: scaleX(.661479); |
56 | | - } |
| 56 | + 69.15% { |
| 57 | + animation-timing-function: cubic-bezier(.06, .11, .6, 1); |
| 58 | + transform: scaleX(.661479); |
| 59 | + } |
57 | 60 |
|
58 | | - 100% { |
59 | | - transform: scaleX(.08); |
| 61 | + 100% { |
| 62 | + transform: scaleX(.08); |
| 63 | + } |
60 | 64 | } |
61 | 65 | } |
62 | 66 |
|
63 | | -@keyframes secondary-indeterminate-translate { |
64 | | - 0% { |
65 | | - animation-timing-function: cubic-bezier(.15, 0, .515058, .409685); |
66 | | - transform: translateX(0); |
67 | | - } |
| 67 | +@mixin mdc-linear-progress-secondary-indeterminate-translate-keyframes_ { |
| 68 | + @keyframes secondary-indeterminate-translate { |
| 69 | + 0% { |
| 70 | + animation-timing-function: cubic-bezier(.15, 0, .515058, .409685); |
| 71 | + transform: translateX(0); |
| 72 | + } |
68 | 73 |
|
69 | | - 25% { |
70 | | - animation-timing-function: cubic-bezier(.31033, .284058, .8, .733712); |
71 | | - transform: translateX(37.651913%); |
72 | | - } |
| 74 | + 25% { |
| 75 | + animation-timing-function: cubic-bezier(.31033, .284058, .8, .733712); |
| 76 | + transform: translateX(37.651913%); |
| 77 | + } |
73 | 78 |
|
74 | | - 48.35% { |
75 | | - animation-timing-function: cubic-bezier(.4, .627035, .6, .902026); |
76 | | - transform: translateX(84.386165%); |
77 | | - } |
| 79 | + 48.35% { |
| 80 | + animation-timing-function: cubic-bezier(.4, .627035, .6, .902026); |
| 81 | + transform: translateX(84.386165%); |
| 82 | + } |
78 | 83 |
|
79 | | - 100% { |
80 | | - transform: translateX(160.277782%); |
| 84 | + 100% { |
| 85 | + transform: translateX(160.277782%); |
| 86 | + } |
81 | 87 | } |
82 | 88 | } |
83 | 89 |
|
84 | | -@keyframes secondary-indeterminate-scale { |
85 | | - 0% { |
86 | | - animation-timing-function: cubic-bezier(.205028, .057051, .57661, .453971); |
87 | | - transform: scaleX(.08); |
88 | | - } |
| 90 | +@mixin mdc-linear-progress-secondary-indeterminate-scale-keyframes_ { |
| 91 | + @keyframes secondary-indeterminate-scale { |
| 92 | + 0% { |
| 93 | + animation-timing-function: cubic-bezier(.205028, .057051, .57661, .453971); |
| 94 | + transform: scaleX(.08); |
| 95 | + } |
89 | 96 |
|
90 | | - 19.15% { |
91 | | - animation-timing-function: cubic-bezier(.152313, .196432, .648374, 1.004315); |
92 | | - transform: scaleX(.457104); |
93 | | - } |
| 97 | + 19.15% { |
| 98 | + animation-timing-function: cubic-bezier(.152313, .196432, .648374, 1.004315); |
| 99 | + transform: scaleX(.457104); |
| 100 | + } |
94 | 101 |
|
95 | | - 44.15% { |
96 | | - animation-timing-function: cubic-bezier(.257759, -.003163, .211762, 1.38179); |
97 | | - transform: scaleX(.72796); |
98 | | - } |
| 102 | + 44.15% { |
| 103 | + animation-timing-function: cubic-bezier(.257759, -.003163, .211762, 1.38179); |
| 104 | + transform: scaleX(.72796); |
| 105 | + } |
99 | 106 |
|
100 | | - 100% { |
101 | | - transform: scaleX(.08); |
| 107 | + 100% { |
| 108 | + transform: scaleX(.08); |
| 109 | + } |
102 | 110 | } |
103 | 111 | } |
104 | 112 |
|
105 | | -@keyframes buffering { |
106 | | - to { |
107 | | - transform: translateX(-10px); |
| 113 | +@mixin mdc-linear-progress-buffering-keyframes_ { |
| 114 | + @keyframes buffering { |
| 115 | + to { |
| 116 | + transform: translateX(-10px); |
| 117 | + } |
108 | 118 | } |
109 | 119 | } |
110 | 120 |
|
111 | | -@keyframes primary-indeterminate-translate-reverse { |
112 | | - 0% { |
113 | | - transform: translateX(0); |
114 | | - } |
| 121 | +@mixin mdc-linear-progress-primary-indeterminate-translate-reverse-keyframes_ { |
| 122 | + @keyframes primary-indeterminate-translate-reverse { |
| 123 | + 0% { |
| 124 | + transform: translateX(0); |
| 125 | + } |
115 | 126 |
|
116 | | - 20% { |
117 | | - animation-timing-function: cubic-bezier(.5, 0, .701732, .495819); |
118 | | - transform: translateX(0); |
119 | | - } |
| 127 | + 20% { |
| 128 | + animation-timing-function: cubic-bezier(.5, 0, .701732, .495819); |
| 129 | + transform: translateX(0); |
| 130 | + } |
120 | 131 |
|
121 | | - 59.15% { |
122 | | - animation-timing-function: cubic-bezier(.302435, .381352, .55, .956352); |
123 | | - transform: translateX(-83.67142%); |
124 | | - } |
| 132 | + 59.15% { |
| 133 | + animation-timing-function: cubic-bezier(.302435, .381352, .55, .956352); |
| 134 | + transform: translateX(-83.67142%); |
| 135 | + } |
125 | 136 |
|
126 | | - 100% { |
127 | | - transform: translateX(-200.611057%); |
| 137 | + 100% { |
| 138 | + transform: translateX(-200.611057%); |
| 139 | + } |
128 | 140 | } |
129 | 141 | } |
130 | 142 |
|
131 | | -@keyframes secondary-indeterminate-translate-reverse { |
132 | | - 0% { |
133 | | - animation-timing-function: cubic-bezier(.15, 0, .515058, .409685); |
134 | | - transform: translateX(0); |
135 | | - } |
| 143 | +@mixin mdc-linear-progress-secondary-indeterminate-translate-reverse-keyframes_ { |
| 144 | + @keyframes secondary-indeterminate-translate-reverse { |
| 145 | + 0% { |
| 146 | + animation-timing-function: cubic-bezier(.15, 0, .515058, .409685); |
| 147 | + transform: translateX(0); |
| 148 | + } |
136 | 149 |
|
137 | | - 25% { |
138 | | - animation-timing-function: cubic-bezier(.31033, .284058, .8, .733712); |
139 | | - transform: translateX(-37.651913%); |
140 | | - } |
| 150 | + 25% { |
| 151 | + animation-timing-function: cubic-bezier(.31033, .284058, .8, .733712); |
| 152 | + transform: translateX(-37.651913%); |
| 153 | + } |
141 | 154 |
|
142 | | - 48.35% { |
143 | | - animation-timing-function: cubic-bezier(.4, .627035, .6, .902026); |
144 | | - transform: translateX(-84.386165%); |
145 | | - } |
| 155 | + 48.35% { |
| 156 | + animation-timing-function: cubic-bezier(.4, .627035, .6, .902026); |
| 157 | + transform: translateX(-84.386165%); |
| 158 | + } |
146 | 159 |
|
147 | | - 100% { |
148 | | - transform: translateX(-160.277782%); |
| 160 | + 100% { |
| 161 | + transform: translateX(-160.277782%); |
| 162 | + } |
149 | 163 | } |
150 | 164 | } |
151 | 165 |
|
152 | | -@keyframes buffering-reverse { |
153 | | - to { |
154 | | - transform: translateX(10px); |
| 166 | +@mixin mdc-linear-progress-buffering-reverse-keyframes_ { |
| 167 | + @keyframes buffering-reverse { |
| 168 | + to { |
| 169 | + transform: translateX(10px); |
| 170 | + } |
155 | 171 | } |
156 | 172 | } |
0 commit comments