cmts.css 9.2 KB

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