cmts.css 12 KB

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