Sideberry expanded width locked to 200px / animation delay? #371
-
|
Normally I'm fairly fluent in modifying these .css files and locating the appropriate variables, but despite reading all of the posts here, digging through the suspect .css files and modifying every potential variable to change the expanded width of the Sideberry tabs, the width seems to remain locked to 200px. I can change the collapsed width with the "--uc-sidebar-collapsed-width" variable in settings-sidebar-sideberry.css. Changing any of the "max-width" settings nearby seems to have no effect. I tried experimenting by adding some lines from my Sideberry setup in Floorp browser, such as "--uc-sidebar-hover-width: 250px;", but I'm thinking it must rely on some non-existing references as it also had no effect. What's more, while I was able to change the expand/collapse animation transition speed, I'm struggling to locate which factor controls the delay of that animation. I thought it to be "--uc-autohide-sidebar-delay:, but I don't believe it's had an effect. Thanks for any insight on this matter. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
|
And in typical tinkerer fashion, I immediately resolved the first issue... leaving this up to be kept, removed, or modified at your discretion. I hadn't seen anywhere that if you hover your mouse at the left edge of Sidebery, you'll find a bar you can drag to set the width of your sidebar. My Sidebery in Floorp doesn't have this function. Found it by pure luck... The animation delay issue remains, however. |
Beta Was this translation helpful? Give feedback.
-
The only fixed width is only for when sidebery is collapsed FF-ULTIMA/theme/settings-sidebar-sidebery.css Line 137 in 9fa1bb4 This allows the sidebars to remain resize-able with splitter even if it's in a forced position. The splitter itself can't be positioned with the sidebar width, so the best thing to do - to keep it available with a forced position sidebar + keeping resize-ability, was to position the splitter before the sidebar. For the delay, FF-ULTIMA/theme/settings-sidebar-sidebery.css Lines 136 to 143 in 9fa1bb4 FF-ULTIMA/theme/settings-sidebar-sidebery.css Lines 163 to 167 in 9fa1bb4 FF-ULTIMA/theme/settings-sidebar-sidebery.css Line 169 in 9fa1bb4 FF-ULTIMA/theme/settings-sidebar-sidebery.css Line 171 in 9fa1bb4 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
By default theyre all 0 (like in my gif above) so noone should have a delay for sidebery. line 142, defaulting to 0s, for speed & delay when not hovered, this would be the cause of the delay in your video. FF-ULTIMA/theme/settings-sidebar-sidebery.css Line 142 in 9fa1bb4 line 164-171, defaulting to 0s, would be the speed & delay overall (when hovered/static/expanded) FF-ULTIMA/theme/settings-sidebar-sidebery.css Line 164 in 9fa1bb4 Can compare the original to yours if needed https://github.com/soulhotel/FF-ULTIMA/blob/main/theme/settings-sidebar-sidebery.css |
Beta Was this translation helpful? Give feedback.
-
|
sorry, what are are you curious about, i don't understand. |
Beta Was this translation helpful? Give feedback.
-
|
Updated settings-sidebar-sidebery.css, but you should try the replacement section above instead, with the slower collapsing speed (no delay). |
Beta Was this translation helpful? Give feedback.







Ohh okay, just be sure you are correctly setting the speed and not delay:Actually I see what you're talking about now about something being quirky.. Either the set speed on collapse is being used as if it's the delay or there's something interfering with the values. But I cant find anything in the source overriding the transitions..
And this section of code is the only place in the theme where sidebar transition is done too. So for a workaround, a bit hacky, but consistent at least. Basically, subtract time from the delay (wherever it's coming from). I did -2s for a 3.2s linear transition, -2.8s works well with a 4s linear tra…