3 * Provides media integration with pure CSS fluid video wrapper.
14 /* Ensures not affecting iframe only without media switcher */
15 .media--player.media--ratio > iframe {
22 -webkit-transition: visibility 0s linear 0.5s, opacity 0.5s linear;
23 transition: visibility 0s linear 0.5s, opacity 0.5s linear;
37 .media__icon--spinner {
40 margin: -40px 0 0 -40px;
45 .media__icon--close::before,
46 .media__icon--close::after,
47 .media__icon--play::before {
54 .media--loading .media__icon--play::before {
58 .media__icon--close::before,
59 .media__icon--close::after {
64 margin: -4px 0 0 -40px;
67 -ms-transform: rotate(45deg);
68 -webkit-transform: rotate(45deg);
69 transform: rotate(45deg);
72 .media__icon--close::after {
73 -ms-transform: rotate(-45deg);
74 -webkit-transform: rotate(-45deg);
75 transform: rotate(-45deg);
78 .media__icon--close:hover::before,
79 .media__icon--close:hover::after {
80 background-color: #ff6d2c;
83 .is-playing .media__icon--close {
88 border: 8px solid white;
92 .media__icon--play::before {
93 border: 16px solid transparent;
94 border-left: 24px solid white;
97 margin: -16px 0 0 -6px;
101 .media__icon--play:hover {
102 border-color: #ff6d2c;
105 .media__icon--play:hover::before {
106 border-left-color: #ff6d2c;
109 .is-playing:hover .media__icon {
110 -webkit-transition-delay: 0s;
111 transition-delay: 0s;
114 .media--switch .media__image,
116 .media:hover .media__icon--litebox,
117 .is-playing .media__iframe,
118 .is-playing.media--ratio > iframe,
119 .is-playing:hover .media__icon--close {
125 .is-playing > .media__image,
126 .is-playing.media--switch .media__image,
127 .is-playing .media__icon--play,
128 .is-playing:hover .media__icon--play {
135 .is-playing .media__iframe {
142 .no-js .media--player .media__image,
143 .no-js .media--player .media__icon {
148 .no-js .media--player .media__iframe {
153 /** Prevents Twitter iframe from breaking grid, even if unholy. */
154 .grid .twitter-tweet-rendered {
155 margin: 0 !important;
156 min-width: 1px !important;
159 /** Fix for overflowing Facebook/ Twitter iframes. */
161 .grid .fb_iframe_widget {
165 .grid .fb_iframe_widget span {
166 width: 100% !important;
169 .grid .fb_iframe_widget iframe {
170 position: relative !important;