Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
- /* hide top tabs */
- #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar {
- opacity: 0;
- pointer-events: none;
- }
- #TabsToolbar, #sidebar-header, #titlebar {
- visibility: collapse !important;
- }
- /* hide sidebar headings */
- #sidebar-header {
- display: none;
- }
- /*
- * Description: Auto-hide sidebar.
- *
- * Contributor(s): img2tab
- */
- /* To right-align the sidebar, replace all occurrences of "left" with "right", and "margin-right" with "margin-left" */
- :root {
- --sidebar-hover-width: 10px;
- --sidebar-visible-width: 200px;
- }
- #sidebar-box {
- position: relative !important;
- overflow-x: hidden !important;
- margin-right: calc(var(--sidebar-hover-width) * -1) !important;
- left: var(--sidebar-hover-width) !important;
- min-width: var(--sidebar-hover-width) !important;
- max-width: var(--sidebar-hover-width) !important;
- }
- #sidebar-box:hover {
- margin-right: calc(var(--sidebar-visible-width) * -1) !important;
- left: var(--sidebar-visible-width) !important;
- min-width: var(--sidebar-visible-width) !important;
- max-width: var(--sidebar-visible-width) !important;
- }
- #sidebar {
- opacity: 0 !important;
- }
- #sidebar:hover {
- opacity: 1 !important;
- }
- /* #sidebar-header is hidden by default, change "none" to "inherit" to restore it. */
- #sidebar-header {
- display: none !important;
- }
- /* #sidebar-splitter styles the divider between the sidebar and the rest of the browser. */
- #sidebar-splitter {
- }
- /* auto hide nav bar stuff */
- /* https://github.com/moamenk/Firefox-Minimal-Responsive-Theme/blob/master/userChrome.css */
- #nav-bar toolbarbutton
- {
- margin-left: -28px !important;
- opacity: 0 !important;
- transform: scale(.85, .85) !important;
- pointer-events: none !important;
- transition: margin-left 100ms var(--animation-easing-function), opacity 100ms var(--animation-easing-function), transform 100ms var(--animation-easing-function) !important;
- transition-delay: 0s;
- }
- :root:not([customizing]) :hover > #nav-bar toolbarbutton,
- :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar toolbarbutton,
- :root:not([customizing]) :hover > #titlebar toolbarbutton
- {
- transform: scale(1, 1) !important;
- opacity:1 !important;
- margin-left:0 !important;
- pointer-events: auto !important;
- transition-delay: 3s;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement