office-ui-fabric-core-rails 5.1.0.0 → 6.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/lib/office-ui-fabric-core-rails/version.rb +2 -2
  4. data/package.json +2 -2
  5. data/vendor/assets/css/fabric-6.0.0.scoped.css +8251 -0
  6. data/vendor/assets/css/fabric-6.0.0.scoped.min.css +6 -0
  7. data/vendor/assets/css/fabric.css +4597 -4324
  8. data/vendor/assets/css/fabric.min.css +2 -2
  9. data/vendor/assets/css/fabric.rtl.css +5630 -4137
  10. data/vendor/assets/css/fabric.rtl.min.css +2 -2
  11. data/vendor/assets/scss/Fabric.RTL.scss +13 -39
  12. data/vendor/assets/scss/Fabric.Scoped.scss +33 -0
  13. data/vendor/assets/scss/Fabric.scss +22 -43
  14. data/vendor/assets/scss/_Animation.RTL.scss +58 -0
  15. data/vendor/assets/scss/_Animation.scss +173 -0
  16. data/vendor/assets/scss/_BrandIcon.scss +19 -0
  17. data/vendor/assets/scss/{Fabric.Color.Mixins.Output.scss → _Color.scss} +441 -443
  18. data/vendor/assets/scss/_Font.Definitions.scss +33 -0
  19. data/vendor/assets/scss/{Fabric.Typography.Output.scss → _Font.scss} +387 -389
  20. data/vendor/assets/scss/{Fabric.Grid.Output.scss → _Grid.scss} +24 -32
  21. data/vendor/assets/scss/{Fabric.Icons.Font.Output.scss → _Icon.Definitions.scss} +28 -21
  22. data/vendor/assets/scss/{Fabric.Icons.RTL.Output.scss → _Icon.RTL.scss} +146 -149
  23. data/vendor/assets/scss/{Fabric.Icons.Output.scss → _Icon.scss} +754 -751
  24. data/vendor/assets/scss/_References.scss +26 -0
  25. data/vendor/assets/scss/_Responsive.scss +1010 -0
  26. data/vendor/assets/scss/{Fabric.Utilities.Output.scss → _Utility.scss} +44 -46
  27. data/vendor/assets/scss/_Wrapper.scss +41 -0
  28. data/vendor/assets/scss/mixins/_Animation.Mixins.scss +360 -0
  29. data/vendor/assets/scss/mixins/_BrandIcon.Mixins.scss +36 -0
  30. data/vendor/assets/scss/{_Fabric.Color.Mixins.scss → mixins/_Color.Mixins.scss} +418 -418
  31. data/vendor/assets/scss/{_Fabric.Mixins.RTL.scss → mixins/_Directionality.Mixins.scss} +325 -325
  32. data/vendor/assets/scss/{_Fabric.Typography.scss → mixins/_Font.Mixins.scss} +381 -345
  33. data/vendor/assets/scss/mixins/_General.Mixins.scss +371 -0
  34. data/vendor/assets/scss/{_Fabric.Grid.scss → mixins/_Grid.Mixins.scss} +39 -34
  35. data/vendor/assets/scss/mixins/_Icon.Mixins.scss +777 -0
  36. data/vendor/assets/scss/mixins/_Responsive.Mixins.scss +1425 -0
  37. data/vendor/assets/scss/mixins/_ScopedStyles.Mixins.scss +20 -0
  38. data/vendor/assets/scss/variables/_Animation.Variables.scss +11 -0
  39. data/vendor/assets/scss/variables/_BrandIcon.Variables.scss +12 -0
  40. data/vendor/assets/scss/{_Fabric.Color.Variables.scss → variables/_Color.Variables.scss} +77 -93
  41. data/vendor/assets/scss/variables/_Font.Variables.scss +41 -0
  42. data/vendor/assets/scss/variables/_General.Variables.scss +6 -0
  43. data/vendor/assets/scss/variables/_Icon.Variables.scss +7 -0
  44. data/vendor/assets/scss/variables/_Responsive.Variables.scss +16 -0
  45. data/vendor/assets/scss/variables/_ZIndex.Variables.scss +14 -0
  46. metadata +38 -39
  47. data/vendor/assets/scss/Fabric.Animations.Output.scss +0 -419
  48. data/vendor/assets/scss/Fabric.Animations.RTL.Output.scss +0 -80
  49. data/vendor/assets/scss/Fabric.Base.Output.scss +0 -14
  50. data/vendor/assets/scss/Fabric.Brand.Icons.Output.scss +0 -19
  51. data/vendor/assets/scss/Fabric.Responsive.Utilities.Output.scss +0 -1012
  52. data/vendor/assets/scss/Fabric.Typography.Fonts.Extended.Output.scss +0 -67
  53. data/vendor/assets/scss/Fabric.Typography.Fonts.Output.scss +0 -13
  54. data/vendor/assets/scss/Fabric.Typography.Language.Overrides.Output.scss +0 -53
  55. data/vendor/assets/scss/_Fabric.Animations.RTL.scss +0 -79
  56. data/vendor/assets/scss/_Fabric.Animations.scss +0 -237
  57. data/vendor/assets/scss/_Fabric.Base.scss +0 -13
  58. data/vendor/assets/scss/_Fabric.Brand.Icons.scss +0 -51
  59. data/vendor/assets/scss/_Fabric.Common.scss +0 -16
  60. data/vendor/assets/scss/_Fabric.Icons.scss +0 -779
  61. data/vendor/assets/scss/_Fabric.Mixins.scss +0 -282
  62. data/vendor/assets/scss/_Fabric.Responsive.Utilities.Variables.scss +0 -1423
  63. data/vendor/assets/scss/_Fabric.Responsive.Variables.scss +0 -35
  64. data/vendor/assets/scss/_Fabric.Typography.Fonts.scss +0 -167
  65. data/vendor/assets/scss/_Fabric.Typography.Language.Overrides.scss +0 -50
  66. data/vendor/assets/scss/_Fabric.Typography.Mixins.scss +0 -11
  67. data/vendor/assets/scss/_Fabric.Typography.Variables.scss +0 -29
  68. data/vendor/assets/scss/_Fabric.Utilities.scss +0 -76
  69. data/vendor/assets/scss/_Fabric.ZIndex.Variables.scss +0 -32
  70. data/vendor/assets/scss/_Fabric.i18n.scss +0 -316
