|
23 | 23 | #navTabBar { |
24 | 24 | display: none; |
25 | 25 | align-items: center; |
26 | | - gap: 0.25rem; |
27 | | - background-color: @bc-ai-sidebar-bg; |
28 | | - padding: 0.35rem 0.5rem; |
| 26 | + gap: 2px; |
| 27 | + width: fit-content; |
| 28 | + margin: 0.5rem 0.5rem 0.4rem; |
| 29 | + padding: 3px; |
| 30 | + background-color: rgba(0, 0, 0, 0.3); |
| 31 | + border-radius: 7px; |
| 32 | + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25); |
29 | 33 | user-select: none; |
30 | 34 |
|
31 | 35 | &.has-tabs { |
32 | | - display: flex; |
| 36 | + display: inline-flex; |
33 | 37 | } |
34 | 38 | } |
35 | 39 |
|
36 | 40 | .sidebar-tab { |
37 | 41 | display: inline-flex; |
38 | 42 | align-items: center; |
39 | | - gap: 0.35rem; |
40 | | - padding: 0.25rem 0.7rem; |
| 43 | + gap: 0.4rem; |
| 44 | + padding: 0.25rem 0.75rem; |
41 | 45 | cursor: pointer; |
42 | 46 | color: @project-panel-text-2; |
43 | | - font-size: 0.85rem; |
44 | | - border-radius: 4px; |
45 | | - transition: color 0.15s ease, background-color 0.15s ease; |
| 47 | + font-size: 0.8rem; |
| 48 | + font-weight: 500; |
| 49 | + border-radius: 5px; |
| 50 | + transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; |
46 | 51 |
|
47 | 52 | i { |
48 | | - font-size: 0.75rem; |
| 53 | + font-size: 0.78rem; |
| 54 | + opacity: 0.85; |
49 | 55 | } |
50 | 56 |
|
51 | | - &:hover { |
| 57 | + &:hover:not(.active) { |
52 | 58 | color: @project-panel-text-1; |
53 | | - background-color: rgba(255, 255, 255, 0.06); |
| 59 | + background-color: rgba(255, 255, 255, 0.04); |
54 | 60 | } |
55 | 61 |
|
56 | 62 | &.active { |
57 | 63 | color: @project-panel-text-1; |
58 | | - background-color: rgba(255, 255, 255, 0.12); |
| 64 | + background-color: rgba(255, 255, 255, 0.09); |
| 65 | + box-shadow: |
| 66 | + 0 1px 0 rgba(255, 255, 255, 0.05) inset, |
| 67 | + 0 1px 2px rgba(0, 0, 0, 0.2); |
| 68 | + |
| 69 | + i { |
| 70 | + opacity: 1; |
| 71 | + } |
59 | 72 | } |
60 | 73 | } |
61 | 74 |
|
|
0 commit comments