main.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. /* breadcrumb */
  2. div.bx-base-general-breadcrumb {
  3. white-space: nowrap;
  4. overflow: hidden;
  5. }
  6. div.bx-base-general-breadcrumb a,
  7. div.bx-base-general-breadcrumb i {
  8. display: inline-block;
  9. vertical-align: top;
  10. height: 2.2rem;
  11. line-height: 2.2rem;
  12. }
  13. .bx-base-general-breadcrumb-home i.sys-icon {
  14. font-size: 2.0rem;
  15. }
  16. /* view entry */
  17. .bx-base-general-entity-info > p:first-child {
  18. margin-top:0;
  19. }
  20. /* view entry: actions */
  21. .bx-base-general-entity-actions ul.bx-menu-custom-hor {
  22. position: relative;
  23. display: -webkit-flex;
  24. display: flex;
  25. -webkit-align-items: center;
  26. align-items: center;
  27. -webkit-justify-content: flex-start;
  28. justify-content: flex-start;
  29. -webkit-flex-wrap: wrap;
  30. flex-wrap: wrap;
  31. }
  32. .bx-base-general-entity-actions ul.bx-menu-custom-hor.bx-menu-more-auto {
  33. -webkit-flex-wrap: nowrap;
  34. flex-wrap: nowrap;
  35. }
  36. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item {
  37. white-space: nowrap;
  38. }
  39. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .cmt-element-holder,
  40. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .cmt-counter-holder,
  41. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-view-element-holder,
  42. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-view-counter-holder,
  43. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-vote-element-holder,
  44. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-vote-counter-holder,
  45. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-score-element-holder,
  46. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-score-counter-holder,
  47. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-favorite-element-holder,
  48. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-favorite-counter-holder,
  49. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-report-element-holder,
  50. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-report-counter-holder,
  51. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-tl-repost-element-holder,
  52. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-tl-repost-counter-holder {
  53. float: none;
  54. display: inline-block;
  55. vertical-align: top;
  56. }
  57. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .cmt-counter-holder,
  58. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-view-counter-holder,
  59. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-vote-counter-holder,
  60. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-score-counter-holder,
  61. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-favorite-counter-holder,
  62. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-report-counter-holder,
  63. .bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item .bx-tl-repost-counter-holder {
  64. line-height: normal;
  65. }
  66. .bx-base-general-entity-actions .cmt,
  67. .bx-base-general-entity-actions .bx-view,
  68. .bx-base-general-entity-actions .bx-vote,
  69. .bx-base-general-entity-actions .bx-score,
  70. .bx-base-general-entity-actions .bx-favorite,
  71. .bx-base-general-entity-actions .bx-feature,
  72. .bx-base-general-entity-actions .bx-report,
  73. .bx-base-general-entity-actions .bx-tl-repost,
  74. .bx-base-general-entity-actions .bx-menu-btns-hor.bx-menu-object-sys_social_sharing,
  75. .bx-base-general-entity-actions .bx-base-general-entity-action {
  76. position: relative;
  77. float: none;
  78. display: inline-block;
  79. vertical-align: top;
  80. margin: 0;
  81. padding: 0;
  82. }
  83. /* TODO: Remove this at the end */
  84. .bx-base-general-entity-share .bx-base-general-comments,
  85. .bx-base-general-entity-share .bx-view,
  86. .bx-base-general-entity-share .bx-vote,
  87. .bx-base-general-entity-share .bx-score,
  88. .bx-base-general-entity-share .bx-favorite,
  89. .bx-base-general-entity-share .bx-feature,
  90. .bx-base-general-entity-share .bx-report,
  91. .bx-base-general-entity-share .bx-tl-repost,
  92. .bx-base-general-entity-share .bx-menu-btns-hor.bx-menu-object-sys_social_sharing {
  93. position: relative;
  94. float: none;
  95. display: inline-block;
  96. vertical-align: top;
  97. }
  98. /* attachments */
  99. .bx-base-general-attachments {
  100. margin:-1px;
  101. }
  102. .bx-base-general-attachment {
  103. position:relative;
  104. margin:1px;
  105. text-align: center;
  106. }
  107. .bx-base-general-attachments .bx-base-general-attachment video {
  108. max-width:100%;
  109. max-height:100%;
  110. }
  111. .bx-base-general-attachment a div {
  112. text-overflow: ellipsis;
  113. overflow: hidden;
  114. }
  115. .bx-base-general-attachment a canvas {
  116. position:absolute;
  117. top:0;
  118. left:0;
  119. }
  120. .bx-base-general-attachment-sound {
  121. position:relative;
  122. height:100%;
  123. }
  124. .bx-base-general-attachment-sound-file-name,
  125. .bx-base-general-attachment-sound-player {
  126. display: flex;
  127. justify-content: center;
  128. align-content: center;
  129. flex-direction: column;
  130. }
  131. .bx-base-general-attachment-sound-file-name {
  132. height:9.25rem;
  133. }
  134. .bx-base-general-attachment-sound-player {
  135. height:3.25rem;
  136. }
  137. /* comments item */
  138. div.bx-base-general-comments div.bx-base-general-comments-element-holder,
  139. div.bx-base-general-comments div.bx-base-general-comments-counter-holder {
  140. position: relative;
  141. float: left;
  142. }
  143. .bx-base-general-comments-element-holder
  144. .bx-base-general-comments-counter-holder {
  145. line-height: 20px;
  146. line-height: 1.25rem;
  147. }
  148. .bx-base-general-comments-button .bx-base-general-comments-element-holder,
  149. .bx-base-general-comments-button .bx-base-general-comments-counter-holder {
  150. line-height: 36px;
  151. line-height: 2.2rem;
  152. }
  153. .bx-base-general-comments-button .bx-base-general-comments-counter-holder {
  154. font-size: 1.5rem;
  155. }
  156. .bx-base-general-comments-link .bx-base-general-comments-counter-holder.bx-btn-border {
  157. border-width: 0px;
  158. }
  159. /* unit meta */
  160. .bx-base-general-unit-meta {
  161. white-space: normal;
  162. overflow: hidden;
  163. text-overflow: ellipsis;
  164. }
  165. .sys-author ul.bx-menu-custom.bx-menu-custom-hor,
  166. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor {
  167. position: relative;
  168. display: -webkit-flex;
  169. display: flex;
  170. -webkit-align-items: flex-start;
  171. align-items: flex-start;
  172. -webkit-justify-content: flex-start;
  173. justify-content: flex-start;
  174. -webkit-flex-wrap: wrap;
  175. flex-wrap: wrap;
  176. margin: 0.1rem 0 0.2rem 0;
  177. }
  178. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > li,
  179. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li {
  180. -webkit-flex: 0 1 auto;
  181. -ms-flex: 0 1 auto;
  182. flex: 0 1 auto;
  183. white-space: nowrap;
  184. }
  185. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > li,
  186. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li {
  187. margin-left: 0.5rem;
  188. }
  189. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > li:first-child,
  190. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li:first-child,
  191. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > .bx-menu-item-nl + li,
  192. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > .bx-menu-item-nl + li {
  193. margin-left: 0;
  194. }
  195. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > li.bx-menu-item-nl,
  196. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li.bx-menu-item-nl {
  197. display: none;
  198. width: 100%;
  199. height: 0.5rem;
  200. }
  201. .bx-base-pofile-unit-with-cover .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li.bx-menu-item-nl {
  202. display: block;
  203. }
  204. .sys-author ul.bx-menu-custom.bx-menu-custom-hor > li > span,
  205. .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor > li > span {
  206. margin-left: 0;
  207. margin-right: 0;
  208. }
  209. .sys-author ul.bx-menu-custom li:first-child .bx-base-general-unit-meta-div,
  210. .bx-base-general-unit-meta ul.bx-menu-custom li:first-child .bx-base-general-unit-meta-div {
  211. display: none;
  212. }
  213. .sys-author ul.bx-menu-custom li .bx-base-general-unit-meta-item,
  214. .sys-author ul.bx-menu-custom li .bx-base-general-unit-meta-div,
  215. .sys-author ul.bx-menu-custom li .bx-btn,
  216. .sys-author ul.bx-menu-custom li .bx-vote.bx-vote-stars,
  217. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-base-general-unit-meta-item,
  218. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-base-general-unit-meta-div,
  219. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-btn,
  220. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-vote.bx-vote-stars {
  221. position: relative;
  222. float: none;
  223. display: inline-block;
  224. vertical-align: middle;
  225. }
  226. .sys-author ul.bx-menu-custom li .bx-vote.bx-vote-stars,
  227. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-vote.bx-vote-stars {
  228. margin-top: 0px;
  229. margin-bottom: 0px;
  230. }
  231. .sys-author ul.bx-menu-custom li .bx-metatags-keyword,
  232. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-metatags-keyword {
  233. margin: 0px;
  234. line-height: normal;
  235. }
  236. /* browsing by labels */
  237. .bx-base-general-lables-tree-parent-0 , .bx-base-general-lables-tree-parent-0 UL{
  238. list-style-type: none;
  239. padding-left: 2rem;
  240. }
  241. .bx-base-general-lables-tree-parent-0 LI{
  242. padding: 0px;
  243. }
  244. UL.bx-base-general-lables-tree-parent-0{
  245. margin: 0px;
  246. }
  247. .bx-base-general-lables-tree-parent-0 LI I.sys-icon {
  248. width: 10px;
  249. margin-left: -15px;
  250. display: inline-block;
  251. }
  252. /* Badges */
  253. div.bx-badges-list {
  254. display: inline-flex;
  255. align-items: center;
  256. justify-content:center;
  257. }
  258. div.bx-badge {
  259. display: flex;
  260. align-items:center;
  261. text-align: center;
  262. color:#fff;
  263. max-width: 9rem;
  264. min-width: 1.25rem;
  265. vertical-align: middle;
  266. height: 1.25rem;
  267. line-height: 1.25rem;
  268. padding: 0 0.5rem ;
  269. border-radius: 2em;
  270. white-space: nowrap;
  271. text-overflow: ellipsis;
  272. overflow: hidden;
  273. }
  274. div.bx-badges-list div.bx-badge{
  275. margin:0 0.25rem;
  276. }
  277. img.bx-badge-icon,
  278. svg.bx-badge-icon{
  279. width: 16px !important;
  280. height: 16px !important;
  281. margin-right: 0.5rem !important;
  282. }
  283. div.bx-badge span{
  284. text-overflow: ellipsis;
  285. overflow: hidden;
  286. }
  287. div.bx-badge:not(.bx-badge-compact-to) .sys-icon{
  288. margin-right: 0.5rem;
  289. }
  290. div.bx-badge:not(.bx-badge-compact-to) .sys-icon,
  291. div.bx-badge:not(.bx-badge-compact-to) span{
  292. color: inherit !important;
  293. }
  294. div.bx-badge.bx-badge-compact{
  295. width: 1.25rem;
  296. text-align: center;
  297. padding: 0px;
  298. }
  299. div.bx-badge.bx-badge-compact-to{
  300. padding: 0;
  301. width: auto;
  302. }
  303. div.bx-badge.bx-badge-compact .sys-icon{
  304. width: 1.25rem;
  305. }
  306. div.bx-badge.bx-badge-compact .sys-icon,
  307. div.bx-badge.bx-badge-compact img{
  308. margin:0px auto;
  309. }
  310. #bx-popup-ajax-wrapper-sys_set_badges li span{
  311. display: flex;
  312. margin-left: 0px;
  313. align-items: baseline;
  314. }
  315. #bx-popup-ajax-wrapper-sys_set_badges li INPUT[type="checkbox"] {
  316. margin-right: 0.5rem;
  317. }