Guest User

ff57

a guest
Dec 4th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.95 KB | None | 0 0
  1. @namespace html url(http://www.w3.org/1999/xhtml);
  2. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  3.  
  4.  
  5.  
  6.  
  7.  
  8. /*==== Remove Send Page to Device, Send Link to Device ect, Save page to Pocket ====*/
  9. #context-sendpagetodevice, #context-sep-sendpagetodevice,
  10. #context-sendlinktodevice, #context-sep-sendlinktodevice,
  11. #context_sendTabToDevice, #context_sendTabToDevice_separator,
  12. #context-pocket {
  13. display: none !important;
  14. }
  15.  
  16.  
  17. /*---------------------------------------------------------------------------------------------------------------------------*/
  18.  
  19.  
  20. /*==== Context menu items and icons instead of just huge icons ====*/
  21. #context-sep-navigation,
  22. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) .menu-iconic-highlightable-text {
  23.   display: none !important;
  24. }
  25.  
  26. #context-navigation{
  27.   -moz-box-orient: vertical !important;
  28.   -moz-appearance:none !important;
  29.   background:unset !important;
  30. }
  31.  
  32. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
  33.   width: 16px !important;
  34.   height: 16px !important;
  35.   margin-top: unset !important;
  36.   margin-bottom: unset !important;
  37.   padding-top: unset !important;
  38.   padding-bottom: unset !important;
  39.   -moz-margin-start: 4px !important;
  40.   -moz-margin-end: 12px !important;
  41. }
  42.  
  43. @media (min-resolution: 120dpi) {
  44.     :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image  {
  45.       -moz-margin-end: 8px !important;
  46.     }
  47. }
  48.  
  49. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) {
  50.   -moz-appearance: menuitem !important;
  51.   min-height: unset !important;
  52. }
  53.  
  54. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage):after {
  55.   content: attr(aria-label) !important;
  56.   display: block !important;
  57.   visibility: visible !important;
  58. }
  59.  
  60. #context-navigation > .menuitem-iconic{
  61.   -moz-box-pack: start !important;
  62. }
  63.  
  64. /* fix for German locale */
  65. #context-bookmarkpage[aria-label*="Lesezeichen"] {
  66.   -moz-padding-end: 10px !important;
  67. }
  68.  
  69. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
  70.   -moz-margin-start: 0px !important;
  71.   -moz-margin-end: 2px !important;
  72. }
  73.  
  74. :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
  75.   opacity: 0 !important;
  76. }
  77.  
  78.  
  79. /*---------------------------------------------------------------------------------------------------------------------------*/
  80.  
  81.  
  82. /* reduce text font size in location/search bar (to what is was on Win7)*/
  83. #main-window[uidensity="compact"] :-moz-any(.searchbar-textbox, #urlbar) {
  84.   font-size: 12px !important;
  85. }
  86.  
  87. /* hide page action button (three dots) */
  88. #pageActionButton {
  89.     display: none !important;
  90. }
  91.  
  92. /*---------------------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment