rafaelmardojai / firefox-gnome-theme

A GNOME👣 theme for Firefox🔥
The Unlicense
3.4k stars 155 forks source link

[Vertical tab - Extension] Feature request: disable animation #737

Closed astrocaat closed 7 months ago

astrocaat commented 7 months ago

Describe the bug

It's not really a bug, but on my system the sliding animation when the vertical tab gets opened/closed is kinda choppy and unpleasant when there are many tabs opened. Is there any way to disable the animation? @BirdInFire

Setup information

ghost commented 7 months ago

Yes in the extension settings you can

astrocaat commented 7 months ago

Do you mean this?

Screenshot from 2024-01-02 13-07-36

As you can see "Animations" is unchecked but the animation still persists.

ghost commented 7 months ago

i will check on that asap, I do not know I can properly set this up in a user friendly way tough :/

ghost commented 7 months ago

I found a solution who is to enable a switch in about:config like always open is it good ?

astrocaat commented 7 months ago

sure!

-------- Original Message -------- On Jan 5, 2024, 20:30, Birdinfire wrote:

I found a solution who is to enable a switch in about:config like always open is it good ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ghost commented 7 months ago

add this in the end of chrome > theme > extensions > tab-center-reborn.css

@media (-moz-bool-pref: "gnomeTheme.extensions.tabCenterReborn.animationDisabled") {
    #sidebar-box[sidebarcommand*="tabcenter"]:hover #sidebar,
    #sidebar-box[sidebarcommand*="tabcenter"]:hover {
        transition: none !important;
    }
    #sidebar-box[sidebarcommand*="tabcenter"]:not(:hover) #sidebar,
    #sidebar-box[sidebarcommand*="tabcenter"]:not(:hover) {
        animation-timing-function: linear;
        transition: none !important;
    }    
}

Save and add in about:config : gnomeTheme.extensions.tabCenterReborn.animationDisabled on true

do a PR

astrocaat commented 7 months ago

it works well. Thank you!

-------- Original Message -------- On Jan 6, 2024, 21:06, Birdinfire wrote:

add this in the end of chrome > theme > extensions > tab-center-reborn.css

@media (-moz-bool-pref: "gnomeTheme.extensions.tabCenterReborn.animationDisabled") {

sidebar-box[sidebarcommand*="tabcenter"]:hover #sidebar,

#sidebar-box[sidebarcommand*="tabcenter"]:hover {
    transition: none !important;
}
#sidebar-box[sidebarcommand*="tabcenter"]:not(:hover) #sidebar,
#sidebar-box[sidebarcommand*="tabcenter"]:not(:hover) {
    animation-timing-function: linear;
    transition: none !important;
}

}

Save and add in about:config : gnomeTheme.extensions.tabCenterReborn.animationDisabled on true

do a PR

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>