cmts.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. /*--- General Styles ---*/
  2. div.cmts {}
  3. ul.cmts {
  4. position: relative;
  5. margin: 0px;
  6. padding: 0px;
  7. list-style: none;
  8. }
  9. ul.cmts-margin,
  10. div.cmt-reply-margin {
  11. margin-top: 20px;
  12. margin-top: 1.2rem;
  13. padding-left: 60px;
  14. padding-left: 3.75rem;
  15. }
  16. li.cmt {
  17. position: relative;
  18. }
  19. li.cmt-no .bx-msg-box-container {
  20. margin-top: 0px;
  21. margin-bottom: 0px;
  22. }
  23. li.cmt-err {
  24. color: red;
  25. }
  26. li.cmt-hidden {
  27. display: none;
  28. }
  29. li.cmt-replacement {
  30. position: relative;
  31. height: 30px;
  32. height: 1.875rem;
  33. background-color: #ededed;
  34. text-indent: 10px;
  35. text-indent: 0.5rem;
  36. line-height: 30px;
  37. line-height: 1.875rem;
  38. overflow: hidden;
  39. }
  40. li.cmt-blink div.cmt-blink-plate {
  41. display: block;
  42. }
  43. div.cmt-cnt {
  44. position: relative;
  45. }
  46. /*--- More ---*/
  47. li.cmt-more,
  48. li.cmt-more-root {
  49. text-transform:uppercase;
  50. }
  51. div.cmt-more-cont {
  52. font-weight: bold;
  53. }
  54. li.cmt-more-root div.cmt-more-cont {
  55. position: relative;
  56. }
  57. li.cmt-more-root .bx-btn {
  58. position: relative;
  59. float: none;
  60. display: inline-block;
  61. text-transform: uppercase;
  62. }
  63. /*--- Comment ---*/
  64. div.cmt-avatar {
  65. position: absolute;
  66. top: 0px;
  67. left: 0px;
  68. text-align: center;
  69. }
  70. div.cmt-avatar .sys-icon {
  71. font-size: 60px;
  72. font-size: 3.75rem;
  73. }
  74. div.cmt-info {
  75. position: realtive;
  76. overflow: hidden;
  77. }
  78. div.cmt-blink-plate {
  79. position: absolute;
  80. display: none;
  81. top: -10px;
  82. left: -10px;
  83. width: 100%;
  84. height: 100%;
  85. padding: 10px;
  86. background-color: rgb(255, 244, 213);
  87. background-color: rgba(255, 234, 193, 0.5);
  88. }
  89. div.cmt-head {
  90. text-align: left;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. overflow: hidden;
  94. }
  95. span.cmt-reply-to a {
  96. text-decoration: none;
  97. }
  98. span.cmt-reply-to a > i,
  99. span.cmt-reply-to a > span,
  100. span.cmt-reply-to a > div {
  101. vertical-align: middle;
  102. }
  103. span.cmt-reply-to a .bx-base-pofile-unit-wo-info {
  104. display: inline-block;
  105. }
  106. span.cmt-reply-to a .bx-base-pofile-unit-wo-info .bx-def-unit-img .bx-base-pofile-unit-thumb {
  107. display: block;
  108. border-width: 1px;
  109. }
  110. span.cmt-reply-to a .bx-base-pofile-unit-wo-info .bx-base-pofile-unit-online {
  111. display: none;
  112. }
  113. span.cmt-reply-to a .bx-def-icon-size {
  114. width: 1.0rem;
  115. height: 1.0rem;
  116. line-height: 0.875rem;
  117. font-size: 0.6rem;
  118. }
  119. span.cmt-posted-ago {
  120. text-transform: lovercase;
  121. }
  122. span.cmt-points {
  123. text-transform: lovercase;
  124. }
  125. /*--- unit meta ---*/
  126. .cmt-meta {
  127. white-space: nowrap;
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. text-align: left;
  131. }
  132. .cmt-meta ul.bx-menu-custom.bx-menu-hor > li > span {
  133. margin-right: 0;
  134. }
  135. .cmt-meta ul.bx-menu-custom li:first-child .cmt-meta-div {
  136. display: none;
  137. }
  138. .cmt-meta ul.bx-menu-custom li .cmt-meta-item,
  139. .cmt-meta ul.bx-menu-custom li .cmt-meta-div,
  140. .cmt-meta ul.bx-menu-custom li .bx-btn {
  141. position: relative;
  142. float: none;
  143. display: inline-block;
  144. vertical-align: middle;
  145. }
  146. .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-ago,
  147. .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-membership {
  148. font-size: 12px;
  149. font-size: .75rem;
  150. }
  151. /*--- Comment Body ---*/
  152. div.cmt-cont {
  153. position: relative;
  154. text-align: left;
  155. }
  156. div.cmt-cont .bullet {
  157. padding: 0px 5px;
  158. padding: 0px 0.3rem;
  159. }
  160. div.cmt-cont .cmt-body > p:first-child {
  161. margin-top: 0;
  162. margin-bottom: 0;
  163. }
  164. div.cmt-cont .cmt-body img {
  165. max-width: 100%;
  166. height: auto;
  167. }
  168. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper {
  169. margin-top: 10px;
  170. margin-top: 0.5rem;
  171. }
  172. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper:first-child {
  173. margin-top: 0px;
  174. }
  175. span.cmt-body-see-more a {
  176. font-weight: bold;
  177. }
  178. div.cmt-reactions .bx-vote-counter-wrapper {
  179. line-height: 2.0rem;
  180. font-size: 1.2rem;
  181. }
  182. div.cmt-attached-preview {
  183. overflow:hidden;
  184. }
  185. div.cmt-attached-preview,
  186. div.cmt-attached-preview img {
  187. width: 100px;
  188. width: 6.25rem;
  189. height: 100px;
  190. height: 6.25rem;
  191. }
  192. div.cmt-attached-preview {
  193. position: relative;
  194. float: left;
  195. }
  196. div.cmt-attached-preview img {
  197. background-position: center center;
  198. background-repeat: no-repeat;
  199. background-size: contain;
  200. }
  201. /*--- Comment Actions ---*/
  202. div.cmt-actions {
  203. position: relative;
  204. text-align: left;
  205. }
  206. div.cmt-meta-ago,
  207. div.cmt-comment-manage-link,
  208. div.cmt-actions ul.bx-menu-hor,
  209. div.cmt-points-wrp {
  210. position: relative;
  211. float: left;
  212. }
  213. div.cmt-actions li .bx-vote {
  214. margin-right: 1.25rem;
  215. }
  216. div.cmt-comment-manage .bx-menu-ver li {
  217. white-space: nowrap;
  218. }
  219. /*--- Add Comment/Reply Styles ---*/
  220. div.cmt-reply {
  221. position: relative;
  222. }
  223. div.cmt-post-reply {
  224. position: relative;
  225. }
  226. /*--- Add Comment/Reply Form Styles ---*/
  227. form.cmt-post-reply .bx-form-input-textarea {
  228. height: 64px;
  229. height: 4rem;
  230. }
  231. form.cmt-post-reply div#bx-form-element-cmt_image,
  232. form.cmt-post-reply .bx-form-input-files-uploaders {
  233. margin-top: 0px;
  234. }
  235. a.cmts-uploader-button {
  236. position: absolute;
  237. z-index: 1;
  238. right: 0px;
  239. text-decoration: none;
  240. }
  241. div.cmts-uploader-file {
  242. position: relative;
  243. float: left;
  244. }
  245. div.cmts-uploader-file-preview {
  246. overflow: hidden;
  247. }
  248. div.cmts-uploader-file-preview,
  249. div.cmts-uploader-file-preview img {
  250. width: 100px;
  251. width: 6.25rem;
  252. height: 100px;
  253. height: 6.25rem;
  254. }
  255. div.cmts-uploader-file-preview img {
  256. background-position: center center;
  257. background-repeat: no-repeat;
  258. }
  259. /*--- Minified Post Form ---*/
  260. div.cmt-reply.cmt-reply-min div.cmt-body {
  261. display: none;
  262. }
  263. div.cmt-reply div.cmt-body-min {
  264. position: relative;
  265. display: none;
  266. }
  267. div.cmt-reply.cmt-reply-min div.cmt-body-min {
  268. display: block;
  269. }
  270. div.cmt-reply div.cmt-body-min .cmt-bm-user {
  271. position: absolute;
  272. top: 0;
  273. left: 0;
  274. }
  275. div.cmt-reply div.cmt-body-min .cmt-bm-content {
  276. display: -webkit-flex;
  277. display: flex;
  278. -webkit-align-items: center;
  279. align-items: center;
  280. -webkit-justify-content: stretch;
  281. justify-content: stretch;
  282. }
  283. div.cmt-reply div.cmt-body-min .cmt-bm-content .bx-form-element-wrapper {
  284. position: relative;
  285. width: 100%;
  286. }
  287. /*--- Live Update Alert Styles ---*/
  288. div.cmt-lu-button {
  289. position: relative;
  290. text-align: center;
  291. }
  292. @supports(position:sticky) {
  293. div.cmt-lu-button {
  294. position: sticky;
  295. top: 1rem;
  296. z-index: 1;
  297. }
  298. }
  299. @supports(position:-webkit-sticky) {
  300. div.cmt-lu-button {
  301. position: -webkit-sticky;
  302. top: 1rem;
  303. z-index: 1;
  304. }
  305. }
  306. div.cmt-lu-button .bx-btn {
  307. display: inline-block;
  308. float: none;
  309. }
  310. /*--- Live Update Notifications Styles ---*/
  311. .cmt-lu-notif {
  312. position: relative;
  313. display: block;
  314. }
  315. div.cmt-lu-notif-cnt {
  316. position: relative;
  317. }
  318. div.cmt-lu-notif-avatar {
  319. position: absolute;
  320. top: 0px;
  321. left: 0px;
  322. text-align: center;
  323. }
  324. div.cmt-lu-notif-info {
  325. position: realtive;
  326. display: -webkit-flex;
  327. display: flex;
  328. -webkit-align-items: center;
  329. align-items: center;
  330. }
  331. div.cmt-lu-notifi-username {
  332. white-space: nowrap;
  333. text-overflow: ellipsis;
  334. overflow: hidden;
  335. }
  336. /*--- Comment Element Styles ---*/
  337. div.cmt div.cmt-element-holder,
  338. div.cmt div.cmt-counter-holder {
  339. position: relative;
  340. float: left;
  341. }
  342. span.cmt span.cmt-element-holder,
  343. span.cmt span.cmt-counter-holder {
  344. position: relative;
  345. display: inline-block;
  346. vertical-align: middle;
  347. }
  348. .cmt .cmt-element-holder,
  349. .cmt .cmt-counter-holder {
  350. line-height: 20px;
  351. line-height: 1.25rem;
  352. }
  353. .cmt-button .cmt-element-holder,
  354. .cmt-button .cmt-counter-holder {
  355. line-height: 36px;
  356. line-height: 2.2rem;
  357. }
  358. .cmt-button-small .cmt-element-holder,
  359. .cmt-button-small .cmt-counter-holder {
  360. line-height: 24px;
  361. line-height: 1.6rem;
  362. }
  363. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled,
  364. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled .sys-icon {
  365. color: #ddd;
  366. }
  367. .cmt-button .cmt-counter-holder,
  368. .cmt-button-small .cmt-counter-holder {
  369. font-size: 1.5rem;
  370. }
  371. .cmt-link .cmt-counter-holder.bx-btn-border {
  372. border-width: 0px;
  373. }
  374. /* +++ Comment Element: Counter +++ */
  375. .cmt-counter {
  376. position: relative;
  377. display: -webkit-flex;
  378. display: flex;
  379. -webkit-align-items: center;
  380. align-items: center;
  381. -webkit-flex-wrap:nowrap;
  382. flex-wrap:nowrap;
  383. }
  384. .cmt-counter > * {
  385. position: relative;
  386. }
  387. .cmt-counter div.cmt-counter-icon,
  388. .cmt-counter div.bx-base-pofile-unit-wo-info {
  389. margin-left: -0.5rem;
  390. }
  391. .cmt-counter div.cmt-counter-icon:first-child,
  392. .cmt-counter div.bx-base-pofile-unit-wo-info:first-child {
  393. margin-left: 0;
  394. }
  395. .cmt-counter div.cmt-counter-icon {
  396. box-sizing: border-box;
  397. z-index: 2;
  398. margin-right: 0.5rem;
  399. background-color: rgba(232, 232, 232, 1.0);
  400. border: 1px solid #ffffff;
  401. border-radius: 1rem;
  402. text-align: center;
  403. }
  404. .cmt-counter div.cmt-counter-icon .sys-icon {
  405. vertical-align: top;
  406. }
  407. .cmt-counter .bx-def-icon-size {
  408. width: 2.0rem;
  409. height: 2.0rem;
  410. font-size: 1.0rem;
  411. }
  412. .cmt-counter p.bx-base-pofile-unit-thumb.bx-def-icon-size {
  413. display: -webkit-flex;
  414. display: flex;
  415. -webkit-justify-content: center;
  416. justify-content: center;
  417. -webkit-align-items: center;
  418. align-items: center;
  419. font-size: 1.0rem;
  420. }
  421. .cmt-counter .bx-def-icon-size-min-height {
  422. min-height: 1.0rem;
  423. }
  424. .cmt-counter .bx-def-icon-size-max-height {
  425. max-height: 1.0rem;
  426. }
  427. .cmt-counter .bx-def-icon-size-left-indent {
  428. margin-left: 1.25rem;
  429. }
  430. .cmt-counter .bx-def-unit-img .bx-base-pofile-unit-thumb {
  431. display: block;
  432. border-width: 1px;
  433. }
  434. .cmt-counter .bx-base-pofile-unit-online {
  435. display: none;
  436. }
  437. /*----------------------*/
  438. /*--- Reviews Styles ---*/
  439. /*----------------------*/
  440. /*--- Mood Element Styles ---*/
  441. div.cmt-mood {
  442. position: relative;
  443. display: inline-block;
  444. }
  445. div.cmt-mood-underlay {}
  446. div.cmt-mood-slider {
  447. position: absolute;
  448. z-index: 1;
  449. top: 0px;
  450. left: 0px;
  451. white-space: nowrap;
  452. overflow: hidden;
  453. }
  454. div.cmt-mood a.cmt-mood-button,
  455. div.cmt-mood i.cmt-mood-star {
  456. position: relative;
  457. display: inline-block;
  458. vertical-align: top;
  459. height: 16px;
  460. width: 16px;
  461. margin: 0;
  462. padding: 0;
  463. text-align: center;
  464. }
  465. div.cmt-mood-underlay i.cmt-mood-star {
  466. color: rgba(255, 204, 102, 1);
  467. }
  468. div.cmt-mood-slider i.cmt-mood-star,
  469. div.cmt-mood-buttons a:hover i.cmt-mood-star {
  470. color: rgba(255, 100, 0, 1);
  471. }
  472. div.cmt-mood-buttons {
  473. position: absolute;
  474. z-index: 2;
  475. top: 0px;
  476. left: 0px;
  477. }
  478. div.cmt-mood-buttons a:hover {
  479. text-decoration: none;
  480. }
  481. div.cmt-mood-buttons i.cmt-mood-star {
  482. color: transparent;
  483. }
  484. .cmt-meta .bx-badge-compact {
  485. display: inline-block;
  486. }
  487. /*--- Rating Block Styles ---*/
  488. .cmts-box-rating div.cmt-mood i.cmt-mood-star,
  489. .cmt-rating-element div.cmt-mood i.cmt-mood-star,
  490. .cmt-rating-element div.cmt-mood a.cmt-mood-button {
  491. height: 24px;
  492. width: 24px;
  493. font-size: 20px;
  494. }