main.css 7.7 KB

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