Skip to content

Commit d9e90a8

Browse files
committed
style: restyle sidebar Files/AI tabs as pill buttons
1 parent 5f469c3 commit d9e90a8

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

src/styles/Extn-SidebarTabs.less

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
#navTabBar {
2424
display: none;
2525
align-items: center;
26+
gap: 0.25rem;
2627
background-color: @bc-ai-sidebar-bg;
27-
height: 2rem;
28-
overflow: hidden;
28+
padding: 0.35rem 0.5rem;
2929
user-select: none;
30-
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
3130

3231
&.has-tabs {
3332
display: flex;
@@ -38,12 +37,11 @@
3837
display: inline-flex;
3938
align-items: center;
4039
gap: 0.35rem;
41-
padding: 0 0.75rem;
42-
height: 100%;
40+
padding: 0.25rem 0.7rem;
4341
cursor: pointer;
44-
position: relative;
4542
color: @project-panel-text-2;
4643
font-size: 0.85rem;
44+
border-radius: 4px;
4745
transition: color 0.15s ease, background-color 0.15s ease;
4846

4947
i {
@@ -57,17 +55,7 @@
5755

5856
&.active {
5957
color: @project-panel-text-1;
60-
background-color: rgba(255, 255, 255, 0.04);
61-
62-
&::after {
63-
content: "";
64-
position: absolute;
65-
bottom: 0;
66-
left: 0;
67-
right: 0;
68-
height: 2px;
69-
background-color: @project-panel-text-1;
70-
}
58+
background-color: rgba(255, 255, 255, 0.12);
7159
}
7260
}
7361

0 commit comments

Comments
 (0)