@@ -1,46 +1,44 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- //
4
- // Office UI Fabric
5
- // --------------------------------------------------
6
- // Utility classes and mixins used throughout Fabric.
7
-
8
- @import "Fabric.Utilities";
9
-
10
- // The best box is a border box.
11
- .ms-u-borderBox, .ms-u-borderBox::before, .ms-u-borderBox::after {
12
- @include ms-u-borderBox;
13
- }
14
-
15
- // To apply border base settings
16
- .ms-u-borderBase {
17
- @include ms-u-borderBase;
18
- }
19
-
20
- // Ensures the block expands to the full height to enclose its floated childen.
21
- .ms-u-clearfix {
22
- @include ms-u-clearfix;
23
- }
24
-
25
- // Basic border-box, margin, and padding reset.
26
- .ms-u-normalize {
27
- @include ms-u-normalize;
28
- }
29
-
30
- // Use to set left, center, right text alignment styles
31
- @include ms-u-textAlign(left, center, right);
32
-
33
- // Use to hide content while still making it readable by screen reader (Accessibility)
34
- .ms-u-screenReaderOnly {
35
- @include ms-u-screenReaderOnly
36
- }
37
-
38
- // Use to add truncation with ellipsis
39
- .ms-u-textTruncate {
40
- @include ms-u-textTruncate
41
- }
42
-
43
- // Use to disable text wrapping
44
- .ms-u-noWrap{
45
- @include ms-u-noWrap
46
- }
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Some mixins are output to CSS classes as utilities.
7
+
8
+ // The best box is a border box.
9
+ .ms-borderBox, .ms-borderBox::before, .ms-borderBox::after {
10
+ @include ms-borderBox;
11
+ }
12
+
13
+ // To apply border base settings
14
+ .ms-borderBase {
15
+ @include ms-borderBase;
16
+ }
17
+
18
+ // Ensures the block expands to the full height to enclose its floated childen.
19
+ .ms-clearfix {
20
+ @include ms-clearfix;
21
+ }
22
+
23
+ // Basic border-box, margin, and padding reset.
24
+ .ms-normalize {
25
+ @include ms-normalize;
26
+ }
27
+
28
+ // Use to set left, center, right text alignment styles
29
+ @include ms-textAlign(left, center, right);
30
+
31
+ // Use to hide content while still making it readable by screen reader (Accessibility)
32
+ .ms-screenReaderOnly {
33
+ @include ms-screenReaderOnly;
34
+ }
35
+
36
+ // Use to add truncation with ellipsis
37
+ .ms-textTruncate {
38
+ @include ms-textTruncate;
39
+ }
40
+
41
+ // Use to disable text wrapping
42
+ .ms-noWrap{
43
+ @include ms-noWrap;
44
+ }
@@ -0,0 +1,41 @@
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Wrapper component to set base typography.
7
+
8
+ .ms-Fabric {
9
+ @include ms-Fabric;
10
+ }
11
+
12
+ // Create overrides for each language that has an alternate font-family.
13
+ @include ms-font-family-language-override('ar', $ms-font-family-arabic);
14
+ @include ms-font-family-language-override('bg', $ms-font-family-cyrillic);
15
+ @include ms-font-family-language-override('cs', $ms-font-family-east-european);
16
+ @include ms-font-family-language-override('el', $ms-font-family-greek);
17
+ @include ms-font-family-language-override('et', $ms-font-family-east-european);
18
+ @include ms-font-family-language-override('he', $ms-font-family-hebrew);
19
+ @include ms-font-family-language-override('hi', $ms-font-family-hindi);
20
+ @include ms-font-family-language-override('hr', $ms-font-family-east-european);
21
+ @include ms-font-family-language-override('hu', $ms-font-family-east-european);
22
+ @include ms-font-family-language-override('ja', $ms-font-family-japanese);
23
+ @include ms-font-family-language-override('kk', $ms-font-family-east-european);
24
+ @include ms-font-family-language-override('ko', $ms-font-family-korean);
25
+ @include ms-font-family-language-override('lt', $ms-font-family-east-european);
26
+ @include ms-font-family-language-override('lv', $ms-font-family-east-european);
27
+ @include ms-font-family-language-override('pl', $ms-font-family-east-european);
28
+ @include ms-font-family-language-override('ru', $ms-font-family-cyrillic);
29
+ @include ms-font-family-language-override('sk', $ms-font-family-east-european);
30
+ @include ms-font-family-language-override('sr-latn', $ms-font-family-east-european);
31
+ @include ms-font-family-language-override('th', $ms-font-family-thai);
32
+ @include ms-font-family-language-override('tr', $ms-font-family-east-european);
33
+ @include ms-font-family-language-override('uk', $ms-font-family-cyrillic);
34
+ @include ms-font-family-language-override('vi', $ms-font-family-vietnamese);
35
+ @include ms-font-family-language-override('zh-hans', $ms-font-family-chinese-simplified);
36
+ @include ms-font-family-language-override('zh-hant', $ms-font-family-chinese-traditional);
37
+
38
+ // Modifier: Use Selawik as an open source alternative to Segoe UI.
39
+ .ms-Fabric--selawik {
40
+ font-family: $ms-font-family-selawik;
41
+ }
@@ -0,0 +1,360 @@
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Fabric Animations
7
+
8
+
9
+ // Outputs the keyframes used by the animation classes
10
+ @mixin ms-animation-keyframes() {
11
+ // Set a default value for the version-scoped variable if it isn't assigned
12
+ $ms-fabric-version-suffix: '' !default;
13
+
14
+ @keyframes ms-slideRightIn10#{$ms-fabric-version-suffix} {
15
+ from { transform: translate3d(-10px, 0px, 0px); }
16
+ to { transform: translate3d(0px, 0px, 0px); }
17
+ }
18
+
19
+ @keyframes ms-slideRightIn20#{$ms-fabric-version-suffix} {
20
+ from { transform: translate3d(-20px, 0px, 0px); }
21
+ to { transform: translate3d(0px, 0px, 0px); }
22
+ }
23
+
24
+ @keyframes ms-slideRightIn40#{$ms-fabric-version-suffix} {
25
+ from { transform: translate3d(-40px, 0px, 0px); }
26
+ to { transform: translate3d(0px, 0px, 0px); }
27
+ }
28
+
29
+ @keyframes ms-slideRightIn400#{$ms-fabric-version-suffix} {
30
+ from { transform: translate3d(-400px, 0px, 0px); }
31
+ to { transform: translate3d(0px, 0px, 0px); }
32
+ }
33
+
34
+ @keyframes ms-slideRightOut40#{$ms-fabric-version-suffix} {
35
+ from { transform: translate3d(0px, 0px, 0px); }
36
+ to { transform: translate3d(40px, 0px, 0px); }
37
+ }
38
+
39
+ @keyframes ms-slideRightOut400#{$ms-fabric-version-suffix} {
40
+ from { transform: translate3d(0, 0px, 0px); }
41
+ to { transform: translate3d(400px, 0px, 0px); }
42
+ }
43
+
44
+ @keyframes ms-slideLeftIn10#{$ms-fabric-version-suffix} {
45
+ from { transform: translate3d(10px, 0px, 0px); }
46
+ to { transform: translate3d(0px, 0px, 0px); }
47
+ }
48
+
49
+ @keyframes ms-slideLeftIn20#{$ms-fabric-version-suffix} {
50
+ from { transform: translate3d(20px, 0px, 0px); }
51
+ to { transform: translate3d(0px, 0px, 0px); }
52
+ }
53
+
54
+ @keyframes ms-slideLeftIn40#{$ms-fabric-version-suffix} {
55
+ from { transform: translate3d(40px, 0px, 0px); }
56
+ to { transform: translate3d(0px, 0px, 0px); }
57
+ }
58
+
59
+ @keyframes ms-slideLeftIn400#{$ms-fabric-version-suffix} {
60
+ from { transform: translate3d(400px, 0px, 0px); }
61
+ to { transform: translate3d(0px, 0px, 0px); }
62
+ }
63
+
64
+ @keyframes ms-slideLeftOut40#{$ms-fabric-version-suffix} {
65
+ from { transform: translate3d(0, 0px, 0px); }
66
+ to { transform: translate3d(-40px, 0px, 0px); }
67
+ }
68
+
69
+ @keyframes ms-slideLeftOut400#{$ms-fabric-version-suffix} {
70
+ from { transform: translate3d(0, 0px, 0px); }
71
+ to { transform: translate3d(-400px, 0px, 0px); }
72
+ }
73
+
74
+ @keyframes ms-slideUpIn10#{$ms-fabric-version-suffix} {
75
+ from { transform: translate3d(0px, 10px, 0px); }
76
+ to { transform: translate3d(0px, 0px, 0px); }
77
+ }
78
+
79
+ @keyframes ms-slideUpIn20#{$ms-fabric-version-suffix} {
80
+ from { transform: translate3d(0px, 20px, 0px); }
81
+ to { transform: translate3d(0px, 0px, 0px); }
82
+ }
83
+
84
+ @keyframes ms-slideDownIn10#{$ms-fabric-version-suffix} {
85
+ from { transform: translate3d(0px, -10px, 0px); }
86
+ to { transform: translate3d(0px, 0px, 0px); }
87
+ }
88
+
89
+ @keyframes ms-slideDownIn20#{$ms-fabric-version-suffix} {
90
+ from { transform: translate3d(0px, -20px, 0px); }
91
+ to { transform: translate3d(0px, 0px, 0px); }
92
+ }
93
+
94
+ @keyframes ms-slideUpOut10#{$ms-fabric-version-suffix} {
95
+ from { transform: translate3d(0px, 0, 0px); }
96
+ to { transform: translate3d(0px, -10px, 0px); }
97
+ }
98
+
99
+ @keyframes ms-slideUpOut20#{$ms-fabric-version-suffix} {
100
+ from { transform: translate3d(0px, 0, 0px); }
101
+ to { transform: translate3d(0px, -20px, 0px); }
102
+ }
103
+
104
+ @keyframes ms-slideDownOut10#{$ms-fabric-version-suffix} {
105
+ from { transform: translate3d(0px, 0, 0px); }
106
+ to { transform: translate3d(0px, 10px, 0px); }
107
+ }
108
+
109
+ @keyframes ms-slideDownOut20#{$ms-fabric-version-suffix} {
110
+ from { transform: translate3d(0px, 0, 0px); }
111
+ to { transform: translate3d(0px, 20px, 0px); }
112
+ }
113
+
114
+ @keyframes ms-scaleUp100#{$ms-fabric-version-suffix} {
115
+ from { transform: scale3d(.98, .98, 1); }
116
+ to { transform: scale3d(1, 1, 1); }
117
+ }
118
+
119
+ @keyframes ms-scaleUp103#{$ms-fabric-version-suffix} {
120
+ from { transform: scale3d(1, 1, 1); }
121
+ to { transform: scale3d(1.03, 1.03, 1); }
122
+ }
123
+
124
+ @keyframes ms-scaleDown98#{$ms-fabric-version-suffix} {
125
+ from { transform: scale3d(1, 1, 1); }
126
+ to { transform: scale3d(0.98, 0.98, 1); }
127
+ }
128
+
129
+ @keyframes ms-scaleDown100#{$ms-fabric-version-suffix} {
130
+ from { transform: scale3d(1.03, 1.03, 1); }
131
+ to { transform: scale3d(1, 1, 1); }
132
+ }
133
+
134
+ @keyframes ms-fadeIn#{$ms-fabric-version-suffix} {
135
+ from {
136
+ opacity: 0;
137
+ animation-timing-function: $ms-animation-ease-2;
138
+ }
139
+ to { opacity: 1; }
140
+ }
141
+
142
+ @keyframes ms-fadeOut#{$ms-fabric-version-suffix} {
143
+ from {
144
+ opacity: 1;
145
+ animation-timing-function: $ms-animation-ease-2;
146
+ }
147
+ to { opacity: 0; }
148
+ }
149
+
150
+ @keyframes ms-rotate90#{$ms-fabric-version-suffix} {
151
+ from { transform: rotateZ(0deg); }
152
+ to { transform: rotateZ(90deg); }
153
+ }
154
+
155
+ @keyframes ms-rotateN90#{$ms-fabric-version-suffix} {
156
+ from { transform: rotateZ(90deg); }
157
+ to { transform: rotateZ(0deg); }
158
+ }
159
+ }
160
+
161
+ // Generate an animation
162
+ @mixin ms-animation($names, $duration, $timing: $ms-animation-ease-1, $fillMode: both) {
163
+ // Set a default value for the version-scoped variable if it isn't assigned
164
+ $ms-fabric-version-suffix: '' !default;
165
+
166
+ // Append the scoping suffix to each animation name
167
+ $namelist: ();
168
+
169
+ @each $name in $names {
170
+ $newname: $name#{$ms-fabric-version-suffix};
171
+
172
+ $namelist: append($namelist, unquote($newname), 'comma');
173
+ }
174
+
175
+ animation-name: $namelist;
176
+ animation-duration: $duration;
177
+ animation-timing-function: $timing;
178
+ animation-fill-mode: $fillMode;
179
+ }
180
+
181
+ // Slide
182
+ @mixin ms-slideRightIn10 {
183
+ @include ms-animation((fadeIn, slideRightIn10), $ms-animation-duration-3, $ms-animation-ease-1);
184
+ }
185
+
186
+ @mixin ms-slideRightIn20 {
187
+ @include ms-animation((fadeIn, slideRightIn20), $ms-animation-duration-3, $ms-animation-ease-1);
188
+ }
189
+
190
+ @mixin ms-slideRightIn40 {
191
+ @include ms-animation((fadeIn, slideRightIn40), $ms-animation-duration-3, $ms-animation-ease-1);
192
+ }
193
+
194
+ @mixin ms-slideRightIn400 {
195
+ @include ms-animation((fadeIn, slideRightIn400), $ms-animation-duration-3, $ms-animation-ease-1);
196
+ }
197
+
198
+ @mixin ms-slideRightOut40 {
199
+ @include ms-animation((fadeOut, slideRightOut40), $ms-animation-duration-1, $ms-animation-ease-2);
200
+ }
201
+
202
+ @mixin ms-slideRightOut400 {
203
+ @include ms-animation((fadeOut, slideRightOut400), $ms-animation-duration-1, $ms-animation-ease-2);
204
+ }
205
+
206
+ @mixin ms-slideLeftIn10 {
207
+ @include ms-animation((fadeIn, slideLeftIn10), $ms-animation-duration-3, $ms-animation-ease-1);
208
+ }
209
+
210
+ @mixin ms-slideLeftIn20 {
211
+ @include ms-animation((fadeIn, slideLeftIn20), $ms-animation-duration-3, $ms-animation-ease-1);
212
+ }
213
+
214
+ @mixin ms-slideLeftIn40 {
215
+ @include ms-animation((fadeIn, slideLeftIn40), $ms-animation-duration-3, $ms-animation-ease-1);
216
+ }
217
+
218
+ @mixin ms-slideLeftIn400 {
219
+ @include ms-animation((fadeIn, slideLeftIn400), $ms-animation-duration-3, $ms-animation-ease-1);
220
+ }
221
+
222
+ @mixin ms-slideLeftOut40 {
223
+ @include ms-animation((fadeOut, slideLeftOut40), $ms-animation-duration-1, $ms-animation-ease-2);
224
+ }
225
+
226
+ @mixin ms-slideLeftOut400 {
227
+ @include ms-animation((fadeOut, slideLeftOut400), $ms-animation-duration-1, $ms-animation-ease-2);
228
+ }
229
+
230
+ @mixin ms-slideUpIn10 {
231
+ @include ms-animation((fadeIn, slideUpIn10), $ms-animation-duration-1, $ms-animation-ease-2);
232
+ }
233
+
234
+ @mixin ms-slideUpIn20 {
235
+ @include ms-animation((fadeIn, slideUpIn20), $ms-animation-duration-3, $ms-animation-ease-1);
236
+ }
237
+
238
+ @mixin ms-slideDownIn10 {
239
+ @include ms-animation((fadeIn, slideDownIn10), $ms-animation-duration-1, $ms-animation-ease-2);
240
+ }
241
+
242
+ @mixin ms-slideDownIn20 {
243
+ @include ms-animation((fadeIn, slideDownIn20), $ms-animation-duration-3, $ms-animation-ease-1);
244
+ }
245
+
246
+ @mixin ms-slideUpOut10 {
247
+ @include ms-animation((fadeOut, slideUpOut10), $ms-animation-duration-1, $ms-animation-ease-2);
248
+ }
249
+
250
+ @mixin ms-slideUpOut20 {
251
+ @include ms-animation((fadeOut, slideUpOut20), $ms-animation-duration-1, $ms-animation-ease-2);
252
+ }
253
+
254
+ @mixin ms-slideDownOut10 {
255
+ @include ms-animation((fadeOut, slideDownOut10), $ms-animation-duration-1, $ms-animation-ease-2);
256
+ }
257
+
258
+ @mixin ms-slideDownOut20 {
259
+ @include ms-animation((fadeOut, slideDownOut20), $ms-animation-duration-1, $ms-animation-ease-2);
260
+ }
261
+
262
+ // Scale
263
+ @mixin ms-scaleUpIn100 {
264
+ @include ms-animation((fadeIn, scaleUp100), $ms-animation-duration-3, $ms-animation-ease-1);
265
+ }
266
+
267
+ @mixin ms-scaleUpOut103 {
268
+ @include ms-animation((fadeOut, scaleUp103), $ms-animation-duration-1, $ms-animation-ease-2);
269
+ }
270
+
271
+ @mixin ms-scaleDownOut98 {
272
+ @include ms-animation((fadeOut, scaleDown98), $ms-animation-duration-1, $ms-animation-ease-2);
273
+ }
274
+
275
+ @mixin ms-scaleDownIn100 {
276
+ @include ms-animation((fadeIn, scaleDown100), $ms-animation-duration-3, $ms-animation-ease-1);
277
+ }
278
+
279
+ // Rotate
280
+ @mixin ms-rotate90deg {
281
+ // @todo: The duration should use a variable, likely $ms-animation-duration-1
282
+ @include ms-animation(rotate90, 0.1s, $ms-animation-ease-2);
283
+ }
284
+
285
+ @mixin ms-rotateN90deg {
286
+ // @todo: The duration should use a variable, likely $ms-animation-duration-1
287
+ @include ms-animation(rotateN90, 0.1s, $ms-animation-ease-2);
288
+ }
289
+
290
+
291
+ // Fade
292
+ @mixin ms-fadeIn100 {
293
+ animation-duration: $ms-animation-duration-1; // @todo: Based on class name, likely intended to be 0.1s
294
+ animation-name: fadeIn;
295
+ animation-fill-mode: both;
296
+ }
297
+
298
+ @mixin ms-fadeIn200 {
299
+ animation-duration: $ms-animation-duration-2; // @todo: Based on class name, likely intended to be 0.2s
300
+ animation-name: fadeIn;
301
+ animation-fill-mode: both;
302
+ }
303
+
304
+ @mixin ms-fadeIn400 {
305
+ animation-duration: $ms-animation-duration-3; // @todo: Based on class name, likely intended to be 0.4s
306
+ animation-name: fadeIn;
307
+ animation-fill-mode: both;
308
+ }
309
+
310
+ @mixin ms-fadeIn500 {
311
+ animation-duration: $ms-animation-duration-4; // @todo: Based on class name, likely intended to be 0.5s
312
+ animation-name: fadeIn;
313
+ animation-fill-mode: both;
314
+ }
315
+
316
+ @mixin ms-fadeOut100 {
317
+ animation-duration: 0.1s; // @todo: This is the only duration that matches the class name
318
+ animation-name: fadeOut;
319
+ animation-fill-mode: both;
320
+ }
321
+
322
+ @mixin ms-fadeOut200 {
323
+ animation-duration: $ms-animation-duration-1; // @todo: Based on class name, likely intended to be 0.2s
324
+ animation-name: fadeOut;
325
+ animation-fill-mode: both;
326
+ }
327
+
328
+ @mixin ms-fadeOut400 {
329
+ animation-duration: $ms-animation-duration-3; // @todo: Based on class name, likely intended to be 0.4s
330
+ animation-name: fadeOut;
331
+ animation-fill-mode: both;
332
+ }
333
+
334
+ @mixin ms-fadeOut500 {
335
+ animation-duration: $ms-animation-duration-4; // @todo: Based on class name, likely intended to be 0.5s
336
+ animation-name: fadeOut;
337
+ animation-fill-mode: both;
338
+ }
339
+
340
+ // Expand-collapse
341
+ @mixin ms-expandCollapse100 {
342
+ transition: height 0.1s $ms-animation-ease-2; // @todo: This is the only duration that matches the class name
343
+ }
344
+
345
+ @mixin ms-expandCollapse200 {
346
+ transition: height $ms-animation-duration-1 $ms-animation-ease-2; // @todo: Based on class name, likely intended to be 0.2s
347
+ }
348
+
349
+ @mixin ms-expandCollapse400 {
350
+ transition: height $ms-animation-duration-3 $ms-animation-ease-2; // @todo: Based on class name, likely intended to be 0.4s
351
+ }
352
+
353
+ // Delay
354
+ @mixin ms-delay100 {
355
+ animation-delay: $ms-animation-duration-1; // @todo: Based on class name, likely intended to be 0.1s
356
+ }
357
+
358
+ @mixin ms-delay200 {
359
+ animation-delay: $ms-animation-duration-2; // @todo: Based on class name, likely intended to be 0.2s
360
+ }