Advertisement
Guest User

userchrome.css

a guest
Jan 16th, 2014
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.77 KB | None | 0 0
  1. /*
  2.  * Edit this file and copy it as userChrome.css into your ff profile
  3.  */
  4.  
  5. /*
  6.  * This file can be used to customize the look of Mozilla's user interface
  7.  * You should consider using !important on rules which you want to
  8.  * override default settings.
  9.  */
  10.  
  11. /*
  12.  * Do not remove the @namespace line -- it's required for correct functioning
  13.  */
  14. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  15.  
  16. /* Show tab favicon only on selected tab */    
  17. /*tab:not([selected="true"])*/
  18. .tab-icon {
  19.   display: none;
  20. }
  21. .tabbrowser-tab .tab-icon-image {
  22.   visibility: hidden !important;
  23. }
  24. #urlbar-icons > #star-button {
  25.   display: none !important;
  26. }
  27. #feed-button {
  28.   display: none !important
  29. }
  30. #urlbar[level] .autocomplete-textbox-container >* {
  31.   background-color: #FFFFB7 !important;
  32. }
  33. .autocomplete-history-dropmarker {
  34.   display: none !important;
  35. }
  36. #urlbar-icons > #go-button {
  37.    display:   none !important;
  38. }
  39. /* Hide Tabbar close Button */
  40. tabbrowser .tabs-closebutton-box {
  41.   display: none;
  42. }
  43. /* PERSONAL TOOLBAR */
  44.  
  45. /*
  46.  * Note: Rules affecting icons on the PT do not apply to folder contents.
  47.  * Those are governed by "Bookmarks menu" rules.
  48.  * Taken from: http://www.mozilla.org/unix/customizing.html#usercss
  49.  */
  50.  
  51. /* Kill bookmark icons in the Personal Toolbar */
  52. toolbarbutton.bookmark-item > .toolbarbutton-icon {
  53.   display: none;
  54. }
  55.  
  56. /* BOOKMARKS MENU */
  57.  
  58. /* Kill "normal" bookmark icons in the bookmarks menu */
  59. menuitem.bookmark-item > .menu-iconic-left {
  60.   display: none;
  61. }
  62.  
  63. /* Other examples: */
  64.  
  65. /* kill icons for bookmark folders in Bookmarks menu */
  66. menu.bookmark-item > .menu-iconic-left {
  67.   display: none;
  68. }
  69.  
  70. /* kill icons for bookmark groups in Bookmarks menu */
  71. menuitem.bookmark-group > .menu-iconic-left {
  72.   display: none;
  73. }
  74. /* hide favicon placeholder in Address url toolbar http://support.mozilla.com/tiki-view_forum_thread.php?locale=el&forumId=1&comments_parentId=170737*/
  75. #page-proxy-stack {
  76.   display:none!important
  77. }
  78.  
  79. /*hide noscript icon in contextual menu*/
  80.   .menu-iconic[id*="noscript-"] > .menu-iconic-left
  81.   .menu-iconic[class*="noscript-"] > .menu-iconic-left
  82.   .menuitem-iconic[class*="noscript-"] > .menu-iconic-left {
  83.    visibility: hidden !important;
  84.  }
  85.  
  86. /*hide icons in right click*/
  87. #contentAreaContextMenu menuitem .menu-iconic-left,
  88. #contentAreaContextMenu menu .menu-iconic-left {
  89.  visibility: hidden !important;
  90. }
  91.  
  92.     /* Show Stop and Reload buttons smartly*/
  93.     #stop-button[disabled] {    
  94.     display: none;
  95.     }
  96.  
  97.     #stop-button:not([disabled]) + #reload-button {
  98.         display: none;
  99.     }
  100.  
  101. .tabs-newtab-button {
  102.         display: none !important;
  103.         border: none !important;
  104.         margin: 0 !important;
  105. }
  106.  
  107.  
  108. .tabbrowser-tab[selected="true"] {
  109.         border: none !important;
  110.          font-family: "pragmata" !important;
  111.         border-radius: 0 !important;
  112.         padding-left: 5px !important;
  113.         padding-right: 5px !important;
  114. }
  115.  
  116. .tabbrowser-tab:not([selected="true"]) {
  117.         border: none !important;
  118.         font-family: "pragmata" !important;
  119.         background: #fff !important;        
  120.         border-radius: 0 !important;
  121.         padding-left: 5px !important;
  122.         padding-right: 5px !important;        
  123. }
  124.  
  125. {
  126.     -moz-appearance: none !important;
  127. }
  128.  
  129. #content browser{margin-right:-16px!important;overflow-y:scroll;overflow-x:hidden;}
  130.  
  131. .appmenu-button-container {
  132.     background: #303030 !important;
  133. }
  134. #navigator-toolbox #TabsToolbar, {
  135.     background: #303030 !important;
  136. }
  137. #appmenu-toolbar-button,
  138. .tabbrowser-tab {
  139.     font: 8pt "pragmata" !important;
  140.     background-color: #303030 !important;
  141.     text-shadow: none !important;
  142.     color: #676767 !important;
  143. }
  144.  
  145. #urlbar {
  146.     height: 22px;
  147. }
  148.  
  149. #go-button,
  150. #star-button,
  151. .tab-close-button,
  152. .autocomplete-history-dropmarker,
  153. .tabbrowser-tab[label="New Tab"]:not([blah]) .tab-icon-image,
  154. .tabbrowser-tab .tab-icon-image {
  155.     display: none !important;
  156. }
  157.  
  158. .appmenu-toolbar-button {
  159.     background: #303030 !important;
  160.     color: #676767 !important;
  161.     text-align: left !important;
  162.     margin: 0 3px 0 0px !important;
  163.     padding: 0 0 0 0 !important;
  164. }
  165.  
  166. .toolbarbutton-menu-dropmarker {
  167.     display: none !important;
  168. }
  169.  
  170. #navigator-toolbox #TabsToolbar {
  171.     background: #303030 !important;
  172.     padding: 0px 0px !important;
  173.     height: 20px !important;
  174. }
  175.  
  176. .tabbrowser-tab {
  177.     text-align: center !important;
  178.     color: #676767 !important;
  179.     background: #303030 !important;
  180.     margin: -2px 0px 0px 0px !important;
  181.     padding: 0px 2px 0px 4px !important;
  182.     border: 0 !important;
  183.     border-left: 0px solid #676767 !important;
  184.     border-right: 0px solid #676767 !important;
  185.     border-radius: 0px !important;
  186. }
  187. .tabbrowser-tab[selected="true"] {
  188.     background: #202020 !important;
  189.     border-left: 0px solid #676767 !important;
  190.     border-right: 0px solid #676767 !important;
  191.     padding: 0px 2px 0px 3px !important;
  192.     color: #ababab !important;
  193. }
  194.  
  195. /*Remove the throbber */
  196. #throbber-box {
  197. display: none !important;
  198. }
  199.  
  200. /*Remove "firefox" text from ff button
  201. #appmenu-toolbar-button > .toolbarbutton-text,
  202. #appmenu-toolbar-button > .toolbarbutton-menu-dropmarker {
  203.   display: none !important;
  204. }
  205.  
  206. /*
  207.  * Some possible accessibility enhancements:
  208.  */
  209. /*
  210.  * Make all the default font sizes 20 pt:
  211.  *
  212.  * * {
  213.  *   font-size: 20pt !important
  214.  * }
  215.  */
  216. /*
  217.  * Make menu items in particular 15 pt instead of the default size:
  218.  *
  219.  * menupopup > * {
  220.  *   font-size: 15pt !important
  221.  * }
  222.  */
  223. /*
  224.  * Give the Location (URL) Bar a fixed-width font
  225.  *
  226.  * #urlbar {
  227.  *    font-family: monospace !important;
  228.  * }
  229.  */
  230.  *
  231. /*
  232.  * For more examples see http://www.mozilla.org/unix/customizing.html
  233.  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement