|
5 | 5 | } |
6 | 6 |
|
7 | 7 | .date-range-trigger { |
8 | | - padding: 10px 15px; |
9 | | - border-radius: 12px; |
10 | | - color: white; |
11 | | - background: rgba(255, 255, 255, 0.15); |
12 | | - border: 1px solid rgba(255, 255, 255, 0.18); |
13 | | - box-shadow: rgba(0, 0, 0, 0.16) 0 10px 36px 0px, rgba(0, 0, 0, 0.06) 0 0 0 1px; |
| 8 | + padding: 8px 14px; |
| 9 | + border-radius: 8px; |
| 10 | + color: rgba(255, 255, 255, 0.85); |
| 11 | + background: rgba(255, 255, 255, 0.08); |
| 12 | + border: 1px solid rgba(255, 255, 255, 0.12); |
14 | 13 | cursor: pointer; |
15 | 14 | display: flex; |
16 | 15 | align-items: center; |
17 | | - gap: 10px; |
| 16 | + gap: 8px; |
18 | 17 | min-width: 160px; |
19 | | - transition: background-color 0.2s ease-in-out; |
| 18 | + transition: all 0.2s ease; |
| 19 | + font-weight: 500; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .date-range-trigger:hover { |
23 | | - background: rgba(255, 255, 255, 0.25); |
| 23 | + background: rgba(255, 255, 255, 0.15); |
| 24 | + border-color: rgba(255, 255, 255, 0.2); |
| 25 | + color: rgba(255, 255, 255, 0.95); |
| 26 | +} |
| 27 | + |
| 28 | +.date-range-trigger.active { |
| 29 | + background: rgba(124, 58, 237, 0.15); |
| 30 | + border-color: rgba(124, 58, 237, 0.4); |
| 31 | + color: rgba(255, 255, 255, 0.95); |
24 | 32 | } |
25 | 33 |
|
26 | 34 | .selected-range { |
|
30 | 38 |
|
31 | 39 | .clock-icon { |
32 | 40 | font-size: 16px; |
33 | | - color: rgba(255, 255, 255, 0.8); |
| 41 | + color: rgba(255, 255, 255, 0.7); |
34 | 42 | } |
35 | 43 |
|
36 | 44 | .dropdown-icon { |
37 | | - font-size: 14px; |
38 | | - color: rgba(255, 255, 255, 0.7); |
| 45 | + font-size: 12px; |
| 46 | + color: rgba(255, 255, 255, 0.6); |
39 | 47 | transition: transform 0.2s ease; |
40 | 48 | } |
41 | 49 |
|
42 | | -.dropdown-icon:hover { |
| 50 | +.date-range-trigger.active .dropdown-icon { |
43 | 51 | transform: rotate(180deg); |
| 52 | + color: rgba(255, 255, 255, 0.8); |
44 | 53 | } |
45 | 54 |
|
46 | 55 | .date-range-dropdown { |
47 | 56 | position: absolute; |
48 | 57 | top: calc(100% + 10px); |
49 | 58 | right: 0; |
50 | 59 | left: auto; |
51 | | - background: rgba(20, 25, 40, 0.98); |
52 | | - border: 1px solid rgba(255, 255, 255, 0.18); |
| 60 | + background: rgba(15, 20, 35, 0.95); |
| 61 | + border: 1px solid rgba(255, 255, 255, 0.15); |
53 | 62 | border-radius: 12px; |
54 | 63 | box-shadow: rgba(0, 0, 0, 0.3) 0 20px 40px 0px; |
55 | | - backdrop-filter: blur(10px); |
| 64 | + backdrop-filter: blur(16px); |
56 | 65 | z-index: 1000; |
57 | 66 | min-width: 700px; |
58 | 67 | max-height: 500px; |
|
281 | 290 | opacity: 0; |
282 | 291 | transform: translateY(-10px) scaleY(0.8); |
283 | 292 | } |
| 293 | + |
284 | 294 | to { |
285 | 295 | opacity: 1; |
286 | 296 | transform: translateY(0) scaleY(1); |
|
294 | 304 | left: 50%; |
295 | 305 | transform: translateX(-50%); |
296 | 306 | } |
297 | | - |
| 307 | + |
298 | 308 | .dropdown-header { |
299 | 309 | flex-direction: column; |
300 | 310 | gap: 15px; |
301 | 311 | } |
302 | | - |
| 312 | + |
303 | 313 | .custom-inputs { |
304 | 314 | padding: 15px; |
305 | 315 | } |
306 | | - |
| 316 | + |
307 | 317 | .history-section { |
308 | 318 | padding: 15px; |
309 | 319 | } |
|
0 commit comments