You are here

answers.module.css in Answers 1.0.x

Same filename and directory in other branches
  1. 2.0.x modules/core/css/answers.module.css
/* .field--name-field-body {
    display: inline;
}

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

body.page-node-type-answers-question .form-item-comment-body-0-value label[for="edit-comment-body-0-value"] {
    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;
}

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

File

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