Skip to content

Instantly share code, notes, and snippets.

@rostegg
Last active August 6, 2020 08:15
Show Gist options
  • Save rostegg/f04f5d5457b886d62cacacb570186848 to your computer and use it in GitHub Desktop.
Save rostegg/f04f5d5457b886d62cacacb570186848 to your computer and use it in GitHub Desktop.
Custom style for Tree Style Tab webextension
:root {
--colorA: #ecff6b;
--colorB: #6affda;
--colorC: #b4b4b4;
--colorD: #5ceaff;
--colorE: #514350;
--colorF: #281f1a;
--colorG: green;
--tab-height: 30px;
--font-size: 11px;
background-color: var(--colorF);
}
:root.simulate-svg-context-fill .closebox::after {
background: white;
}
:root.simulate-svg-context-fill .tab.active .closebox::after {
background: black;
}
:root.simulate-svg-context-fill .tab:hover .closebox::after {
background: black;
}
:root.simulate-svg-context-fill .tab.active .sound-button::after {
background: black;
}
:root.simulate-svg-context-fill .tab:hover .sound-button::after {
background: black;
}
.tab {
background-color: var(--colorE);
height: var(--tab-height);
border-top: none;
border-right: none;
border-left: none;
border-bottom: 1px solid var(--colorF);
}
.label {
font-size: var(--font-size);
}
.tab .label {
color: white;
}
.tab.active .label {
color: black;
}
.tab .counter {
color: var(--colorD);
}
.tab.active .twisty
{
color: var(--colorG);
}
.tab.active {
color: black;
background-color: var(--colorA);
}
.tab.active:hover {
background-color: var(--colorA);
}
.tab:hover .label {
color: black;
}
.tab:hover, .tab:not(.active):hover {
color: black;
background-color: var(--colorB);
}
.tab.unread .label {
font-style: italic;
}
.tab.discarded {
color: var(--colorC);
background-color: black;
border-top: none;
border-bottom: 1px solid black;
}
.tab.private-browsing .label:before {
content: "🕶";
}
.after-tabs button {
background-color: var(--colorE); color: #808080; border-color: var(--colorE);
}
.after-tabs button:hover {
background-color: #505060 !important; color: #FFFFFF !important;
}
.contextual-identity-marker {
position: absolute !important;
pointer-events: none;Full Auto-show/hide Theme
z-index: 0;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
top: 0 !important;
width: unset !important;
height: unset !important;
opacity: 0.5;
}
#background {
background: black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment