-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] expand/collapse on favicon click #1743
Comments
How about this? .tab .twisty {
opacity: 0;
margin-right: -1.5em;
position: relative;
z-index: 10000;
} |
Almost perfect, but right side of favicon not clickable.
(I'm not web dev, but now work) |
I wanted to be able to keep the twisty visible, and also be able to click on the favicon, so I added these style rules:
(You may need to scale the pixel values depending on the height of your tabs.) |
How to show all collapsed tabs in bold style? |
/* Change tab height */
.tab {
height: 23px;
} @smokris In your code, what exactly do I change? |
@hub2git try this:
|
Thanks Steve for your reply. Unfortunately, it shifts the icons on my pin tab to the right. The effect Here's how my "Extra Style Rules for sidebar contents" looks like: /* Add private browsing indicator per tab */
/*
.tab.private-browsing .label:before {
content: "🕶";
}
*/
/* Less visible tab dividers.
A black border with a very low alpha slightly darkens any color. */
.tab {
border: solid 1px #00000012;
}
/* As little space before the tab name as possible.
The fold/unfold icon is not affected. */
.tab:not(.pinned) {
padding-left: 0px !important; /* !important is required when there are
enough tabs to cause a scrollbar */
}
/* Change styling of pending (unloaded) tabs */
.tab.discarded {
opacity: 0.75;
}
.tab.discarded .label-content {
color: red;
}
/* Show title of unread tabs in italic */
.tab.unread .label-content {
font-style: italic;
}
/* Colors a tab based on its container's color. */
.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.28;
}
.tab .twisty {
margin-right: -1.5em;
opacity: 0;
position: relative;
left: 4px;
z-index: 10000;
}
/* Only show tab close button on hover */
.tab:not(:hover) .closebox {
display: none;
}
/* Change tab height */
.tab {
height: 23px;
}
#all-tabs .tab .twisty {
top: -18px;
}
.tab .favicon {
margin-left: 13px;
} |
I close this because outdated. |
Just noting that due to changes in 3.2.7 I needed to set |
Doesn't work for me after the last week update. This one does: .tab .twisty {
margin-right: 0;
position: absolute;
opacity: 0 !important;
z-index: 10000;
} |
It is due to max-width specified by TST itself. You need to override it with 100% like as: .tab .twisty {
margin-right: 0;
position: absolute;
opacity: 0 !important;
z-index: 10000;
}
.tab .ui {
max-width: 100%;
} |
I think this tree icon do not very required for everyone, so I did hide it, mostly because to add more space for text:
.tab .twisty { display:none; }
http://ipic.su/img/img7/fs/screens_2018.1517012858.png
Now it's impossible to expand/collapse, but not a problem for me - I'm keeping all expanded all time, but it's looks reasonable, ever maybe for making option in configuration or style.
Expand/collapse on favicon click, I think, not bad - this icon not used in other way.
Just suggestion, if someone will like it too.
The text was updated successfully, but these errors were encountered: