Skip to content

Commit 3568247

Browse files
committed
chore: improve styling
1 parent af29b6c commit 3568247

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

src/styles/Extn-TabBar.less

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
display: flex;
33
align-items: center;
44
background-color: #f5f5f5;
5-
border-bottom: 1px solid #ddd;
5+
border-bottom: none;
66
position: relative;
77
overflow: hidden;
88
z-index: 2;
99
}
1010

1111
.dark .tab-bar-container {
1212
background-color: #1E1E1E;
13-
border-bottom: 1px solid #333;
13+
border-bottom: none;
1414
}
1515

1616
.phoenix-tab-bar {
@@ -82,8 +82,8 @@
8282
align-items: center;
8383
padding: 0 0.5rem 0 0.85rem;
8484
height: 100%;
85-
background-color: #F8F8F8;
86-
border-right: 1px solid #ddd;
85+
background-color: #f1f1f1;
86+
border-right: 1px solid rgba(0, 0, 0, 0.05);
8787
cursor: pointer;
8888
position: relative;
8989
flex: 0 0 auto;
@@ -93,8 +93,8 @@
9393
}
9494

9595
.dark .tab {
96-
background-color: #2D2D2D;
97-
border-right: 1px solid #333;
96+
background-color: #292929;
97+
border-right: 1px solid rgba(255, 255, 255, 0.05);
9898
}
9999

100100
.tab,
@@ -143,22 +143,22 @@
143143
}
144144

145145
.dark .tab.active {
146-
background-color: #3D3D3D;
146+
background-color: #1D1F21;
147147
}
148148

149149
.tab:hover {
150-
background-color: #f0f0f0;
150+
background-color: #e0e0e0;
151151
cursor: pointer;
152152
}
153153

154154
.dark .tab:hover {
155-
background-color: #4d4949;
155+
background-color: #3b3a3a;
156156
}
157157

158158
.tab.active::after {
159159
content: "";
160160
position: absolute;
161-
bottom: 0;
161+
top: 0;
162162
left: 0;
163163
right: 0;
164164
height: 0.12rem;
@@ -170,28 +170,24 @@
170170
}
171171

172172
.tab.active-in-inactive-pane {
173-
background-color: #fff;
173+
background-color: #fafafa;
174174
}
175175

176176
.dark .tab.active-in-inactive-pane {
177-
background-color: #3D3D3D;
177+
background-color: #252729;
178178
}
179179

180180
.tab.active-in-inactive-pane::after {
181-
display: none;
182-
}
183-
184-
.tab.active-in-inactive-pane::before {
185181
content: "";
186182
position: absolute;
187-
bottom: 0;
183+
top: 0;
188184
left: 0;
189185
right: 0;
190186
height: 0.12rem;
191187
background-color: #b4b2b2;
192188
}
193189

194-
.dark .tab.active-in-inactive-pane::before {
190+
.dark .tab.active-in-inactive-pane::after {
195191
background-color: #666;
196192
}
197193

0 commit comments

Comments
 (0)