2024-04-09 14:46:15 +02:00
|
|
|
.change {
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
|
|
|
--color-positive: #2ecc40;
|
|
|
|
--color-negative: #ff4136;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* culture-sensitive color psychology */
|
2024-04-14 12:52:37 +02:00
|
|
|
.change[data-locale|='zh'],
|
|
|
|
.change[data-locale|='ja'] {
|
2024-04-09 14:46:15 +02:00
|
|
|
--color-positive: #ff4136;
|
|
|
|
--color-negative: #2ecc40;
|
|
|
|
}
|
|
|
|
|
2024-04-14 12:52:37 +02:00
|
|
|
.change[data-locale|='ko'] {
|
2024-04-09 14:46:15 +02:00
|
|
|
--color-positive: #0074d9;
|
|
|
|
--color-negative: #2ecc40;
|
|
|
|
}
|
|
|
|
|
|
|
|
.change svg {
|
|
|
|
position: relative;
|
|
|
|
top: 0.15rem;
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.change.positive {
|
|
|
|
color: var(--color-positive);
|
|
|
|
}
|
|
|
|
|
|
|
|
.change.negative {
|
|
|
|
color: var(--color-negative);
|
|
|
|
}
|