Advertisement
Guest User

Untitled

a guest
May 16th, 2018
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.41 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* hide top tabs */
  4. #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar {
  5.   opacity: 0;
  6.   pointer-events: none;
  7. }
  8. #TabsToolbar, #sidebar-header, #titlebar {
  9.     visibility: collapse !important;
  10. }
  11.  
  12. /* hide sidebar headings */
  13. #sidebar-header {
  14.   display: none;
  15. }
  16.  
  17. /*
  18.  * Description: Auto-hide sidebar.
  19.  *
  20.  * Contributor(s): img2tab
  21.  */
  22.  
  23. /* To right-align the sidebar, replace all occurrences of "left" with "right", and "margin-right" with "margin-left" */
  24.  
  25. :root {
  26.   --sidebar-hover-width: 10px;
  27.   --sidebar-visible-width: 200px;
  28. }
  29.  
  30. #sidebar-box {
  31.   position: relative !important;
  32.   overflow-x: hidden !important;
  33.   margin-right: calc(var(--sidebar-hover-width) * -1) !important;
  34.   left: var(--sidebar-hover-width) !important;
  35.   min-width: var(--sidebar-hover-width) !important;
  36.   max-width: var(--sidebar-hover-width) !important;
  37. }
  38.  
  39. #sidebar-box:hover {
  40.   margin-right: calc(var(--sidebar-visible-width) * -1) !important;
  41.   left: var(--sidebar-visible-width) !important;
  42.   min-width: var(--sidebar-visible-width) !important;
  43.   max-width: var(--sidebar-visible-width) !important;
  44. }
  45.  
  46. #sidebar {
  47.   opacity: 0 !important;
  48. }
  49.  
  50. #sidebar:hover {
  51.   opacity: 1 !important;
  52. }
  53.  
  54. /* #sidebar-header is hidden by default, change "none" to "inherit" to restore it. */
  55. #sidebar-header {
  56.   display: none !important;
  57. }
  58.  
  59. /* #sidebar-splitter styles the divider between the sidebar and the rest of the browser. */
  60. #sidebar-splitter {
  61. }
  62.  
  63.  
  64.  
  65. /* auto hide nav bar stuff */
  66. /* https://github.com/moamenk/Firefox-Minimal-Responsive-Theme/blob/master/userChrome.css */
  67. #nav-bar toolbarbutton
  68.  {
  69.     margin-left: -28px !important;
  70.     opacity: 0 !important;
  71.     transform: scale(.85, .85) !important;
  72.     pointer-events: none !important;
  73.     transition: margin-left 100ms var(--animation-easing-function), opacity 100ms var(--animation-easing-function), transform 100ms var(--animation-easing-function) !important;
  74.  transition-delay: 0s;
  75. }
  76.  
  77. :root:not([customizing]) :hover > #nav-bar toolbarbutton,
  78. :root:not([customizing]) #navigator-toolbox:focus-within #nav-bar toolbarbutton,
  79. :root:not([customizing]) :hover > #titlebar toolbarbutton
  80. {
  81.     transform: scale(1, 1) !important;
  82.     opacity:1 !important;
  83.     margin-left:0 !important;
  84.     pointer-events: auto !important;
  85.     transition-delay: 3s;
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement