Guest User

sweet freedom™

a guest
Mar 21st, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.91 KB | None | 0 0
  1.  
  2.  
  3.     /*New Style VERY EXPERIMENTAL*/
  4.     @namespace html url(http://www.w3.org/1999/xhtml);
  5.     @namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  6.      
  7.     /* ----My janky code to fix random stuff---- */
  8.     /*remove internal border*/
  9.     #main-window:not([chromehidden*="toolbar"])[sizemode="normal"]
  10.     {
  11.      margin-top:-3px!important;
  12.      margin-left:-1px!important;
  13.      margin-right:-1px!important;
  14.      margin-bottom: -1px /*Originally 2*/ !important;
  15.      }
  16.  
  17.     :root {
  18.         /*COLOR STUFF*/
  19.         --bg-light: #ffffff; --bg-dark: #ffffff;
  20.         --fg-light: #4c4c4c; --fg-dark: #7f7f7f;
  21.      
  22.        /* URL VARIABLES */
  23.         --url-background: var(--bg-light); --url-color: var(--fg-dark);
  24.         --url-height: 20px; --url-right-margin: 7px;
  25.         --url-fonts: "Gotham Rounded Medium"; --url-font-size: 10px;
  26.         --url-text-align: left; /* left | center | right */
  27.         --url-position: absolute; /* absolute == top (under tabs) || fixed == bottom of browser */
  28.     }
  29.      
  30.     /*URL stuff stolen from Twily*/
  31.     @-moz-document url(chrome://browser/content/browser.xul) {
  32.         /* URL-BAR */
  33.         #PanelUI-button, #bookmarks-menu-button, #downloads-button, #home-button, #stylish-toolbar-button, #abp-toolbarbutton,
  34.         #back-button, #forward-button, #identity-box, #urlbar-reload-button, #urlbar-stop-button, #urlbar-go-button, #notification-popup-box,
  35.         #new-tab-button, #alltabs-button, #private-browsing-indicator, #search-container { display: none !important; }
  36.         .tab-drop-indicator { margin-bottom: 0 !important; }
  37.        
  38.         #nav-bar {
  39.             position: var(--url-position) !important; bottom: 0 !important;
  40.             width: 100% !important; height: var(--url-height) !important; min-height: var(--url-height) !important; max-height: var(--url-height) !important;
  41.             margin: -1px 0 0 0 !important;
  42.            
  43.         }
  44.            #nav-bar-customization-target { width: 100% !important; }
  45.               #urlbar-wrapper {
  46.                   width: 105% !important; margin-top: -1px !important; /* adjust margin-top to ~ -5px if you experience gap */
  47.                   position: absolute !important; top: 0 !important; left: 0 !important;
  48.                   border-bottom: 0px solid var(--bg-light) !important;
  49.                   border-top: 0px solid rgba(255,255,255,1) !important;
  50.                   background: rgb(251,251,251) !important;
  51.               }
  52.                  #urlbar {
  53.                      /*box-shadow: 0 0 0px 3px rgba(255,255,255,1) !important;*/
  54.                      border: none !important; border-radius: 0 !important; border-color: #242D3C !important;
  55.                      margin: 0 0 0 0 !important; padding: 0 2px 0 9px !important;
  56.                      height: var(--url-height) !important; min-height: var(--url-height) !important;
  57.                      background: var(--url-background) !important; color: var(--url-color) !important;
  58.                      font-family: var(--url-fonts) !important; font-size: var(--url-font-size) !important;
  59.                      width: calc(100% + var(--url-right-margin)) !important; text-align: var(--url-text-align) !important;
  60.                  }
  61.      
  62.         #TabsToolbar::after { display: none !important; }
  63.         .tabbrowser-tab::before, .tabbrowser-tab::after { background: none !important; }
  64.        
  65.         #navigator-toolbox::after { height: 0px /*Originally was 2px*/ !important; background: #f0f0f0 !important; }
  66.         #liberator-bottombar { border-top: 0px solid var(--bg-light) !important; }
  67.      
  68.     /*TABS*/
  69.        
  70.         /*comment these lines to have normal tab width*/
  71.  
  72.        /*.tabbrowser-tabs:not([drag=detach]) > .tabbrowser-tab:not([pinned])[fadein] {
  73.           min-width: 10px !important;
  74.           max-width: 10% !important;
  75.     }*/
  76.        
  77. /*comment above to have normal tab width*/
  78.         #TabsToolbar {
  79.         background: rgba(255,255,255,0) !important;
  80.         margin-bottom: 0px !important;
  81.         height: 22px !important;
  82.         font-family: "open sans semibold" !important;
  83.     }
  84.      
  85.      
  86.     #TabsToolbar .tabbrowser-tabs {
  87.         min-height: 23px !important;
  88.         margin-top: 0px !important;
  89.         text-align: center !important;
  90.         margin-left: -15px !important;
  91.         margin-right: -15px !important;
  92.         font-family: "open sans semibold" !important;
  93.     }
  94.      
  95.     #tabbrowser-tabs tab .tab-close-button {
  96.         display: none !important;
  97.     }
  98.      
  99.     .tabbrowser-tab:not([pinned]) .tab-icon-image {
  100.     display: none !important;
  101.     }
  102.      
  103.     .tab-icon-image {
  104.         height: 15px !important;
  105.         width: 14px !important;
  106.     }
  107.        
  108.      .tab-text {
  109.        text-transform: lowercase;
  110.     }
  111.        
  112.     #TabsToolbar .tabbrowser-tab {
  113.         -moz-border-top-colors: none !important;
  114.         -moz-border-left-colors: none !important;
  115.         -moz-border-right-colors: none !important;
  116.         -moz-border-bottom-colors: none !important;
  117.         border-width: 0px 0px 0px 0px !important;
  118.         border-color: #2d2d2d !important;
  119.         text-shadow: 0 0 4px rgba(80,80,80,0) !important;
  120.         padding: 4px 0px !important;
  121.         border-radius: 0px !important;
  122.         background: #fbfbfb !important;
  123.         background-clip: padding-box !important;
  124.         transition: all .1s !important;
  125.         margin-left: 0px !important;
  126.         color: #7f7f7f !important;
  127.         font-family: "Gotham Rounded Medium" !important;
  128.         font-size: 10px !important;
  129.         min-height: 21px !important;
  130.     }
  131.      
  132.     #TabsToolbar .tabs-newtab-button {
  133.         -moz-border-top-colors: none !important;
  134.         -moz-border-left-colors: none !important;
  135.         -moz-border-right-colors: none !important;
  136.         -moz-border-bottom-colors: none !important;
  137.         border-style: solid !important;
  138.         border-color: rgb(36,45,60) !important;
  139.         border-width: 1px 1px 0 1px !important;
  140.         text-shadow: 0 0 4px rgba(0,0,0,0) !important;
  141.         background: transparent !important;
  142.         background-clip: padding-box !important;
  143.         transition: all .1s !important;
  144.     }
  145.      
  146.      
  147.      
  148.      
  149.     #TabsToolbar .tabbrowser-tab[selected] {
  150.         color: #5f5f5f !important;
  151.         background: #ffffff !important;
  152.         background-clip: padding-box !important;
  153.         /*box-shadow: 0 0 3px 0px rgba(220,220,220,1) !important;*/
  154.         border-color: rgba(251,251,251,1) !important;
  155.         height: 19px !important;
  156.         transition: ease-out .2s !important;
  157.     }
  158.        
  159.        
  160.         #TabsToolbar .tabbrowser-tab:not([selected]) {
  161.         border-style: none !important;
  162.     }
  163.        
  164.        
  165.     #TabsToolbar .tabs-newtab-button:hover,
  166.     #TabsToolbar .tabbrowser-tab:hover:not([selected]) {
  167.         color: #5f5f5f !important;
  168.         /*border-color: rgba(233,233,233,1) !important;*/
  169.         background-color: #ffffff !important;
  170.         /*box-shadow: 0 0 3px 0px rgba(220,220,220,1) !important;*/
  171.         transition: ease-out .2s !important;
  172.     }
  173.      
  174.     #TabsToolbar .tab-background {
  175.         margin: 0 !important;
  176.         background: transparent !important;
  177.     }
  178.      
  179.     #TabsToolbar .tab-background-start,
  180.     #TabsToolbar .tab-background-end {
  181.         display: none !important;
  182.     }
  183.      
  184.     #TabsToolbar .tab-background-middle {
  185.         margin: -4px -2px !important;
  186.         background: transparent !important;
  187.     }
  188.        
  189.     #TabsToolbar .tabbrowser-tab:after,
  190.     #TabsToolbar .tabbrowser-tab:before {
  191.         display: none !important;
  192.     }
  193.      
  194.     #TabsToolbar .tabs-newtab-button {
  195.         border-width: 1px 1px 0 1px !important;
  196.         margin: 0 !important;
  197.         width: auto !important;
  198.         padding: 0 5px !important;
  199.     }
  200.     }    
  201.        
  202.     /*----- Fix for white flash on new tab -----*/
  203.     tabbrowser tabpanels, #appcontent > #content { background: var(--bg-light) !important; }
Add Comment
Please, Sign In to add comment