asi-calculator/features/prices/components/Price/PriceChange.module.css

34 lines
535 B
CSS
Raw Normal View History

.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'] {
--color-positive: #ff4136;
--color-negative: #2ecc40;
}
2024-04-14 12:52:37 +02:00
.change[data-locale|='ko'] {
--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);
}