main.css 7.1 KB

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