Advertisement
Guest User

Heard you like CSS

a guest
May 1st, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.46 KB | None | 0 0
  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  2.  
  3. /* These first four rules brings back our beloved forward button, ugly selectors copied from the source because I don't want shit breaking */
  4.  
  5. /* Make the forward button always visible */
  6. window:not([chromehidden~="toolbar"]) #urlbar-container:not(:hover) > #forward-button[disabled] {
  7.     opacity: 1;
  8. }
  9.  
  10. window:not([chromehidden~="toolbar"]) #urlbar-container > #forward-button[occluded-by-urlbar] {
  11.     visibility: visible;
  12. }
  13.  
  14. /* Make sure the urlbar stays away from the forward button */
  15. window:not([chromehidden~="toolbar"]) #urlbar-container[forwarddisabled] > #urlbar-wrapper {
  16.     margin-left: 4px;
  17. }
  18.  
  19. /* Transition just makes the bar jerk back and forth when moving through history now, so remove it */
  20. window:not([chromehidden~="toolbar"]) #urlbar-container:not([switchingtabs]) > #urlbar-wrapper > #urlbar {
  21.     transition: none;
  22. }
  23.  
  24.  
  25. /*  All selectors beneath are used to hide their respective element
  26. */
  27.  
  28.  
  29. /* Show close button only on active tab */
  30. .tab-close-button.close-icon:not([selected]),
  31.  
  32. /* History marker in urlbar */
  33. .urlbar-history-dropmarker,
  34.  
  35. /* Sync nag in hamburger menu footer */
  36. #PanelUI-fxa-status,
  37.  
  38. /* Help button in the same footer */
  39. #PanelUI-help,
  40.  
  41. /* Exit button, again, in that footer */
  42. #PanelUI-quit,
  43.  
  44. /* Separators in the footer, since customize is now the only button*/
  45. #PanelUI-footer-inner > toolbarseparator
  46.  
  47. { display: none; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement