cmts.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  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-attached-preview {
  169. overflow:hidden;
  170. }
  171. div.cmt-attached-preview,
  172. div.cmt-attached-preview img {
  173. width: 100px;
  174. width: 6.25rem;
  175. height: 100px;
  176. height: 6.25rem;
  177. }
  178. div.cmt-attached-preview {
  179. position: relative;
  180. float: left;
  181. }
  182. div.cmt-attached-preview img {
  183. background-position: center center;
  184. background-repeat: no-repeat;
  185. background-size: contain;
  186. }
  187. /*--- Comment Counters ---*/
  188. div.cmt-counters {}
  189. /*--- Comment Actions ---*/
  190. div.cmt-actions {
  191. position: relative;
  192. text-align: left;
  193. }
  194. div.cmt-meta-ago,
  195. div.cmt-comment-manage-link,
  196. div.cmt-actions ul.bx-menu-hor,
  197. div.cmt-points-wrp {
  198. position: relative;
  199. float: left;
  200. }
  201. div.cmt-actions li .bx-vote {
  202. margin-right: 1.25rem;
  203. }
  204. div.cmt-comment-manage .bx-menu-ver li {
  205. white-space: nowrap;
  206. }
  207. /*--- Add Comment/Reply Styles ---*/
  208. div.cmt-reply {
  209. position: relative;
  210. }
  211. div.cmt-post-reply {
  212. position: relative;
  213. }
  214. /*--- Add Comment/Reply Form Styles ---*/
  215. form.cmt-post-reply .bx-form-input-textarea {
  216. height: 64px;
  217. height: 4rem;
  218. }
  219. form.cmt-post-reply div#bx-form-element-cmt_image,
  220. form.cmt-post-reply .bx-form-input-files-uploaders {
  221. margin-top: 0px;
  222. }
  223. a.cmts-uploader-button {
  224. position: absolute;
  225. z-index: 1;
  226. right: 0px;
  227. text-decoration: none;
  228. }
  229. div.cmts-uploader-file {
  230. position: relative;
  231. float: left;
  232. }
  233. div.cmts-uploader-file-preview {
  234. overflow: hidden;
  235. }
  236. div.cmts-uploader-file-preview,
  237. div.cmts-uploader-file-preview img,
  238. div.cmts-uploader-file-title {
  239. width: 100px;
  240. width: 6.25rem;
  241. }
  242. div.cmts-uploader-file-preview,
  243. div.cmts-uploader-file-preview img {
  244. height: 100px;
  245. height: 6.25rem;
  246. }
  247. div.cmts-uploader-file-preview img {
  248. background-position: center center;
  249. background-repeat: no-repeat;
  250. }
  251. div.cmts-uploader-file-title {
  252. overflow: hidden;
  253. text-overflow: ellipsis;
  254. }
  255. /*--- Minified Post Form ---*/
  256. div.cmt-reply.cmt-reply-min div.cmt-body {
  257. display: none;
  258. }
  259. div.cmt-reply div.cmt-body-min {
  260. position: relative;
  261. display: none;
  262. }
  263. div.cmt-reply.cmt-reply-min div.cmt-body-min {
  264. display: block;
  265. }
  266. div.cmt-reply div.cmt-body-min .cmt-bm-user {
  267. position: absolute;
  268. top: 0;
  269. left: 0;
  270. }
  271. div.cmt-reply div.cmt-body-min .cmt-bm-content {
  272. display: -webkit-flex;
  273. display: flex;
  274. -webkit-align-items: center;
  275. align-items: center;
  276. -webkit-justify-content: stretch;
  277. justify-content: stretch;
  278. }
  279. div.cmt-reply div.cmt-body-min .cmt-bm-content .bx-form-element-wrapper {
  280. position: relative;
  281. width: 100%;
  282. }
  283. /*--- Live Update Alert Styles ---*/
  284. div.cmt-lu-button {
  285. position: relative;
  286. text-align: center;
  287. }
  288. @supports(position:sticky) {
  289. div.cmt-lu-button {
  290. position: sticky;
  291. top: 1rem;
  292. z-index: 1;
  293. }
  294. }
  295. @supports(position:-webkit-sticky) {
  296. div.cmt-lu-button {
  297. position: -webkit-sticky;
  298. top: 1rem;
  299. z-index: 1;
  300. }
  301. }
  302. div.cmt-lu-button .bx-btn {
  303. display: inline-block;
  304. float: none;
  305. }
  306. /*--- Live Update Notifications Styles ---*/
  307. .cmt-lu-notif {
  308. position: relative;
  309. display: block;
  310. }
  311. div.cmt-lu-notif-cnt {
  312. position: relative;
  313. }
  314. div.cmt-lu-notif-avatar {
  315. position: absolute;
  316. top: 0px;
  317. left: 0px;
  318. text-align: center;
  319. }
  320. div.cmt-lu-notif-info {
  321. position: realtive;
  322. display: -webkit-flex;
  323. display: flex;
  324. -webkit-align-items: center;
  325. align-items: center;
  326. }
  327. div.cmt-lu-notifi-username {
  328. white-space: nowrap;
  329. text-overflow: ellipsis;
  330. overflow: hidden;
  331. }
  332. /*--- Comment Element Styles ---*/
  333. div.cmt div.cmt-element-holder,
  334. div.cmt div.cmt-counter-holder {
  335. position: relative;
  336. float: left;
  337. }
  338. span.cmt span.cmt-element-holder,
  339. span.cmt span.cmt-counter-holder {
  340. position: relative;
  341. display: inline-block;
  342. vertical-align: middle;
  343. }
  344. .cmt .cmt-element-holder,
  345. .cmt .cmt-counter-holder {
  346. line-height: 20px;
  347. line-height: 1.25rem;
  348. }
  349. .cmt-button .cmt-element-holder,
  350. .cmt-button .cmt-counter-holder {
  351. line-height: 36px;
  352. line-height: 2.2rem;
  353. }
  354. .cmt-button-small .cmt-element-holder,
  355. .cmt-button-small .cmt-counter-holder {
  356. line-height: 24px;
  357. line-height: 1.6rem;
  358. }
  359. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled,
  360. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled .sys-icon {
  361. color: #ddd;
  362. }
  363. .cmt-button .cmt-counter-holder .bx-btn-height,
  364. .cmt-button-small .cmt-counter-holder .bx-btn-height {
  365. font-size: 1.5rem;
  366. }
  367. .cmt-link .cmt-counter-holder.bx-btn-border {
  368. border-width: 0px;
  369. }
  370. /* +++ Comment Element: Counter +++ */
  371. .cmt-counter {
  372. position: relative;
  373. display: -webkit-flex;
  374. display: flex;
  375. -webkit-align-items: center;
  376. align-items: center;
  377. -webkit-flex-wrap:nowrap;
  378. flex-wrap:nowrap;
  379. }
  380. .cmt-counter > * {
  381. position: relative;
  382. }
  383. .cmt-counter div.cmt-counter-icon,
  384. .cmt-counter div.bx-base-pofile-unit-wo-info {
  385. margin-left: -0.5rem;
  386. }
  387. .cmt-counter div.cmt-counter-icon:first-child,
  388. .cmt-counter div.bx-base-pofile-unit-wo-info:first-child {
  389. margin-left: 0 !important;
  390. }
  391. .bx-media-phone .cmt-counter div.cmt-counter-icon,
  392. .bx-media-phone .cmt-counter div.bx-base-pofile-unit-wo-info {
  393. margin-left: -1.0rem;
  394. }
  395. .bx-media-tablet .bx-layout-column-thin .cmt-counter div.bx-base-pofile-unit-wo-info,
  396. .bx-media-tablet .bx-layout-column-half .cmt-counter div.bx-base-pofile-unit-wo-info {
  397. display: none;
  398. }
  399. .cmt-counter div.cmt-counter-icon {
  400. box-sizing: border-box;
  401. z-index: 2;
  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-badges-list,
  488. .cmt-meta .bx-badge-compact {
  489. display: inline-block;
  490. }
  491. /*--- Rating Block Styles ---*/
  492. .cmts-box-rating div.cmt-mood i.cmt-mood-star,
  493. .cmt-rating-element div.cmt-mood i.cmt-mood-star,
  494. .cmt-rating-element div.cmt-mood a.cmt-mood-button {
  495. height: 24px;
  496. width: 24px;
  497. font-size: 20px;
  498. }
  499. .cmt-author-not-active > .cmt-cnt .cmt-cont-cnt {
  500. color:#888;
  501. font-size:80%;
  502. }