The actions are now consolidated in one location for each piece of content. Primary actions (vote, follow, endorse, mark as answer) are buttons, and secondary actions (pin, edit, delete, report, close) are in a menu. This also includes improved front-end error handling for the actions and significant test cleanup. Co-authored-by: jsa <jsa@edx.org> Co-authored-by: marco <marcotuts@gmail.com> Co-authored-by: Frances Botsford <frances@edx.org> Co-authored-by: Brian Talbot <btalbot@edx.org>
37 lines
774 B
SCSS
37 lines
774 B
SCSS
// discussion - elements - labels
|
|
// ====================
|
|
|
|
body.discussion, .discussion-module {
|
|
.post-label-pinned {
|
|
@include forum-post-label($forum-color-pinned);
|
|
}
|
|
|
|
.post-label-following {
|
|
@include forum-post-label($forum-color-following);
|
|
}
|
|
|
|
.post-label-reported {
|
|
@include forum-post-label($forum-color-reported);
|
|
}
|
|
|
|
.post-label-closed {
|
|
@include forum-post-label($forum-color-closed);
|
|
}
|
|
|
|
.post-label-by-staff {
|
|
@include forum-post-label($forum-color-staff);
|
|
}
|
|
|
|
.post-label-by-community-ta {
|
|
@include forum-post-label($forum-color-community-ta);
|
|
}
|
|
|
|
.user-label-staff {
|
|
@include forum-user-label($forum-color-staff);
|
|
}
|
|
|
|
.user-label-community-ta {
|
|
@include forum-user-label($forum-color-community-ta);
|
|
}
|
|
|
|
} |