-
Notifications
You must be signed in to change notification settings - Fork 118
auto-hide-sidebar-treestyletabs.css #101
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like both! I just have two remarks, both of which are easy to solve :)
While I was rebasing and merging your PR (I like a clean git history :) ), I wanted to rename your |
Yeah. I think this one is much better. |
wait, this one doesn't work for sidebar on the right side. EDIT: It does! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with all the suggestions and have followed your review requests. Also, the autohide functionality is really the same as the old autohide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have followed through with the suggestions:
- Making the autohide feature generic
- renaming to sidebar/auto-hide-sidebar-tst.css
It's your wish whether you want to keep the old 'auto-hide-sidebar.css' or replace it.
Hi, I would like to get this merged :) |
Hmm, it doesn't look like your screenshot for me on Linux/KDE: https://i.imgur.com/OtAXLL0.png Do I need to also apply the "remove sidebar header" CSS maybe? (Since I don't see the header in your screenshot) |
That's how it should look, you can tweak the |
But it's not even because I'm using nested tabs, it's the top level tabs. |
try adding |
It's just that it doesn't match the screenshot you provided... How does it look in Windows/MacOS (whichever platform you're on)? Can I just add that line unconditionally? |
I am on GNU/Linux. I've tried it on windows once, looked the same. Maybe because I was trying out other things at that time. This is how it looks without |
Would you be okay with me adding the However, when hovering, I get a 12px white border at the right. I have toyed with it, but as I don't really know CSS, I couldn't get rid of it :( |
that is a problem, thanks for pointing it out. try adding |
if it works, you can add it unconditionally :) |
That makes the sidebar un-hovered actually smaller. I think I managed to get what I want with these rules: #sidebar {
margin-left: -12px !important;
}
#sidebar:hover {
margin-left: 0px !important;
} This does make it show the first letter of the tab (https://i.imgur.com/nWfejXG.png), and there is a small animation where icons move back to the right when hovering. Is that okay for you? |
I think these sorts of changes belong in Tree style tabs's css or any other sidebar's settings. userChrome.css tweaks will also affect history and bookmarks sidebar. |
This is the specific -tst style, and the changes are not to tst's own code. So is it okay for you to merge with the two styles I mentioned in my last comment applied? I do think it's better than not having them, but if you disagree, I'll merge it as is. |
Please merge as is :). You can even replace the |
The original auto-hide-sidebar.css from img2tab didn't work for me somehow. But this one did from TanzNukeTerror, I found this one to be a really useful mod that get's a lot right in a single package.
What is working:
A slight modification allowed it to autohide other sidebars too, and it looks fantastic combined with ShadowFox