1
0

cmts.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. div.cmt-subhead {
  91. text-align: left;
  92. text-overflow: ellipsis;
  93. white-space: nowrap;
  94. overflow: hidden;
  95. }
  96. span.cmt-reply-to a {
  97. text-decoration: none;
  98. }
  99. span.cmt-posted-ago {
  100. text-transform: lovercase;
  101. }
  102. span.cmt-points {
  103. text-transform: lovercase;
  104. }
  105. /*--- Comment Body ---*/
  106. div.cmt-cont {
  107. position: relative;
  108. text-align: left;
  109. }
  110. div.cmt-cont .bullet {
  111. padding: 0px 5px;
  112. padding: 0px 0.3rem;
  113. }
  114. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper {
  115. margin-top: 10px;
  116. margin-top: 0.5rem;
  117. }
  118. div.cmt-cont .cmt-post-reply .bx-form-element-wrapper:first-child {
  119. margin-top: 0px;
  120. }
  121. span.cmt-body-see-more a {
  122. font-weight: bold;
  123. }
  124. div.cmt-attached-preview {
  125. overflow:hidden;
  126. }
  127. div.cmt-attached-preview,
  128. div.cmt-attached-preview img {
  129. width: 100px;
  130. width: 6.25rem;
  131. height: 100px;
  132. height: 6.25rem;
  133. }
  134. div.cmt-attached-preview {
  135. position: relative;
  136. float: left;
  137. }
  138. div.cmt-attached-preview img {
  139. background-position: center center;
  140. background-repeat: no-repeat;
  141. background-size: contain;
  142. }
  143. /*--- Comment Actions ---*/
  144. div.cmt-actions {
  145. position: relative;
  146. text-align: left;
  147. }
  148. div.cmt-ago,
  149. div.cmt-comment-manage-link,
  150. div.cmt-actions ul.bx-menu-hor,
  151. div.cmt-points-wrp {
  152. position: relative;
  153. float: left;
  154. }
  155. div.cmt-actions li .bx-vote {
  156. margin-right: 1.25rem;
  157. }
  158. div.cmt-comment-manage .bx-menu-ver li {
  159. white-space: nowrap;
  160. }
  161. /*--- Add Comment/Reply Styles ---*/
  162. div.cmt-reply {
  163. position: relative;
  164. }
  165. div.cmt-post-reply {
  166. position: relative;
  167. }
  168. /*--- Add Comment/Reply Form Styles ---*/
  169. form.cmt-post-reply .bx-form-input-textarea {
  170. height: 64px;
  171. height: 4rem;
  172. }
  173. form.cmt-post-reply .bx-form-input-submit {
  174. text-transform: uppercase;
  175. }
  176. form.cmt-post-reply div#bx-form-element-cmt_image,
  177. form.cmt-post-reply .bx-form-input-files-uploaders {
  178. margin-top: 0px;
  179. }
  180. a.cmts-uploader-button {
  181. position: absolute;
  182. z-index: 1;
  183. right: 0px;
  184. text-decoration: none;
  185. }
  186. div.cmts-uploader-file {
  187. position: relative;
  188. float: left;
  189. }
  190. div.cmts-uploader-file-preview {
  191. overflow: hidden;
  192. }
  193. div.cmts-uploader-file-preview,
  194. div.cmts-uploader-file-preview img {
  195. width: 100px;
  196. width: 6.25rem;
  197. height: 100px;
  198. height: 6.25rem;
  199. }
  200. div.cmts-uploader-file-preview img {
  201. background-position: center center;
  202. background-repeat: no-repeat;
  203. }
  204. /*--- Comment Styles in Live Update Notification ---*/
  205. div.cmt-notif-comment {
  206. position: relative;
  207. }
  208. div.cmt-notif-avatar {
  209. position: absolute;
  210. top: 0px;
  211. left: 0px;
  212. text-align: center;
  213. }
  214. div.cmt-notif-avatar .sys-icon {
  215. font-size: 60px;
  216. font-size: 3.75rem;
  217. }
  218. div.cmt-notif-info {
  219. position: realtive;
  220. }
  221. div.cmt-notifi-username {
  222. line-height: 24px;
  223. line-height: 1.5rem;
  224. white-space: nowrap;
  225. text-overflow: ellipsis;
  226. overflow: hidden;
  227. }