cmts.css 12 KB

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