Advertisement
giantspeck

userChrome.css

Aug 23rd, 2017
1,072
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* Reduce width of pinned tabs by reducing the left and right padding */
  4.  
  5. #TabsToolbar .tab-content[pinned] {
  6. padding: 0 9px !important;
  7. }
  8.  
  9. /* Move tabs over to right to make room for address bar */
  10.  
  11. #TabsToolbar {
  12. margin: 0 44px 0 40vw !important;
  13. height: 30px !important;
  14. padding-left: 5px !important;
  15. }
  16.  
  17. /* Move address bar to titlebar with tabs */
  18.  
  19. #nav-bar {
  20. margin: -30px 60vw -2px 80px !important;
  21. height: 29px !important;
  22. border-bottom: 1px solid #9E9E9E !important;
  23. }
  24.  
  25. /* URL bar width adjustments */
  26.  
  27. #urlbar {
  28. background: none !important;
  29. border: none !important;
  30. margin-left: -5px !important;
  31. min-width: 470px !important;
  32. font-size: 12px !important;
  33. }
  34.  
  35. #urlbar:hover {
  36. background: none !important;
  37. border: none !important;
  38. box-shadow: none !important;
  39. }
  40.  
  41. #urlbar[focused="true"] {
  42. background: none !important;
  43. border: none !important;
  44. box-shadow: none !important;
  45. }
  46.  
  47. /* Hide bookmark folder icons */
  48.  
  49. .bookmark-item > .toolbarbutton-icon {
  50. display: none !important;
  51. }
  52.  
  53. /* Increase bookmarks toolbar height */
  54.  
  55. #PersonalToolbar {
  56. margin-top: 2px !important;
  57. height: 28px !important;
  58. border-top: 1px solid #9E9E9E !important;
  59. }
  60.  
  61. /* Minor bookmarks toolbar spacing adjustments */
  62.  
  63. #personal-bookmarks toolbarbutton.bookmark-item, #personal-bookmarks toolbarbutton {
  64. background: none !important;
  65. box-shadow: none !important;
  66. margin: -1px 0px -1px 2px !important;
  67. padding: 0px 5px !important;
  68. -moz-appearance: none !important; }
  69.  
  70. #personal-bookmarks toolbarbutton:hover {
  71. -moz-appearance: none !important;
  72. background: none !important;
  73. text-shadow: none !important;
  74. color: #000 !important; }
  75.  
  76. /* Add vibrancy to toolbar, titlebar, and navbar */
  77.  
  78. #TabsToolbar, #titlebar, #nav-bar {
  79. -moz-appearance: -moz-mac-vibrancy-light !important;
  80. }
  81.  
  82.  
  83. /* Remove line under address bar */
  84.  
  85. #navigator-toolbox::after{
  86. content: none;
  87. }
  88.  
  89. /* Affix hamburger menu to top right */
  90.  
  91. #PanelUI-button{
  92. position: fixed;
  93. top: 2px;
  94. right: 4px;
  95. }
  96.  
  97. /* Hide titlebar placeholder for caption buttons so that padding between tabs and address bar isn't so ridiculously large */
  98.  
  99. .titlebar-placeholder[type="caption-buttons"] {
  100. -moz-box-ordinal-group: 1 !important;
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement