cmts.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  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: realtive;
  76. overflow: hidden;
  77. }
  78. div.cmt-blink-plate {
  79. position: absolute;
  80. display: none;
  81. top: -10px;
  82. left: -10px;
  83. width: 100%;
  84. height: 100%;
  85. padding: 10px;
  86. background-color: rgb(255, 244, 213);
  87. background-color: rgba(255, 234, 193, 0.5);
  88. }
  89. div.cmt-head {
  90. text-align: left;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. overflow: hidden;
  94. }
  95. span.cmt-reply-to a {
  96. text-decoration: none;
  97. }
  98. span.cmt-posted-ago {
  99. text-transform: lovercase;
  100. }
  101. span.cmt-points {
  102. text-transform: lovercase;
  103. }
  104. /*--- unit meta ---*/
  105. .cmt-meta {
  106. white-space: nowrap;
  107. overflow: hidden;
  108. text-overflow: ellipsis;
  109. text-align: left;
  110. }
  111. .cmt-meta ul.bx-menu-custom.bx-menu-hor > li > span {
  112. margin-right: 0;
  113. }
  114. .cmt-meta ul.bx-menu-custom li:first-child .cmt-meta-div {
  115. display: none;
  116. }
  117. .cmt-meta ul.bx-menu-custom li .cmt-meta-item,
  118. .cmt-meta ul.bx-menu-custom li .cmt-meta-div,
  119. .cmt-meta ul.bx-menu-custom li .bx-btn {
  120. position: relative;
  121. float: none;
  122. display: inline-block;
  123. vertical-align: middle;
  124. }
  125. .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-ago,
  126. .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-membership {
  127. font-size: 12px;
  128. font-size: .75rem;
  129. }
  130. /*--- Comment Body ---*/
  131. div.cmt-cont {
  132. position: relative;
  133. text-align: left;
  134. }
  135. div.cmt-cont .bullet {
  136. padding: 0px 5px;
  137. padding: 0px 0.3rem;
  138. }
  139. div.cmt-cont .cmt-body img {
  140. max-width: 100%;
  141. height: auto;
  142. }
  143. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper {
  144. margin-top: 10px;
  145. margin-top: 0.5rem;
  146. }
  147. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper:first-child {
  148. margin-top: 0px;
  149. }
  150. span.cmt-body-see-more a {
  151. font-weight: bold;
  152. }
  153. div.cmt-reactions .bx-vote-counter-wrapper {
  154. line-height: 2.0rem;
  155. font-size: 1.2rem;
  156. }
  157. div.cmt-attached-preview {
  158. overflow:hidden;
  159. }
  160. div.cmt-attached-preview,
  161. div.cmt-attached-preview img {
  162. width: 100px;
  163. width: 6.25rem;
  164. height: 100px;
  165. height: 6.25rem;
  166. }
  167. div.cmt-attached-preview {
  168. position: relative;
  169. float: left;
  170. }
  171. div.cmt-attached-preview img {
  172. background-position: center center;
  173. background-repeat: no-repeat;
  174. background-size: contain;
  175. }
  176. /*--- Comment Actions ---*/
  177. div.cmt-actions {
  178. position: relative;
  179. text-align: left;
  180. }
  181. div.cmt-meta-ago,
  182. div.cmt-comment-manage-link,
  183. div.cmt-actions ul.bx-menu-hor,
  184. div.cmt-points-wrp {
  185. position: relative;
  186. float: left;
  187. }
  188. div.cmt-actions li .bx-vote {
  189. margin-right: 1.25rem;
  190. }
  191. div.cmt-comment-manage .bx-menu-ver li {
  192. white-space: nowrap;
  193. }
  194. /*--- Add Comment/Reply Styles ---*/
  195. div.cmt-reply {
  196. position: relative;
  197. }
  198. div.cmt-post-reply {
  199. position: relative;
  200. }
  201. /*--- Add Comment/Reply Form Styles ---*/
  202. form.cmt-post-reply .bx-form-input-textarea {
  203. height: 64px;
  204. height: 4rem;
  205. }
  206. form.cmt-post-reply div#bx-form-element-cmt_image,
  207. form.cmt-post-reply .bx-form-input-files-uploaders {
  208. margin-top: 0px;
  209. }
  210. a.cmts-uploader-button {
  211. position: absolute;
  212. z-index: 1;
  213. right: 0px;
  214. text-decoration: none;
  215. }
  216. div.cmts-uploader-file {
  217. position: relative;
  218. float: left;
  219. }
  220. div.cmts-uploader-file-preview {
  221. overflow: hidden;
  222. }
  223. div.cmts-uploader-file-preview,
  224. div.cmts-uploader-file-preview img {
  225. width: 100px;
  226. width: 6.25rem;
  227. height: 100px;
  228. height: 6.25rem;
  229. }
  230. div.cmts-uploader-file-preview img {
  231. background-position: center center;
  232. background-repeat: no-repeat;
  233. }
  234. /*--- Minified Post Form ---*/
  235. div.cmt-reply.cmt-reply-min div.cmt-body {
  236. display: none;
  237. }
  238. div.cmt-reply div.cmt-body-min {
  239. position: relative;
  240. display: none;
  241. }
  242. div.cmt-reply.cmt-reply-min div.cmt-body-min {
  243. display: block;
  244. }
  245. div.cmt-reply div.cmt-body-min .cmt-bm-user {
  246. position: absolute;
  247. top: 0;
  248. left: 0;
  249. }
  250. div.cmt-reply div.cmt-body-min .cmt-bm-content {
  251. display: -webkit-flex;
  252. display: flex;
  253. -webkit-align-items: center;
  254. align-items: center;
  255. -webkit-justify-content: stretch;
  256. justify-content: stretch;
  257. }
  258. div.cmt-reply div.cmt-body-min .cmt-bm-content .bx-form-element-wrapper {
  259. position: relative;
  260. width: 100%;
  261. }
  262. /*--- Live Update Alert Styles ---*/
  263. div.cmt-lu-button {
  264. position: relative;
  265. text-align: center;
  266. }
  267. @supports(position:sticky) {
  268. div.cmt-lu-button {
  269. position: sticky;
  270. top: 1rem;
  271. z-index: 1;
  272. }
  273. }
  274. @supports(position:-webkit-sticky) {
  275. div.cmt-lu-button {
  276. position: -webkit-sticky;
  277. top: 1rem;
  278. z-index: 1;
  279. }
  280. }
  281. div.cmt-lu-button .bx-btn {
  282. display: inline-block;
  283. float: none;
  284. }
  285. /*--- Live Update Notifications Styles ---*/
  286. .cmt-lu-notif {
  287. position: relative;
  288. display: block;
  289. }
  290. div.cmt-lu-notif-cnt {
  291. position: relative;
  292. }
  293. div.cmt-lu-notif-avatar {
  294. position: absolute;
  295. top: 0px;
  296. left: 0px;
  297. text-align: center;
  298. }
  299. div.cmt-lu-notif-info {
  300. position: realtive;
  301. display: -webkit-flex;
  302. display: flex;
  303. -webkit-align-items: center;
  304. align-items: center;
  305. }
  306. div.cmt-lu-notifi-username {
  307. white-space: nowrap;
  308. text-overflow: ellipsis;
  309. overflow: hidden;
  310. }
  311. /*--- Comment Element Styles ---*/
  312. div.cmt div.cmt-element-holder,
  313. div.cmt div.cmt-counter-holder {
  314. position: relative;
  315. float: left;
  316. }
  317. .cmt .cmt-element-holder,
  318. .cmt .cmt-counter-holder {
  319. line-height: 20px;
  320. line-height: 1.25rem;
  321. }
  322. .cmt-button .cmt-element-holder,
  323. .cmt-button .cmt-counter-holder {
  324. line-height: 36px;
  325. line-height: 2.2rem;
  326. }
  327. .cmt-button-small .cmt-element-holder,
  328. .cmt-button-small .cmt-counter-holder {
  329. line-height: 24px;
  330. line-height: 1.6rem;
  331. }
  332. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled,
  333. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled .sys-icon {
  334. color: #ddd;
  335. }
  336. .cmt-button .cmt-counter-holder,
  337. .cmt-button-small .cmt-counter-holder {
  338. font-size: 1.5rem;
  339. }
  340. .cmt-link .cmt-counter-holder.bx-btn-border {
  341. border-width: 0px;
  342. }
  343. /*----------------------*/
  344. /*--- Reviews Styles ---*/
  345. /*----------------------*/
  346. /*--- Mood Element Styles ---*/
  347. div.cmt-mood {
  348. position: relative;
  349. display: inline-block;
  350. }
  351. div.cmt-mood-underlay {}
  352. div.cmt-mood-slider {
  353. position: absolute;
  354. z-index: 1;
  355. top: 0px;
  356. left: 0px;
  357. white-space: nowrap;
  358. overflow: hidden;
  359. }
  360. div.cmt-mood a.cmt-mood-button,
  361. div.cmt-mood i.cmt-mood-star {
  362. position: relative;
  363. display: inline-block;
  364. vertical-align: top;
  365. height: 16px;
  366. width: 16px;
  367. margin: 0;
  368. padding: 0;
  369. text-align: center;
  370. }
  371. div.cmt-mood-underlay i.cmt-mood-star {
  372. color: rgba(255, 204, 102, 1);
  373. }
  374. div.cmt-mood-slider i.cmt-mood-star,
  375. div.cmt-mood-buttons a:hover i.cmt-mood-star {
  376. color: rgba(255, 100, 0, 1);
  377. }
  378. div.cmt-mood-buttons {
  379. position: absolute;
  380. z-index: 2;
  381. top: 0px;
  382. left: 0px;
  383. }
  384. div.cmt-mood-buttons a:hover {
  385. text-decoration: none;
  386. }
  387. div.cmt-mood-buttons i.cmt-mood-star {
  388. color: transparent;
  389. }
  390. /*--- Rating Block Styles ---*/
  391. .cmts-box-rating div.cmt-mood i.cmt-mood-star {
  392. height: 24px;
  393. width: 24px;
  394. font-size: 20px;
  395. }