Skip to content

Instantly share code, notes, and snippets.

@ihrankouski
Last active February 15, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihrankouski/283111116fe2bd9e88951d86ea67c77b to your computer and use it in GitHub Desktop.
Save ihrankouski/283111116fe2bd9e88951d86ea67c77b to your computer and use it in GitHub Desktop.
/* --- Autohide scrollbar --- */
.tab {
max-width: 100vw;
}
#tablist {
margin-right: -15px; /* Value from KDE's Breeze theme; adjust as needed */
transition: margin-right 0s 0.5s;
}
#tablist:hover {
margin-right: 0px;
transition: margin-right 0s 0.5s;
}
#tablist-wrapper {
overflow-x: hidden;
}
/* Move menu to bottom */
#topmenu {
order: 2;
}
#topmenu #searchbox {
display:none;
}
#topmenu #settings {
display:none;
}
#topmenu #newtab {
margin: auto;
}
/* Override some colors */
#tablist-wrapper {
--tab-border-color: hsla(0, 0%, 0%, 0.06);
--tab-background-pinned: rgba(75, 85, 104, .75);
--tab-background-hover: hsl(219, 16%, 50%, .2);
--tab-background-active: rgba(147, 191, 206);
}
.tab.active {
color: rgb(47, 52, 63);
font-weight: 500;
}
.tab.active .tab-close {
--icons-fill-color: rgb(47, 52, 63);
}
/* https://github.com/eoger/tabcenter-redux/issues/403 */
.tab:not(.hasContext) {
--identity-tab-color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment