diff --git a/packages/react/src/components/Card/CardContent.js b/packages/react/src/components/Card/CardContent.js index ebffebf63..5992fb697 100644 --- a/packages/react/src/components/Card/CardContent.js +++ b/packages/react/src/components/Card/CardContent.js @@ -83,6 +83,7 @@ const Footer = styled('footer').attrs({ className: classNames.url })` const Author = styled(CardText)` opacity: 0.75; transition: opacity ${transition.medium}; + will-change: opacity; .${classNames.main}:hover & { opacity: 1; @@ -95,6 +96,7 @@ const PoweredBy = styled('span').attrs({ title: 'microlink.io' })` display: block; margin-left: 15px; transition: filter ${transition.medium}, opacity ${transition.medium}; + will-change: filter, opacity; &:not(:hover) { filter: grayscale(100%); opacity: 0.75; diff --git a/packages/react/src/components/Card/CardMedia/Controls/FooterControls.js b/packages/react/src/components/Card/CardMedia/Controls/FooterControls.js index 91711026e..a14879fce 100644 --- a/packages/react/src/components/Card/CardMedia/Controls/FooterControls.js +++ b/packages/react/src/components/Card/CardMedia/Controls/FooterControls.js @@ -41,6 +41,7 @@ const BottomControls = styled('div')` justify-content: center; align-items: center; transition: opacity ${transition.medium}; + will-change: opacity; .${classNames.main}:not(:hover) & { opacity: 0; diff --git a/packages/react/src/components/Card/CardMedia/Controls/MediaButton.js b/packages/react/src/components/Card/CardMedia/Controls/MediaButton.js index 6131d815e..237ecff16 100644 --- a/packages/react/src/components/Card/CardMedia/Controls/MediaButton.js +++ b/packages/react/src/components/Card/CardMedia/Controls/MediaButton.js @@ -5,6 +5,7 @@ const MediaButton = styled('div')` backface-visibility: hidden; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); transition: transform ${transition.short}; + will-change: transform; > svg { display: block; diff --git a/packages/react/src/components/Card/CardMedia/Controls/ProgressBar.js b/packages/react/src/components/Card/CardMedia/Controls/ProgressBar.js index 21adefdbf..d49783062 100644 --- a/packages/react/src/components/Card/CardMedia/Controls/ProgressBar.js +++ b/packages/react/src/components/Card/CardMedia/Controls/ProgressBar.js @@ -22,7 +22,8 @@ const ProgressBar = styled('div').attrs(({ progress }) => ({ bottom: 0; background: #e1e8ed; height: ${props => getProgressBarSize(props)}px; - transition: opacity ${transition.medium}, background ${transition.medium}; + transition: background ${transition.medium}; + will-change: background; .${classNames.main}:hover & { background: #fff; diff --git a/packages/react/src/components/Card/CardMedia/Controls/index.js b/packages/react/src/components/Card/CardMedia/Controls/index.js index 283811bdc..74b46ab9e 100644 --- a/packages/react/src/components/Card/CardMedia/Controls/index.js +++ b/packages/react/src/components/Card/CardMedia/Controls/index.js @@ -22,6 +22,7 @@ const OuterWrap = styled('div').attrs({ className: classNames.mediaControls })` right: 0; bottom: 0; transition: background ${transition.long}; + will-change: background; .${classNames.main}:hover & { background: rgba(0, 0, 0, 0.35); @@ -39,6 +40,7 @@ const InnerWrap = styled('div')` justify-content: center; z-index: 2; transition: opacity ${transition.medium}; + will-change: opacity; .${classNames.main}:not(:hover) & { opacity: ${({ opacity = 0 }) => opacity}; diff --git a/packages/react/src/components/Card/CardWrap.js b/packages/react/src/components/Card/CardWrap.js index 240e2925d..56b408a6f 100644 --- a/packages/react/src/components/Card/CardWrap.js +++ b/packages/react/src/components/Card/CardWrap.js @@ -11,6 +11,7 @@ const contrastStyle = ({ backgroundColor, color }) => css` background-color: ${backgroundColor}; border-color: ${color}; transition-property: filter; + will-change: filter; &&& { color: ${color}; @@ -24,8 +25,6 @@ const contrastStyle = ({ backgroundColor, color }) => css` const largeStyle = css` flex-direction: column; height: ${HEIGHT}; - transition-property: background, border-color, height; - ${media.mobile` height: calc(${HEIGHT} * 7/9); `}; @@ -33,6 +32,7 @@ const largeStyle = css` const hoverStyle = css` transition-property: background, border-color; + will-change: background, border-color; &:hover { background: #f5f8fa; border-color: rgba(136, 153, 166, 0.5); diff --git a/packages/react/stories/__snapshots__/stories.test.js.snap b/packages/react/stories/__snapshots__/stories.test.js.snap index b47888d9a..20a84ec64 100644 --- a/packages/react/stories/__snapshots__/stories.test.js.snap +++ b/packages/react/stories/__snapshots__/stories.test.js.snap @@ -171,8 +171,8 @@ exports[`Storyshots media audio 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -182,8 +182,8 @@ exports[`Storyshots media audio 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -193,8 +193,8 @@ exports[`Storyshots media audio 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -205,8 +205,8 @@ exports[`Storyshots media audio 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -232,8 +232,8 @@ exports[`Storyshots media audio 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -257,8 +257,8 @@ exports[`Storyshots media audio 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -369,8 +369,6 @@ exports[`Storyshots media audio 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -396,6 +394,10 @@ exports[`Storyshots media audio 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -540,8 +542,8 @@ exports[`Storyshots media iframe 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -551,8 +553,8 @@ exports[`Storyshots media iframe 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -563,8 +565,8 @@ exports[`Storyshots media iframe 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -588,8 +590,8 @@ exports[`Storyshots media iframe 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -872,8 +874,8 @@ exports[`Storyshots media image 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -883,8 +885,8 @@ exports[`Storyshots media image 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -894,8 +896,8 @@ exports[`Storyshots media image 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -906,8 +908,8 @@ exports[`Storyshots media image 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -933,8 +935,8 @@ exports[`Storyshots media image 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -958,8 +960,8 @@ exports[`Storyshots media image 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -1070,8 +1072,6 @@ exports[`Storyshots media image 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -1097,6 +1097,10 @@ exports[`Storyshots media image 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -1355,8 +1359,8 @@ exports[`Storyshots media logo 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -1366,8 +1370,8 @@ exports[`Storyshots media logo 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -1377,8 +1381,8 @@ exports[`Storyshots media logo 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -1389,8 +1393,8 @@ exports[`Storyshots media logo 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -1416,8 +1420,8 @@ exports[`Storyshots media logo 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -1441,8 +1445,8 @@ exports[`Storyshots media logo 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -1553,8 +1557,6 @@ exports[`Storyshots media logo 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -1580,6 +1582,10 @@ exports[`Storyshots media logo 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -1838,8 +1844,8 @@ exports[`Storyshots media screenshot 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -1849,8 +1855,8 @@ exports[`Storyshots media screenshot 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -1860,8 +1866,8 @@ exports[`Storyshots media screenshot 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -1872,8 +1878,8 @@ exports[`Storyshots media screenshot 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -1899,8 +1905,8 @@ exports[`Storyshots media screenshot 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -1924,8 +1930,8 @@ exports[`Storyshots media screenshot 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -2036,8 +2042,6 @@ exports[`Storyshots media screenshot 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -2063,6 +2067,10 @@ exports[`Storyshots media screenshot 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -2321,8 +2329,8 @@ exports[`Storyshots media video 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -2332,8 +2340,8 @@ exports[`Storyshots media video 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -2343,8 +2351,8 @@ exports[`Storyshots media video 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -2355,8 +2363,8 @@ exports[`Storyshots media video 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -2382,8 +2390,8 @@ exports[`Storyshots media video 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -2407,8 +2415,8 @@ exports[`Storyshots media video 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -2519,8 +2527,6 @@ exports[`Storyshots media video 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -2546,6 +2552,10 @@ exports[`Storyshots media video 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -2804,8 +2814,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -2815,8 +2825,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -2826,8 +2836,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -2838,8 +2848,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -2865,8 +2875,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -2890,8 +2900,8 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -3002,8 +3012,6 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -3029,6 +3037,10 @@ exports[`Storyshots props autoPlay (disabled) 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -3287,8 +3299,8 @@ exports[`Storyshots props contrast 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -3298,8 +3310,8 @@ exports[`Storyshots props contrast 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -3309,8 +3321,8 @@ exports[`Storyshots props contrast 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -3321,8 +3333,8 @@ exports[`Storyshots props contrast 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -3348,8 +3360,8 @@ exports[`Storyshots props contrast 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -3373,8 +3385,8 @@ exports[`Storyshots props contrast 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -3427,6 +3439,7 @@ exports[`Storyshots props contrast 1`] = ` transition-timing-function: cubic-bezier(.25,.8,.25,1); -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c2:active, @@ -3462,6 +3475,7 @@ exports[`Storyshots props contrast 1`] = ` transition-timing-function: cubic-bezier(.25,.8,.25,1); -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c10:active, @@ -3499,10 +3513,9 @@ exports[`Storyshots props contrast 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c14:active, @@ -3533,6 +3546,10 @@ exports[`Storyshots props contrast 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -3791,8 +3808,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -3802,8 +3819,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -3813,8 +3830,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -3825,8 +3842,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -3852,8 +3869,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -3877,8 +3894,8 @@ exports[`Storyshots props controls (disabled) 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -3989,8 +4006,6 @@ exports[`Storyshots props controls (disabled) 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -4016,6 +4031,10 @@ exports[`Storyshots props controls (disabled) 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -4274,8 +4293,8 @@ exports[`Storyshots props default 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -4285,8 +4304,8 @@ exports[`Storyshots props default 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -4296,8 +4315,8 @@ exports[`Storyshots props default 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -4308,8 +4327,8 @@ exports[`Storyshots props default 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -4335,8 +4354,8 @@ exports[`Storyshots props default 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -4360,8 +4379,8 @@ exports[`Storyshots props default 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -4472,8 +4491,6 @@ exports[`Storyshots props default 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c14:active, @@ -4499,6 +4516,10 @@ exports[`Storyshots props default 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -4757,8 +4778,8 @@ exports[`Storyshots props direction + contrast 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -4768,8 +4789,8 @@ exports[`Storyshots props direction + contrast 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -4779,8 +4800,8 @@ exports[`Storyshots props direction + contrast 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -4791,8 +4812,8 @@ exports[`Storyshots props direction + contrast 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -4818,8 +4839,8 @@ exports[`Storyshots props direction + contrast 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -4843,8 +4864,8 @@ exports[`Storyshots props direction + contrast 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -4900,6 +4921,7 @@ exports[`Storyshots props direction + contrast 1`] = ` flex-direction: row-reverse; -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c2:active, @@ -4938,6 +4960,7 @@ exports[`Storyshots props direction + contrast 1`] = ` flex-direction: row-reverse; -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c10:active, @@ -4975,13 +4998,12 @@ exports[`Storyshots props direction + contrast 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; -webkit-flex-direction: column-reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; -webkit-transition-property: background,border-color; transition-property: background,border-color; + will-change: background,border-color; } .c14:active, @@ -5012,6 +5034,10 @@ exports[`Storyshots props direction + contrast 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -5270,8 +5296,8 @@ exports[`Storyshots props direction 1`] = ` } .c5 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c7 { @@ -5281,8 +5307,8 @@ exports[`Storyshots props direction 1`] = ` background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c13 { @@ -5292,8 +5318,8 @@ exports[`Storyshots props direction 1`] = ` background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c8 { @@ -5304,8 +5330,8 @@ exports[`Storyshots props direction 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -5331,8 +5357,8 @@ exports[`Storyshots props direction 1`] = ` margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -5356,8 +5382,8 @@ exports[`Storyshots props direction 1`] = ` display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -5474,8 +5500,6 @@ exports[`Storyshots props direction 1`] = ` -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; -webkit-flex-direction: column-reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; @@ -5504,6 +5528,10 @@ exports[`Storyshots props direction 1`] = ` } } +@media (max-width:48em) { + +} + @media (max-width:48em) { .c14 { height: calc(382px * 7/9); @@ -5763,8 +5791,8 @@ Array [ } .c6 { - -webkit-animation: hKAHOv 1.25s linear infinite; - animation: hKAHOv 1.25s linear infinite; + -webkit-animation: PfPAm 1.25s linear infinite; + animation: PfPAm 1.25s linear infinite; } .c8 { @@ -5774,8 +5802,8 @@ Array [ background: #e1e8ed; margin: 2px 0 8px; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c14 { @@ -5785,8 +5813,8 @@ Array [ background: #e1e8ed; margin: 0 20px 0 0; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; } .c9 { @@ -5797,8 +5825,8 @@ Array [ margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -5824,8 +5852,8 @@ Array [ margin-bottom: 12px; opacity: 0.8; position: relative; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: 0.125s; animation-delay: 0.125s; } @@ -5849,8 +5877,8 @@ Array [ display: block; background: #e1e8ed; opacity: 0.8; - -webkit-animation: kQScTh .75s linear infinite; - animation: kQScTh .75s linear infinite; + -webkit-animation: bmjNQl .75s linear infinite; + animation: bmjNQl .75s linear infinite; -webkit-animation-delay: .25s; animation-delay: .25s; } @@ -5975,8 +6003,6 @@ Array [ -ms-flex-direction: column; flex-direction: column; height: 382px; - -webkit-transition-property: background,border-color,height; - transition-property: background,border-color,height; } .c15:active, @@ -6002,12 +6028,24 @@ Array [ } } +@media (max-width:48em) { + +} + +@media (max-width:48em) { + +} + @media (max-width:48em) { .c15 { height: calc(382px * 7/9); } } +@media (max-width:48em) { + +} +