main.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /* unit */
  2. .bx-base-text-unit h2,
  3. .bx-base-text-unit h1 {
  4. margin:0;
  5. }
  6. .bx-base-text-unit .sys-icon {
  7. vertical-align:middle;
  8. }
  9. .bx-base-text-unit-cnt {
  10. width: 100%;
  11. }
  12. .bx-base-text-unit-no-thumb,
  13. .bx-base-text-unit-thumb {
  14. display:block;
  15. overflow:hidden;
  16. }
  17. .bx-base-text-unit-title,
  18. .bx-base-text-unit-summary {
  19. overflow: hidden;
  20. text-overflow: ellipsis;
  21. }
  22. .bx-base-text-unit-summary p {
  23. margin:0;
  24. }
  25. .bx-base-text-unit-cover {
  26. position: relative;
  27. }
  28. .bx-base-text-unit-text {
  29. width: 100%;
  30. overflow: hidden;
  31. text-overflow: ellipsis;
  32. }
  33. .bx-base-text-unit-title {
  34. display: flex;
  35. white-space: nowrap;
  36. }
  37. .bx-media-phone .bx-base-text-unit-title {
  38. white-space: normal;
  39. }
  40. .bx-base-text-unit-title,
  41. .bx-base-text-unit-title h2 {
  42. text-overflow: ellipsis;
  43. overflow: hidden;
  44. }
  45. .bx-base-text-unit-cover img {
  46. position: relative;
  47. display: block;
  48. width: 100%;
  49. min-height: 300px;
  50. object-fit: cover;
  51. }
  52. .bx-media-phone .bx-base-text-unit-cover img {
  53. height: 150px;
  54. }
  55. .bx-base-text-unit-info {
  56. white-space:nowrap;
  57. overflow:hidden;
  58. text-overflow:ellipsis;
  59. }
  60. .bx-base-text-unit-date {
  61. white-space: nowrap;
  62. }
  63. .bx-base-text-unit-gallery .bx-base-text-unit-no-thumb,
  64. .bx-base-text-unit-gallery .bx-base-text-unit-thumb {
  65. float:none;
  66. display:block;
  67. width:100%;
  68. background-size:cover;
  69. background-repeat:no-repeat;
  70. background-position:center center;
  71. line-height:1.25em;
  72. }
  73. .bx-base-text-unit-gallery h2 {
  74. margin-bottom: 0;
  75. max-height: 3.75em;
  76. line-height: 1.25em;
  77. white-space: nowrap;
  78. text-overflow: ellipsis;
  79. text-align: left;
  80. overflow: hidden;
  81. }
  82. .bx-base-text-wrapper {
  83. margin-bottom:0;
  84. }
  85. .bx-base-text-unit-ext .bx-base-text-unit-thumb {
  86. float:left;
  87. }
  88. .bx-base-text-unit-strecher {
  89. visibility: hidden;
  90. }
  91. /* unit meta */
  92. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li {
  93. margin-left: 0;
  94. }
  95. /* flexbox */
  96. .bx-base-text-unit-gallery-wrapper {
  97. display: -webkit-box;
  98. display: -webkit-flex;
  99. display: -ms-flexbox;
  100. display: flex;
  101. /* makes all items on a row equal height */
  102. -webkit-box-align: stretch;
  103. -webkit-align-items: stretch;
  104. -ms-flex-align: stretch;
  105. align-items: stretch;
  106. /* wrap onto the next line rather than stretching or shrinking */
  107. -webkit-flex-wrap: wrap;
  108. -ms-flex-wrap: wrap;
  109. flex-wrap: wrap;
  110. /* tells flexbox to start items from the left */
  111. -webkit-box-pack: start;
  112. -ms-flex-pack: start;
  113. flex-pack: start;
  114. -webkit-justify-content: flex-start;
  115. justify-content: flex-start;
  116. }
  117. .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  118. display: -webkit-box;
  119. display: -webkit-flex;
  120. display: -ms-flexbox;
  121. display: flex;
  122. -webkit-box-flex: 0;
  123. -webkit-flex: 0 0 100%;
  124. -ms-flex: 0 0 100%;
  125. flex: 0 0 100%;
  126. overflow:hidden;
  127. }
  128. /* MEDIA: phone2 */
  129. .bx-media-phone2 .bx-layout-column-half .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  130. .bx-media-phone2 .bx-layout-column-thin .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  131. -webkit-flex: 0 0 49.8%;
  132. -ms-flex: 0 0 49.8%;
  133. flex: 0 0 49.8%;
  134. }
  135. .bx-media-phone2 .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase {
  136. width:calc(50%);
  137. }
  138. /* MEDIA: tablet2 */
  139. .bx-media-tablet2 .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  140. .bx-media-tablet2 #sys_search_results .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  141. .bx-media-tablet2 .bx-layout-column-fullwidth .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  142. -webkit-flex: 0 0 49.8%;
  143. -ms-flex: 0 0 49.8%;
  144. flex: 0 0 49.8%;
  145. }
  146. .bx-media-tablet2 .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase {
  147. width:calc(50%);
  148. }
  149. /* MEDIA: desktop */
  150. .bx-media-desktop .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  151. -webkit-flex: 0 0 49.8%;
  152. -ms-flex: 0 0 49.8%;
  153. flex: 0 0 49.8%;
  154. }
  155. .bx-media-desktop #sys_search_results .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  156. .bx-media-desktop .bx-layout-column-fullwidth .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  157. -webkit-flex: 0 0 33.25%;
  158. -ms-flex: 0 0 33.25%;
  159. flex: 0 0 33.25%;
  160. }
  161. .bx-media-desktop .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase {
  162. width:calc(100%);
  163. }
  164. .bx-media-desktop .bx-layout-column-half .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase,
  165. .bx-media-desktop .bx-layout-column-wide .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase {
  166. width:calc(50%);
  167. }
  168. .bx-media-desktop #sys_search_results .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase,
  169. .bx-media-desktop .bx-layout-column-fullwidth .bx-base-unit-showcase-wrapper .bx-base-text-unit-showcase {
  170. width:calc(33.3%);
  171. }
  172. /* view page */
  173. .bx-base-text-title-bages h1 {
  174. overflow: hidden;
  175. text-overflow: ellipsis;
  176. }
  177. .bx-content-description-after .bx-vote-counter-wrapper {
  178. padding-top: 1rem;
  179. line-height: 2.5rem;
  180. font-size: 1.5rem;
  181. }
  182. .bx-base-text-entity-image img {
  183. width: 100%;
  184. }
  185. .bx-base-text-entity-actions-all .bx-base-text-entity-share,
  186. .bx-base-text-entity-actions-all .bx-menu-btns-hor {
  187. display:inline-block;
  188. vertical-align:top;
  189. }
  190. /* MEDIA: desktop */
  191. .bx-media-desktop .bx-layout-column-wide .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  192. -webkit-flex: 0 0 49.8%;
  193. -ms-flex: 0 0 49.8%;
  194. flex: 0 0 49.8%;
  195. }
  196. .bx-media-desktop #sys_search_results .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  197. .bx-media-desktop .bx-layout-column-fullwidth .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  198. -webkit-flex: 0 0 33.25%;
  199. -ms-flex: 0 0 33.25%;
  200. flex: 0 0 33.25%;
  201. }
  202. .bx-media-desktop .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  203. width:calc(33.3%);
  204. }
  205. .bx-media-desktop .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  206. width:calc(100%);
  207. }
  208. .bx-media-desktop .bx-layout-column-half .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  209. width:calc(50%);
  210. }
  211. .bx-media-desktop .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  212. width:calc(6.25%);
  213. }
  214. .bx-media-desktop .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  215. width:calc(25.0%);
  216. }
  217. .bx-media-desktop .bx-layout-column-half .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  218. width:calc(10.0%);
  219. }