Advertisement
Guest User

Firefox Arc theme for compact vertical space

a guest
Aug 23rd, 2017
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.87 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* Firefox Arc theme for compact vertical space */
  4. /* Use as userstyle with Compact Dark theme */
  5. /* Colors: #383c4a, #2F343F, #aaa and base theme can be changed to adapt for different looks */
  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. .tabbrowser-arrowscrollbox {
  14.     background: #383c4a !important;
  15. }
  16.  
  17. /* Move tabs over to right to make room for address bar */
  18.  
  19. #TabsToolbar {
  20.     margin:         0 44px 0 40vw !important;
  21.     height:         30px !important;
  22.     padding-left:   5px !important;
  23.   background: #2F343F !important;
  24. }
  25.  
  26. /* Move address bar to titlebar with tabs */
  27.  
  28. #nav-bar {
  29.     margin:         -31px 60vw 0px 0px !important;
  30.     height:         31px !important;
  31. }
  32.  
  33. #nav-bar-customization-target {
  34.     background: #2F343F !important;
  35. }
  36.  
  37. #navigator-toolbox {
  38.     background: #2F343F !important;
  39. }
  40.  
  41. /* URL bar width adjustments */
  42.  
  43. #urlbar {
  44.     background:     none !important;
  45.     border:         none !important;
  46.     margin-left:    5px !important;
  47.     min-width:      270px !important;
  48.     font-size:      12px !important;
  49.     background: #383c4a !important;
  50. }
  51.  
  52. #urlbar:hover {
  53.     background:     none !important;
  54.     border:         none !important;
  55.     box-shadow:     none !important;
  56.     background: #383c4a !important;
  57.  
  58. }
  59.  
  60. #urlbar[focused="true"] {
  61.     background:     none !important;
  62.     border:         none !important;
  63.     box-shadow:     none !important;
  64.     background: #383c4a !important;
  65.  
  66. }
  67.  
  68. /* Hide bookmark folder icons */
  69.  
  70. .bookmark-item > .toolbarbutton-icon {
  71.     display:    none !important;
  72. }
  73.  
  74. /* Minor bookmarks toolbar spacing adjustments */
  75.  
  76. #personal-bookmarks toolbarbutton.bookmark-item, #personal-bookmarks toolbarbutton {
  77.     background:      none !important;
  78.     box-shadow:      none !important;
  79.     margin:          -1px 0px -1px 2px !important;
  80.     padding:         0px 5px !important;
  81.     -moz-appearance: none !important;
  82.   border: none !important;
  83. }
  84.    
  85. #personal-bookmarks toolbarbutton:hover, #personal-bookmarks toolbarbutton:active {
  86.     -moz-appearance: none !important;
  87.     background:      none !important;
  88.     text-shadow:     none !important;
  89.   color: #aaa !important;
  90.   border: none !important;
  91. }
  92.  
  93. #personal-bookmarks {
  94.     background: #383c4a !important;
  95. }
  96.  
  97. /* Add vibrancy to toolbar, titlebar, and navbar */
  98.  
  99. #TabsToolbar, #titlebar, #nav-bar {
  100.     -moz-appearance: -moz-mac-vibrancy-light !important;
  101. }
  102.    
  103.  
  104. /* Remove line under address bar */
  105.  
  106. #navigator-toolbox::after{
  107.     content:    none;
  108. }
  109.  
  110.  
  111.  
  112. /* Affix hamburger menu to top right */
  113.  
  114. #PanelUI-button{
  115.     position:   fixed;
  116.     top:        2px;
  117.     right:      4px;
  118.   border-inline-start: none;
  119. }
  120.  
  121. /* Hide titlebar placeholder for caption buttons so that padding between tabs and address bar isn't so ridiculously large */
  122.  
  123. .titlebar-placeholder[type="caption-buttons"] {
  124.     -moz-box-ordinal-group: 1 !important;
  125. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement