Guest User

hide menu bar options

a guest
Nov 16th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.79 KB | None | 0 0
  1.  
  2. /* Browser fonts */
  3.  
  4. menubar, menubutton, menulist, menu, menuitem, textbox,
  5.  
  6. toolbar, .tab-text, tree, tooltip, sidebarheader, statusbar
  7.  
  8. { font-size: 9pt !important;
  9.  
  10. font-family: Times New Roman !important; }
  11.  
  12.  
  13.  
  14. /* Hide dropdown arrows in Back & Forward buttons */
  15.  
  16. #back-button .toolbarbutton-menubutton-dropmarker,
  17.  
  18. #forward-button .toolbarbutton-menubutton-dropmarker
  19.  
  20. { display: none !important; }
  21.  
  22.  
  23.  
  24. /* Hide Find Toolbar */
  25.  
  26. #FindToolbar { display: none !important; }
  27.  
  28.  
  29.  
  30. /* Don't show tab icons */
  31.  
  32. .tab-icon { display: none !important; }
  33.  
  34.  
  35.  
  36. /* Change all tab properties */
  37.  
  38. tab {
  39.  
  40. -moz-appearance: none !important;
  41.  
  42. height: 18px !important;
  43.  
  44. max-height: 20px !important; }
  45.  
  46.  
  47.  
  48. /* Cosmetic effects to line everything up */
  49.  
  50. .tabs-closebutton {
  51.  
  52. padding: 1px !important; }
  53.  
  54.  
  55.  
  56. /* Hide the close button on the tab bar */
  57.  
  58. .tabbrowser-tabs > stack > .tabs-closebutton-box > .tabs-closebutton,
  59.  
  60. .tabbrowser-tabs > stack > .tabs-right,
  61.  
  62. .tabbrowser-tabs > hbox > .tabs-right {
  63.  
  64. display: none !important; }
  65.  
  66.  
  67.  
  68. /* Hide close button on tab bar and side bar */
  69.  
  70. .tabs-closebutton {
  71.  
  72. display: none !important; }
  73.  
  74.  
  75.  
  76. /* Menu bar activity */
  77.  
  78. menubar > menu {
  79.  
  80. color: #000000 !important;
  81.  
  82. height: 18px !important;
  83.  
  84. max-height: 22px !important; }
  85.  
  86.  
  87.  
  88. /* Resize urlbar and searchbar height */
  89.  
  90. #urlbar, #searchbar .searchbar-textbox { height: 19px; }
  91.  
  92.  
  93.  
  94. /* Slightly rounded address and search bar corners */
  95.  
  96. #urlbar {
  97.  
  98. -moz-appearance: none !important;
  99.  
  100. -moz-border-radius: 3px !important;
  101.  
  102. padding-right: 1px !important; }
  103.  
  104.  
  105.  
  106. #searchbar .searchbar-textbox {
  107.  
  108. -moz-appearance: none !important;
  109.  
  110. -moz-border-radius: 3px !important; }
  111.  
  112.  
  113.  
  114. /* Make the Search box flex wider */
  115.  
  116. #search-container, #searchbar {
  117.  
  118. width: 236px !important; }
  119.  
  120.  
  121.  
  122. /* Adds a little space between icon and text in the Search bar */
  123.  
  124. .searchbar-dropmarker
  125.  
  126. { margin-right: 2px !important;
  127.  
  128. margin-left: 1px !important; }
  129.  
  130.  
  131.  
  132. /* Urlbar and searchbar background and text color */
  133.  
  134. #urlbar, #searchbar .searchbar-textbox{
  135.  
  136. background-color: #F6F6F6 !important;
  137.  
  138. color: #000000 !important; }
  139.  
  140.  
  141.  
  142. /* Resize Navigation Bar */
  143.  
  144. #navigator-toolbox toolbar { max-height: 26px !important; }
  145.  
  146. #navigator-toolbox toolbarbutton { padding: 0px !important; }
  147.  
  148.  
  149.  
  150. /* Change maximum width of bookmarks in menus - default is 26em */
  151.  
  152. menu.bookmark-item, menuitem.bookmark-item { max-width: 16em !important; }
  153.  
  154.  
  155.  
  156. /* Hide styleselector/switcher */
  157.  
  158. #page-theme-button[themes] { display: none !important; }
  159.  
  160.  
  161.  
  162. /* Status Bar Height */
  163.  
  164. #status-bar { max-height: 21px !important; }
  165.  
  166.  
  167.  
  168. /* Icon is too big when I put it up on the menu bar */
  169.  
  170. toolbarbutton.bookmark-item > .toolbarbutton-icon {
  171.  
  172. margin-top: -1px !important; }
  173.  
  174.  
  175.  
  176. /* Hide type ahead auto-complete drop down in Address bar */
  177.  
  178. #PopupAutoComplete, .autocomplete-tree { visibility: hidden !important;
  179.  
  180. display: none !important; }
  181.  
  182.  
  183.  
  184. /* Remove the drop down arrow in the Address bar */
  185.  
  186. .autocomplete-history-dropmarker {
  187.  
  188. display: none !important; }
  189.  
  190.  
  191.  
  192. /* Remove the drop arrow in the Search bar */
  193.  
  194. .searchbar-dropmarker-image {display: none !important;}
  195.  
  196.  
  197.  
  198. /* Remove Back/Forward drop-down arrows */
  199.  
  200. .toolbarbutton-menubutton-dropmarker { display: none !important; }
  201.  
  202.  
  203.  
  204. /* Stop blinking text */
  205.  
  206. blink { text-decoration: none ! important; }
  207.  
  208.  
  209.  
  210. /* Hide status bar icons */
  211.  
  212. statusbarpanel#security-button,
  213.  
  214. statusbarpanel#page-report-button,
  215.  
  216. statusbarpanel#page-theme-button,
  217.  
  218. statusbarpanel#statusbar-updates {
  219.  
  220. display: none !important; }
  221.  
  222.  
  223.  
  224. /* Remove orange RSS icon in status bar */
  225.  
  226. #livemark-button { display: none !important; }
  227.  
  228.  
  229.  
  230. /* Remove yellow shading in the urlbar */
  231.  
  232. #urlbar[level="high"] > .autocomplete-textbox-container,
  233.  
  234. #urlbar[level="low"] > .autocomplete-textbox-container,
  235.  
  236. #urlbar[level="broken"] > .autocomplete-textbox-container {
  237.  
  238. background-color: white !important; }
  239.  
  240.  
  241.  
  242. /* Sidebar background color and font */
  243.  
  244. #historyTree, #bookmarks-view tree{
  245.  
  246. -moz-appearance: none !important;
  247.  
  248. background-color: #F6F6F6 !important;
  249.  
  250. font-size: 9pt !important;
  251.  
  252. font-family: Times New Roman !important; }
  253.  
  254.  
  255.  
  256. sidebarheader { height: 23px !important; }
  257.  
  258.  
  259.  
  260. #sidebar-splitter { min-width: 0px !important;
  261.  
  262. max-width: 4px !important; }
  263.  
  264.  
  265.  
  266. #sidebar { min-width: 0px !important; }
  267.  
  268.  
  269.  
  270. /* Hide the Sidebar bookmarks Search box */
  271.  
  272. #bookmarksPanel > hbox { display:none; }
  273.  
  274.  
  275.  
  276. /* Hide bookmarks sidebar scrollbar..scrollable with mouse wheel */
  277.  
  278. #bookmarks-view, scrollbar[orient=vertical] { width: 0px !important; }
  279.  
  280.  
  281.  
  282. /* Remove the security-button from the status bar */
  283.  
  284. #urlbar .info-icon {
  285.  
  286. display:none !important; }
  287.  
  288.  
  289.  
  290. /* Remove the statusbar-progress panel from the status bar */
  291.  
  292. #statusbar-progresspanel {
  293.  
  294. display: none !important; }
  295.  
  296.  
  297.  
  298. /* Hide All Separators...except View>Toolbars>Bookmarks Toolbar(unknown) */
  299.  
  300. menuitem + menuseparator { display: none; }
  301.  
  302. menu + menuseparator { display: none !important; }
  303.  
  304.  
  305.  
  306. /* Hide "normal" bookmark icons in the bookmarks menu */
  307.  
  308. menuitem.bookmark-item > .menu-iconic-left {
  309.  
  310. display: none; }
  311.  
  312.  
  313.  
  314. /* Hide bookmark icons in the Personal Toolbar */
  315.  
  316. toolbarbutton.bookmark-item > .toolbarbutton-icon {
  317.  
  318. display: none; }
  319.  
  320.  
  321.  
  322. /* Hide icons for bookmark folders in Bookmarks menu */
  323.  
  324. menu.bookmark-item > .menu-iconic-left {
  325.  
  326. display: none; }
  327.  
  328.  
  329.  
  330. /* Hide icons for bookmark groups in Bookmarks menu */
  331.  
  332. menuitem.bookmark-group > .menu-iconic-left {
  333.  
  334. display: none; }
  335.  
  336.  
  337.  
  338. /* Remove Favicon placeholder in URL bar */
  339.  
  340. #page-proxy-deck {
  341.  
  342. display: none !important; }
  343.  
  344.  
  345.  
  346. /* Set max length for bookmark menu list */
  347.  
  348. menupopup, popup {
  349.  
  350. max-height: 700px !important; }
  351.  
  352.  
  353.  
  354.  
  355.  
  356. /* Hide Menus */
  357.  
  358. #navigator-toolbox menu[label="File"],
  359.  
  360. #navigator-toolbox menu[label="Go"],
  361.  
  362. #navigator-toolbox menu[label="Edit"],
  363.  
  364. #navigator-toolbox menu[label="View"],
  365.  
  366. #navigator-toolbox menu[label="Tools"],
  367.  
  368. #navigator-toolbox menu[label="Help"] { display: none !important; }
  369.  
  370.  
  371.  
  372. /* Hide Tools Menus */
  373.  
  374. menuitem[label="Web Search"],
  375.  
  376. menuitem[label="Downloads"],
  377.  
  378. menuitem[label="Themes"],
  379.  
  380. menuitem[label="Extensions"],
  381.  
  382. menuitem[label="Read Mail (0 new)"],
  383.  
  384. menuitem[label="New Message..."],
  385.  
  386. menuitem[label="DOM Inspector"],
  387.  
  388. menuitem[label="Page Info"] { display: none; }
  389.  
  390.  
  391.  
  392. /* Hide Bookmarks Menuitems */
  393.  
  394. menuitem[label="Add to Bookmarks..."],
  395.  
  396. menuitem[label="New Bookmark..."],
  397.  
  398. menuitem[label="New Separator"],
  399.  
  400. menuitem[label="Open in Tabs"] { display: none; }
  401.  
  402.  
  403.  
  404. menuitem[label="Open"],
  405.  
  406. menu[label="Mozilla Firefox & Mozilla Information"],
  407.  
  408. menu[label="Bookmarks Toolbar Folder"] { display: none !important; }
  409.  
  410.  
  411.  
  412. menupopup > menuitem[label="Bookmark This Page..."] {display: none !important;}
  413.  
  414.  
  415.  
  416.  
  417.  
  418. /* Hide Context Menuitems */
  419.  
  420. #context-back,
  421.  
  422. #context-forward,
  423.  
  424. #context-reload,
  425.  
  426. #context-stop,
  427.  
  428. #context-viewsource,
  429.  
  430. #context-openlink,
  431.  
  432. #context-openlinkintab,
  433.  
  434. #context-viewpartialsource-selection,
  435.  
  436. #context-selectall,
  437.  
  438. menuitem[label="View Background Image"],
  439.  
  440. menuitem[label="Reload Tab"],
  441.  
  442. menuitem[label="Reload All Tabs"],
  443.  
  444. menuitem[label="Close Tab"] { display: none !important; }
  445.  
  446.  
  447.  
  448. menuitem[label="Open"],
  449.  
  450. menuitem[label="Open in New Tab"],
  451.  
  452. menuitem[label="Expand"],
  453.  
  454. menuitem[label="Manage Folder"],
  455.  
  456. menuitem[label="New Folder..."],
  457.  
  458. menuitem[label="Show Only This Frame"],
  459.  
  460. menuitem[label="Open in New Window"],
  461.  
  462. menuitem[label="JavaScript Console"],
  463.  
  464. menuitem[label="Reload Frame"],
  465.  
  466. menuitem[label="Bookmark This Frame..."],
  467.  
  468. menuitem[label="Save Frame As..."],
  469.  
  470. menuitem[label="View Frame Source"],
  471.  
  472. menuitem[label="View Frame Info"],
  473.  
  474. menuitem[label="Open Frame in New Window"] { display: none; }
Advertisement
Add Comment
Please, Sign In to add comment