56 lines
1.2 KiB
CSS
56 lines
1.2 KiB
CSS
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/*
|
|
* From https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206
|
|
*/
|
|
|
|
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#tabbrowser-tabs .tabs-newtab-button {
|
|
visibility: collapse !important;
|
|
}
|
|
|
|
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox main-window[privatebrowsingmode="temporary"]{
|
|
min-height: var(--tab-min-height)
|
|
}
|
|
|
|
#tabbrowser-tabs tab {
|
|
min-height: var(--tab-min-height)
|
|
}
|
|
|
|
/*
|
|
* From https://support.mozilla.org/en-US/questions/1185426
|
|
*/
|
|
|
|
#nav-bar {
|
|
-moz-box-ordinal-group: 1 !important;
|
|
border-top-width: 0 !important;
|
|
}
|
|
|
|
#PersonalToolbar {
|
|
-moz-box-ordinal-group: 2 !important;
|
|
}
|
|
|
|
#TabsToolbar {
|
|
-moz-box-ordinal-group: 3 !important;
|
|
}
|
|
|
|
/*
|
|
* Based on firefox own behavior while in fullscreen
|
|
*/
|
|
|
|
#navigator-toolbox {
|
|
margin-top: -60px; /* has to be adjusted depending on density */
|
|
transition: margin-top 0.1s;
|
|
}
|
|
|
|
#navigator-toolbox:hover, #navigator-toolbox:focus-within {
|
|
margin-top: 0px;
|
|
transition: margin-top 0.1s;
|
|
}
|