discourse/app/assets/stylesheets/common/base/explain-reviewable.scss
Ted Johansson c42257b47d
DEV: Prettify negative numbers in reviewable score explanation (#23642)
This is an aesthetic change. Currently, if one of the scores involved in the reviewable score explanation is negative, we display it as: + -value. This changes that.

I also made an attempt at converting the component into GJS format. This is done as a separate commit.
2023-09-25 10:34:51 +01:00

38 lines
480 B
SCSS

.explain-reviewable {
min-width: 500px;
.thresholds {
margin-top: 1em;
}
table {
width: 100%;
}
table td {
padding: 0.5em;
}
td.sum {
text-align: right;
}
td.sum.total {
font-weight: bold;
}
tr.total {
td {
background-color: var(--primary-low);
font-weight: bold;
}
}
.op {
font-weight: bold;
}
.score-value-type {
color: var(--primary-medium);
}
.op:first-of-type {
display: none;
}
}