Open Revnae opened 4 months ago
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 https://github.com/tovifun/VivalArc/issues/21#issuecomment-2317859211, 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:
vivalarc.css
;vivalarc-tabbar.css
in the config folder.: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!!! Iโll try to continue refining it based on your style.
@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;
}
@Zettry a new version was released with a variant (available for use at ../vivalarc-autotab).
This version adds the above CSS styles to the default style๐, with a few small adjustments:
here are still a few unresolved issues:
https://github.com/user-attachments/assets/b72ab393-5730-4899-b815-5e076f1ef55e
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