cmts.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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-attached-preview {
  154. overflow:hidden;
  155. }
  156. div.cmt-attached-preview,
  157. div.cmt-attached-preview img {
  158. width: 100px;
  159. width: 6.25rem;
  160. height: 100px;
  161. height: 6.25rem;
  162. }
  163. div.cmt-attached-preview {
  164. position: relative;
  165. float: left;
  166. }
  167. div.cmt-attached-preview img {
  168. background-position: center center;
  169. background-repeat: no-repeat;
  170. background-size: contain;
  171. }
  172. /*--- Comment Actions ---*/
  173. div.cmt-actions {
  174. position: relative;
  175. text-align: left;
  176. }
  177. div.cmt-meta-ago,
  178. div.cmt-comment-manage-link,
  179. div.cmt-actions ul.bx-menu-hor,
  180. div.cmt-points-wrp {
  181. position: relative;
  182. float: left;
  183. }
  184. div.cmt-actions li .bx-vote {
  185. margin-right: 1.25rem;
  186. }
  187. div.cmt-comment-manage .bx-menu-ver li {
  188. white-space: nowrap;
  189. }
  190. /*--- Add Comment/Reply Styles ---*/
  191. div.cmt-reply {
  192. position: relative;
  193. }
  194. div.cmt-post-reply {
  195. position: relative;
  196. }
  197. /*--- Add Comment/Reply Form Styles ---*/
  198. form.cmt-post-reply .bx-form-input-textarea {
  199. height: 64px;
  200. height: 4rem;
  201. }
  202. form.cmt-post-reply div#bx-form-element-cmt_image,
  203. form.cmt-post-reply .bx-form-input-files-uploaders {
  204. margin-top: 0px;
  205. }
  206. a.cmts-uploader-button {
  207. position: absolute;
  208. z-index: 1;
  209. right: 0px;
  210. text-decoration: none;
  211. }
  212. div.cmts-uploader-file {
  213. position: relative;
  214. float: left;
  215. }
  216. div.cmts-uploader-file-preview {
  217. overflow: hidden;
  218. }
  219. div.cmts-uploader-file-preview,
  220. div.cmts-uploader-file-preview img {
  221. width: 100px;
  222. width: 6.25rem;
  223. height: 100px;
  224. height: 6.25rem;
  225. }
  226. div.cmts-uploader-file-preview img {
  227. background-position: center center;
  228. background-repeat: no-repeat;
  229. }
  230. /*--- Minified Post Form ---*/
  231. div.cmt-reply.cmt-reply-min div.cmt-body {
  232. display: none;
  233. }
  234. div.cmt-reply div.cmt-body-min {
  235. position: relative;
  236. display: none;
  237. }
  238. div.cmt-reply.cmt-reply-min div.cmt-body-min {
  239. display: block;
  240. }
  241. div.cmt-reply div.cmt-body-min .cmt-bm-user {
  242. position: absolute;
  243. top: 0;
  244. left: 0;
  245. }
  246. div.cmt-reply div.cmt-body-min .cmt-bm-content {
  247. display: -webkit-flex;
  248. display: flex;
  249. -webkit-align-items: center;
  250. align-items: center;
  251. -webkit-justify-content: stretch;
  252. justify-content: stretch;
  253. }
  254. div.cmt-reply div.cmt-body-min .cmt-bm-content .bx-form-element-wrapper {
  255. position: relative;
  256. width: 100%;
  257. }
  258. /*--- Live Update Alert Styles ---*/
  259. div.cmt-lu-button {
  260. position: relative;
  261. text-align: center;
  262. }
  263. @supports(position:sticky) {
  264. div.cmt-lu-button {
  265. position: sticky;
  266. top: 1rem;
  267. z-index: 1;
  268. }
  269. }
  270. @supports(position:-webkit-sticky) {
  271. div.cmt-lu-button {
  272. position: -webkit-sticky;
  273. top: 1rem;
  274. z-index: 1;
  275. }
  276. }
  277. div.cmt-lu-button .bx-btn {
  278. display: inline-block;
  279. float: none;
  280. }
  281. /*--- Live Update Notifications Styles ---*/
  282. .cmt-lu-notif {
  283. position: relative;
  284. display: block;
  285. }
  286. div.cmt-lu-notif-cnt {
  287. position: relative;
  288. }
  289. div.cmt-lu-notif-avatar {
  290. position: absolute;
  291. top: 0px;
  292. left: 0px;
  293. text-align: center;
  294. }
  295. div.cmt-lu-notif-info {
  296. position: realtive;
  297. display: -webkit-flex;
  298. display: flex;
  299. -webkit-align-items: center;
  300. align-items: center;
  301. }
  302. div.cmt-lu-notifi-username {
  303. white-space: nowrap;
  304. text-overflow: ellipsis;
  305. overflow: hidden;
  306. }
  307. /*--- Comment Element Styles ---*/
  308. div.cmt div.cmt-element-holder,
  309. div.cmt div.cmt-counter-holder {
  310. position: relative;
  311. float: left;
  312. }
  313. .cmt .cmt-element-holder,
  314. .cmt .cmt-counter-holder {
  315. line-height: 20px;
  316. line-height: 1.25rem;
  317. }
  318. .cmt-button .cmt-element-holder,
  319. .cmt-button .cmt-counter-holder {
  320. line-height: 36px;
  321. line-height: 2.2rem;
  322. }
  323. .cmt-button-small .cmt-element-holder,
  324. .cmt-button-small .cmt-counter-holder {
  325. line-height: 24px;
  326. line-height: 1.6rem;
  327. }
  328. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled,
  329. .cmt .cmt-element-holder .cmt-do-comment.cmt-disabled .sys-icon {
  330. color: #ddd;
  331. }
  332. .cmt-button .cmt-counter-holder,
  333. .cmt-button-small .cmt-counter-holder {
  334. font-size: 1.5rem;
  335. }
  336. .cmt-link .cmt-counter-holder.bx-btn-border {
  337. border-width: 0px;
  338. }