You are here

answers.module.css in Answers 2.0.x

Same filename and directory in other branches
  1. 1.0.x modules/core/css/answers.module.css
/*

.comment-answers-comment-form.comment-form,
.comment-answers-question-comment-form.comment-form {
  display: none;
}

 */

article.answers-comment {
  display: flex
}

article.answers-comment .comment-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-content: flex-start;
  width: 37px;
  width: calc(2ch + 16px + 4px + 2px);
  margin-right: 9px;
}

article.answers-comment .comment-text {
  grid-column: 2;
  float: right;
  /* width: 20px; */
}

article.answers-comment>span * {
  display: inline-block;
}

article.answers-comment .comment-voting {
  width: 20px;
  padding-right: 4px;
  float: right;
}

article.answers-comment .comment-points {
  width: 20px;
  padding-right: 4px;
  float: right;
}

article.answers-comment .comment-flagging {
  width: 20px;
  float: right;
  padding-right: 4px;
  grid-column: 2;
}

.answers-question-grid {
  display: grid;
}

.answers-question-grid>.answers-actions {
  grid-column: 1;
  width: auto;
  padding-right: 16px;
}

.answers-question-grid>.answers-content {
  padding-right: 16px;
  grid-column: 2;
  width: auto;
  min-width: 0;
  vertical-align: top;
}

.comment-answers-question-comment-form div.form-item-comment-body-0-value label,
.comment-answers-comment-form div.form-item-comment-body-0-value label,
.comment-answers-answer-form div.form-item-comment-body-0-value label {
  display: none;
}

File

modules/core/css/answers.module.css
View source
  1. /*
  2. .comment-answers-comment-form.comment-form,
  3. .comment-answers-question-comment-form.comment-form {
  4. display: none;
  5. }
  6. */
  7. article.answers-comment {
  8. display: flex
  9. }
  10. article.answers-comment .comment-actions {
  11. display: grid;
  12. grid-template-columns: repeat(2, max-content);
  13. align-content: flex-start;
  14. width: 37px;
  15. width: calc(2ch + 16px + 4px + 2px);
  16. margin-right: 9px;
  17. }
  18. article.answers-comment .comment-text {
  19. grid-column: 2;
  20. float: right;
  21. /* width: 20px; */
  22. }
  23. article.answers-comment>span * {
  24. display: inline-block;
  25. }
  26. article.answers-comment .comment-voting {
  27. width: 20px;
  28. padding-right: 4px;
  29. float: right;
  30. }
  31. article.answers-comment .comment-points {
  32. width: 20px;
  33. padding-right: 4px;
  34. float: right;
  35. }
  36. article.answers-comment .comment-flagging {
  37. width: 20px;
  38. float: right;
  39. padding-right: 4px;
  40. grid-column: 2;
  41. }
  42. .answers-question-grid {
  43. display: grid;
  44. }
  45. .answers-question-grid>.answers-actions {
  46. grid-column: 1;
  47. width: auto;
  48. padding-right: 16px;
  49. }
  50. .answers-question-grid>.answers-content {
  51. padding-right: 16px;
  52. grid-column: 2;
  53. width: auto;
  54. min-width: 0;
  55. vertical-align: top;
  56. }
  57. .comment-answers-question-comment-form div.form-item-comment-body-0-value label,
  58. .comment-answers-comment-form div.form-item-comment-body-0-value label,
  59. .comment-answers-answer-form div.form-item-comment-body-0-value label {
  60. display: none;
  61. }