main.css 5.5 KB

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