Skip to content

Commit 64dec33

Browse files
dxllivcursoragent
andcommitted
fix: compact transparent tabs in debug window
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3d2a3e9 commit 64dec33

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

src/runtime/components/Window/WindowDebug.vue

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,65 @@ defineProps<{
2929

3030
<style scoped lang="scss">
3131
.p-tabs {
32+
:deep(.p-tablist) {
33+
background: transparent !important;
34+
margin: 0 0 8px;
35+
padding: 0;
36+
border: 0;
37+
}
38+
39+
:deep(.p-tablist-content) {
40+
background: transparent;
41+
border-bottom: 1px solid var(--owd-surface-700, #1d293d);
42+
}
43+
44+
:deep(.p-tablist-tab-list) {
45+
gap: 4px;
46+
border: 0;
47+
}
48+
49+
:deep(.p-tab) {
50+
background: transparent !important;
51+
border: 0 !important;
52+
border-radius: 0;
53+
margin: 0;
54+
padding: 4px 10px;
55+
min-height: 0;
56+
font-size: 12px;
57+
font-weight: 600;
58+
letter-spacing: 0.02em;
59+
color: rgba(200, 212, 228, 0.5);
60+
box-shadow: none !important;
61+
62+
&:hover {
63+
background: transparent !important;
64+
color: rgba(232, 238, 246, 0.85);
65+
}
66+
67+
&.p-tab-active,
68+
&[data-p-active='true'] {
69+
background: transparent !important;
70+
color: var(--owd-color, #e8eef6);
71+
}
72+
73+
&:focus-visible {
74+
outline: none;
75+
box-shadow: inset 0 -2px 0 var(--owd-primary-color, #1a6caf);
76+
}
77+
}
78+
79+
:deep(.p-tablist-active-bar) {
80+
height: 2px;
81+
bottom: 0;
82+
background: var(--owd-primary-color, #1a6caf);
83+
}
84+
85+
:deep(.p-tabpanels),
86+
:deep(.p-tabpanel) {
87+
background: transparent;
88+
padding: 0;
89+
}
90+
3291
:deep(.p-tabpanel) {
3392
ul {
3493
margin: 0;

0 commit comments

Comments
 (0)