Advertisement
wyatt8740

userChrome.css findbar

Mar 22nd, 2014
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.60 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
  2.  
  3. /* add text to Previous and Next buttons */
  4. .findbar-find-previous label:after { content: "Previous"; }
  5. .findbar-find-next label:after { content: "Next"; }
  6.  
  7. /* position buttons so Next is before Previous */
  8. .findbar-container>hbox>.findbar-find-previous {-moz-box-ordinal-group:2!important;border-right-width:1px!important;}
  9. .findbar-container>hbox>.findbar-find-next {border-right-width:0px!important;}
  10.  
  11. /* more possible tweaks */
  12. /* Quick find - show buttons */
  13. .findbar-container>*,.findbar-container>hbox>* { display:-moz-box; }
  14.  
  15. /* move spacer to a position behind the Match case button */
  16. .findbar-container>spacer { -moz-box-ordinal-group:3 !important; }
  17.  
  18. /* close button at far left */
  19. .findbar-container>.findbar-closebutton { -moz-box-ordinal-group: 0 !important; margin-right:10px !important; }
  20.  
  21. /* close button at far right */
  22. /* .findbar-container>.findbar-closebutton { -moz-box-ordinal-group:3 !important; } */
  23.  
  24. /* adjust the width of the text field */
  25. .findbar-textbox { width:15em !important; }
  26.  
  27. /* add a background color to the checked Highlight and Case sensitive buttons */
  28. .findbar-highlight[checked]>label { color:#222; background-color:#ff8 !important; }
  29. .findbar-case-sensitive[checked]>label { color:#222; background-color:#f88 !important; }
  30. .findbar-case-sensitive[checked]+label { display:none !important; } /* hide "(Case sensitive)" label */
  31.  
  32. /* move phrase not found over to the right */
  33. .findbar-container>.findbar-find-status{-moz-box-ordinal-group:2!important;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement