general.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. .bx-page-image-container img,
  2. .bx-page-html-container img {
  3. max-width:100%;
  4. height:auto;
  5. }
  6. .bx-page-html-container {
  7. overflow:hidden;
  8. }
  9. /* --------------- toolbar */
  10. .bx-toolbar-anim {
  11. -webkit-transition: all .25s ease-in-out;
  12. -moz-transition: all .25s ease-in-out;
  13. -o-transition: all .25s ease-in-out;
  14. transition: all .25s ease-in-out
  15. }
  16. .bx-toolbar-reset {
  17. -webkit-transform: translateY(0);
  18. -ms-transform: translateY(0);
  19. transform: translateY(0)
  20. }
  21. .bx-toolbar-up {
  22. -webkit-transform: translateY(-100%);
  23. -ms-transform: translateY(-100%);
  24. transform: translateY(-100%)
  25. }
  26. #bx-toolbar {
  27. position:fixed;
  28. width:100%;
  29. height:48px;
  30. height:3rem;
  31. }
  32. .bx-toolbar-content {
  33. display: -webkit-flex;
  34. display: flex;
  35. z-index: 500;
  36. -webkit-justify-content: flex-start;
  37. justify-content: flex-start;
  38. -webkit-align-items: center;
  39. align-items: center;
  40. -webkit-flex-flow: row nowrap;
  41. flex-flow: row nowrap;
  42. }
  43. .bx-toolbar-content .bx-toolbar-item {
  44. position: relative;
  45. -webkit-flex: 0 1 auto;
  46. -ms-flex: 0 1 auto;
  47. flex: 0 1 auto;
  48. }
  49. .bx-toolbar-content .bx-toolbar-item.bx-ti-stretcher {
  50. -webkit-flex-grow: 1;
  51. flex-grow: 1;
  52. white-space: nowrap;
  53. }
  54. .bx-toolbar-content .bx-toolbar-item.bx-ti-logo {
  55. white-space: nowrap;
  56. }
  57. .bx-toolbar-content .bx-toolbar-item.bx-ti-logo img {
  58. display: block;
  59. }
  60. #bx-menu-toolbar-1-container,
  61. #bx-menu-toolbar-2-container {
  62. position:relative;
  63. }
  64. #bx-logo-container {
  65. -moz-box-sizing: border-box;
  66. -ms-box-sizing: border-box;
  67. box-sizing: border-box;
  68. height: 3rem;
  69. margin:0 1.0rem;
  70. text-align: center;
  71. font-size: 2rem;
  72. }
  73. #bx-logo-container a {
  74. position: relative;
  75. display: block;
  76. text-decoration: none;
  77. }
  78. #bx-logo-container a span {
  79. position: relative;
  80. display: block;
  81. max-width: 100%;
  82. line-height: 48px;
  83. line-height: 3rem;
  84. white-space: nowrap;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. }
  88. #bx-logo {
  89. vertical-align:middle;
  90. }
  91. /* --------------- Submenu */
  92. .bx-menu-main-bar-gap {
  93. position: relative;
  94. }
  95. .bx-media-tablet .bx-menu-main-bar-gap.bx-def-page-width,
  96. .bx-media-phone .bx-menu-main-bar-gap.bx-def-page-width {
  97. width: 100%;
  98. }
  99. .bx-media-phone .bx-menu-main-bar-gap {
  100. padding-left: 0;
  101. padding-right: 0;
  102. }
  103. .bx-menu-main-bar-wrapper {
  104. position: relative;
  105. border-top-left-radius: 0;
  106. border-top-right-radius: 0;
  107. }
  108. .bx-menu-main-bar-wrapper:before,
  109. .bx-menu-main-bar-wrapper:after {
  110. display: block;
  111. content: "";
  112. position: absolute;
  113. top: 0;
  114. width: 1.5rem;
  115. height: 100%;
  116. z-index: 1;
  117. }
  118. .bx-menu-main-bar-wrapper:before {
  119. left: 0px;
  120. }
  121. .bx-menu-main-bar-wrapper:after {
  122. right: 0px;
  123. }
  124. .bx-media-phone .bx-menu-main-bar-wrapper {
  125. border-left-width: 0;
  126. border-right-width: 0;
  127. border-bottom-left-radius: 0;
  128. border-bottom-right-radius: 0;
  129. }
  130. .bx-media-phone .bx-menu-main-bar-wrapper:before {
  131. border-bottom-left-radius: 0;
  132. }
  133. .bx-media-phone .bx-menu-main-bar-wrapper:after {
  134. border-bottom-right-radius: 0;
  135. }
  136. .bx-menu-main-bar {
  137. text-align: center;
  138. -webkit-overflow-scrolling: touch;
  139. }
  140. .bx-menu-main-bar:not(.bx-menu-more-auto) {
  141. overflow-x: auto;
  142. }
  143. .bx-menu-main-bar-gap.bx-menu-main-bar-hidden,
  144. .bx-menu-main-bar-wrapper.bx-menu-main-bar-hidden,
  145. .bx-menu-main-bar.bx-menu-main-bar-hidden {
  146. display: none;
  147. }
  148. /* --------------- content */
  149. #bx-content-wrapper {
  150. position: relative;
  151. -webkit-flex-grow: 3;
  152. flex-grow: 3;
  153. }
  154. /* --------------- footer */
  155. #bx-footer-wrapper {
  156. position: relative;
  157. -webkit-flex-grow: 0;
  158. flex-grow: 0;
  159. width: 100%;
  160. bottom: 0;
  161. }
  162. #bx-footer-wrapper .bx-def-hr {
  163. margin-top: 0px;
  164. }
  165. #bx-menu-bottom ul {
  166. text-align: center;
  167. }
  168. #bx-menu-bottom ul li {
  169. line-height: 2rem;
  170. }
  171. .bx-menu-switch-language-inline {
  172. float: none;
  173. clear: both;
  174. }
  175. .bx-menu-switch-language-inline .bx-menu-hor {
  176. text-align: center;
  177. }
  178. .bx-menu-switch-language-inline .bx-menu-hor li {
  179. float: none;
  180. display: inline-block;
  181. }
  182. /* --------------- System objects like Views, Votes, Comments, etc, */
  183. .sys-action-counter.sys-ac-hidden {
  184. display: none;
  185. }
  186. .sys-action-counter .bx-def-icon-size {
  187. width: 1.5rem;
  188. height: 1.5rem;
  189. }
  190. /* --------------- 'Add to Homescreen' popup */
  191. .ath-container {
  192. color: #333;
  193. }
  194. /* --------------- Account */
  195. div.bx-account-unit-online {
  196. position: absolute;
  197. right: 0;
  198. bottom: 0;
  199. width: 0.625rem;
  200. height: 0.625rem;
  201. border: 1px solid #ffffff;
  202. border-radius: 0.625rem;
  203. background-color: #7ed321;
  204. }
  205. /* --------------- Mentions */
  206. .bx-mention-row{
  207. display: flex !important;
  208. align-items: center;
  209. }
  210. .bx-mention-row img {
  211. width:1rem;
  212. height:1rem;
  213. vertical-align:middle;
  214. }
  215. .bx-mention-row span {
  216. vertical-align:middle;
  217. margin-right: 10px;
  218. }
  219. /* --------------- Profile Avatar */
  220. .bx-profile-avatar {
  221. overflow: hidden;
  222. }
  223. .bx-profile-avatar-cnt {
  224. display: -webkit-flex;
  225. display: flex;
  226. -webkit-align-items: center;
  227. align-items: center;
  228. -webkit-justify-content: flex-start;
  229. justify-content: flex-start;
  230. }
  231. .bx-profile-avatar .bx-def-ava-size {
  232. width: 3.75rem;
  233. height: 3.75rem;
  234. }
  235. .bx-profile-avatar .bx-def-ava-size,
  236. .bx-profile-avatar div.bx-def-unit-img p.bx-base-pofile-unit-thumb.bx-def-ava-size {
  237. line-height: 3.5rem;
  238. font-size: 2.325rem;
  239. }
  240. .bx-profile-avatar .bx-pa-img,
  241. .bx-profile-avatar .bx-pa-actions {
  242. -webkit-flex: 0 2 auto;
  243. flex: 0 2 auto;
  244. }
  245. .bx-profile-avatar .bx-pa-info {
  246. -webkit-flex: 1 1 auto;
  247. flex: 1 1 auto;
  248. overflow: hidden;
  249. }
  250. .bx-profile-avatar .bx-pa-info-cnt {
  251. display: -webkit-flex;
  252. display: flex;
  253. -webkit-align-items: flex-start;
  254. align-items: flex-start;
  255. -webkit-flex-direction: column;
  256. flex-direction: column;
  257. }
  258. .bx-profile-avatar .bx-pai-line,
  259. .bx-profile-avatar .bx-pai-line a {
  260. max-width: 100%;
  261. }
  262. .bx-profile-avatar .bx-pai-line a {
  263. display: inline-block;
  264. overflow: hidden;
  265. text-overflow: ellipsis;
  266. }
  267. .bx-profile-avatar .bx-pa-action {
  268. width: 2rem;
  269. height: 2rem;
  270. border-radius: 2rem;
  271. }
  272. .bx-profile-avatar .bx-pa-action .sys-icon {
  273. display: inline-block;
  274. text-align: center;
  275. line-height: 1.5rem;
  276. width: 1.5rem;
  277. height: 1.5rem;
  278. font-size: 1.0rem;
  279. }
  280. .bx-profile-avatar-switcher .bx-def-hr {
  281. display: none;
  282. }
  283. .bx-profile-avatar-switcher .sys-profile-switch-row {
  284. padding-left: 0px;
  285. padding-right: 0px;
  286. }
  287. /* --------------- Profile Stats */
  288. .bx-profile-stats {
  289. overflow: hidden;
  290. }
  291. .bx-profile-stats .bx-ps-user-cnt {
  292. display: -webkit-flex;
  293. display: flex;
  294. -webkit-align-items: center;
  295. align-items: center;
  296. -webkit-justify-content: flex-start;
  297. justify-content: flex-start;
  298. }
  299. .bx-profile-stats .bx-ps-user-cnt .bx-def-ava-size {
  300. width: 3.75rem;
  301. height: 3.75rem;
  302. }
  303. .bx-profile-stats .bx-ps-user-cnt .bx-def-ava-size,
  304. .bx-profile-stats .bx-ps-user-cnt div.bx-def-unit-img p.bx-base-pofile-unit-thumb.bx-def-ava-size {
  305. line-height: 3.5rem;
  306. font-size: 2.325rem;
  307. }
  308. .bx-profile-stats .bx-ps-user-img {
  309. -webkit-flex: 0 2 auto;
  310. flex: 0 2 auto;
  311. }
  312. .bx-profile-stats .bx-ps-user-info {
  313. -webkit-flex: 1 1 auto;
  314. flex: 1 1 auto;
  315. overflow: hidden;
  316. }
  317. .bx-profile-stats .bx-ps-user-info-cnt {
  318. display: -webkit-flex;
  319. display: flex;
  320. -webkit-align-items: flex-start;
  321. align-items: flex-start;
  322. -webkit-flex-direction: column;
  323. flex-direction: column;
  324. }
  325. .bx-profile-stats .bx-ps-user-line,
  326. .bx-profile-stats .bx-ps-user-line a {
  327. max-width: 100%;
  328. }
  329. .bx-profile-stats .bx-ps-user-line a {
  330. display: inline-block;
  331. overflow: hidden;
  332. text-overflow: ellipsis;
  333. }
  334. .bx-menu-vertical-more-less li.bx-psmi-show-more:hover,
  335. .bx-menu-vertical-more-less li.bx-psmi-show-less:hover {
  336. background-color: transparent;
  337. }
  338. /* --------------- Join/Login Forms */
  339. #sys_account .bx-form-element .bx-form-input-submit.bx-btn,
  340. #sys-form-login .bx-form-element .bx-form-input-submit.bx-btn {
  341. width: 100%;
  342. -webkit-justify-content: center;
  343. justify-content: center;
  344. text-align: center;
  345. }
  346. #bx-form-element-submit_text .bx-form-value {
  347. text-align: right;
  348. }
  349. .sys-jf-login .bx-btn,
  350. .sys-lf-join .bx-btn {
  351. display: block;
  352. }
  353. /* --------------- Create Post Form */
  354. .sys-create-post-form {
  355. position: relative;
  356. }
  357. .sys-create-post-form .bx-loading-ajax {
  358. display: -webkit-flex;
  359. display: flex;
  360. -webkit-align-items: center;
  361. align-items: center;
  362. -webkit-justify-content: center;
  363. justify-content: center;
  364. top: 0;
  365. width: 100%;
  366. height: 100%;
  367. }
  368. .sys-cpf-header {
  369. position: relative;
  370. display: -webkit-flex;
  371. display: flex;
  372. -webkit-justify-content: space-between;
  373. justify-content: space-between;
  374. height: 3.125rem;
  375. border-bottom: 2px solid rgba(0,0,0,0.1);
  376. }
  377. .sys-cpf-title,
  378. .sys-cpf-submenu {
  379. position: relative;
  380. -webkit-flex: 0 1 auto;
  381. -ms-flex: 0 1 auto;
  382. flex: 1 1 auto;
  383. line-height: 3.125rem;
  384. }
  385. .sys-cpf-title,
  386. .sys-cpf-submenu-cnt {
  387. height: 3.125rem;
  388. }
  389. .sys-cpf-title {
  390. -webkit-flex-grow: 3;
  391. flex-grow: 3;
  392. max-width: 20%;
  393. white-space: nowrap;
  394. font-size: 1rem;
  395. font-weight: 400;
  396. }
  397. .sys-cpf-title-cnt {
  398. white-space: nowrap;
  399. overflow: hidden;
  400. text-overflow:ellipsis;
  401. }
  402. .sys-cpf-submenu {
  403. max-width: 80%;
  404. }
  405. .bx-media-phone .sys-cpf-title {
  406. max-width: 30%;
  407. }
  408. .bx-media-phone .sys-cpf-submenu {
  409. max-width: 70%;
  410. }
  411. .sys-cpf-submenu-cnt ul.bx-menu-custom.bx-menu-custom-hor.bx-menu-more-auto:not(.bx-menu-submenu-more-auto) {
  412. display: -webkit-flex;
  413. display: flex;
  414. -webkit-justify-content: flex-end;
  415. justify-content: flex-end;
  416. }
  417. .sys-cpf-submenu-cnt ul.bx-menu-submenu-more-auto {
  418. line-height: normal;
  419. }
  420. .sys-cpf-submenu-cnt ul li {
  421. border-radius: 0;
  422. white-space: nowrap;
  423. }
  424. .sys-cpf-submenu-cnt ul:not(.bx-menu-submenu-more-auto) > li {
  425. -webkit-flex: 0 1 auto;
  426. -ms-flex: 0 1 auto;
  427. flex: 0 1 auto;
  428. height: 3.125rem;
  429. border-bottom: 2px solid transparent;
  430. line-height: 3.125rem;
  431. }
  432. .sys-cpf-submenu-cnt ul li > span {
  433. margin: 0;
  434. padding: 0;
  435. }
  436. .sys-cpf-submenu-cnt ul li:not(.bx-menu-item-more-auto) a .sys-icon {
  437. display: none;
  438. }
  439. .sys-cpf-submenu-cnt ul li:not(.bx-menu-item-more-auto) a span,
  440. .sys-cpf-submenu-cnt ul.bx-menu-custom.bx-menu-custom-ver.bx-menu-submenu-more-auto li:not(.bx-menu-item-more-auto) a span {
  441. margin: 0;
  442. }
  443. .sys-cpf-submenu-cnt ul li.bx-menu-tab-active {
  444. border-bottom: 2px solid #364f6b;
  445. }
  446. .sys-cpf-form {
  447. position: relative;
  448. }
  449. .sys-cpf-form:not(.sys-cpf-loading) {
  450. -webkit-animation: sys-cpf-scale-in 0.4s cubic-bezier(0.37, 0.82, 0.2, 1);
  451. animation: sys-cpf-scale-in 0.4s cubic-bezier(0.37, 0.82, 0.2, 1);
  452. }
  453. .sys-cpf-form .bx-uploader-ghost .bx-base-general-icon-wrapper img {
  454. max-width: 9.375rem;
  455. }
  456. .sys-cpf-close {
  457. position: absolute;
  458. display: none;
  459. right: 0;
  460. bottom: 0;
  461. }
  462. @keyframes sys-cpf-scale-in {
  463. 0% {
  464. opacity: 0;
  465. transform: scale(0.9);
  466. }
  467. 100% {
  468. opacity: 1;
  469. transform: scale(1.0);
  470. }
  471. }
  472. @-webkit-keyframes sys-cpf-scale-in {
  473. 0% {
  474. opacity: 0;
  475. transform: scale(0.9);
  476. }
  477. 100% {
  478. opacity: 1;
  479. transform: scale(1.0);
  480. }
  481. }
  482. /* --------------- Account Unit */
  483. .bx-account-unit .bx-def-unit-img,
  484. .bx-account-unit-wo-info .bx-def-unit-img {
  485. position: relative;
  486. overflow: visible;
  487. }
  488. /* --------------- Author Info */
  489. .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor {
  490. webkit-align-items: center;
  491. align-items: center;
  492. -webkit-flex-wrap: wrap;
  493. flex-wrap: wrap;
  494. line-height: 0.625rem;
  495. }
  496. .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor > li.bx-menu-item-nl {
  497. display: none;
  498. }
  499. .sys-author-profile .bx-menu-custom.bx-menu-custom-hor > li > span {
  500. margin-right: 0;
  501. }
  502. .sys-author-profile .bx-menu-custom.bx-menu-custom-hor > li > span.bx-base-profile-unit-meta-item {
  503. padding: 0.25rem;
  504. white-space: nowrap;
  505. }
  506. .sys-author-profile .bx-menu-custom.bx-menu-custom-hor > li:first-child .bx-base-general-unit-meta-div {
  507. display: none;
  508. }
  509. /* --------------- Author Info */
  510. audio.bx-player-embed,
  511. video.bx-player-embed {
  512. width:100vw;
  513. height:100vh;
  514. }
  515. /* --------------- Search */
  516. .bx-sys-search-results-pages {
  517. text-align:left;
  518. line-height:150%;
  519. }
  520. .bx-page-block-container .bx-search-results:first-child {
  521. padding-top:0;
  522. }
  523. /* --------------- Content loader placeholder */
  524. @-webkit-keyframes bxPlaceHolderShimmer {
  525. 0% {
  526. background-position: -468px 0;
  527. }
  528. 100% {
  529. background-position: 468px 0;
  530. }
  531. }
  532. @keyframes bxPlaceHolderShimmer {
  533. 0% {
  534. background-position: -468px 0;
  535. }
  536. 100% {
  537. background-position: 468px 0;
  538. }
  539. }
  540. .bx-cont-ph-inline,
  541. .bx-cont-ph {
  542. -webkit-animation-duration: 1s;
  543. animation-duration: 1s;
  544. -webkit-animation-fill-mode: forwards;
  545. animation-fill-mode: forwards;
  546. -webkit-animation-iteration-count: infinite;
  547. animation-iteration-count: infinite;
  548. -webkit-animation-name: bxPlaceHolderShimmer;
  549. animation-name: bxPlaceHolderShimmer;
  550. -webkit-animation-timing-function: linear;
  551. animation-timing-function: linear;
  552. background: #f6f7f8;
  553. background: -webkit-gradient(linear, left top, right top, color-stop(8%, #eeeeee), color-stop(18%, #dddddd), color-stop(33%, #eeeeee));
  554. background: -webkit-linear-gradient(left, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
  555. background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
  556. -webkit-background-size: 800px 104px;
  557. background-size: 800px 104px;
  558. position: relative;
  559. }
  560. .bx-cont-ph-inline {
  561. display:inline-block;
  562. }