office-ui-fabric-core-rails 5.0.1.0 → 5.1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/office-ui-fabric-core-rails/version.rb +2 -2
- data/package.json +2 -2
- data/vendor/assets/css/fabric.css +470 -428
- data/vendor/assets/css/fabric.min.css +2 -2
- data/vendor/assets/css/fabric.rtl.css +50 -8
- data/vendor/assets/css/fabric.rtl.min.css +2 -2
- data/vendor/assets/scss/Fabric.Animations.Output.scss +419 -419
- data/vendor/assets/scss/Fabric.Animations.RTL.Output.scss +80 -80
- data/vendor/assets/scss/Fabric.Base.Output.scss +14 -14
- data/vendor/assets/scss/Fabric.Brand.Icons.Output.scss +18 -18
- data/vendor/assets/scss/Fabric.Color.Mixins.Output.scss +443 -443
- data/vendor/assets/scss/Fabric.Grid.Output.scss +32 -32
- data/vendor/assets/scss/Fabric.Icons.Font.Output.scss +21 -20
- data/vendor/assets/scss/Fabric.Icons.Output.scss +751 -740
- data/vendor/assets/scss/Fabric.Icons.RTL.Output.scss +149 -149
- data/vendor/assets/scss/Fabric.RTL.scss +39 -39
- data/vendor/assets/scss/Fabric.Responsive.Utilities.Output.scss +1012 -1012
- data/vendor/assets/scss/Fabric.Typography.Fonts.Extended.Output.scss +67 -67
- data/vendor/assets/scss/Fabric.Typography.Fonts.Output.scss +12 -12
- data/vendor/assets/scss/Fabric.Typography.Language.Overrides.Output.scss +52 -52
- data/vendor/assets/scss/Fabric.Typography.Output.scss +389 -389
- data/vendor/assets/scss/Fabric.Utilities.Output.scss +45 -45
- data/vendor/assets/scss/Fabric.scss +43 -43
- data/vendor/assets/scss/_Fabric.Animations.RTL.scss +79 -79
- data/vendor/assets/scss/_Fabric.Animations.scss +237 -237
- data/vendor/assets/scss/_Fabric.Base.scss +13 -13
- data/vendor/assets/scss/_Fabric.Brand.Icons.scss +50 -50
- data/vendor/assets/scss/_Fabric.Color.Mixins.scss +418 -418
- data/vendor/assets/scss/_Fabric.Color.Variables.scss +93 -93
- data/vendor/assets/scss/_Fabric.Common.scss +16 -16
- data/vendor/assets/scss/_Fabric.Grid.scss +33 -33
- data/vendor/assets/scss/_Fabric.Icons.scss +779 -770
- data/vendor/assets/scss/_Fabric.Mixins.RTL.scss +324 -324
- data/vendor/assets/scss/_Fabric.Mixins.scss +281 -281
- data/vendor/assets/scss/_Fabric.Responsive.Utilities.Variables.scss +1423 -1423
- data/vendor/assets/scss/_Fabric.Responsive.Variables.scss +34 -34
- data/vendor/assets/scss/_Fabric.Typography.Fonts.scss +167 -167
- data/vendor/assets/scss/_Fabric.Typography.Language.Overrides.scss +49 -49
- data/vendor/assets/scss/_Fabric.Typography.Mixins.scss +11 -11
- data/vendor/assets/scss/_Fabric.Typography.Variables.scss +29 -29
- data/vendor/assets/scss/_Fabric.Typography.scss +345 -345
- data/vendor/assets/scss/_Fabric.Utilities.scss +75 -75
- data/vendor/assets/scss/_Fabric.ZIndex.Variables.scss +32 -32
- data/vendor/assets/scss/_Fabric.i18n.scss +315 -315
- metadata +2 -2
@@ -1,46 +1,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
|
-
// 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
|
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
46
|
}
|
@@ -1,43 +1,43 @@
|
|
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
|
-
// Core Module Loader
|
6
|
-
|
7
|
-
|
8
|
-
// Common utilities
|
9
|
-
@import './Fabric.Utilities.Output';
|
10
|
-
@import './Fabric.ZIndex.Variables';
|
11
|
-
@import './Fabric.Mixins';
|
12
|
-
@import "./Fabric.Mixins.RTL";
|
13
|
-
|
14
|
-
// Colors
|
15
|
-
@import './Fabric.Color.Variables';
|
16
|
-
@import './Fabric.Color.Mixins.Output';
|
17
|
-
|
18
|
-
// Typography
|
19
|
-
@import './Fabric.Typography.Variables';
|
20
|
-
@import './Fabric.Typography.Mixins';
|
21
|
-
@import './Fabric.Typography.Output';
|
22
|
-
@import './Fabric.Typography.Fonts.Output';
|
23
|
-
|
24
|
-
// Icons
|
25
|
-
@import './Fabric.Icons.Font.Output';
|
26
|
-
@import './Fabric.Icons.Output';
|
27
|
-
|
28
|
-
// Brand Icons
|
29
|
-
@import './Fabric.Brand.Icons.Output';
|
30
|
-
|
31
|
-
// Animations
|
32
|
-
@import './Fabric.Animations.Output';
|
33
|
-
|
34
|
-
// Responsive
|
35
|
-
@import './Fabric.Responsive.Variables';
|
36
|
-
@import './Fabric.Responsive.Utilities.Variables';
|
37
|
-
@import './Fabric.Responsive.Utilities.Output';
|
38
|
-
|
39
|
-
// Grid
|
40
|
-
@import './Fabric.Grid.Output';
|
41
|
-
|
42
|
-
// Base/wrapper component
|
43
|
-
@import './Fabric.Base.Output';
|
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
|
+
// Core Module Loader
|
6
|
+
|
7
|
+
|
8
|
+
// Common utilities
|
9
|
+
@import './Fabric.Utilities.Output';
|
10
|
+
@import './Fabric.ZIndex.Variables';
|
11
|
+
@import './Fabric.Mixins';
|
12
|
+
@import "./Fabric.Mixins.RTL";
|
13
|
+
|
14
|
+
// Colors
|
15
|
+
@import './Fabric.Color.Variables';
|
16
|
+
@import './Fabric.Color.Mixins.Output';
|
17
|
+
|
18
|
+
// Typography
|
19
|
+
@import './Fabric.Typography.Variables';
|
20
|
+
@import './Fabric.Typography.Mixins';
|
21
|
+
@import './Fabric.Typography.Output';
|
22
|
+
@import './Fabric.Typography.Fonts.Output';
|
23
|
+
|
24
|
+
// Icons
|
25
|
+
@import './Fabric.Icons.Font.Output';
|
26
|
+
@import './Fabric.Icons.Output';
|
27
|
+
|
28
|
+
// Brand Icons
|
29
|
+
@import './Fabric.Brand.Icons.Output';
|
30
|
+
|
31
|
+
// Animations
|
32
|
+
@import './Fabric.Animations.Output';
|
33
|
+
|
34
|
+
// Responsive
|
35
|
+
@import './Fabric.Responsive.Variables';
|
36
|
+
@import './Fabric.Responsive.Utilities.Variables';
|
37
|
+
@import './Fabric.Responsive.Utilities.Output';
|
38
|
+
|
39
|
+
// Grid
|
40
|
+
@import './Fabric.Grid.Output';
|
41
|
+
|
42
|
+
// Base/wrapper component
|
43
|
+
@import './Fabric.Base.Output';
|
@@ -1,79 +1,79 @@
|
|
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
|
-
// RTL overrides for Fabric Animations
|
7
|
-
|
8
|
-
|
9
|
-
@import 'Fabric.Animations';
|
10
|
-
|
11
|
-
// slideRightIn10
|
12
|
-
@mixin ms-u-slideRightIn10 {
|
13
|
-
@include animationMix((fadeIn, slideLeft10), $ms-duration3, $ms-ease1);
|
14
|
-
}
|
15
|
-
|
16
|
-
// slideRightIn20
|
17
|
-
@mixin ms-u-slideRightIn20 {
|
18
|
-
@include animationMix((fadeIn, slideLeft20), $ms-duration3, $ms-ease1);
|
19
|
-
}
|
20
|
-
|
21
|
-
// slideRightIn40
|
22
|
-
@mixin ms-u-slideRightIn40 {
|
23
|
-
@include animationMix((fadeIn, slideLeft40), $ms-duration3, $ms-ease1);
|
24
|
-
}
|
25
|
-
|
26
|
-
// slideLeftIn10
|
27
|
-
@mixin ms-u-slideLeftIn10 {
|
28
|
-
@include animationMix((fadeIn, slideRight10), $ms-duration3, $ms-ease1);
|
29
|
-
}
|
30
|
-
|
31
|
-
// slideLeftIn20
|
32
|
-
@mixin ms-u-slideLeftIn20 {
|
33
|
-
@include animationMix((fadeIn, slideRight20), $ms-duration3, $ms-ease1);
|
34
|
-
}
|
35
|
-
|
36
|
-
// slideLeftIn40
|
37
|
-
@mixin ms-u-slideLeftIn40 {
|
38
|
-
@include animationMix((fadeIn, slideRight40), $ms-duration3, $ms-ease1);
|
39
|
-
}
|
40
|
-
|
41
|
-
// slideRightIn400
|
42
|
-
@mixin ms-u-slideRightIn400 {
|
43
|
-
@include animationMix((fadeIn, slideLeft400), $ms-duration3, $ms-ease1);
|
44
|
-
}
|
45
|
-
|
46
|
-
// slideLeftIn400
|
47
|
-
@mixin ms-u-slideLeftIn400 {
|
48
|
-
@include animationMix((fadeIn, slideRight400), $ms-duration3, $ms-ease1);
|
49
|
-
}
|
50
|
-
|
51
|
-
// slideRightOut40
|
52
|
-
@mixin ms-u-slideRightOut40 {
|
53
|
-
@include animationMix((fadeOut, slideLeftOut40), $ms-duration1, $ms-ease2);
|
54
|
-
}
|
55
|
-
|
56
|
-
// slideLeftOut40
|
57
|
-
@mixin ms-u-slideLeftOut40 {
|
58
|
-
@include animationMix((fadeOut, slideRightOut40), $ms-duration1, $ms-ease2);
|
59
|
-
}
|
60
|
-
|
61
|
-
// slideRightOut400
|
62
|
-
@mixin ms-u-slideRightOut400 {
|
63
|
-
@include animationMix((fadeOut, slideLeftOut400), $ms-duration1, $ms-ease2);
|
64
|
-
}
|
65
|
-
|
66
|
-
// slideLeftOut400
|
67
|
-
@mixin ms-u-slideLeftOut400 {
|
68
|
-
@include animationMix((fadeOut, slideRightOut400), $ms-duration1, $ms-ease2);
|
69
|
-
}
|
70
|
-
|
71
|
-
// rotate90deg
|
72
|
-
@mixin ms-u-rotate90deg {
|
73
|
-
@include animationMix(rotateN90, 0.1s, $ms-ease2);
|
74
|
-
}
|
75
|
-
|
76
|
-
// rotateN90deg
|
77
|
-
@mixin ms-u-rotateN90deg {
|
78
|
-
@include animationMix(rotate90, 0.1s, $ms-ease2);
|
79
|
-
}
|
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
|
+
// RTL overrides for Fabric Animations
|
7
|
+
|
8
|
+
|
9
|
+
@import 'Fabric.Animations';
|
10
|
+
|
11
|
+
// slideRightIn10
|
12
|
+
@mixin ms-u-slideRightIn10 {
|
13
|
+
@include animationMix((fadeIn, slideLeft10), $ms-duration3, $ms-ease1);
|
14
|
+
}
|
15
|
+
|
16
|
+
// slideRightIn20
|
17
|
+
@mixin ms-u-slideRightIn20 {
|
18
|
+
@include animationMix((fadeIn, slideLeft20), $ms-duration3, $ms-ease1);
|
19
|
+
}
|
20
|
+
|
21
|
+
// slideRightIn40
|
22
|
+
@mixin ms-u-slideRightIn40 {
|
23
|
+
@include animationMix((fadeIn, slideLeft40), $ms-duration3, $ms-ease1);
|
24
|
+
}
|
25
|
+
|
26
|
+
// slideLeftIn10
|
27
|
+
@mixin ms-u-slideLeftIn10 {
|
28
|
+
@include animationMix((fadeIn, slideRight10), $ms-duration3, $ms-ease1);
|
29
|
+
}
|
30
|
+
|
31
|
+
// slideLeftIn20
|
32
|
+
@mixin ms-u-slideLeftIn20 {
|
33
|
+
@include animationMix((fadeIn, slideRight20), $ms-duration3, $ms-ease1);
|
34
|
+
}
|
35
|
+
|
36
|
+
// slideLeftIn40
|
37
|
+
@mixin ms-u-slideLeftIn40 {
|
38
|
+
@include animationMix((fadeIn, slideRight40), $ms-duration3, $ms-ease1);
|
39
|
+
}
|
40
|
+
|
41
|
+
// slideRightIn400
|
42
|
+
@mixin ms-u-slideRightIn400 {
|
43
|
+
@include animationMix((fadeIn, slideLeft400), $ms-duration3, $ms-ease1);
|
44
|
+
}
|
45
|
+
|
46
|
+
// slideLeftIn400
|
47
|
+
@mixin ms-u-slideLeftIn400 {
|
48
|
+
@include animationMix((fadeIn, slideRight400), $ms-duration3, $ms-ease1);
|
49
|
+
}
|
50
|
+
|
51
|
+
// slideRightOut40
|
52
|
+
@mixin ms-u-slideRightOut40 {
|
53
|
+
@include animationMix((fadeOut, slideLeftOut40), $ms-duration1, $ms-ease2);
|
54
|
+
}
|
55
|
+
|
56
|
+
// slideLeftOut40
|
57
|
+
@mixin ms-u-slideLeftOut40 {
|
58
|
+
@include animationMix((fadeOut, slideRightOut40), $ms-duration1, $ms-ease2);
|
59
|
+
}
|
60
|
+
|
61
|
+
// slideRightOut400
|
62
|
+
@mixin ms-u-slideRightOut400 {
|
63
|
+
@include animationMix((fadeOut, slideLeftOut400), $ms-duration1, $ms-ease2);
|
64
|
+
}
|
65
|
+
|
66
|
+
// slideLeftOut400
|
67
|
+
@mixin ms-u-slideLeftOut400 {
|
68
|
+
@include animationMix((fadeOut, slideRightOut400), $ms-duration1, $ms-ease2);
|
69
|
+
}
|
70
|
+
|
71
|
+
// rotate90deg
|
72
|
+
@mixin ms-u-rotate90deg {
|
73
|
+
@include animationMix(rotateN90, 0.1s, $ms-ease2);
|
74
|
+
}
|
75
|
+
|
76
|
+
// rotateN90deg
|
77
|
+
@mixin ms-u-rotateN90deg {
|
78
|
+
@include animationMix(rotate90, 0.1s, $ms-ease2);
|
79
|
+
}
|
@@ -1,237 +1,237 @@
|
|
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
|
-
// Note that all animation classes should begin with the "ms-u" utility prefix.
|
10
|
-
// The original class names are deprecated and will be removed in a future release.
|
11
|
-
|
12
|
-
// Variables
|
13
|
-
$ms-ease1: cubic-bezier(0.1,0.9,0.2,1) !default;
|
14
|
-
$ms-ease2: cubic-bezier(0.1,0.25,0.75,0.9) !default;
|
15
|
-
$ms-duration1: 0.167s !default;
|
16
|
-
$ms-duration2: 0.267s !default;
|
17
|
-
$ms-duration3: 0.367s !default;
|
18
|
-
$ms-duration4: 0.467s !default;
|
19
|
-
|
20
|
-
|
21
|
-
// Animation mixin
|
22
|
-
@mixin animationMix($ms-name, $ms-duration, $ms-ease: $ms-ease1, $ms-fillMode: both) {
|
23
|
-
@include animationName($ms-name);
|
24
|
-
@include animationDuration($ms-duration);
|
25
|
-
@include animationTiming($ms-ease);
|
26
|
-
@include animationFillMode($ms-fillMode);
|
27
|
-
}
|
28
|
-
|
29
|
-
// slideRightIn10
|
30
|
-
@mixin ms-u-slideRightIn10 {
|
31
|
-
@include animationMix((fadeIn, slideRightIn10), $ms-duration3, $ms-ease1);
|
32
|
-
}
|
33
|
-
|
34
|
-
// slideRightIn20
|
35
|
-
@mixin ms-u-slideRightIn20 {
|
36
|
-
@include animationMix((fadeIn, slideRightIn20), $ms-duration3, $ms-ease1);
|
37
|
-
}
|
38
|
-
|
39
|
-
// slideRightIn40
|
40
|
-
@mixin ms-u-slideRightIn40 {
|
41
|
-
@include animationMix((fadeIn, slideRightIn40), $ms-duration3, $ms-ease1);
|
42
|
-
}
|
43
|
-
|
44
|
-
// slideLeftIn10
|
45
|
-
@mixin ms-u-slideLeftIn10 {
|
46
|
-
@include animationMix((fadeIn, slideLeftIn10), $ms-duration3, $ms-ease1);
|
47
|
-
}
|
48
|
-
|
49
|
-
// slideLeftIn20
|
50
|
-
@mixin ms-u-slideLeftIn20 {
|
51
|
-
@include animationMix((fadeIn, slideLeftIn20), $ms-duration3, $ms-ease1);
|
52
|
-
}
|
53
|
-
|
54
|
-
// slideLeftIn40
|
55
|
-
@mixin ms-u-slideLeftIn40 {
|
56
|
-
@include animationMix((fadeIn, slideLeftIn40), $ms-duration3, $ms-ease1);
|
57
|
-
}
|
58
|
-
|
59
|
-
// slideRightIn400
|
60
|
-
@mixin ms-u-slideRightIn400 {
|
61
|
-
@include animationMix((fadeIn, slideRightIn400), $ms-duration3, $ms-ease1);
|
62
|
-
}
|
63
|
-
|
64
|
-
// slideLeftIn400
|
65
|
-
@mixin ms-u-slideLeftIn400 {
|
66
|
-
@include animationMix((fadeIn, slideLeft400), $ms-duration3, $ms-ease1);
|
67
|
-
}
|
68
|
-
|
69
|
-
// slideUpIn20
|
70
|
-
@mixin ms-u-slideUpIn20 {
|
71
|
-
@include animationMix((fadeIn, slideUpIn20), $ms-duration3, $ms-ease1);
|
72
|
-
}
|
73
|
-
|
74
|
-
// slideUpIn10
|
75
|
-
@mixin ms-u-slideUpIn10 {
|
76
|
-
@include animationMix((fadeIn, slideUpIn10), $ms-duration1, $ms-ease2);
|
77
|
-
}
|
78
|
-
|
79
|
-
// slideDownIn20
|
80
|
-
@mixin ms-u-slideDownIn20 {
|
81
|
-
@include animationMix((fadeIn, slideDownIn20), $ms-duration3, $ms-ease1);
|
82
|
-
}
|
83
|
-
|
84
|
-
// slideDownIn10
|
85
|
-
@mixin ms-u-slideDownIn10 {
|
86
|
-
@include animationMix((fadeIn, slideDownIn10), $ms-duration1, $ms-ease2);
|
87
|
-
}
|
88
|
-
|
89
|
-
// slideRightOut40
|
90
|
-
@mixin ms-u-slideRightOut40 {
|
91
|
-
@include animationMix((fadeOut, slideRightOut40), $ms-duration1, $ms-ease2);
|
92
|
-
}
|
93
|
-
|
94
|
-
// slideLeftOut40
|
95
|
-
@mixin ms-u-slideLeftOut40 {
|
96
|
-
@include animationMix((fadeOut, slideLeftOut40), $ms-duration1, $ms-ease2);
|
97
|
-
}
|
98
|
-
|
99
|
-
// slideRightOut400
|
100
|
-
@mixin ms-u-slideRightOut400 {
|
101
|
-
@include animationMix((fadeOut, slideRightOut400), $ms-duration1, $ms-ease2);
|
102
|
-
}
|
103
|
-
|
104
|
-
// slideLeftOut400
|
105
|
-
@mixin ms-u-slideLeftOut400 {
|
106
|
-
@include animationMix((fadeOut, slideLeftOut400), $ms-duration1, $ms-ease2);
|
107
|
-
}
|
108
|
-
|
109
|
-
// slideUpOut20
|
110
|
-
@mixin ms-u-slideUpOut20 {
|
111
|
-
@include animationMix((fadeOut, slideUpOut20), $ms-duration1, $ms-ease2);
|
112
|
-
}
|
113
|
-
|
114
|
-
// slideUpOut10
|
115
|
-
@mixin ms-u-slideUpOut10 {
|
116
|
-
@include animationMix((fadeOut, slideUpOut10), $ms-duration1, $ms-ease2);
|
117
|
-
}
|
118
|
-
|
119
|
-
// slideDownOut20
|
120
|
-
@mixin ms-u-slideDownOut20 {
|
121
|
-
@include animationMix((fadeOut, slideDownOut20), $ms-duration1, $ms-ease2);
|
122
|
-
}
|
123
|
-
|
124
|
-
// slideDownOut10
|
125
|
-
@mixin ms-u-slideDownOut10 {
|
126
|
-
@include animationMix((fadeOut, slideDownOut10), $ms-duration1, $ms-ease2);
|
127
|
-
}
|
128
|
-
|
129
|
-
// scaleUpIn100
|
130
|
-
@mixin ms-u-scaleUpIn100 {
|
131
|
-
@include animationMix((fadeIn, scaleUp100), $ms-duration3, $ms-ease1);
|
132
|
-
}
|
133
|
-
|
134
|
-
// scaleDownIn100
|
135
|
-
@mixin ms-u-scaleDownIn100 {
|
136
|
-
@include animationMix((fadeIn, scaleDown100), $ms-duration3, $ms-ease1);
|
137
|
-
}
|
138
|
-
|
139
|
-
// scaleUpOut103
|
140
|
-
@mixin ms-u-scaleUpOut103 {
|
141
|
-
@include animationMix((fadeOut, scaleUp103), $ms-duration1, $ms-ease2);
|
142
|
-
}
|
143
|
-
|
144
|
-
// scaleDownOut98
|
145
|
-
@mixin ms-u-scaleDownOut98 {
|
146
|
-
@include animationMix((fadeOut, scaleDown98), $ms-duration1, $ms-ease2);
|
147
|
-
}
|
148
|
-
|
149
|
-
// fadeIn
|
150
|
-
@mixin ms-u-fadeIn400 {
|
151
|
-
-webkit-animation-duration: $ms-duration3;
|
152
|
-
-webkit-animation-name: fadeIn;
|
153
|
-
-webkit-animation-fill-mode: both;
|
154
|
-
animation-duration: $ms-duration3;
|
155
|
-
animation-name: fadeIn;
|
156
|
-
animation-fill-mode: both;
|
157
|
-
}
|
158
|
-
@mixin ms-u-fadeIn100 {
|
159
|
-
@include ms-u-fadeIn400;
|
160
|
-
-webkit-animation-duration: $ms-duration1;
|
161
|
-
animation-duration: $ms-duration1;
|
162
|
-
}
|
163
|
-
@mixin ms-u-fadeIn200 {
|
164
|
-
@include ms-u-fadeIn400;
|
165
|
-
-webkit-animation-duration: $ms-duration2;
|
166
|
-
animation-duration: $ms-duration2;
|
167
|
-
}
|
168
|
-
@mixin ms-u-fadeIn500 {
|
169
|
-
@include ms-u-fadeIn400;
|
170
|
-
-webkit-animation-duration: $ms-duration4;
|
171
|
-
animation-duration: $ms-duration4;
|
172
|
-
}
|
173
|
-
|
174
|
-
// fadeOut
|
175
|
-
@mixin ms-u-fadeOut400 {
|
176
|
-
-webkit-animation-duration: $ms-duration3;
|
177
|
-
-webkit-animation-name: fadeOut;
|
178
|
-
-webkit-animation-fill-mode: both;
|
179
|
-
animation-duration: $ms-duration3;
|
180
|
-
animation-name: fadeOut;
|
181
|
-
animation-fill-mode: both;
|
182
|
-
}
|
183
|
-
@mixin ms-u-fadeOut100 {
|
184
|
-
@include ms-u-fadeOut400;
|
185
|
-
-webkit-animation-duration: 0.1s;
|
186
|
-
animation-duration: 0.1s;
|
187
|
-
}
|
188
|
-
@mixin ms-u-fadeOut200 {
|
189
|
-
@include ms-u-fadeOut400;
|
190
|
-
-webkit-animation-duration: $ms-duration1;
|
191
|
-
animation-duration: $ms-duration1;
|
192
|
-
}
|
193
|
-
@mixin ms-u-fadeOut500 {
|
194
|
-
@include ms-u-fadeOut400;
|
195
|
-
-webkit-animation-duration: $ms-duration4;
|
196
|
-
animation-duration: $ms-duration4;
|
197
|
-
}
|
198
|
-
|
199
|
-
// rotate90deg
|
200
|
-
@mixin ms-u-rotate90deg {
|
201
|
-
@include animationMix(rotate90, 0.1s, $ms-ease2);
|
202
|
-
}
|
203
|
-
|
204
|
-
// rotateN90deg
|
205
|
-
@mixin ms-u-rotateN90deg {
|
206
|
-
@include animationMix(rotateN90, 0.1s, $ms-ease2);
|
207
|
-
}
|
208
|
-
|
209
|
-
// expandCollapse400
|
210
|
-
@mixin ms-u-expandCollapse400 {
|
211
|
-
-webkit-transition: height $ms-duration3 $ms-ease2;
|
212
|
-
transition: height $ms-duration3 $ms-ease2;
|
213
|
-
}
|
214
|
-
|
215
|
-
// expandCollapse200
|
216
|
-
@mixin ms-u-expandCollapse200 {
|
217
|
-
-webkit-transition: height $ms-duration1 $ms-ease2;
|
218
|
-
transition: height $ms-duration1 $ms-ease2;
|
219
|
-
}
|
220
|
-
|
221
|
-
// expandCollapse100
|
222
|
-
@mixin ms-u-expandCollapse100 {
|
223
|
-
-webkit-transition: height 0.1s $ms-ease2;
|
224
|
-
transition: height 0.1s $ms-ease2;
|
225
|
-
}
|
226
|
-
|
227
|
-
// delay100
|
228
|
-
@mixin ms-u-delay100 {
|
229
|
-
-webkit-animation-delay: $ms-duration1;
|
230
|
-
animation-delay: $ms-duration1;
|
231
|
-
}
|
232
|
-
|
233
|
-
// delay200
|
234
|
-
@mixin ms-u-delay200 {
|
235
|
-
-webkit-animation-delay: 0.267s;
|
236
|
-
animation-delay: 0.267s;
|
237
|
-
}
|
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
|
+
// Note that all animation classes should begin with the "ms-u" utility prefix.
|
10
|
+
// The original class names are deprecated and will be removed in a future release.
|
11
|
+
|
12
|
+
// Variables
|
13
|
+
$ms-ease1: cubic-bezier(0.1,0.9,0.2,1) !default;
|
14
|
+
$ms-ease2: cubic-bezier(0.1,0.25,0.75,0.9) !default;
|
15
|
+
$ms-duration1: 0.167s !default;
|
16
|
+
$ms-duration2: 0.267s !default;
|
17
|
+
$ms-duration3: 0.367s !default;
|
18
|
+
$ms-duration4: 0.467s !default;
|
19
|
+
|
20
|
+
|
21
|
+
// Animation mixin
|
22
|
+
@mixin animationMix($ms-name, $ms-duration, $ms-ease: $ms-ease1, $ms-fillMode: both) {
|
23
|
+
@include animationName($ms-name);
|
24
|
+
@include animationDuration($ms-duration);
|
25
|
+
@include animationTiming($ms-ease);
|
26
|
+
@include animationFillMode($ms-fillMode);
|
27
|
+
}
|
28
|
+
|
29
|
+
// slideRightIn10
|
30
|
+
@mixin ms-u-slideRightIn10 {
|
31
|
+
@include animationMix((fadeIn, slideRightIn10), $ms-duration3, $ms-ease1);
|
32
|
+
}
|
33
|
+
|
34
|
+
// slideRightIn20
|
35
|
+
@mixin ms-u-slideRightIn20 {
|
36
|
+
@include animationMix((fadeIn, slideRightIn20), $ms-duration3, $ms-ease1);
|
37
|
+
}
|
38
|
+
|
39
|
+
// slideRightIn40
|
40
|
+
@mixin ms-u-slideRightIn40 {
|
41
|
+
@include animationMix((fadeIn, slideRightIn40), $ms-duration3, $ms-ease1);
|
42
|
+
}
|
43
|
+
|
44
|
+
// slideLeftIn10
|
45
|
+
@mixin ms-u-slideLeftIn10 {
|
46
|
+
@include animationMix((fadeIn, slideLeftIn10), $ms-duration3, $ms-ease1);
|
47
|
+
}
|
48
|
+
|
49
|
+
// slideLeftIn20
|
50
|
+
@mixin ms-u-slideLeftIn20 {
|
51
|
+
@include animationMix((fadeIn, slideLeftIn20), $ms-duration3, $ms-ease1);
|
52
|
+
}
|
53
|
+
|
54
|
+
// slideLeftIn40
|
55
|
+
@mixin ms-u-slideLeftIn40 {
|
56
|
+
@include animationMix((fadeIn, slideLeftIn40), $ms-duration3, $ms-ease1);
|
57
|
+
}
|
58
|
+
|
59
|
+
// slideRightIn400
|
60
|
+
@mixin ms-u-slideRightIn400 {
|
61
|
+
@include animationMix((fadeIn, slideRightIn400), $ms-duration3, $ms-ease1);
|
62
|
+
}
|
63
|
+
|
64
|
+
// slideLeftIn400
|
65
|
+
@mixin ms-u-slideLeftIn400 {
|
66
|
+
@include animationMix((fadeIn, slideLeft400), $ms-duration3, $ms-ease1);
|
67
|
+
}
|
68
|
+
|
69
|
+
// slideUpIn20
|
70
|
+
@mixin ms-u-slideUpIn20 {
|
71
|
+
@include animationMix((fadeIn, slideUpIn20), $ms-duration3, $ms-ease1);
|
72
|
+
}
|
73
|
+
|
74
|
+
// slideUpIn10
|
75
|
+
@mixin ms-u-slideUpIn10 {
|
76
|
+
@include animationMix((fadeIn, slideUpIn10), $ms-duration1, $ms-ease2);
|
77
|
+
}
|
78
|
+
|
79
|
+
// slideDownIn20
|
80
|
+
@mixin ms-u-slideDownIn20 {
|
81
|
+
@include animationMix((fadeIn, slideDownIn20), $ms-duration3, $ms-ease1);
|
82
|
+
}
|
83
|
+
|
84
|
+
// slideDownIn10
|
85
|
+
@mixin ms-u-slideDownIn10 {
|
86
|
+
@include animationMix((fadeIn, slideDownIn10), $ms-duration1, $ms-ease2);
|
87
|
+
}
|
88
|
+
|
89
|
+
// slideRightOut40
|
90
|
+
@mixin ms-u-slideRightOut40 {
|
91
|
+
@include animationMix((fadeOut, slideRightOut40), $ms-duration1, $ms-ease2);
|
92
|
+
}
|
93
|
+
|
94
|
+
// slideLeftOut40
|
95
|
+
@mixin ms-u-slideLeftOut40 {
|
96
|
+
@include animationMix((fadeOut, slideLeftOut40), $ms-duration1, $ms-ease2);
|
97
|
+
}
|
98
|
+
|
99
|
+
// slideRightOut400
|
100
|
+
@mixin ms-u-slideRightOut400 {
|
101
|
+
@include animationMix((fadeOut, slideRightOut400), $ms-duration1, $ms-ease2);
|
102
|
+
}
|
103
|
+
|
104
|
+
// slideLeftOut400
|
105
|
+
@mixin ms-u-slideLeftOut400 {
|
106
|
+
@include animationMix((fadeOut, slideLeftOut400), $ms-duration1, $ms-ease2);
|
107
|
+
}
|
108
|
+
|
109
|
+
// slideUpOut20
|
110
|
+
@mixin ms-u-slideUpOut20 {
|
111
|
+
@include animationMix((fadeOut, slideUpOut20), $ms-duration1, $ms-ease2);
|
112
|
+
}
|
113
|
+
|
114
|
+
// slideUpOut10
|
115
|
+
@mixin ms-u-slideUpOut10 {
|
116
|
+
@include animationMix((fadeOut, slideUpOut10), $ms-duration1, $ms-ease2);
|
117
|
+
}
|
118
|
+
|
119
|
+
// slideDownOut20
|
120
|
+
@mixin ms-u-slideDownOut20 {
|
121
|
+
@include animationMix((fadeOut, slideDownOut20), $ms-duration1, $ms-ease2);
|
122
|
+
}
|
123
|
+
|
124
|
+
// slideDownOut10
|
125
|
+
@mixin ms-u-slideDownOut10 {
|
126
|
+
@include animationMix((fadeOut, slideDownOut10), $ms-duration1, $ms-ease2);
|
127
|
+
}
|
128
|
+
|
129
|
+
// scaleUpIn100
|
130
|
+
@mixin ms-u-scaleUpIn100 {
|
131
|
+
@include animationMix((fadeIn, scaleUp100), $ms-duration3, $ms-ease1);
|
132
|
+
}
|
133
|
+
|
134
|
+
// scaleDownIn100
|
135
|
+
@mixin ms-u-scaleDownIn100 {
|
136
|
+
@include animationMix((fadeIn, scaleDown100), $ms-duration3, $ms-ease1);
|
137
|
+
}
|
138
|
+
|
139
|
+
// scaleUpOut103
|
140
|
+
@mixin ms-u-scaleUpOut103 {
|
141
|
+
@include animationMix((fadeOut, scaleUp103), $ms-duration1, $ms-ease2);
|
142
|
+
}
|
143
|
+
|
144
|
+
// scaleDownOut98
|
145
|
+
@mixin ms-u-scaleDownOut98 {
|
146
|
+
@include animationMix((fadeOut, scaleDown98), $ms-duration1, $ms-ease2);
|
147
|
+
}
|
148
|
+
|
149
|
+
// fadeIn
|
150
|
+
@mixin ms-u-fadeIn400 {
|
151
|
+
-webkit-animation-duration: $ms-duration3;
|
152
|
+
-webkit-animation-name: fadeIn;
|
153
|
+
-webkit-animation-fill-mode: both;
|
154
|
+
animation-duration: $ms-duration3;
|
155
|
+
animation-name: fadeIn;
|
156
|
+
animation-fill-mode: both;
|
157
|
+
}
|
158
|
+
@mixin ms-u-fadeIn100 {
|
159
|
+
@include ms-u-fadeIn400;
|
160
|
+
-webkit-animation-duration: $ms-duration1;
|
161
|
+
animation-duration: $ms-duration1;
|
162
|
+
}
|
163
|
+
@mixin ms-u-fadeIn200 {
|
164
|
+
@include ms-u-fadeIn400;
|
165
|
+
-webkit-animation-duration: $ms-duration2;
|
166
|
+
animation-duration: $ms-duration2;
|
167
|
+
}
|
168
|
+
@mixin ms-u-fadeIn500 {
|
169
|
+
@include ms-u-fadeIn400;
|
170
|
+
-webkit-animation-duration: $ms-duration4;
|
171
|
+
animation-duration: $ms-duration4;
|
172
|
+
}
|
173
|
+
|
174
|
+
// fadeOut
|
175
|
+
@mixin ms-u-fadeOut400 {
|
176
|
+
-webkit-animation-duration: $ms-duration3;
|
177
|
+
-webkit-animation-name: fadeOut;
|
178
|
+
-webkit-animation-fill-mode: both;
|
179
|
+
animation-duration: $ms-duration3;
|
180
|
+
animation-name: fadeOut;
|
181
|
+
animation-fill-mode: both;
|
182
|
+
}
|
183
|
+
@mixin ms-u-fadeOut100 {
|
184
|
+
@include ms-u-fadeOut400;
|
185
|
+
-webkit-animation-duration: 0.1s;
|
186
|
+
animation-duration: 0.1s;
|
187
|
+
}
|
188
|
+
@mixin ms-u-fadeOut200 {
|
189
|
+
@include ms-u-fadeOut400;
|
190
|
+
-webkit-animation-duration: $ms-duration1;
|
191
|
+
animation-duration: $ms-duration1;
|
192
|
+
}
|
193
|
+
@mixin ms-u-fadeOut500 {
|
194
|
+
@include ms-u-fadeOut400;
|
195
|
+
-webkit-animation-duration: $ms-duration4;
|
196
|
+
animation-duration: $ms-duration4;
|
197
|
+
}
|
198
|
+
|
199
|
+
// rotate90deg
|
200
|
+
@mixin ms-u-rotate90deg {
|
201
|
+
@include animationMix(rotate90, 0.1s, $ms-ease2);
|
202
|
+
}
|
203
|
+
|
204
|
+
// rotateN90deg
|
205
|
+
@mixin ms-u-rotateN90deg {
|
206
|
+
@include animationMix(rotateN90, 0.1s, $ms-ease2);
|
207
|
+
}
|
208
|
+
|
209
|
+
// expandCollapse400
|
210
|
+
@mixin ms-u-expandCollapse400 {
|
211
|
+
-webkit-transition: height $ms-duration3 $ms-ease2;
|
212
|
+
transition: height $ms-duration3 $ms-ease2;
|
213
|
+
}
|
214
|
+
|
215
|
+
// expandCollapse200
|
216
|
+
@mixin ms-u-expandCollapse200 {
|
217
|
+
-webkit-transition: height $ms-duration1 $ms-ease2;
|
218
|
+
transition: height $ms-duration1 $ms-ease2;
|
219
|
+
}
|
220
|
+
|
221
|
+
// expandCollapse100
|
222
|
+
@mixin ms-u-expandCollapse100 {
|
223
|
+
-webkit-transition: height 0.1s $ms-ease2;
|
224
|
+
transition: height 0.1s $ms-ease2;
|
225
|
+
}
|
226
|
+
|
227
|
+
// delay100
|
228
|
+
@mixin ms-u-delay100 {
|
229
|
+
-webkit-animation-delay: $ms-duration1;
|
230
|
+
animation-delay: $ms-duration1;
|
231
|
+
}
|
232
|
+
|
233
|
+
// delay200
|
234
|
+
@mixin ms-u-delay200 {
|
235
|
+
-webkit-animation-delay: 0.267s;
|
236
|
+
animation-delay: 0.267s;
|
237
|
+
}
|