* Fix all stylelint errors For any errors that fixing would require changing the output of the css disable stylelint for that line instead of modifying. * Update quality.py Make stylelint quality check pass when there are no errors * Delete empty selectors
65 lines
1.1 KiB
SCSS
65 lines
1.1 KiB
SCSS
// discussion - elements - labels
|
|
// ====================
|
|
|
|
.discussion {
|
|
.post-label {
|
|
@include margin($baseline/4, $baseline/2, 0, 0);
|
|
|
|
@extend %t-light;
|
|
|
|
font-size: $forum-small-font-size;
|
|
display: inline;
|
|
white-space: nowrap;
|
|
|
|
.icon {
|
|
@include margin-right($baseline/5);
|
|
}
|
|
|
|
&.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
&.post-label-pinned {
|
|
color: $forum-color-pinned;
|
|
}
|
|
|
|
&.post-label-following {
|
|
color: $forum-color-following;
|
|
}
|
|
|
|
&.post-label-reported {
|
|
color: $forum-color-reported;
|
|
}
|
|
|
|
&.post-label-closed {
|
|
color: $forum-color-closed;
|
|
}
|
|
|
|
&.post-label-by-staff {
|
|
color: $forum-color-staff;
|
|
}
|
|
|
|
&.post-label-by-community-ta {
|
|
color: $forum-color-community-ta;
|
|
}
|
|
}
|
|
|
|
.user-label-staff,
|
|
.user-label-community-ta {
|
|
color: $forum-color-copy-light;
|
|
font-size: $forum-small-font-size;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
// Make post labels tighter when shown inside the left nav
|
|
.forum-nav-thread-link {
|
|
.forum-nav-thread-labels {
|
|
.post-label {
|
|
.icon {
|
|
@include margin-right(0);
|
|
}
|
|
}
|
|
}
|
|
}
|