code cleanup: deprecate bunch of old styles
These all have either better replacements or can be done without the style
This commit is contained in:
29
chrome/deprecated/autohide_tabstoolbar.css
Normal file
29
chrome/deprecated/autohide_tabstoolbar.css
Normal file
@@ -0,0 +1,29 @@
|
||||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_tabstoolbar.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Hide tabs unless cursor is on top of toolbar */
|
||||
|
||||
:root:not([customizing]) #navigator-toolbox{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
:root:not([customizing],[chromehidden~="menubar"]) #navigator-toolbox:hover{
|
||||
margin-bottom: calc(0px - 2 * var(--tab-block-margin) - var(--tab-min-height));
|
||||
}
|
||||
#TabsToolbar:not([customizing]){ visibility: hidden; transition: visibility 0ms linear 200ms }
|
||||
|
||||
#navigator-toolbox{ transition: margin-bottom 48ms ease-out 200ms !important }
|
||||
|
||||
#navigator-toolbox:hover{ transition-delay: 0s !important }
|
||||
|
||||
#navigator-toolbox:hover #TabsToolbar{
|
||||
visibility: visible;
|
||||
transition-delay: 18ms !important;
|
||||
}
|
||||
/* These rules make sure that height of tabs toolbar doesn't exceed tab-min-height */
|
||||
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container{
|
||||
max-height: var(--tab-min-height);
|
||||
}
|
||||
.tab-label{ line-height: 20px !important; }
|
||||
:root[uidensity="compact"] .tab-label{ line-height: 18px !important; }
|
||||
Reference in New Issue
Block a user