main.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /* flexbox */
  2. .bx-stories-medias-wrapper {
  3. display: -webkit-box;
  4. display: -webkit-flex;
  5. display: -ms-flexbox;
  6. display: flex;
  7. /* makes all items on a row equal height */
  8. -webkit-box-align: stretch;
  9. -webkit-align-items: stretch;
  10. -ms-flex-align: stretch;
  11. align-items: stretch;
  12. /* wrap onto the next line rather than stretching or shrinking */
  13. -webkit-flex-wrap: wrap;
  14. -ms-flex-wrap: wrap;
  15. flex-wrap: wrap;
  16. /* tells flexbox to start items from the left */
  17. -webkit-box-pack: start;
  18. -ms-flex-pack: start;
  19. plex-pack: start;
  20. -webkit-justify-content: flex-start;
  21. justify-content: flex-start;
  22. }
  23. .bx-stories-medias-wrapper .bx-stories-media-wrapper {
  24. -webkit-box-flex: 0;
  25. -webkit-flex: 0 0 100%;
  26. -ms-flex: 0 0 100%;
  27. flex: 0 0 100%;
  28. max-width: 100%;
  29. }
  30. .bx-stories-media-wrapper .bx-stories-unit-size {
  31. width: 100%;
  32. height: auto;
  33. min-height: 10rem;
  34. object-fit: cover;
  35. }
  36. /* MEDIA: phone2 */
  37. .bx-media-phone2 .bx-layout-column-half .bx-stories-medias-wrapper .bx-stories-media-wrapper,
  38. .bx-media-phone2 .bx-layout-column-thin .bx-stories-medias-wrapper .bx-stories-media-wrapper {
  39. -webkit-flex: 0 0 49.8%;
  40. -ms-flex: 0 0 49.8%;
  41. flex: 0 0 49.8%;
  42. max-width: 49.8%;
  43. }
  44. /* MEDIA: tablet2 */
  45. .bx-media-tablet2 #sys_search_results .bx-stories-medias-wrapper .bx-stories-media-wrapper,
  46. .bx-media-tablet2 .bx-layout-column-wide .bx-stories-medias-wrapper .bx-stories-media-wrapper,
  47. .bx-media-tablet2 .bx-layout-column-fullwidth .bx-stories-medias-wrapper .bx-stories-media-wrapper {
  48. -webkit-flex: 0 0 49.8%;
  49. -ms-flex: 0 0 49.8%;
  50. flex: 0 0 49.8%;
  51. max-width: 49.8%;
  52. }
  53. .bx-media-tablet2 .bx-layout-column-wide .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size {
  54. width: 100%;
  55. height: auto;
  56. }
  57. .bx-media-tablet2 #sys_search_results .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size,
  58. .bx-media-tablet2 .bx-layout-column-fullwidth .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size {
  59. height: 18.0rem;
  60. }
  61. /* MEDIA: desktop */
  62. .bx-media-desktop .bx-layout-column-wide .bx-stories-medias-wrapper .bx-stories-media-wrapper {
  63. -webkit-flex: 0 0 49.8%;
  64. -ms-flex: 0 0 49.8%;
  65. flex: 0 0 49.8%;
  66. max-width: 49.8%;
  67. }
  68. .bx-media-desktop .bx-layout-column-wide .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size {
  69. width: 100%;
  70. height: auto;
  71. }
  72. .bx-media-desktop #sys_search_results .bx-stories-medias-wrapper .bx-stories-media-wrapper,
  73. .bx-media-desktop .bx-layout-column-fullwidth .bx-stories-medias-wrapper .bx-stories-media-wrapper {
  74. -webkit-flex: 0 0 33.25%;
  75. -ms-flex: 0 0 33.25%;
  76. flex: 0 0 33.25%;
  77. max-width: 33.25%;
  78. }
  79. .bx-media-desktop #sys_search_results .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size,
  80. .bx-media-desktop .bx-layout-column-half .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size,
  81. .bx-media-desktop .bx-layout-column-fullwidth .bx-stories-medias-wrapper .bx-stories-media-wrapper .bx-stories-unit-size {
  82. height: 18.0rem;
  83. }
  84. .bx-search-result-block .bx-base-text-unit-gallery-wrapper {
  85. display: block;
  86. }
  87. .bx-search-result-block.bx-base-text-unit-gallery-wrapper .bx-base-text-unit.bx-base-text-unit-gallery {
  88. display: inline-block;
  89. }
  90. .bx-search-result-block.bx-stories-media .bx-search-result-content {
  91. display: -webkit-flex;
  92. display: flex;
  93. -webkit-flex-wrap: wrap;
  94. flex-wrap: wrap;
  95. margin: -0.5rem;
  96. }
  97. .bx-stories-media-thumb {
  98. position: relative;
  99. }
  100. .bx-stories-media-thumb a {
  101. position: relative;
  102. display: -webkit-flex;
  103. display: flex;
  104. -webkit-justify-content: center;
  105. justify-content: center;
  106. -webkit-align-items: center;
  107. align-items: center;
  108. }
  109. .bx-stories-media-play {
  110. position: absolute;
  111. width: 3rem;
  112. height: 3rem;
  113. background-color: rgba(255, 255, 255, 0.3);
  114. text-align: center;
  115. line-height: 3rem;
  116. font-size: 1.5rem;
  117. }
  118. .bx-stories-media-duration {
  119. position: absolute;
  120. right: 10px;
  121. bottom: 10px;
  122. background-color: rgba(255, 255, 255, 0.9);
  123. }
  124. .bx-stories-media-caption {
  125. white-space:nowrap;
  126. overflow:hidden;
  127. text-overflow:ellipsis;
  128. }
  129. .bx-stories-media-actions {
  130. text-align: center;
  131. }
  132. .bx-base-text-unit-ext .bx-stories-unit-text-cont {
  133. text-align: left;
  134. }
  135. .bx-stories-unit-images {
  136. white-space:nowrap;
  137. width:100%;
  138. overflow: hidden;
  139. }
  140. .bx-stories-unit-image {
  141. display: inline-block;
  142. margin-right: 0.125rem;
  143. }
  144. .bx-stories-unit-image,
  145. .bx-stories-unit-image img {
  146. height: 11.25rem;
  147. }
  148. .bx-stories-unit-image {
  149. display: -webkit-inline-flex;
  150. display: inline-flex;
  151. -webkit-justify-content: center;
  152. justify-content: center;
  153. -webkit-align-items: center;
  154. align-items: center;
  155. }
  156. .bx-base-text-unit-gallery .bx-stories-unit-images-cont {
  157. padding: 0.125rem 0.125rem 0 0.125rem;
  158. }
  159. .bx-base-text-unit-gallery .bx-stories-unit-text-cont {
  160. line-height: 150%;
  161. }
  162. .bx-base-text-unit-gallery .bx-stories-unit-text-cont .bx-base-text-unit-title {
  163. text-align: left;
  164. }
  165. .bx-stories-media-file {
  166. text-align: center;
  167. }
  168. .bx-stories-media-file img,
  169. .bx-stories-media-file video {
  170. max-width:100%;
  171. }
  172. .bx-stories-media-title {
  173. position:relative;
  174. padding-right:6rem;
  175. }
  176. .bx-stories-media-title h1,
  177. .bx-stories-media-title h2,
  178. .bx-stories-media-title p {
  179. margin:0;
  180. }
  181. .bx-stories-media-controls {
  182. position:absolute;
  183. top:0;
  184. right:0;
  185. }
  186. /*--- Play popup ---*/
  187. .bx-stories-play {
  188. width: 20rem;
  189. }
  190. .bx-stories-p-list .bx-stories-pl-media {
  191. display: none;
  192. }
  193. .bx-stories-p-list .bx-stories-pl-media:first-child {
  194. display: flex;
  195. }
  196. .bx-stories-pl-media {
  197. max-width: 18rem;
  198. }