cmts.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  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 div#bx-form-element-cmt_image,
  216. form.cmt-post-reply .bx-form-input-files-uploaders {
  217. margin-top: 0px;
  218. }
  219. a.cmts-uploader-button {
  220. position: absolute;
  221. z-index: 1;
  222. right: 0px;
  223. text-decoration: none;
  224. }
  225. div.cmts-uploader-file {
  226. position: relative;
  227. float: left;
  228. }
  229. div.cmts-uploader-file-preview {
  230. overflow: hidden;
  231. }
  232. div.cmts-uploader-file-preview,
  233. div.cmts-uploader-file-preview img,
  234. div.cmts-uploader-file-title {
  235. width: 100px;
  236. width: 6.25rem;
  237. }
  238. div.cmts-uploader-file-preview,
  239. div.cmts-uploader-file-preview img {
  240. height: 100px;
  241. height: 6.25rem;
  242. }
  243. div.cmts-uploader-file-preview img {
  244. background-position: center center;
  245. background-repeat: no-repeat;
  246. }
  247. div.cmts-uploader-file-title {
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. }
  251. /*--- Minified Post Form ---*/
  252. div.cmt-reply.cmt-reply-min div.cmt-body {
  253. display: none;
  254. }
  255. div.cmt-reply div.cmt-body-min {
  256. position: relative;
  257. display: none;
  258. }
  259. div.cmt-reply.cmt-reply-min div.cmt-body-min {
  260. display: block;
  261. }
  262. div.cmt-reply div.cmt-body-min .cmt-bm-user {
  263. position: absolute;
  264. top: 0;
  265. left: 0;
  266. }
  267. div.cmt-reply div.cmt-body-min .cmt-bm-content {
  268. display: -webkit-flex;
  269. display: flex;
  270. -webkit-align-items: center;
  271. align-items: center;
  272. -webkit-justify-content: stretch;
  273. justify-content: stretch;
  274. }
  275. div.cmt-reply div.cmt-body-min .cmt-bm-content .bx-form-element-wrapper {
  276. position: relative;
  277. width: 100%;
  278. }
  279. /*--- Live Update Alert Styles ---*/
  280. div.cmt-lu-button {
  281. position: relative;
  282. text-align: center;
  283. }
  284. @supports(position:sticky) {
  285. div.cmt-lu-button {
  286. position: sticky;
  287. top: 1rem;
  288. z-index: 1;
  289. }
  290. }
  291. @supports(position:-webkit-sticky) {
  292. div.cmt-lu-button {
  293. position: -webkit-sticky;
  294. top: 1rem;
  295. z-index: 1;
  296. }
  297. }
  298. div.cmt-lu-button .bx-btn {
  299. display: inline-block;
  300. float: none;
  301. }
  302. /*--- Live Update Notifications Styles ---*/
  303. .cmt-lu-notif {
  304. position: relative;
  305. display: block;
  306. }
  307. div.cmt-lu-notif-cnt {
  308. position: relative;
  309. }
  310. div.cmt-lu-notif-avatar {
  311. position: absolute;
  312. top: 0px;
  313. left: 0px;
  314. text-align: center;
  315. }
  316. div.cmt-lu-notif-info {
  317. position: realtive;
  318. display: -webkit-flex;
  319. display: flex;
  320. -webkit-align-items: center;
  321. align-items: center;
  322. }
  323. div.cmt-lu-notifi-username {
  324. white-space: nowrap;
  325. text-overflow: ellipsis;
  326. overflow: hidden;
  327. }
  328. /*--- Comment Element Styles ---*/
  329. div.cmt div.cmt-element-holder,
  330. div.cmt div.cmt-counter-holder {
  331. position: relative;
  332. float: left;
  333. }
  334. span.cmt span.cmt-element-holder,
  335. span.cmt span.cmt-counter-holder {
  336. position: relative;
  337. display: inline-block;
  338. vertical-align: middle;
  339. }
  340. .cmt .cmt-element-holder,
  341. .cmt .cmt-counter-holder {
  342. line-height: 20px;
  343. line-height: 1.25rem;
  344. }
  345. .cmt-button .cmt-element-holder,
  346. .cmt-button .cmt-counter-holder {
  347. line-height: 36px;
  348. line-height: 2.2rem;
  349. }
  350. .cmt-button-small .cmt-element-holder,
  351. .cmt-button-small .cmt-counter-holder {
  352. line-height: 24px;
  353. line-height: 1.6rem;
  354. }
  355. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled,
  356. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled .sys-icon {
  357. color: #ddd;
  358. }
  359. .cmt-button .cmt-counter-holder .bx-btn-height,
  360. .cmt-button-small .cmt-counter-holder .bx-btn-height {
  361. font-size: 1.5rem;
  362. }
  363. .cmt-link .cmt-counter-holder.bx-btn-border {
  364. border-width: 0px;
  365. }
  366. /* +++ Comment Element: Counter +++ */
  367. .cmt-counter {
  368. position: relative;
  369. display: -webkit-flex;
  370. display: flex;
  371. -webkit-align-items: center;
  372. align-items: center;
  373. -webkit-flex-wrap:nowrap;
  374. flex-wrap:nowrap;
  375. }
  376. .cmt-counter > * {
  377. position: relative;
  378. }
  379. .cmt-counter div.cmt-counter-icon,
  380. .cmt-counter div.bx-base-pofile-unit-wo-info {
  381. margin-left: -0.5rem;
  382. }
  383. .cmt-counter div.cmt-counter-icon:first-child,
  384. .cmt-counter div.bx-base-pofile-unit-wo-info:first-child {
  385. margin-left: 0 !important;
  386. }
  387. .bx-media-phone .cmt-counter div.cmt-counter-icon,
  388. .bx-media-phone .cmt-counter div.bx-base-pofile-unit-wo-info {
  389. margin-left: -1.0rem;
  390. }
  391. .bx-media-tablet .bx-layout-column-thin .cmt-counter div.bx-base-pofile-unit-wo-info,
  392. .bx-media-tablet .bx-layout-column-half .cmt-counter div.bx-base-pofile-unit-wo-info {
  393. display: none;
  394. }
  395. .cmt-counter div.cmt-counter-icon {
  396. box-sizing: border-box;
  397. z-index: 2;
  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-badges-list,
  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. }
  495. .cmt-author-not-active > .cmt-cnt .cmt-cont-cnt {
  496. color:#888;
  497. font-size:80%;
  498. }