-
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
CSS Formatting \ Tab close button (FF57-TST2.0.2) #1448
Comments
Try the following CSS in TST's style rules: .tab:not(:hover) .closebox {
display: none;
} |
Perfect, thanks! |
P.S. I documented it here: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules |
this doesn't seem to work any more
Edit: ok the issue more seems to be that none of the snippets work for me D: |
@kazerniel It works for me. Screenshot: |
@piroor not for me: And none of the other snippets work either, not sure of the cause. |
|
Aa thank you! |
This might be an out of scope kind of question, but maybe there is a useful question in all of this. (I figured it doesdn't hurt to ask)
I am trying to modify the close button on the tabs to only be displayed "on hoover". I found examples of CSS code but tried it both in userChrome.css and in TSTs "extra style rules" but neither had any effect. (Obviously add-ons like "Tab Utilities" modified this behavior pre-FF57)
Here is the code I tried:
/* Show the close buttons only on hover and not on pinned tabs */
.tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([pinned="true"]):hover .tab-close-button:not([selected="true"]) {
display: -moz-box !important;
border: 1px solid #888 !important;
border-radius: 3px !important;
}
The text was updated successfully, but these errors were encountered: