Advertisement
xdemonessx

Firefox Slim CSS White/Invert for Puro

Dec 13th, 2012
1,293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.72 KB | None | 0 0
  1.     /* This code is edited from Ahokas Appows for Firefox. */
  2.     /* Favicons and the close button are hidden. */
  3.     /* You can still close tabs by clicking on the right side. */
  4.     /* Its been inverted and some margins adjusted to match Puro by kiko11 (visual style) */
  5.     /* I recommend you use the following extention with any css for easy font editing: */
  6.     /* https://addons.mozilla.org/en-us/firefox/addon/theme-font-size-changer/ */
  7.    
  8.     /* HIDDEN ELEMENTS */
  9.         #identity-box,
  10.         #urlbar-icons > image,
  11.         #urlbar-container dropmarker,
  12.         #appmenu-button .button-text,
  13.         #appmenu-button .button-menu-dropmarker
  14.         {
  15.             display:none!important;
  16.         }
  17.        
  18.         /* BUTTONS */
  19.         #back-button .toolbarbutton-icon,
  20.         #forward-button .toolbarbutton-icon,
  21.         #reload-button .toolbarbutton-icon,
  22.         #urlbar-reload-button .toolbarbutton-icon,
  23.         #stop-button .toolbarbutton-icon,
  24.         #urlbar-stop-button .toolbarbutton-icon,
  25.         #tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon,
  26.         #new-tab-button .toolbarbutton-icon,
  27.         #appmenu-button .button-icon
  28.         {
  29.             list-style-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAALCAYAAADLA1tMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5xJREFUeNrsVk1IG0EU3s3mx1RXY2qxaa0ULFakUogUESUnPaS0Wlo1oifbQ0AUDx704EGIeBAkUXOzEq0/kHpose2h2IbexUKLFA8VokIPKaghrfmpyfa9dELHcTai0FsXNpPZ+d43b9773tsVFUUR/l+CoM38EUWRXZPg1sCdgjuJDzJBI9gT61kukeyFNgrBJ8n/NC9waii+FGWr9vzUdcKb8VWifBVpG8RpVByXent7rywtLSX6+voKeAB8juuII5sIKk5qAZs/OzvrWVxc3Jufn38zPT39hASGjr5mYWEh0NTUVEDxSTgHuy+Ei5tMWP9IJ5W9enp6isDX+OTk5H3CfcKGR64dGhq6UVtbu7OxsXFzYmIizCPH57iOOMRzHNE0NzcXwsE/GAyGYgjE4MrKyrWDgwOvTqezQTAeMwFMra+vO9rb27/bbDYZ5rq6urpch8OxOzMzc0dFDZlsl2VJhuD1eiM4ms1mNySlGLlZGzYQksvlulVZWbm5trZ2fXR0dCuL7JO4jjjEox1NDGuXW1pa3oI0S6uqql5Fo9Ejv9+/Bwp6HYlElnNyclrZQLjd7tDY2JjZ6XRuw9zY3d39rbOz81IgEIhwykWPGLgNsEd6JHO9mnrC4bDParW6MRDE5m/t0nXf1dWV19jYGIHM3B4fH9+Exwm25jj9RN/f319RXV39aXV1Vfb5fD8yzjY0NBQBZxAcGITDvxgYGNhFc1BKUVtb2zYc0gzzGFXLAsmWEaQc7ujowDKJwv1LpRzKyIHEP+4piN0CXiuMRxTvBeD7CXxmUOjLUCj0zGKxPIV5Lqwdps+FP9SbQyJGcciGhZUbg03jEYd4tOPI0zA3N/fe4/E8pDKlnZqaegAOvSNZPLY/9IRCOCSWYz7wHoGUr3J4aUWYAIdqMbGKoHiNBJOHZQx7f4W5QnwWeM0SyyAGkTLV19cHQe4VWWoPy6gCcYhHO04ZJROJxHOTyfQIDn8XlHARxnuyLLfGYrFlBq+x2+0y9IQg9IRSVAKWSU1Nzfbw8DDrR4qoFRUQJ0qIk3mC108IJjkyMhLc3993CRyAwPmWwAAZscsTqfKwOrJuzNLRUZc6aIxOVADgD3HEOeEVqcyl5Q4dvph+a5SXl8uojJKSEr3KHnqw+0yUIPBKmcGIRCEKrUhRpe6572cGe9r7nQ5G5j0unvM7QiL4835HsJhjnLwekfU6C/Ys17/6uj3LuX4LMACwT+lvQQrZSgAAAABJRU5ErkJggg==")!important;
  30.         }
  31.         #back-button .toolbarbutton-icon
  32.         {
  33.             -moz-image-region:rect(0, 11px, 11px, 0)!important;
  34.         }
  35.         #forward-button .toolbarbutton-icon
  36.         {
  37.             -moz-image-region:rect(0, 22px, 11px, 11px)!important;
  38.         }
  39.         #reload-button .toolbarbutton-icon,
  40.         #urlbar-reload-button .toolbarbutton-icon
  41.         {
  42.             -moz-image-region:rect(0, 33px, 11px, 22px)!important;
  43.         }
  44.         #stop-button .toolbarbutton-icon,
  45.         #urlbar-stop-button .toolbarbutton-icon,
  46.         #tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon
  47.         {
  48.             -moz-image-region:rect(0, 44px, 11px, 33px)!important;
  49.         }
  50.         #new-tab-button .toolbarbutton-icon
  51.         {
  52.             -moz-image-region:rect(0, 55px, 11px, 44px)!important;
  53.         }
  54.         #new-tab-button
  55.         {
  56.             max-width:16px!important;
  57.         }
  58.         #appmenu-button .button-icon
  59.         {
  60.         display: none !important;
  61.             -moz-image-region:rect(0, 66px, 11px, 55px)!important;
  62.         }
  63.         #main-window[sizemode="normal"] .toolbarbutton-1
  64.         {
  65.             margin-top:3px!important;
  66.         }
  67.         #main-window *[id*="-button"]:not([disabled]):hover
  68.         {
  69.             background:transparent!important;
  70.         }
  71.          
  72.         /* URL BAR */
  73.         #urlbar
  74.         {
  75.             background:rgba(225,225,225,.1)!important;
  76.             border:0!important;
  77.             color:rgba(64,64,64,.7)!important;
  78.             margin:0px 1px 2px 0px!important;
  79.             max-height:16px!important;
  80.             min-height:16px!important;
  81.             padding:1px!important;
  82.             text-shadow:rgba(225,225,225,.8) 0 0 1px!important;
  83.             -moz-transition:color .2s ease-in-out;
  84.         }
  85.         #urlbar:hover
  86.         {
  87.             color:rgba(30,30,30,.8)!important;
  88.             background:#d1d1d1!important;
  89.         }
  90.         #urlbar #notification-popup-box
  91.         {
  92.             background:-moz-linear-gradient(rgba(225,225,225,.2),rgba(225,225,225,.4))!important;
  93.             border-right:0px solid rgba(225,225,225,.4)!important;
  94.             max-height:16px!important;
  95.             max-width:16px!important;
  96.             padding:0 4px!important;
  97.             border-radius:0px 0 0 0px!important;
  98.             -moz-border-image:none!important;
  99.             -moz-margin-end:0px!important;
  100.         }
  101.         #urlbar #notification-popup-box .notification-anchor-icon
  102.         {
  103.             max-height:10px!important;
  104.             max-width:10px!important;
  105.         }
  106.         #main-window[sizemode="fullscreen"] #urlbar,
  107.         #main-window[sizemode="maximized"] #urlbar
  108.         {
  109.             margin:0px 1px 0!important;
  110.         }
  111.          
  112.         /* TABS */
  113.         #main-window #tabbrowser-tabs tab
  114.         {
  115.             font-family:"Calibri"!important;
  116.             background:rgba(225,225,225,0.4)!important;
  117.             border:0!important;
  118.             color:rgba(64,64,64,.7)!important;
  119.             text-shadow:rgba(225,225,225,.8) 0 0 1px!important;
  120.         }
  121.         #main-window[sizemode="normal"] #tabbrowser-tabs tab
  122.         {
  123.             margin:0px 1px 0px!important;
  124.             max-height:16px!important;
  125.             padding:0 4px!important;
  126.             border-radius:0px!important;
  127.             border-top:0!important;
  128.         }
  129.         #main-window[sizemode="maximized"] #tabbrowser-tabs tab,
  130.         #main-window[sizemode="fullscreen"] #tabbrowser-tabs tab
  131.         {
  132.             border-top:transparent!important;
  133.             margin: 1px 1px 0px!important;
  134.             max-height:15px!important;
  135.             padding:0 4px!important;
  136.             border-radius:0px!important;
  137.         }
  138.         #main-window #tabbrowser-tabs tab[selected],
  139.         #main-window #tabbrowser-tabs tab:hover
  140.         {
  141.             color:rgba(30,30,30,.8)!important;
  142.             background:#d1d1d1!important;
  143.         }
  144.         #main-window #tabbrowser-tabs tab .tab-throbber,
  145.         #main-window #tabbrowser-tabs tab .tab-icon-image
  146.         {
  147.             max-height:0px!important;
  148.             max-width:0px!important;
  149.             margin-top:-2px!important;
  150.         }
  151.         #main-window #tabbrowser-tabs tab[fadein]
  152.         {
  153.             -moz-transition:all .2s ease-in-out!important;
  154.         }
  155.         #main-window #tabbrowser-tabs tab .tab-close-button
  156.         {
  157.             opacity:0!important;
  158.             -moz-transition:all .1s ease-in-out!important;
  159.         }
  160.         #main-window #tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon
  161.         {
  162.             max-height:11px!important;
  163.             max-width:11px!important;
  164.         }
  165.         #main-window #tabbrowser-tabs tab[selected] .tab-close-button,
  166.         #main-window #tabbrowser-tabs tab:hover .tab-close-button
  167.         {
  168.             opacity:0!important;
  169.         }
  170.         #main-window #tabbrowser-tabs tab[fadein]:not([pinned])
  171.         {
  172.             min-width:40px!important;
  173.             max-width:160px!important;
  174.         }
  175.         #main-window #tabbrowser-tabs tab[pinned]
  176.         {
  177.             max-width:24px!important;
  178.             min-width:24px!important;
  179.         }
  180.         #main-window #tabbrowser-tabs .scrollbutton-up,
  181.         #main-window #tabbrowser-tabs .scrollbutton-down,
  182.         #main-window #tabbrowser-tabs tab[pinned] .tab-close-button
  183.         {
  184.             display:none!important;
  185.         }
  186.          
  187.         /* MAIN WINDOW */
  188.         #main-window #urlbar,
  189.         #main-window #urlbar-container
  190.         {
  191.             font-family:"Calibri"!important;
  192.             max-width:200px!important;
  193.         }
  194.         #main-window:not([chromehidden*="toolbar"])[sizemode="normal"]
  195.         {  
  196.             margin:-16px -4px -2px -1px!important
  197.         }
  198.         #main-window[sizemode="normal"] #TabsToolbar
  199.         {
  200.             margin:3px 0px 0px 0px!important;
  201.             padding:0 105px 0px 0px!important;
  202.         }
  203.         #main-window[sizemode="fullscreen"] #TabsToolbar,
  204.         #main-window[sizemode="maximized"] #TabsToolbar
  205.         {
  206.             margin:-16px -4px -1px 1px!important;
  207.             padding:0px 5px 1px 0px!important;
  208.            
  209.         }
  210.         #main-window #browser-border-start
  211.         {
  212.             background:transparent!important;
  213.             border:0!important;
  214.         }
  215.         #browser-border-end {
  216.         display:none!important;
  217.         }
  218.         #main-window #appmenu-button
  219.         {
  220.             background:transparent!important;
  221.             border:0!important;
  222.             padding:1px 5px!important;
  223.             min-width:16px!important;
  224.             box-shadow:none!important;
  225.         }
  226.         #main-window[sizemode="normal"] #appmenu-button
  227.         {
  228.             margin:20px 0px -20px!important;
  229.         }
  230.         #main-window[sizemode="fullscreen"] #appmenu-button,
  231.         #main-window[sizemode="maximized"] #appmenu-button
  232.         {
  233.             margin:0px!important;
  234.         }
  235.          
  236.         /*Removes Background-Color From Chrome*/
  237.         #appcontent,
  238.         #appcontent > #content,
  239.         #appcontent > #content > tabbox > tabpanels
  240.         {
  241.             background-color:transparent!important;
  242.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement