2021-02-28 09:00:10 +00:00
|
|
|
# Tree Style Tabs
|
|
|
|
|
|
|
|
This is a recreation (and better) version of my pseudo-popular Vivaldi vertical tab integration, for tree style tabs in firefox.
|
|
|
|
|
|
|
|
```
|
|
|
|
/* Hide .twisty and adjust margins so favicons have 7px on left. */
|
|
|
|
.tab .twisty {
|
|
|
|
visibility: hidden;
|
|
|
|
margin-left: -8px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tab-item:hover {
|
|
|
|
background: var(--in-content-box-background-hover) !important;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Push tab labels slightly to the right so they're completely hidden in collapsed state */
|
|
|
|
.tab .label {
|
|
|
|
font-size: 16px;
|
|
|
|
padding-left: 5px
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab:not(:hover) > .closebox {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.closebox:hover {
|
|
|
|
font-weight: 900;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab, .tabs, body, #background {
|
|
|
|
background: #F5F6F7; /* #F5F6F7; */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.favicon {
|
2021-02-28 09:56:26 +00:00
|
|
|
--favicon-size: 16px !important;
|
2021-02-28 09:00:10 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 !important;
|
|
|
|
--svg-small-icon-size: var(--favicon-size);
|
|
|
|
}
|
|
|
|
tab-item {
|
|
|
|
border: 1px solid transparent !important;
|
|
|
|
height: auto !important;
|
|
|
|
position: relative !important;
|
|
|
|
margin: 0px !important;
|
|
|
|
font-size: 13px;
|
|
|
|
background: none !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
text-align: center;
|
|
|
|
box-shadow: none !important;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-bottom: 11px !important;
|
|
|
|
margin: 10px !important;
|
|
|
|
padding: 5px !important;
|
2021-02-28 09:56:26 +00:00
|
|
|
margin-right: 18px !important;
|
2021-02-28 09:00:10 +00:00
|
|
|
margin-left: 12px !important;
|
|
|
|
}
|
|
|
|
.tab .label {
|
|
|
|
font-size: 13px !important;
|
|
|
|
}
|
|
|
|
#tabbar-container:not(:hover) {
|
|
|
|
width: 58px;
|
|
|
|
/*! margin: 2px; */
|
|
|
|
}
|
|
|
|
#all-tabs {
|
|
|
|
}
|
|
|
|
#tabbar {
|
|
|
|
}
|
|
|
|
#tabbar:hover {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
#tabbar:not(:hover) tab-item {
|
|
|
|
overflow: hidden !important;
|
|
|
|
width: 100%;
|
|
|
|
width: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
tab-item:not(:hover) {
|
|
|
|
/*! display: none; */
|
|
|
|
}
|
|
|
|
tab-item .label, tab-item .highlighter, tab-item .contextual-identity-marker, tab-item .extra-items-container, tab-item .counter {
|
|
|
|
/*! display: none; */
|
|
|
|
}
|
|
|
|
tab-item.active {
|
|
|
|
background-color: var(--in-content-box-background) !important;
|
|
|
|
box-shadow: 0px 5px 10px var(--in-content-box-background-active) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root .tab .highlighter::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.after-tabs button {
|
|
|
|
border: none;
|
|
|
|
border-top-color: currentcolor;
|
|
|
|
border-top-style: none;
|
|
|
|
border-top-width: medium;
|
|
|
|
box-shadow: none;
|
|
|
|
border-top: 1px solid var(--in-content-border-color);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.after-tabs button:hover {
|
|
|
|
background: var(--in-content-box-background-hover) !important;
|
|
|
|
opacity: 1;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="1"] {
|
|
|
|
margin-left: 22px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="2"] {
|
|
|
|
margin-left: 32px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="3"] {
|
|
|
|
margin-left: 42px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="4"] {
|
|
|
|
margin-left: 52px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="5"] {
|
|
|
|
margin-left: 62px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="6"] {
|
|
|
|
margin-left: 72px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="7"] {
|
|
|
|
margin-left: 82px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabbar:hover [data-level="8"] {
|
|
|
|
margin-left: 82px !important;
|
|
|
|
}
|
2021-02-28 09:56:26 +00:00
|
|
|
|
|
|
|
#tabbar::before {
|
|
|
|
content: " ";
|
|
|
|
height: 20px;
|
|
|
|
width: 100%;
|
|
|
|
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAQAAAD2e2DtAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAHdElNRQfiBgsJCQb4aUd7AAASQElEQVR42u2daZhVxZmA324agW5WWRqEbhqFgLKIoFFEBBPnASKoAZOQeWSCOo46ISpxSUIkmQiJCxN9MoNxAcHgAE6MjGhAIIrIg8giyA4CgnQ3NI2s3Wy9nvnBdi/c231Pnar6Tt+u9/vFpU9Vfcs5p04tX4HD4XA4HA6Hw+FwOBwOh8PhcDgcDofD4XA4HA6Hw+FwOBwOh8PhcDgcDofDUctJoZ10ExxypPM2U6Ub4ZCiJSvwOEZz6YY4JMhiCx4eHv8p3RSHfbL56oz7PUrpKt0ch13aRbjfw2MVdaWb5LBHMzZEud/D43npRjls0YClF7nfo5I7pBvmsEEKs2K438OjiO7SjUtcidpBOh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HLeiTNU8TQvpJvigpaWOs4JnVBp2xIoyVdPC4lKr4HSwVM8R/5fU1ACA4TpSJVsix1I9CmshVQLgG0vqVMdzNeZA9ass1aMw4KwSAMdC0A083faZ3CHdiISwk8XruK0+AOyzolD11OVv3CPdiARQ3LjpEyWvqAVAvhWFEiGNqUwMQ8bsKmhnafZCyStqARCG8zLO8zgf0166EVXQ11I9uSoXqd07YTlJ+yw3sZ6xvOJrLDyL6+lKNpk0AIrZw3ZWs9LAvJ2t492+tlQPMEp4UVhsWZ2QqdO5nVfYGaeMYt5mqNZh
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
margin-top: 16px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: -16px;
|
|
|
|
opacity: 0.65;
|
|
|
|
}
|
2021-02-28 09:00:10 +00:00
|
|
|
```
|