Skip to content

Instantly share code, notes, and snippets.

@evertedsphere
Created May 17, 2022 07:21
Show Gist options
  • Save evertedsphere/0acfb313eef48a248b0f4b02c6b74492 to your computer and use it in GitHub Desktop.
Save evertedsphere/0acfb313eef48a248b0f4b02c6b74492 to your computer and use it in GitHub Desktop.
tst.css
/* Compact tab layout */
:root { --tab-height: 40px !important; }
.tab { height: 40px !important; margin: 0; padding: 0; }
/* Shrink space between pinned tabs and tab bar, only when pins are present */
#tabbar[style*="margin"] { margin-top: 20px !important; }
/* Show title of unread tabs with red font */
.tab.unread .label {
color: red !important;
}
/* Add private browsing indicator per tab */
.tab.private-browsing .label:before {
content: " ";
}
tab-item tab-closebox {
display: none;
}
/* Change styling of pending (unloaded) tabs */
tab-item.discarded tab-item-substance {
opacity: 0.75;
}
tab-item.discarded .label-content {
font-style: italic;
}
tab-twisty::before {
display: none !important;
}
tab-twisty {
display: none !important;
padding-left: 10px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment