Advertisement
giantspeck

Two-Line Firefox Setup

Nov 27th, 2017
1,125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.34 KB | None | 0 0
  1. /* Giant Speck's Two-Line Firefox Setup */
  2. /* Version 1.0 - 27 November 2017       */
  3. /* Works in Firefox 57+                 */
  4.  
  5. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  6.  
  7. /* Reduce width of pinned tabs by reducing the left and right padding */
  8.  
  9. #TabsToolbar .tab-content[pinned] {
  10.     padding:    0 9px !important;
  11. }
  12.  
  13. /* Move tabs over to right to make room for address bar */
  14.  
  15. #TabsToolbar {
  16.     margin:         0 44px 0 40vw !important;
  17.     height:         30px !important;
  18.     padding-left:   5px !important;
  19. }
  20.  
  21. /* Move address bar to titlebar with tabs */
  22.  
  23. #nav-bar {
  24.     margin:         -30px 60vw -2px 80px !important;
  25.     height:         29px !important;
  26.     border-bottom:  1px solid #9E9E9E !important;
  27. }
  28.  
  29. /* URL bar width adjustments */
  30.  
  31. #urlbar {
  32.     background:     none !important;
  33.     border:         none !important;
  34.     margin-left:    -5px !important;
  35.     min-width:      470px !important;
  36.     font-size:      12px !important;
  37. }
  38.  
  39. #urlbar:hover {
  40.     background:     none !important;
  41.     border:         none !important;
  42.     box-shadow:     none !important;
  43. }
  44.  
  45. #urlbar[focused="true"] {
  46.     background:     none !important;
  47.     border:         none !important;
  48.     box-shadow:     none !important;
  49. }
  50.  
  51. /* Hide bookmark folder icons */
  52.  
  53. .bookmark-item > .toolbarbutton-icon {
  54.     display:    none !important;
  55. }
  56.  
  57. /* Increase bookmarks toolbar height */
  58.  
  59. #PersonalToolbar {
  60.     margin-top: 2px !important;
  61.     height:     28px !important;
  62.     border-top: 1px solid #9E9E9E !important;
  63. }
  64.  
  65. /* Minor bookmarks toolbar spacing adjustments */
  66.  
  67. #personal-bookmarks toolbarbutton.bookmark-item, #personal-bookmarks toolbarbutton {
  68.     background:      none !important;
  69.     box-shadow:      none !important;
  70.     margin:          -1px 0px -1px 2px !important;
  71.     padding:         2px 5px 0 5px !important;
  72.     -moz-appearance: none !important; }
  73.    
  74. #personal-bookmarks toolbarbutton:hover {
  75.     -moz-appearance: none !important;
  76.     background:      none !important;
  77.     text-shadow:     none !important;
  78.     color:           #000 !important;   }
  79.  
  80. /* Add vibrancy to toolbar, titlebar, and navbar */
  81.  
  82. #TabsToolbar, #titlebar, #nav-bar {
  83.     -moz-appearance: -moz-mac-vibrancy-light !important;
  84. }
  85.    
  86.  
  87. /* Remove line under address bar */
  88.  
  89. #navigator-toolbox::after{
  90.     content:    none;
  91. }
  92.  
  93. #nav-bar {
  94.     background: none !important;
  95.     border-bottom: none !important;
  96. }
  97.  
  98. /* Affix hamburger menu to top right */
  99.  
  100. #PanelUI-button{
  101.     position:   fixed;
  102.     top:        2px;
  103.     right:      4px;
  104. }
  105.  
  106. /* Hide titlebar placeholder for caption buttons so that padding between tabs and address bar isn't so ridiculously large */
  107.  
  108. .titlebar-placeholder[type="caption-buttons"] {
  109.     -moz-box-ordinal-group: 1 !important;
  110. }
  111.  
  112. /* Give the identity icon some space */
  113.  
  114. #identity-icon { margin-right: 2px !important;}
  115.  
  116. /* Customize identity box */
  117.  
  118. #identity-box-labels {
  119.     font-size: 10px !important;
  120.     text-transform: uppercase !important;
  121. }
  122.  
  123. /* Customize toolbar icon size */
  124.  
  125. toolbar .toolbarbutton-1 > .toolbarbutton-icon {
  126.     max-width: calc(2 * var(--toolbarbutton-inner-padding) + 14px) !important;
  127. }
  128.  
  129. #back-button { margin-left: 4px !important}
  130. #forward-button { margin-right: 8px !important;}
  131.  
  132. /* Hide Close Buttons in Tabs */
  133.  
  134. .tab-close-button {display: none !important;}
  135.  
  136. /* Hide Toolbar Icon Badges */
  137.  
  138. #PersonalToolbar .toolbarbutton-badge {display: none !important;}
  139.  
  140. /* Make Toolbar Buttons Grayscale */
  141.  
  142. .toolbarbutton-1 {filter: grayscale(100%) !important;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement