office-ui-fabric-core-rails 5.0.1.0 → 5.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,282 +1,282 @@
|
|
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
|
-
// Vendor-prefixed mixins
|
7
|
-
|
8
|
-
|
9
|
-
// Border radius.
|
10
|
-
@mixin border-radius($ms-radius: 5px) {
|
11
|
-
border-radius: $ms-radius;
|
12
|
-
background-clip: padding-box;
|
13
|
-
}
|
14
|
-
|
15
|
-
// Drop shadow.
|
16
|
-
@mixin drop-shadow($ms-x-offset: 0, $ms-y-offset: 0, $ms-blur: 5px, $ms-spread: 0, $ms-alpha: 0.4) {
|
17
|
-
box-shadow: $ms-x-offset $ms-y-offset $ms-blur $ms-spread rgba(0, 0, 0, $ms-alpha);
|
18
|
-
}
|
19
|
-
|
20
|
-
// Background gradient.
|
21
|
-
@mixin background-gradient($ms-origin: left, $ms-start: #000, $ms-start-location: 0%, $ms-stop: #FFF, $ms-stop-location: 100%) {
|
22
|
-
background-color: $ms-start;
|
23
|
-
background-image: linear-gradient($ms-origin, $ms-start $ms-start-location, $ms-stop $ms-stop-location);
|
24
|
-
}
|
25
|
-
|
26
|
-
// Rotation.
|
27
|
-
@mixin rotate($ms-deg) {
|
28
|
-
transform: rotate($ms-deg);
|
29
|
-
}
|
30
|
-
|
31
|
-
// Reset button styles.
|
32
|
-
@mixin button-reset() {
|
33
|
-
background: none;
|
34
|
-
border: 0;
|
35
|
-
cursor: pointer;
|
36
|
-
}
|
37
|
-
|
38
|
-
@mixin resetAnimation() {
|
39
|
-
-webkit-animation: none;
|
40
|
-
-moz-animation: none;
|
41
|
-
-ms-animation: none;
|
42
|
-
-o-animation: none;
|
43
|
-
animation: none;
|
44
|
-
}
|
45
|
-
|
46
|
-
@mixin resetBackface() {
|
47
|
-
backface-visibility: visible;
|
48
|
-
}
|
49
|
-
|
50
|
-
@mixin resetBackground() {
|
51
|
-
background: 0;
|
52
|
-
background-clip: border-box;
|
53
|
-
background-origin: padding-box;
|
54
|
-
}
|
55
|
-
|
56
|
-
@mixin resetBorder() {
|
57
|
-
border: 0;
|
58
|
-
border-collapse: separate;
|
59
|
-
border-image: none;
|
60
|
-
border-radius: 0;
|
61
|
-
border-spacing: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
@mixin resetBoxShadow() {
|
65
|
-
-webkit-box-shadow: none;
|
66
|
-
-moz-box-shadow: none;
|
67
|
-
box-shadow: none;
|
68
|
-
}
|
69
|
-
|
70
|
-
@mixin resetBoxSizing() {
|
71
|
-
box-sizing: content-box;
|
72
|
-
}
|
73
|
-
|
74
|
-
@mixin resetColumns() {
|
75
|
-
columns: auto;
|
76
|
-
column-count: auto;
|
77
|
-
column-fill: balance;
|
78
|
-
column-gap: normal;
|
79
|
-
column-rule: medium none currentColor;
|
80
|
-
column-rule-color: currentColor;
|
81
|
-
column-rule-style: none;
|
82
|
-
column-rule-width: none;
|
83
|
-
column-span: 1;
|
84
|
-
column-width: auto;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
// Fonts and Typography Resets
|
89
|
-
@mixin resetFont() {
|
90
|
-
font: normal;
|
91
|
-
font-family: inherit;
|
92
|
-
font-size: normal;
|
93
|
-
font-style: normal;
|
94
|
-
font-variant: normal;
|
95
|
-
font-weight: normal;
|
96
|
-
}
|
97
|
-
|
98
|
-
@mixin resetTextStyling() {
|
99
|
-
text-align: inherit;
|
100
|
-
text-align-last: auto;
|
101
|
-
text-decoration: none;
|
102
|
-
text-decoration-color: inherit;
|
103
|
-
text-decoration-line: none;
|
104
|
-
text-decoration-style: solid;
|
105
|
-
text-indent: 0;
|
106
|
-
text-shadow: none;
|
107
|
-
text-transform: none;
|
108
|
-
line-height: normal;
|
109
|
-
letter-spacing: normal;
|
110
|
-
word-spacing: normal;
|
111
|
-
}
|
112
|
-
|
113
|
-
|
114
|
-
// Box Model Resets
|
115
|
-
@mixin resetPadding() {
|
116
|
-
padding: 0;
|
117
|
-
}
|
118
|
-
|
119
|
-
@mixin resetMargins() {
|
120
|
-
margin: 0;
|
121
|
-
}
|
122
|
-
|
123
|
-
@mixin resetOverflow() {
|
124
|
-
overflow: visible;
|
125
|
-
}
|
126
|
-
|
127
|
-
@mixin resetMax() {
|
128
|
-
max-height: none;
|
129
|
-
max-width: none;
|
130
|
-
}
|
131
|
-
|
132
|
-
@mixin resetMin() {
|
133
|
-
min-height: 0;
|
134
|
-
min-width: 0;
|
135
|
-
}
|
136
|
-
|
137
|
-
@mixin resetPositioning() {
|
138
|
-
bottom: auto;
|
139
|
-
left: auto;
|
140
|
-
top: auto;
|
141
|
-
left: auto;
|
142
|
-
}
|
143
|
-
|
144
|
-
@mixin resetFloat() {
|
145
|
-
float: none;
|
146
|
-
}
|
147
|
-
|
148
|
-
@mixin resetHeight($ms-useMaxMin: false) {
|
149
|
-
height: auto;
|
150
|
-
@if $ms-useMaxMin == true {
|
151
|
-
min-height: 0;
|
152
|
-
max-height: 0;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
@mixin resetWidth($ms-useMaxMin: false) {
|
157
|
-
width: auto;
|
158
|
-
@if $ms-useMaxMin == true {
|
159
|
-
min-width: 0;
|
160
|
-
max-width: 0;
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
@mixin resetPosition() {
|
165
|
-
position: static;
|
166
|
-
}
|
167
|
-
|
168
|
-
@mixin resetPerspective() {
|
169
|
-
-webkit-perspective: none;
|
170
|
-
-webkit-perspective-origin: 50% 50%;
|
171
|
-
perspective: none;
|
172
|
-
perspective-origin: 50% 50%;
|
173
|
-
|
174
|
-
}
|
175
|
-
|
176
|
-
@mixin resetTransition() {
|
177
|
-
-webkit-transition: none;
|
178
|
-
transition: none;
|
179
|
-
}
|
180
|
-
|
181
|
-
@mixin resetListStyle() {
|
182
|
-
list-style: none;
|
183
|
-
}
|
184
|
-
|
185
|
-
@mixin resetTransform() {
|
186
|
-
-ms-transform: none;
|
187
|
-
-webkit-transform: none;
|
188
|
-
-webkit-transform-style: flat;
|
189
|
-
transform: none;
|
190
|
-
transform-style: flat;
|
191
|
-
}
|
192
|
-
|
193
|
-
@mixin resetOutline() {
|
194
|
-
outline: 0;
|
195
|
-
}
|
196
|
-
|
197
|
-
@mixin resetPageBreak() {
|
198
|
-
page-break-after: auto;
|
199
|
-
page-break-before: auto;
|
200
|
-
page-break-inside: auto;
|
201
|
-
}
|
202
|
-
|
203
|
-
@mixin resetDisplay() {
|
204
|
-
display: block;
|
205
|
-
}
|
206
|
-
|
207
|
-
@mixin resetVerticalAlign() {
|
208
|
-
vertical-align: baseline;
|
209
|
-
}
|
210
|
-
|
211
|
-
// Prevents user selection of text elements.
|
212
|
-
@mixin user-select ($val) {
|
213
|
-
-webkit-touch-callout: $val;
|
214
|
-
-webkit-user-select: $val;
|
215
|
-
-khtml-user-select: $val;
|
216
|
-
-moz-user-select: $val;
|
217
|
-
-ms-user-select: $val;
|
218
|
-
user-select: $val;
|
219
|
-
}
|
220
|
-
|
221
|
-
// Prevents the text within a block element from wrapping to second line.
|
222
|
-
@mixin noWrap() {
|
223
|
-
display: block;
|
224
|
-
overflow: hidden;
|
225
|
-
text-overflow: ellipsis;
|
226
|
-
white-space: nowrap;
|
227
|
-
}
|
228
|
-
|
229
|
-
// Input placehoder
|
230
|
-
@mixin input-placeholder {
|
231
|
-
&::-webkit-input-placeholder {@content}
|
232
|
-
&::-moz-placeholder {@content}
|
233
|
-
&:-moz-placeholder {@content}
|
234
|
-
&:-ms-input-placeholder {@content}
|
235
|
-
}
|
236
|
-
|
237
|
-
// Animations
|
238
|
-
@mixin animationName($ms-name) {
|
239
|
-
-webkit-animation-name: $ms-name;
|
240
|
-
-moz-animation-name: $ms-name;
|
241
|
-
-ms-animation-name: $ms-name;
|
242
|
-
-o-animation-name: $ms-name;
|
243
|
-
animation-name: $ms-name;
|
244
|
-
}
|
245
|
-
|
246
|
-
@mixin animationDuration($ms-duration) {
|
247
|
-
-webkit-animation-duration: $ms-duration;
|
248
|
-
-moz-animation-duration: $ms-duration;
|
249
|
-
-ms-animation-duration: $ms-duration;
|
250
|
-
-o-animation-duration: $ms-duration;
|
251
|
-
}
|
252
|
-
|
253
|
-
@mixin animationTiming($ms-function) {
|
254
|
-
-webkit-animation-timing-function: $ms-function;
|
255
|
-
-moz-animation-timing-function: $ms-function;
|
256
|
-
-ms-animation-timing-function: $ms-function;
|
257
|
-
-o-animation-timing-function: $ms-function;
|
258
|
-
animation-timing-function: $ms-function;
|
259
|
-
}
|
260
|
-
|
261
|
-
@mixin animationFillMode($ms-mode) {
|
262
|
-
-webkit-animation-fill-mode: $ms-mode;
|
263
|
-
-moz-animation-fill-mode: $ms-mode;
|
264
|
-
-ms-animation-fill-mode: $ms-mode;
|
265
|
-
-o-animation-fill-mode: $ms-mode;
|
266
|
-
animation-fill-mode: $ms-mode;
|
267
|
-
}
|
268
|
-
|
269
|
-
// Flexbox
|
270
|
-
@mixin flexBox() {
|
271
|
-
display: -ms-flexbox;
|
272
|
-
display: -webkit-flex;
|
273
|
-
display: flex;
|
274
|
-
}
|
275
|
-
|
276
|
-
@mixin alignItems($ms-mode) {
|
277
|
-
-webkit-box-align: $ms-mode;
|
278
|
-
-moz-box-align: $ms-mode;
|
279
|
-
-ms-flex-align: $ms-mode;
|
280
|
-
-webkit-align-items: $ms-mode;
|
281
|
-
align-items: $ms-mode;
|
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
|
+
// Vendor-prefixed mixins
|
7
|
+
|
8
|
+
|
9
|
+
// Border radius.
|
10
|
+
@mixin border-radius($ms-radius: 5px) {
|
11
|
+
border-radius: $ms-radius;
|
12
|
+
background-clip: padding-box;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Drop shadow.
|
16
|
+
@mixin drop-shadow($ms-x-offset: 0, $ms-y-offset: 0, $ms-blur: 5px, $ms-spread: 0, $ms-alpha: 0.4) {
|
17
|
+
box-shadow: $ms-x-offset $ms-y-offset $ms-blur $ms-spread rgba(0, 0, 0, $ms-alpha);
|
18
|
+
}
|
19
|
+
|
20
|
+
// Background gradient.
|
21
|
+
@mixin background-gradient($ms-origin: left, $ms-start: #000, $ms-start-location: 0%, $ms-stop: #FFF, $ms-stop-location: 100%) {
|
22
|
+
background-color: $ms-start;
|
23
|
+
background-image: linear-gradient($ms-origin, $ms-start $ms-start-location, $ms-stop $ms-stop-location);
|
24
|
+
}
|
25
|
+
|
26
|
+
// Rotation.
|
27
|
+
@mixin rotate($ms-deg) {
|
28
|
+
transform: rotate($ms-deg);
|
29
|
+
}
|
30
|
+
|
31
|
+
// Reset button styles.
|
32
|
+
@mixin button-reset() {
|
33
|
+
background: none;
|
34
|
+
border: 0;
|
35
|
+
cursor: pointer;
|
36
|
+
}
|
37
|
+
|
38
|
+
@mixin resetAnimation() {
|
39
|
+
-webkit-animation: none;
|
40
|
+
-moz-animation: none;
|
41
|
+
-ms-animation: none;
|
42
|
+
-o-animation: none;
|
43
|
+
animation: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
@mixin resetBackface() {
|
47
|
+
backface-visibility: visible;
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin resetBackground() {
|
51
|
+
background: 0;
|
52
|
+
background-clip: border-box;
|
53
|
+
background-origin: padding-box;
|
54
|
+
}
|
55
|
+
|
56
|
+
@mixin resetBorder() {
|
57
|
+
border: 0;
|
58
|
+
border-collapse: separate;
|
59
|
+
border-image: none;
|
60
|
+
border-radius: 0;
|
61
|
+
border-spacing: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
@mixin resetBoxShadow() {
|
65
|
+
-webkit-box-shadow: none;
|
66
|
+
-moz-box-shadow: none;
|
67
|
+
box-shadow: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
@mixin resetBoxSizing() {
|
71
|
+
box-sizing: content-box;
|
72
|
+
}
|
73
|
+
|
74
|
+
@mixin resetColumns() {
|
75
|
+
columns: auto;
|
76
|
+
column-count: auto;
|
77
|
+
column-fill: balance;
|
78
|
+
column-gap: normal;
|
79
|
+
column-rule: medium none currentColor;
|
80
|
+
column-rule-color: currentColor;
|
81
|
+
column-rule-style: none;
|
82
|
+
column-rule-width: none;
|
83
|
+
column-span: 1;
|
84
|
+
column-width: auto;
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
// Fonts and Typography Resets
|
89
|
+
@mixin resetFont() {
|
90
|
+
font: normal;
|
91
|
+
font-family: inherit;
|
92
|
+
font-size: normal;
|
93
|
+
font-style: normal;
|
94
|
+
font-variant: normal;
|
95
|
+
font-weight: normal;
|
96
|
+
}
|
97
|
+
|
98
|
+
@mixin resetTextStyling() {
|
99
|
+
text-align: inherit;
|
100
|
+
text-align-last: auto;
|
101
|
+
text-decoration: none;
|
102
|
+
text-decoration-color: inherit;
|
103
|
+
text-decoration-line: none;
|
104
|
+
text-decoration-style: solid;
|
105
|
+
text-indent: 0;
|
106
|
+
text-shadow: none;
|
107
|
+
text-transform: none;
|
108
|
+
line-height: normal;
|
109
|
+
letter-spacing: normal;
|
110
|
+
word-spacing: normal;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
// Box Model Resets
|
115
|
+
@mixin resetPadding() {
|
116
|
+
padding: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
@mixin resetMargins() {
|
120
|
+
margin: 0;
|
121
|
+
}
|
122
|
+
|
123
|
+
@mixin resetOverflow() {
|
124
|
+
overflow: visible;
|
125
|
+
}
|
126
|
+
|
127
|
+
@mixin resetMax() {
|
128
|
+
max-height: none;
|
129
|
+
max-width: none;
|
130
|
+
}
|
131
|
+
|
132
|
+
@mixin resetMin() {
|
133
|
+
min-height: 0;
|
134
|
+
min-width: 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
@mixin resetPositioning() {
|
138
|
+
bottom: auto;
|
139
|
+
left: auto;
|
140
|
+
top: auto;
|
141
|
+
left: auto;
|
142
|
+
}
|
143
|
+
|
144
|
+
@mixin resetFloat() {
|
145
|
+
float: none;
|
146
|
+
}
|
147
|
+
|
148
|
+
@mixin resetHeight($ms-useMaxMin: false) {
|
149
|
+
height: auto;
|
150
|
+
@if $ms-useMaxMin == true {
|
151
|
+
min-height: 0;
|
152
|
+
max-height: 0;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
@mixin resetWidth($ms-useMaxMin: false) {
|
157
|
+
width: auto;
|
158
|
+
@if $ms-useMaxMin == true {
|
159
|
+
min-width: 0;
|
160
|
+
max-width: 0;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
@mixin resetPosition() {
|
165
|
+
position: static;
|
166
|
+
}
|
167
|
+
|
168
|
+
@mixin resetPerspective() {
|
169
|
+
-webkit-perspective: none;
|
170
|
+
-webkit-perspective-origin: 50% 50%;
|
171
|
+
perspective: none;
|
172
|
+
perspective-origin: 50% 50%;
|
173
|
+
|
174
|
+
}
|
175
|
+
|
176
|
+
@mixin resetTransition() {
|
177
|
+
-webkit-transition: none;
|
178
|
+
transition: none;
|
179
|
+
}
|
180
|
+
|
181
|
+
@mixin resetListStyle() {
|
182
|
+
list-style: none;
|
183
|
+
}
|
184
|
+
|
185
|
+
@mixin resetTransform() {
|
186
|
+
-ms-transform: none;
|
187
|
+
-webkit-transform: none;
|
188
|
+
-webkit-transform-style: flat;
|
189
|
+
transform: none;
|
190
|
+
transform-style: flat;
|
191
|
+
}
|
192
|
+
|
193
|
+
@mixin resetOutline() {
|
194
|
+
outline: 0;
|
195
|
+
}
|
196
|
+
|
197
|
+
@mixin resetPageBreak() {
|
198
|
+
page-break-after: auto;
|
199
|
+
page-break-before: auto;
|
200
|
+
page-break-inside: auto;
|
201
|
+
}
|
202
|
+
|
203
|
+
@mixin resetDisplay() {
|
204
|
+
display: block;
|
205
|
+
}
|
206
|
+
|
207
|
+
@mixin resetVerticalAlign() {
|
208
|
+
vertical-align: baseline;
|
209
|
+
}
|
210
|
+
|
211
|
+
// Prevents user selection of text elements.
|
212
|
+
@mixin user-select ($val) {
|
213
|
+
-webkit-touch-callout: $val;
|
214
|
+
-webkit-user-select: $val;
|
215
|
+
-khtml-user-select: $val;
|
216
|
+
-moz-user-select: $val;
|
217
|
+
-ms-user-select: $val;
|
218
|
+
user-select: $val;
|
219
|
+
}
|
220
|
+
|
221
|
+
// Prevents the text within a block element from wrapping to second line.
|
222
|
+
@mixin noWrap() {
|
223
|
+
display: block;
|
224
|
+
overflow: hidden;
|
225
|
+
text-overflow: ellipsis;
|
226
|
+
white-space: nowrap;
|
227
|
+
}
|
228
|
+
|
229
|
+
// Input placehoder
|
230
|
+
@mixin input-placeholder {
|
231
|
+
&::-webkit-input-placeholder {@content}
|
232
|
+
&::-moz-placeholder {@content}
|
233
|
+
&:-moz-placeholder {@content}
|
234
|
+
&:-ms-input-placeholder {@content}
|
235
|
+
}
|
236
|
+
|
237
|
+
// Animations
|
238
|
+
@mixin animationName($ms-name) {
|
239
|
+
-webkit-animation-name: $ms-name;
|
240
|
+
-moz-animation-name: $ms-name;
|
241
|
+
-ms-animation-name: $ms-name;
|
242
|
+
-o-animation-name: $ms-name;
|
243
|
+
animation-name: $ms-name;
|
244
|
+
}
|
245
|
+
|
246
|
+
@mixin animationDuration($ms-duration) {
|
247
|
+
-webkit-animation-duration: $ms-duration;
|
248
|
+
-moz-animation-duration: $ms-duration;
|
249
|
+
-ms-animation-duration: $ms-duration;
|
250
|
+
-o-animation-duration: $ms-duration;
|
251
|
+
}
|
252
|
+
|
253
|
+
@mixin animationTiming($ms-function) {
|
254
|
+
-webkit-animation-timing-function: $ms-function;
|
255
|
+
-moz-animation-timing-function: $ms-function;
|
256
|
+
-ms-animation-timing-function: $ms-function;
|
257
|
+
-o-animation-timing-function: $ms-function;
|
258
|
+
animation-timing-function: $ms-function;
|
259
|
+
}
|
260
|
+
|
261
|
+
@mixin animationFillMode($ms-mode) {
|
262
|
+
-webkit-animation-fill-mode: $ms-mode;
|
263
|
+
-moz-animation-fill-mode: $ms-mode;
|
264
|
+
-ms-animation-fill-mode: $ms-mode;
|
265
|
+
-o-animation-fill-mode: $ms-mode;
|
266
|
+
animation-fill-mode: $ms-mode;
|
267
|
+
}
|
268
|
+
|
269
|
+
// Flexbox
|
270
|
+
@mixin flexBox() {
|
271
|
+
display: -ms-flexbox;
|
272
|
+
display: -webkit-flex;
|
273
|
+
display: flex;
|
274
|
+
}
|
275
|
+
|
276
|
+
@mixin alignItems($ms-mode) {
|
277
|
+
-webkit-box-align: $ms-mode;
|
278
|
+
-moz-box-align: $ms-mode;
|
279
|
+
-ms-flex-align: $ms-mode;
|
280
|
+
-webkit-align-items: $ms-mode;
|
281
|
+
align-items: $ms-mode;
|
282
282
|
}
|