Created
November 29, 2021 21:22
-
-
Save stuartstein777/b7ebf62e3fd44f432b8739efc1e5c3f8 to your computer and use it in GitHub Desktop.
Firefox css to expand / collapse TST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
#TabsToolbar { | |
visibility: collapse !important; | |
} | |
/*Collapse in default state and add transition*/ | |
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] { | |
overflow: hidden; | |
min-width: 40px; | |
max-width: 40px; | |
transition: all 0.2s ease; | |
border-right: 1px solid #0c0c0d; | |
z-index: 2; | |
} | |
/*Expand to 260px on hover*/ | |
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover, | |
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar { | |
min-width: 260px !important; | |
max-width: 260px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment