Skip to content

Commit fc5702e

Browse files
devvaannshabose
authored andcommitted
refactor: better styling for bottom panel tab bar action buttons
1 parent 98e2fd5 commit fc5702e

1 file changed

Lines changed: 8 additions & 40 deletions

File tree

src/styles/Extn-BottomPanelTabs.less

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -199,65 +199,33 @@
199199
align-items: center;
200200
height: 100%;
201201
margin-left: auto;
202-
padding: 0 0.25rem;
202+
margin-right: 6px;
203+
gap: 6px;
203204
flex: 0 0 auto;
204205
}
205206

206-
.bottom-panel-maximize-btn {
207-
display: flex;
208-
align-items: center;
209-
justify-content: center;
210-
width: 1.6rem;
211-
height: 1.4rem;
212-
margin-right: 0.15rem;
213-
border-radius: 3px;
214-
cursor: pointer;
215-
color: #666;
216-
font-size: 0.7rem;
217-
-webkit-text-stroke: 0.4px;
218-
line-height: 1;
219-
transition: color 0.12s ease, background-color 0.12s ease;
220-
221-
.dark & {
222-
color: #aaa;
223-
}
224-
225-
&:hover {
226-
background-color: rgba(0, 0, 0, 0.1);
227-
color: #333;
228-
229-
.dark & {
230-
background-color: rgba(255, 255, 255, 0.12);
231-
color: #eee;
232-
}
233-
}
234-
}
235-
207+
.bottom-panel-maximize-btn,
236208
.bottom-panel-hide-btn {
237209
display: flex;
238210
align-items: center;
239211
justify-content: center;
240-
width: 1.6rem;
241-
height: 1.4rem;
242-
margin-right: 0.4rem;
243-
border-radius: 3px;
212+
width: 1.9rem;
213+
height: 2rem;
244214
cursor: pointer;
245215
color: #666;
246-
font-size: 0.7rem;
247-
-webkit-text-stroke: 0.4px;
248-
line-height: 1;
216+
font-size: 0.88rem;
249217
transition: color 0.12s ease, background-color 0.12s ease;
250218

251219
.dark & {
252220
color: #aaa;
253221
}
254222

255223
&:hover {
256-
background-color: rgba(0, 0, 0, 0.1);
224+
background-color: #e0e0e0;
257225
color: #333;
258226

259227
.dark & {
260-
background-color: rgba(255, 255, 255, 0.12);
228+
background-color: #333;
261229
color: #eee;
262230
}
263231
}

0 commit comments

Comments
 (0)