|
2 | 2 | width: 100%; |
3 | 3 | overflow: hidden; |
4 | 4 | padding: 6px 0; |
5 | | - /* Removed margin-bottom to fix spacing */ |
6 | 5 | position: relative; |
7 | | - /* Reduced mask to make it look full width */ |
8 | 6 | mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); |
9 | 7 | } |
10 | 8 |
|
|
27 | 25 | .history-scroll { |
28 | 26 | display: flex; |
29 | 27 | gap: 10px; |
30 | | - /* Align to end so Newest (and + btn) allow standard reading flow LTR but prioritized? |
31 | | - Actually with 50 items and Old->New order, flex-start is fine, user scrolls to see old. |
32 | | - But user wants "Space for screen size". With 50, it fills. |
33 | | - */ |
34 | 28 | justify-content: flex-end; |
35 | 29 | flex-direction: row; |
36 | 30 | overflow-x: auto; |
37 | 31 | padding: 5px; |
38 | | - /* Hide scrollbar */ |
39 | 32 | scrollbar-width: none; |
40 | 33 | -ms-overflow-style: none; |
41 | 34 | } |
|
59 | 52 | border: 1px solid rgba(255, 255, 255, 0.1); |
60 | 53 | } |
61 | 54 |
|
62 | | -/* LOW (< 2.0x) - Green (Basilico) */ |
63 | 55 | .history-badge.low { |
64 | 56 | background: rgba(0, 140, 69, 0.2); |
65 | 57 | color: #4caf50; |
66 | 58 | border-color: rgba(0, 140, 69, 0.5); |
67 | 59 | box-shadow: 0 0 10px rgba(0, 140, 69, 0.4); |
68 | 60 | } |
69 | 61 |
|
70 | | -/* MEDIUM (2.0x - 10.0x) - White (Mozzarella) */ |
71 | 62 | .history-badge.medium { |
72 | 63 | background: rgba(255, 255, 255, 0.15); |
73 | 64 | color: #ffffff; |
74 | 65 | border-color: rgba(255, 255, 255, 0.4); |
75 | 66 | box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); |
76 | 67 | } |
77 | 68 |
|
78 | | -/* HIGH (>= 10.0x) - Red (Rosso Pomodoro) */ |
79 | 69 | .history-badge.high { |
80 | 70 | background: rgba(227, 27, 35, 0.15); |
81 | 71 | color: #ff5252; |
82 | 72 | border-color: rgba(227, 27, 35, 0.3); |
83 | 73 | box-shadow: 0 0 15px rgba(227, 27, 35, 0.2); |
84 | | - /* Extra Pop for high wins */ |
85 | 74 | transform: scale(1.05); |
86 | 75 | font-weight: 800; |
87 | 76 | } |
88 | 77 |
|
89 | | -/* Hover effects */ |
90 | 78 | .history-badge:hover { |
91 | 79 | transform: translateY(-2px); |
92 | 80 | cursor: default; |
|
0 commit comments