Guest User

firefox css w/ stylish (experimental)

a guest
May 1st, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.28 KB | None | 0 0
  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  2. /*
  3.     Firefox CSS for Nightly/Australis by Twily
  4.     ** REQUIRES FIREFOX NIGHTLY v31
  5. */
  6.  
  7. :root {
  8.     /* VARIABLES */
  9.     --bg-light: #49434F; --bg-dark: #24212E;
  10.     --fg-light: #d6ccdc; --fg-dark: #aaa5ad;
  11.     --tab-height: 17px; --tab-triangle-correction: -1px; --tab-strip-margin: -12px;
  12.     --tab-fonts: "Lemon",monospace,"Dejavu Sans"; --tab-font-size: 7pt;
  13. }
  14.  
  15.  
  16. @-moz-document url(chrome://browser/content/browser.xul) {
  17.     /* TABS */
  18.     .tabbrowser-tab[fadein]:not([pinned]) { min-width: 30px !important; max-width: 100% !important; }
  19.     tab {
  20.         font-family: var(--tab-fonts) !important;
  21.         min-height: var(--tab-height) !important; height: var(--tab-height) !important;
  22.         background: var(--bg-dark) !important; color: var(--fg-dark) !important;
  23.         font-size: var(--tab-font-size); text-shadow: none !important; text-align: center !important;
  24.     }
  25.  
  26.     .tabbrowser-tab label { padding: 0 calc(var(--tab-height)/1) 0 calc(var(--tab-height)/1) !important; }
  27.     .tabs-newtab-button, .tab-close-button, .tab-close, .tab-throbber, .tab-icon-image, .tab-background-start, .tab-background-end { display: none !important; }
  28.    
  29. /* --- URLBAR EXPERIMENTING --- */
  30.     #PanelUI-button, #bookmarks-menu-button, #downloads-button, #home-button, #stylish-toolbar-button, #abp-toolbarbutton, #back-button, #forward-button { display: none !important; }
  31.        #identity-box, #urlbar-reload-button { display: none !important; }
  32.     #urlbar-wrapper { margin-left: -5px !important; margin-right: 0px !important; padding-left: 5px !important; }
  33.        #urlbar { border: 0 !important; border-radius: 0 !important; margin: 0 0 0 0 !important; padding: 0 4px 1px 4px !important; height: 17px !important; min-height: 17px !important; background: #49434F !important; color: #d6ccdc !important; font-family: "Lemon",monospace,"Dejavu Sans" !important; font-size: 7pt !important; }
  34.     #nav-bar { height: 17px !important; min-height: 17px !important; margin: 0 !important; }
  35.        #nav-bar-customization-target { margin-top: -2px !important; margin-bottom: -2px !important; }
  36. /* --- URLBAR EXPERIMENTING --- */
  37.    
  38.     /* Comment out the line below to show the urlbar */
  39.     /*#nav-bar { width: 0 !important; height: 0 !important; overflow: hidden !important; position: fixed !important; margin-left: -1px !important; visibility: hidden !important; }*/
  40.    
  41.     .tabbrowser-tab *, .tabs-newtab-button * {
  42.         background: url(none) !important; list-style-image: none !important;
  43.         margin: 0 0 0 0 !important; padding: 0 0 0 0 !important; -moz-appearance: none !important;
  44.     }
  45.  
  46.     .tabbrowser-tab[selected="true"] .tab-stack {
  47.         background: var(--bg-light) !important; color: var(--fg-light) !important;
  48.         border-radius: 0px !important; position: relative !important;
  49.     }
  50.     .tabbrowser-tab[selected="true"]:before {    /* Left Triangle (of selected tab) */
  51.         content: '' !important; position: absolute !important; z-index: 2 !important;
  52.         top: 0 !important; left: 0 !important; width: 0 !important; height: 0 !important;
  53.        
  54.         border: none !important; border-left: calc(var(--tab-height)/2) solid var(--bg-dark) !important;
  55.         border-top: calc((var(--tab-height)/2) - var(--tab-triangle-correction)) solid var(--bg-light) !important; border-bottom: calc((var(--tab-height)/2) + var(--tab-triangle-correction)) solid var(--bg-light) !important;
  56.     }
  57.     .tabbrowser-tab[selected="true"]:after {    /* Right Triangle (of selected tab) */
  58.         content: '' !important; position: absolute !important; z-index: 2 !important;
  59.         top: 0 !important; right: 0 !important; width: 0 !important; height: 0 !important;
  60.        
  61.         border: none !important; border-right: calc(var(--tab-height)/2) solid var(--bg-dark) !important;
  62.         border-top: calc((var(--tab-height)/2) - var(--tab-triangle-correction)) solid var(--bg-light) !important; border-bottom: calc((var(--tab-height)/2) + var(--tab-triangle-correction)) solid var(--bg-light) !important;
  63.     }
  64.    
  65.     #TabsToolbar, #tabbrowser-tabs {
  66.         height: var(--tab-height) !important; min-height: var(--tab-height) !important;
  67.         -moz-appearance: none !important;
  68.         margin-left: var(--tab-strip-margin) !important; margin-right: var(--tab-strip-margin) !important;
  69.         background: var(--bg-dark) !important;
  70.     }
  71.     #TabsToolbar::after { display: none !important; }
  72.     .tabbrowser-tab::before, .tabbrowser-tab::after { background: url(none) !important; }
  73.    
  74.     #navigator-toolbox { border: 0 !important; margin-bottom: -1px !important; }
  75.    
  76.     /* MENUS */
  77.     menubar, menubutton, menulist, menu, menuitem { font-family: var(--tab-fonts) !important; font-size: var(--tab-font-size); height: var(--tab-height) !important; }
  78.     /*#main-menubar,  #toolbar-menubar { height: var(tab-height) !important; min-height: var(tab-height) !important; }*/
  79.     menuitem + menuseparator, menu + menuseparator { display: none !important; }
  80.     .menu-iconic-left { display: none !important; }
  81.     menuitem > label { margin-left: var(--tab-height) !important; }
  82.  
  83.     /* HIDE ORANGE MENU BUTTON */
  84.     #appmenu-toolbar-button, #appmenu-button-container { display: none !important; }
  85.    
  86.     /* HIDE STATUS BAR */
  87.     #status-bar, #statusbar-display, statuspanel { display: none !important; }
  88.  
  89.     /* PRIVATE BROWSING FIX */
  90.     #main-window[privatebrowsingmode=temporary] #TabsToolbar::before { display: none !important; }
  91.    
  92. }
  93.  
  94.  
  95. /* AGENT_SHEET */
  96. @-moz-document url-prefix(http://), url-prefix(https://) {
  97.     /* HIDE SCROLLBARD */
  98.     scrollbar * scrollbar scrollbarbutton { display: block ! important;  }
  99.     scrollbar scrollbarbutton { visibility: collapse !important; }
  100.  
  101.     scrollbar[orient="vertical"], scrollbar thumb[orient="vertical"],
  102.     scrollbar[orient="horizontal"], scrollbar thumb[orient="horizontal"] {
  103.        display: none !important;
  104.         -moz-appearance: none !important;
  105.    }
  106.    
  107.     scrollbar[orient="vertical"] { background: transparent !important; width: 7px !important; margin-left: -7px !important; }
  108.     scrollbar thumb[orient="vertical"] { background: #858187 !important; max-width: 5px !important; border: 0 !important; }
  109.  
  110.     scrollcorner{ opacity: 0!important; }
  111. }
Advertisement
Add Comment
Please, Sign In to add comment