-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Questions: How to grab 'tab panel name' value and render it as a content in different text field; How to disable darker background during popup #1481
Comments
Considering position of the label (between pinned and normal tabs), this cannot be done using CSS alone - you need to change the Sidebery src. But if you place the label above the pinned tabs, that is, its position will not depend on the number of pinned tabs, then you can use the name of the panel from "#sidebar-header" (via userChrome.css) or statically place ".nav-item .name" there.
#root .popup-container {
background-color: transparent;
}
#root .hidden-panels-popup-layer:before {
background-color: transparent;
}
#root .PanelConfigPopup .popup {
width: 90vw;
}
https://github.com/mbnuqw/sidebery/blob/v5/src/sidebar/components/popup.panel-config.vue
There are no actual restrictions, so experiment with it. btw. Great work! One of the most beautiful themes, if not the best. |
Would love to know how. Here what I got so far. Still can't figuring out how to separate ".nav-item .name" from the ".NavigationBar .nav-item" itself (or we can't?) Another trial Any suggestions? |
In userChrome.css you can try to show "#sidebar-header", and style its content - hide icon, change font styles, hide close icon, etc... The title will be updated when switching panels if the "Use active panel's name as sidebar title" option is enabled (in sidebery settings). |
It doesn't seem to be possible to do this (outside the navbar), although I could be wrong. But there is good news - I plan to add feature to auto update theme (for sidebery and browser) with switching the panel. Theme will be automatically calculated from panel's color and there also will be configuration (just like in "Adaptive Tab Bar Color" - a few styles, color variations, etc...). This is planned for after the v5.2.0 release, so a couple of months (maybe more 😅) |
First question
Still on my journey to replicate Arc sidebar look as close as possible in Sidebery. I'm exploring ways to put a text label on top side of each tab panels. So far I've figured it out with the code below:
I know that
.NavigationBar .main-items .nav-item[data-class="panel"][data-active="true"] .name
exists, but I would love to know how to grab thetitle
value and put it as content on the layout above.Second question
I would like to know how to disable darker background when accessing a popped up menu, like hidden panels or when creating a new tab panel. Personally box-shadow is enough for my setup
Third question
Oh I also wanna know how to reduce width of the add-tab-panel popup. Which element is it, and is
width = 95wh
enough?The text was updated successfully, but these errors were encountered: