Last active
January 14, 2024 22:57
-
-
Save donysukardi/e65b7c3391b0a365debe0b11faf9ea65 to your computer and use it in GitHub Desktop.
Rounded VS Code Tabs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tabs-container { | |
padding-left: 22px; | |
} | |
.tabs-container > .tab { | |
transform: skewX(25deg); | |
border-radius: 5px 5px 0 0; | |
height: 28px; | |
} | |
.tabs-container > .tab + .tab { | |
margin-left: 16px; | |
} | |
.tabs-container > .tab:before { | |
content: ""; | |
position: absolute; | |
left: -18px; | |
top: -1px; | |
transform: skewX(140deg); | |
border-right: 0; | |
margin: 0; | |
padding: 0; | |
width: 30px; | |
border-radius: 5px 0 0 0; | |
height: 28px; | |
border-left-color: rgb(37, 37, 38); | |
border-right-color: rgb(37, 37, 38); | |
background-color: rgb(45, 45, 45); | |
} | |
.tabs-container > .tab:before { | |
background-color: #161a1b; | |
} | |
.tabs-container > .tab.active:before { | |
background-color: rgb(28, 32, 34); | |
} | |
.tabs-container > .tab.active { | |
z-index: 1; | |
} | |
.tabs-container > .tab .tab-label, | |
.monaco-workbench | |
> .part.editor | |
> .content | |
> .one-editor-silo | |
> .container | |
> .title | |
.title-label { | |
transform: skewX(-25deg); | |
position: relative; | |
left: -16px; | |
} | |
.tabs-container > .tab > .tab-close { | |
transform: skewX(-25deg); | |
position: relative; | |
left: -4px; | |
} | |
.tabs-and-actions-container { | |
height: 27px !important; | |
} | |
.tabs-container, | |
.tabs-container > .tab { | |
height: 28px !important; | |
} | |
.tabs-container > .tab .tab-label a { | |
font-size: 12px !important; | |
position: relative; | |
top: -1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this still work today?