3 * Provides media integration with pure CSS fluid video wrapper.
14 /** Ensures not affecting iframe only without media switcher */
15 .media--switch iframe {
21 .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;
84 border: 8px solid white;
88 .media__icon--play::before {
89 border: 16px solid transparent;
90 border-left: 24px solid white;
93 margin: -16px 0 0 -6px;
97 .media__icon--play:hover {
98 border-color: #ff6d2c;
101 .media__icon--play:hover::before {
102 border-left-color: #ff6d2c;
105 .is-playing:hover .media__icon {
106 -webkit-transition-delay: 0s;
107 transition-delay: 0s;
110 .is-playing .media__icon--close {
115 .media:hover .media__icon--litebox,
117 .media--switch.is-playing iframe,
118 .media--switch.is-playing:hover .media__icon--close {
123 .media--switch.is-playing img,
124 .media--switch.is-playing .media__icon--play,
125 .media--switch.is-playing:hover .media__icon--play {
132 .media--switch.is-playing iframe {
139 .no-js .media--player .media__image,
140 .no-js .media--player .media__icon {
145 .no-js .media--player .media__iframe {
150 /** Prevents Twitter iframe from breaking grid, even if unholy. */
151 .grid .twitter-tweet-rendered {
152 margin: 0 !important;
153 min-width: 1px !important;
156 /** Fix for overflowing Facebook/ Twitter iframes. */
158 .grid .fb_iframe_widget {
162 .grid .fb_iframe_widget span {
163 width: 100% !important;
166 .grid .fb_iframe_widget iframe {
167 position: relative !important;