Guest User

Firefox userCrome

a guest
Mar 3rd, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.55 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /*
  4. Original layout by /u/Herkt https://www.reddit.com/r/FirefoxCSS/comments/7eazix/my_attempt_at_a_oneline_interface/
  5. Use with compact density
  6. */
  7.  
  8. :root:-moz-lwtheme-brighttext {                                      /* minor color changes to the default dark theme */
  9.   /*--color-overflow: #222;                                            /* >> button color */
  10.   /*--chrome-background-color: #111 !important;                        /* tab strip background & inactive tabs */
  11.   /*--chrome-secondary-background-color: #222 !important;              /* nav bar & active tab */
  12.   /*--chrome-color: #ccc !important;                                   /* url & tab text, close tab & new tab buttons */
  13.   /*background-color: #444 !important;                                 /* top border of out of focus window */
  14. }
  15.  
  16. :root:-moz-lwtheme-darktext {                                        /* minor changes to the default light theme */
  17.   /*--color-overflow: #ddd;                                            /* >> button color */
  18.   /*--chrome-background-color: #ccc !important;                        /* tab strip background & inactive tabs */
  19. }
  20.  
  21. :root {
  22.   --tabs-border: transparent !important;                             /* active tab left & right borders - not working in 58?*/
  23.   --toolbox-border-bottom-color: transparent !important;             /* 1px line under background tabs */
  24.   --chrome-nav-bar-controls-border-color: transparent !important;    /* border around url bar */
  25. }
  26.  
  27. /* Move Tab-bar beside Nav-bar */
  28. #TabsToolbar {
  29.   margin-bottom: 0px !important;                /* not needed anymore? */
  30.   margin-top: 0px !important;                   /*  */
  31.   margin-left: 35vw !important;
  32.   margin-right: -34px !important;
  33.   max-height: 32px !important;
  34. }
  35.  
  36. #urlbar-container {
  37.   min-width: 0px !important;
  38. }
  39.  
  40. #nav-bar {
  41.   margin-bottom: -1px !important;               /* remove navbar bottom 1px border */
  42.   margin-top: -32px !important;
  43.   margin-right: 65vw !important;
  44.   border-top: none !important;
  45.   min-width: 0px !important;
  46. }
  47.  
  48. /* Remove padding above tabbar in compact mode */
  49. #main-window[sizemode="normal"] > #titlebar {
  50.   -moz-appearance: initial !important;
  51. }
  52.  
  53.  
  54. /* Back & Forward buttons */
  55. #back-button > .toolbarbutton-icon,
  56. #forward-button > .toolbarbutton-icon {
  57.   transform: scale(0.9, 0.9) !important;
  58.   margin-left: -2px !important;
  59.   margin-right: -2px !important;
  60. }
  61.  
  62. /* Move hamburger menu to the left */
  63. #PanelUI-button,
  64. #customization-panel-container,
  65. #customization-panelWrapper .panel-arrow {
  66.   -moz-box-ordinal-group: 0 !important;
  67.   margin-right: -6px !important;
  68. }
  69.  
  70. #appMenu-popup {
  71.   margin-right: -258px !important;
  72. }
  73.  
  74. #appMenu-popup .panel-arrow {
  75.   margin-right: 248px !important;
  76. }
  77.  
  78. /* More tools... button */
  79. #nav-bar-overflow-button {
  80.   transform: scale(0.9, 0.9) !important;
  81.   fill: var(--color-overflow) !important;
  82. }
  83.  
  84.  
  85. /* Tabs */
  86. .tabbrowser-tab {
  87.   height: 32px !important;
  88. }
  89.  
  90. /* Remove empty space before first tab
  91. Delete this rule if you need a space to drag the window*/
  92. #TabsToolbar .titlebar-placeholder[type="pre-tabs"]{
  93.     display: none !important;
  94. }
  95.  
  96. /* Remove border between tabs
  97. Delete this rule if you want separators between background tabs */
  98. .tabbrowser-tab::after, .tabbrowser-tab::before {
  99.   border-left: none !important;
  100. }
  101.  
  102. /* Border between background tabs */
  103. .tabbrowser-tab::after, .tabbrowser-tab::before {
  104.   /*color: grey !important; */
  105.   opacity: .2 !important;
  106.  }
  107.  
  108. /* New tab button color */
  109. #new-tab-button, .tabs-newtab-button {
  110.   fill: var(--chrome-color) !important;
  111.   }
  112.  
  113. /* tab line - adjust color & size, default #0a84ff 2px */
  114. .tab-line {
  115.   background-color: #0a84ff !important;
  116.   height: 0px !important;
  117.   }
  118.  
  119.  
  120. /* Hide various elements */
  121. /* Menu */
  122. #appMenu-fxa-container,                    /* Sign in to Sync */
  123. #appMenu-fxa-container+toolbarseparator,
  124. /* #appMenuRestoreLastSession, */
  125. #appMenu-zoom-controls,
  126. #appMenu-zoom-controls+toolbarseparator,
  127. #appMenu-edit-controls,
  128. #appMenu-edit-controls+toolbarseparator,
  129. #appMenu-library-button,
  130. #appMenu-customize-button,
  131. #appMenu-customize-button+toolbarseparator,
  132. #appMenu-open-file-button,
  133. #appMenu-save-file-button,
  134. #appMenu-find-button,
  135. #appMenu-more-button,
  136.  
  137. /* URL Bar */
  138. #pageActionButton,
  139. #pocket-button-box,
  140. ar-button,
  141. .autocomplete-history-dropmarker,
  142. #identity-icon-labels
  143. {
  144.     display: none !important;
  145. }
  146.  
  147. /* Remove window buttons (Close, Minimize, Fullscreen) */
  148. #titlebar {display: none !important;}
Add Comment
Please, Sign In to add comment