cmts.css 12 KB

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