-
Notifications
You must be signed in to change notification settings - Fork 8
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
is there any way to make the tab bar autohide like how edge does it? #21
Comments
Yes, agree |
I’m working on it. It’s a bit difficult for me.😂 |
👍👍👍
…On Thu, Aug 29, 2024 at 10:23 PM Tovi ***@***.***> wrote:
I’m working on it. It’s a bit difficult for me.😂
—
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BILZSMPL5LO26ILOBX7DMXTZT4VEZAVCNFSM6AAAAABKPGQV56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXHA2TSMRRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@tovifun I tried to achieve this effect, but there are still some issues. The changes are as follows:
:root{
--tabbar-size: 32px;
}
/* tabbar workspace */
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu{
width: var(--tabbar-size)!important;
}
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-title,
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-toolbar-menu-indicator{
display: none;
}
/* tabbar container */
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container,
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container .resize{
width: var(--tabbar-size)!important;
}
/* tab stacking - accordion toggle arrow position */
#tabs-container.left .tab-position.accordion-toggle-arrow{
--PositionX: 4px!important;
}
.inner > .tabbar-wrapper{
position: relative;
width: var(--tabbar-size);
}
.inner > .tabbar-wrapper > .tabbar-wrapper{
position: absolute;
background-image: url("chrome://vivaldi-data/thumbnail/WVKXPHMBICN2BPZCJFRT6B4RYYRCN6JS.png");
background-size: cover;
overflow: hidden;
/* transition is not working */
transition: width 0.3s ease-in-out;
z-index: 1;
} The issues that remain:
I hope you can continue to improve it. Thank you! |
I gave it a try, and I think the result is already great!!! |
@tovifun The transition animation is working now!! :root{
--tabbar-size: 32px;
}
/* tabbar workspace */
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu{
width: var(--tabbar-size)!important;
transition: unset;
}
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-title,
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-toolbar-menu-indicator{
display: none;
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-icon{
position: absolute;
left: 5px;
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-title{
position: absolute;
left: var(--tabbar-size);
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-toolbar-menu-indicator{
position: absolute;
right: 5px;
}
/* tabbar container */
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container,
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container .resize{
width: var(--tabbar-size)!important;
transition: unset;
}
/* tab stacking - accordion toggle arrow position */
#tabs-container.left .tab-position.accordion-toggle-arrow{
--PositionX: 4px!important;
}
.inner > .tabbar-wrapper{
position: relative;
width: var(--tabbar-size);
}
.inner > .tabbar-wrapper > .tabbar-wrapper{
position: absolute;
background-image: url("chrome://vivaldi-data/thumbnail/WVKXPHMBICN2BPZCJFRT6B4RYYRCN6JS.png");
background-size: cover;
overflow: hidden;
z-index: 1;
}
.inner #tabs-tabbar-container,
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu {
transition: width 0.5s;
} |
Vivaldi recently updated to version 7.0, bringing noticeable UI changes—more refined icons, a modernized look, and enhanced shadows on selected sidebar tabs. This update is highly recommended as it makes VivalArc look even better. Thankfully, this major update didn’t cause any issues with VivalArc. However, a few accumulated GitHub issues were addressed: 1. Footer visibility issue: The footer is now visible by default, but you can still hide it in settings. [#28](#28) @IamMiao 2. Added draggable functionality to the popup page’s address bar, suggested by @Zettry. [#30](#30) 3. Restored the scrollbar in the tab bar to allow width adjustments, though it slightly impacts aesthetics. [#31](#31) 4. Added an auto-hiding tab bar feature (suggested by @Zettry), available as a variant in /vivalarc-autobab. [#21](#21) [#29](#29)
@Zettry This version adds the above CSS styles to the default style👍, with a few small adjustments:
here are still a few unresolved issues:
vivalarc_autotab.mp4 |
@tovifun hi, this is a completely hidden version. :root{
--tabbar-size: 0px;
}
/* tabbar transparent */
.inner > .tabbar-wrapper:not(:hover) .tabbar-wrapper div {
opacity: 0;
}
/* tabbar workspace */
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu{
width: calc(var(--tabbar-size) + var(--densityGap))!important;
transition: unset;
}
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-title,
.inner > .tabbar-wrapper:not(:hover) .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-toolbar-menu-indicator{
display: none;
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-icon{
position: absolute;
left: var(--densityGap);
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-title{
position: absolute;
left: calc(32px + var(--densityGap)) !important;
}
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu .button-toolbar-menu-indicator{
position: absolute;
right: var(--densityGap);
}
/* tabbar container */
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container,
.inner > .tabbar-wrapper:not(:hover) #tabs-tabbar-container .resize{
width: calc(var(--tabbar-size) + var(--densityGap)) !important;
transition: unset;
}
.inner > .tabbar-wrapper{
position: relative;
width: calc(var(--tabbar-size) + var(--densityGap));
}
.inner > .tabbar-wrapper > .tabbar-wrapper{
position: absolute;
overflow: hidden;
z-index: 1;
}
.inner > .tabbar-wrapper > .tabbar-wrapper:hover{
position: absolute;
background:var(--colorImageLeftBg, var(--colorBgLight)) ;
}
.inner #tabs-tabbar-container,
.inner .button-toolbar.workspace-popup.tabbar-workspace-button.button-menu {
transition: width 0.1s;
}
/* hide tabbar scrollbar */
#browser #tabs-container.right ::-webkit-scrollbar,
#browser #tabs-container.left ::-webkit-scrollbar{
display: none;
}
/* tab close button position */
.overflow.tab-strip .tab .tab-header{
max-width: calc(var(--Width) + 12px)
} 2024-11-08.233424.mp4 |
@everpromos Edit the |
Thanks, but for macOS seems not work, tab-bar disappeared/hide all the time no matter mouse hover the edge or not. |
@everpromos Hi! Since I don't have a mac device, I can't confirm whether it works correctly on macOS. 2024-11-09.123119.mp4 |
@Zettry Thanks, it works when disable the compact view 🙏 |
Dont want to hijack this issue but somehow I cannot get your code working @Zettry. :( Any idea whats wrong there? Thanks :) |
@otbe Hi, please check if the value of https://gabevilela.vivaldi.net/2020/12/26/guide-customizing-vivaldis-ui-with-css-mods/ 2024-11-21.204640.mp4 |
Thank you @Zettry, shame on me! :D |
like i kinda want it to be like this
https://arc.tovi.fun/assets/screenshot=2.jpg
but when i hover over that i shows the full tab
The text was updated successfully, but these errors were encountered: