main.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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. white-space:nowrap;
  61. overflow:hidden;
  62. text-overflow:ellipsis;
  63. }
  64. .bx-base-text-unit-date {
  65. white-space: nowrap;
  66. }
  67. .bx-base-text-unit-gallery .bx-base-text-unit-no-thumb,
  68. .bx-base-text-unit-gallery .bx-base-text-unit-thumb {
  69. float:none;
  70. line-height:1.25em;
  71. background-size:cover;
  72. background-repeat:no-repeat;
  73. background-position:center center;
  74. display:table;
  75. width:100%;
  76. }
  77. .bx-base-text-unit-gallery h2 {
  78. margin-bottom: 0;
  79. max-height: 3.75em;
  80. line-height: 1.25em;
  81. white-space: nowrap;
  82. text-overflow: ellipsis;
  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. /* flexbox */
  95. .bx-base-text-unit-gallery-wrapper {
  96. display: -webkit-box;
  97. display: -webkit-flex;
  98. display: -ms-flexbox;
  99. display: flex;
  100. /* makes all items on a row equal height */
  101. -webkit-box-align: stretch;
  102. -webkit-align-items: stretch;
  103. -ms-flex-align: stretch;
  104. align-items: stretch;
  105. /* wrap onto the next line rather than stretching or shrinking */
  106. -webkit-flex-wrap: wrap;
  107. -ms-flex-wrap: wrap;
  108. flex-wrap: wrap;
  109. /* tells flexbox to start items from the left */
  110. -webkit-box-pack: start;
  111. -ms-flex-pack: start;
  112. flex-pack: start;
  113. -webkit-justify-content: flex-start;
  114. justify-content: flex-start;
  115. margin-bottom: 10px;
  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 (min-width:533px) and (max-width:720px) {
  129. .bx-layout-column-half .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  130. .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-base-unit-showcase-wrapper .bx-base-unit-showcase
  136. {
  137. width:calc(50%);
  138. }
  139. }
  140. @media (min-width:533px) and (max-width:1024px) {
  141. .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  142. #sys_search_results .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  143. .bx-layout-column-fullwidth .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  144. -webkit-flex: 0 0 49.8%;
  145. -ms-flex: 0 0 49.8%;
  146. flex: 0 0 49.8%;
  147. }
  148. .bx-base-unit-showcase-wrapper .bx-base-unit-showcase
  149. {
  150. width:calc(50%);
  151. }
  152. }
  153. @media (min-width:1024px) {
  154. .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  155. -webkit-flex: 0 0 49.8%;
  156. -ms-flex: 0 0 49.8%;
  157. flex: 0 0 49.8%;
  158. }
  159. #sys_search_results .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery,
  160. .bx-layout-column-fullwidth .bx-base-text-unit-gallery-wrapper .bx-base-text-unit-gallery {
  161. -webkit-flex: 0 0 33.25%;
  162. -ms-flex: 0 0 33.25%;
  163. flex: 0 0 33.25%;
  164. }
  165. .bx-base-unit-showcase-wrapper .bx-base-unit-showcase
  166. {
  167. width:calc(50%);
  168. }
  169. }
  170. /* view page */
  171. .bx-base-text-entity-content,
  172. .bx-base-text-entity-content p,
  173. .bx-base-text-entity-content h1,
  174. .bx-base-text-entity-content h2,
  175. .bx-base-text-entity-content h3 {
  176. overflow: hidden;
  177. text-overflow: ellipsis;
  178. }
  179. .bx-base-text-entity-content p:first-child,
  180. .bx-base-text-entity-content h2:first-child,
  181. .bx-base-text-entity-content h1:first-child {
  182. margin-top:0;
  183. }
  184. .bx-base-text-entity-content p:last-child,
  185. .bx-base-text-entity-content h2:last-child,
  186. .bx-base-text-entity-content h1:last-child {
  187. margin-bottom:0;
  188. }
  189. .bx-base-text-entity-actions-all .bx-base-text-entity-share,
  190. .bx-base-text-entity-actions-all .bx-menu-btns-hor {
  191. display:inline-block;
  192. vertical-align:top;
  193. }