mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 09:33:41 +08:00
c42257b47d
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.
38 lines
480 B
SCSS
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;
|
|
}
|
|
}
|