You are here

better_comments.css in Better Comments 7

Same filename and directory in other branches
  1. 7.2 css/better_comments.css
div.comment-body {
  border: 1px solid #ccc;
  display: inline-block;
  margin: 10px 0;
  padding: 5px 0;
  width: 90%;
  min-width:400px
}
.indented .comment-body {
    width: 86%;
	margin-left: 3px;
}
#edit-subject {
  width: 400px;
}
.better-comments .form-item {
  margin-top: 0 !important;
}
.comment-user-picture {
  display: inline;
}

.better-comment-wrapper {
    float: left;
    width: 100%;
}
.comment div.user-picture {
  width: 70px;
  height: 70px;
  float: left;
}
.better-comments img {
 // padding: 0 5px 0 0 !important;
}
.comment div.user-picture img {
  margin-left: 0;
  height: 70px;
}
.user-picture {
  display: inline;
  float: left !important;
}
div.comment-content {
    padding: 5px;
    float: left;
	 width: 85%;
}
.username {
  font-weight: bold;
}
div[class*="indented"] {
    float: left;
    margin-left: 25px;
}
div[id*="edit-comment-body"] {
    float: left;
    width: 83%;
}
.comment-body .user-picture img,
.comment-user-picture img {
  height: 60px;
  margin: 0 5px;
  width: 60px;
}
#comment-form, .comment-form {
    min-width: 400px;
    width: 98%;
}
.comment-form .comment-user-picture img {
  border: 1px solid #ccc;
  border-right: none;
}
#better-comments-text {
  height: 62px;
  resize: none;
  border-radius: 0;
}
textarea[id*="edit-comment-body-und-"] {
  width: 410px;
  height: 70px;
}
div.grippie {
  display: none;
}
#comments {
  border-top: 1px solid #cccccc;
}
#comments .form-actions {
    float: left;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
div[class*="indented"] .comment-form {
    background: #efefef;
    float: left;
    padding: 10px;
}
.use-ajax.button,
.button.ajax-processed {
  border-radius: 1px;
  margin-left: 5px;
}
.better-comments-confirm,
.preview {
  background: none repeat scroll 0 0 #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  min-height: 85px;
  padding: 10px;
  width: 375px;
}
.preview .comment-body {
  border: medium none;
}
.better-comments-confirm .form-actions {
  float: right;
  margin: 7px 14px;
}
.better-comments-confirm .form-submit.ajax-processed {
  border-radius: 0;
  margin: 0;
}
.ajax-progress .throbber {
  position: absolute;
  z-index: 999;
  height: 20px; /* tweak this according to your gif */
  width: 20px; /* tweak this according to your gif */
  margin: 2px;
}

File

css/better_comments.css
View source
  1. div.comment-body {
  2. border: 1px solid #ccc;
  3. display: inline-block;
  4. margin: 10px 0;
  5. padding: 5px 0;
  6. width: 90%;
  7. min-width:400px
  8. }
  9. .indented .comment-body {
  10. width: 86%;
  11. margin-left: 3px;
  12. }
  13. #edit-subject {
  14. width: 400px;
  15. }
  16. .better-comments .form-item {
  17. margin-top: 0 !important;
  18. }
  19. .comment-user-picture {
  20. display: inline;
  21. }
  22. .better-comment-wrapper {
  23. float: left;
  24. width: 100%;
  25. }
  26. .comment div.user-picture {
  27. width: 70px;
  28. height: 70px;
  29. float: left;
  30. }
  31. .better-comments img {
  32. // padding: 0 5px 0 0 !important;
  33. }
  34. .comment div.user-picture img {
  35. margin-left: 0;
  36. height: 70px;
  37. }
  38. .user-picture {
  39. display: inline;
  40. float: left !important;
  41. }
  42. div.comment-content {
  43. padding: 5px;
  44. float: left;
  45. width: 85%;
  46. }
  47. .username {
  48. font-weight: bold;
  49. }
  50. div[class*="indented"] {
  51. float: left;
  52. margin-left: 25px;
  53. }
  54. div[id*="edit-comment-body"] {
  55. float: left;
  56. width: 83%;
  57. }
  58. .comment-body .user-picture img,
  59. .comment-user-picture img {
  60. height: 60px;
  61. margin: 0 5px;
  62. width: 60px;
  63. }
  64. #comment-form, .comment-form {
  65. min-width: 400px;
  66. width: 98%;
  67. }
  68. .comment-form .comment-user-picture img {
  69. border: 1px solid #ccc;
  70. border-right: none;
  71. }
  72. #better-comments-text {
  73. height: 62px;
  74. resize: none;
  75. border-radius: 0;
  76. }
  77. textarea[id*="edit-comment-body-und-"] {
  78. width: 410px;
  79. height: 70px;
  80. }
  81. div.grippie {
  82. display: none;
  83. }
  84. #comments {
  85. border-top: 1px solid #cccccc;
  86. }
  87. #comments .form-actions {
  88. float: left;
  89. margin: 0px;
  90. padding: 0px;
  91. width: 100%;
  92. }
  93. div[class*="indented"] .comment-form {
  94. background: #efefef;
  95. float: left;
  96. padding: 10px;
  97. }
  98. .use-ajax.button,
  99. .button.ajax-processed {
  100. border-radius: 1px;
  101. margin-left: 5px;
  102. }
  103. .better-comments-confirm,
  104. .preview {
  105. background: none repeat scroll 0 0 #ffffff;
  106. border: 1px solid #cccccc;
  107. box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
  108. margin-bottom: 12px;
  109. min-height: 85px;
  110. padding: 10px;
  111. width: 375px;
  112. }
  113. .preview .comment-body {
  114. border: medium none;
  115. }
  116. .better-comments-confirm .form-actions {
  117. float: right;
  118. margin: 7px 14px;
  119. }
  120. .better-comments-confirm .form-submit.ajax-processed {
  121. border-radius: 0;
  122. margin: 0;
  123. }
  124. .ajax-progress .throbber {
  125. position: absolute;
  126. z-index: 999;
  127. height: 20px; /* tweak this according to your gif */
  128. width: 20px; /* tweak this according to your gif */
  129. margin: 2px;
  130. }