Skip to content

Commit 34eff14

Browse files
author
Stephanie Hobson
committed
Disable no-unknown-animation rule on global animations
1 parent 5456249 commit 34eff14

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

assets/sass/protocol/components/_menu.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
&.mzp-is-animated {
180180
.mzp-c-menu-panel,
181181
.mzp-c-menu-title::after {
182-
animation: mzp-a-fade-in 80ms ease-in 0ms 1 normal both;
182+
animation: mzp-a-fade-in 80ms ease-in 0ms 1 normal both; /* stylelint-disable-line no-unknown-animations */
183183
}
184184
}
185185

assets/sass/protocol/components/_modal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ html.mzp-is-noscroll {
3131
}
3232

3333
.mzp-c-modal {
34-
animation: mzp-a-fade-in 300ms ease-in 0ms 1 normal both;
34+
animation: mzp-a-fade-in 300ms ease-in 0ms 1 normal both; /* stylelint-disable-line no-unknown-animations */
3535
background: $color-black;
3636
background: rgba(0, 0, 0, 0.85);
3737
bottom: 0;

assets/sass/protocol/components/_sticky-promo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $logos: (
5353
}
5454

5555
&.mzp-a-fade-out {
56-
animation: mzp-a-fade-out 100ms ease 5ms both;
56+
animation: mzp-a-fade-out 100ms ease 5ms both; /* stylelint-disable-line no-unknown-animations */
5757
}
5858

5959
@media #{$mq-sm} {

assets/sass/protocol/includes/mixins/_details.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
@use '../tokens';
66
@use 'bidi';
77
@use 'images';
8-
@use 'utils';
98

109
@mixin details {
1110
.is-summary {
@@ -34,9 +33,9 @@
3433

3534
&::before {
3635
background: images.$url-image-expand-black top left no-repeat;
37-
@include utils.background-size(20px, 20px);
36+
background-size: 20px, 20px;
3837
@include bidi.bidi(((right, 8px, left, auto),));
39-
@include utils.transition(transform 100ms ease-in-out);
38+
transition: transform 100ms ease-in-out;
4039
content: '';
4140
height: 20px;
4241
margin-top: -8px;
@@ -47,5 +46,5 @@
4746
}
4847

4948
@mixin summary-open {
50-
@include utils.transform(rotate(45deg));
49+
transform: rotate(45deg);
5150
}

assets/sass/protocol/includes/mixins/_grid.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

55
@use '../tokens';
6-
@use 'utils';
76

87
// Grid columns
98
$column-width: 8.333%; // 100% / 12 columns
@@ -13,7 +12,7 @@ $gutter-width: tokens.$layout-sm;
1312
// Usage:
1413
// .foo { @include colspan(4); }
1514
@mixin colspan($columns) {
16-
@include utils.border-box;
15+
box-sizing: border-box;
1716
width: $column-width * $columns;
1817
padding-left: $gutter-width * 0.5;
1918
padding-right: $gutter-width * 0.5;
@@ -25,26 +24,26 @@ $gutter-width: tokens.$layout-sm;
2524
}
2625

2726
@mixin grid-quarter {
28-
@include utils.border-box;
27+
box-sizing: border-box;
2928
width: 25%;
3029
}
3130

3231
@mixin grid-third {
33-
@include utils.border-box;
32+
box-sizing: border-box;
3433
width: 33.333%;
3534
}
3635

3736
@mixin grid-half {
38-
@include utils.border-box;
37+
box-sizing: border-box;
3938
width: 50%;
4039
}
4140

4241
@mixin grid-two-thirds {
43-
@include utils.border-box;
42+
box-sizing: border-box;
4443
width: 66.666%;
4544
}
4645

4746
@mixin grid-three-quarters {
48-
@include utils.border-box;
47+
box-sizing: border-box;
4948
width: 75%;
5049
}

0 commit comments

Comments
 (0)