answers.module.css in Answers 1.0.x
/* .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
- /* .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
- }