| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- .trade-history {
- display: flex;
- flex-direction: column;
- background: #fff;
- height: 100%;
- .trade-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 0.813rem;
- font-weight: 600;
- padding: 8px 12px;
- border-bottom: 1px solid #eee;
- color: #333;
- .trade-title-left {
- display: flex;
- align-items: center;
- gap: 6px;
- }
- .sound-toggle {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 22px;
- height: 22px;
- border: none;
- border-radius: 4px;
- background: transparent;
- cursor: pointer;
- font-size: 0.75rem;
- padding: 0;
- transition: background 0.15s;
- &:hover {
- background: #f0f0f0;
- }
- &.active {
- color: #F7931A;
- }
- &.muted {
- opacity: 0.5;
- }
- }
- .trade-intensity {
- font-size: 0.688rem;
- font-weight: 600;
- font-variant-numeric: tabular-nums;
- &.up {
- color: hsl(var(--crypto-up));
- }
- &.down {
- color: hsl(var(--crypto-down));
- }
- }
- }
- .trade-loading {
- padding: 24px;
- text-align: center;
- color: #999;
- font-size: 0.813rem;
- }
- .trade-header {
- display: flex;
- justify-content: space-between;
- padding: 4px 12px;
- font-size: 0.688rem;
- color: #999;
- border-bottom: 1px solid #f5f5f5;
- span:last-child {
- text-align: right;
- }
- }
- .trade-body {
- flex: 1;
- overflow-y: auto;
- font-variant-numeric: tabular-nums;
- }
- .trade-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 3px 12px;
- font-size: 0.75rem;
- transition: background 0.1s;
- &.buy .price {
- color: hsl(var(--crypto-up));
- }
- &.sell .price {
- color: hsl(var(--crypto-down));
- }
- .price {
- font-weight: 500;
- flex: 1;
- }
- .size {
- color: #555;
- flex: 1;
- text-align: center;
- }
- .time {
- color: #999;
- font-size: 0.688rem;
- flex-shrink: 0;
- text-align: right;
- }
- }
- }
|