Advertisement
Guest User

Untitled

a guest
May 20th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.29 KB | None | 0 0
  1.   /*
  2.   ┌─┐┬┌┬┐┌─┐┬  ┌─┐
  3.   └─┐││││├─┘│  ├┤
  4.   └─┘┴┴ ┴┴  ┴─┘└─┘
  5.   ┌─┐┌─┐─┐ ┬      
  6.   ├┤ │ │┌┴┬┘      
  7.   └  └─┘┴ └─
  8.  
  9.   by Miguel Avila
  10.  
  11.   */
  12.  
  13.   /*
  14.  
  15.   ┌─┐┌─┐┌┐┌┌─┐┬┌─┐┬ ┬┬─┐┌─┐┌┬┐┬┌─┐┌┐┌
  16.   │  │ ││││├┤ ││ ┬│ │├┬┘├─┤ │ ││ ││││
  17.   └─┘└─┘┘└┘└  ┴└─┘└─┘┴└─┴ ┴ ┴ ┴└─┘┘└┘
  18.  
  19.   */
  20.  
  21.   :root {
  22.       --sfwindow: #19171a;
  23.       --sfsecondary: #201e21;
  24.     }
  25.    
  26.  
  27.    
  28.     /*─────────────────────────────*/
  29.    
  30.     /*
  31.     ┌─┐┌─┐┬  ┌─┐┬─┐┌─┐
  32.     │  │ ││  │ │├┬┘└─┐
  33.     └─┘└─┘┴─┘└─┘┴└─└─┘
  34.     */
  35.    
  36.     /* Tabs colors  */
  37.     #tabbrowser-tabs:not([movingtab])
  38.       > #tabbrowser-arrowscrollbox
  39.       > .tabbrowser-tab
  40.       > .tab-stack
  41.       > .tab-background[multiselected='true'],
  42.     #tabbrowser-tabs:not([movingtab])
  43.       > #tabbrowser-arrowscrollbox
  44.       > .tabbrowser-tab
  45.       > .tab-stack
  46.       > .tab-background[selected='true'] {
  47.       background-image: none !important;
  48.       background-color: var(--toolbar-bgcolor) !important;
  49.     }
  50.    
  51.     /* Inactive tabs color */
  52.     #navigator-toolbox {
  53.       background-color: var(--sfwindow) !important;
  54.     }
  55.    
  56.     /* Window colors  */
  57.     :root {
  58.       --toolbar-bgcolor: var(--sfsecondary) !important;
  59.       --tabs-border-color: var(--sfsecondary) !important;
  60.       --lwt-sidebar-background-color: var(--sfwindow) !important;
  61.       --lwt-toolbar-field-focus: var(--sfsecondary) !important;
  62.     }
  63.    
  64.     /* Sidebar color  */
  65.     #sidebar-box,
  66.     .sidebar-placesTree {
  67.       background-color: var(--sfwindow) !important;
  68.     }
  69.    
  70.     /*
  71.    
  72.     ┌┬┐┌─┐┬  ┌─┐┌┬┐┌─┐            
  73.     ││├┤ │  ├┤  │ ├┤            
  74.     ─┴┘└─┘┴─┘└─┘ ┴ └─┘            
  75.     ┌─┐┌─┐┌┬┐┌─┐┌─┐┌┐┌┌─┐┌┐┌┌┬┐┌─┐
  76.     │  │ ││││├─┘│ ││││├┤ │││ │ └─┐
  77.     └─┘└─┘┴ ┴┴  └─┘┘└┘└─┘┘└┘ ┴ └─┘
  78.    
  79.     */
  80.    
  81.     /* Tabs elements  */
  82.     .tab-close-button {
  83.       display: 0.01px;
  84.     }
  85.    
  86.  
  87.     #nav-bar:not([tabs-hidden='true']) {
  88.       box-shadow: none;
  89.     }
  90.    
  91.     #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])
  92.       > #tabbrowser-arrowscrollbox
  93.       > .tabbrowser-tab[first-visible-unpinned-tab] {
  94.       margin-inline-start: 0 !important;
  95.     }
  96.    
  97.     :root {
  98.       --toolbarbutton-border-radius: 0 !important;
  99.       --tab-border-radius: 0 !important;
  100.       --tab-block-margin: 0 !important;
  101.     }
  102.    
  103.     .tab-background {
  104.       border-right: 0px solid rgba(0, 0, 0, 0) !important;
  105.       margin-left: -4px !important;
  106.     }
  107.    
  108.     .tabbrowser-tab:is([visuallyselected='true'], [multiselected])
  109.       > .tab-stack
  110.       > .tab-background {
  111.       box-shadow: none !important;
  112.     }
  113.    
  114.     .tabbrowser-tab[last-visible-tab='true'] {
  115.       padding-inline-end: 0 !important;
  116.     }
  117.    
  118.     #tabs-newtab-button {
  119.       padding-left: 0 !important;
  120.     }
  121.    
  122.     /* Url Bar  */
  123.     #urlbar-input-container {
  124.       background-color: var(--sfsecondary) !important;
  125.       border: 1px solid rgba(0, 0, 0, 0) !important;
  126.     }
  127.    
  128.     #urlbar-container {
  129.       margin-left: 0 !important;
  130.     }
  131.    
  132.     #urlbar[focused='true'] > #urlbar-background {
  133.       box-shadow: none !important;
  134.     }
  135.    
  136.     #navigator-toolbox {
  137.       border: none !important;
  138.     }
  139.    
  140.     /* Bookmarks bar  */
  141.     .bookmark-item .toolbarbutton-icon {
  142.       display: none;
  143.     }
  144.     toolbarbutton.bookmark-item:not(.subviewbutton) {
  145.       min-width: 1.6em;
  146.     }
  147.    
  148.     /* Toolbar  */
  149.     #tracking-protection-icon-container,
  150.     #urlbar-zoom-button,
  151.     #star-button-box,
  152.     #pageActionButton,
  153.     #pageActionSeparator,
  154.     #tabs-newtab-button,
  155.     #back-button,
  156.     #PanelUI-button,
  157.     #forward-button,
  158.     .tab-secondary-label {
  159.       display: none !important;
  160.     }
  161.    
  162.     .urlbarView-url {
  163.       color: #dedede !important;
  164.     }
  165.    
  166.     /* Disable elements  */
  167.     #context-navigation,
  168.     #context-savepage,
  169.     #context-pocket,
  170.     #context-sendpagetodevice,
  171.     #context-selectall,
  172.     #context-viewsource,
  173.     #context-inspect-a11y,
  174.     #context-sendlinktodevice,
  175.     #context-openlinkinusercontext-menu,
  176.     #context-bookmarklink,
  177.     #context-savelink,
  178.     #context-savelinktopocket,
  179.     #context-sendlinktodevice,
  180.     #context-searchselect,
  181.     #context-sendimage,
  182.     #context-print-selection {
  183.       display: none !important;
  184.     }
  185.    
  186.     #context_bookmarkTab,
  187.     #context_moveTabOptions,
  188.     #context_sendTabToDevice,
  189.     #context_reopenInContainer,
  190.     #context_selectAllTabs,
  191.     #context_closeTabOptions {
  192.       display: none !important;
  193.     }
  194.  
  195.   /*─────────────────────────────*/
  196.   /*─────────────────────────────*/
  197.   /*─────────────────────────────*/
  198.   /*─────────────────────────────*/
  199.   /*─────────────────────────────*/
  200.   /*─────────────────────────────*/
  201.   /*─────────────────────────────*/
  202.   /*─────────────────────────────*/
  203.  
  204.     /* Customizations */
  205.  
  206.  
  207.     #reader-mode-button{ display: none }
  208.     .urlbar-go-button {
  209.       list-style-image: none;
  210.     }
  211.   /* Hide the address bar arrow */
  212.   #urlbar-container > #urlbar > #urlbar-icons > #identity-box > #identity-icon-labels > #editBookmarkPanel > #editBMPanel_keywordRow > .editBMPanel_keywordField > .searchbar-engine-one-offs {
  213.     display: none !important;
  214.   }
  215.   /* Top Left corner of the address bar */
  216.   #unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon{
  217.     width: 1px !important;
  218.     padding: 0px !important;
  219.     }
  220.  
  221.     /* Urlbar View */
  222.    
  223.     /*─────────────────────────────*/
  224.     /* Comment this section if you */
  225.     /* want to show the URL Bar    */
  226.     /*─────────────────────────────*/
  227.    
  228.     /* .urlbarView {
  229.       display: none !important;
  230.     }  */
  231.       /* .tabbrowser-tab:not([pinned]) .tab-icon-image {
  232.       display: none !important;
  233.     } */
  234.     /* Search Tabs icon removed */
  235.     #alltabs-button { display: none !important; }
  236.     /* Remove Minimize, Maximize, Close buttons */
  237.     .titlebar-buttonbox-container{ display:none }
  238.  
  239.     #urlbar-go-button {
  240.       display: none !important;
  241.       /*list-style-image: url("chrome://global/skin/icons/search-glass.svg") !important;
  242.       transform: scaleX(-1) !important;*/
  243.     }
  244.     #urlbar-input-container > #identity-box[pageproxystate="invalid"] #identity-icon {
  245.       list-style-image: none !important;
  246.       opacity: 0;
  247.       width: 0px !important;
  248.       padding: 0px !important;
  249.       border-width: 0 !important;
  250.     }
  251.  
  252.     /* MOVE URL TEXT INPUT */
  253.     #urlbar-input {
  254.     margin-left: 10px !important;
  255.     }    
  256.  
  257.  
  258.     /* REMOVE 'Search or enter address' TEXT */
  259.     #urlbar-input::placeholder{
  260.         color: transparent
  261.     }
  262.  
  263.     /* Remove Magnifying Glass Icon */
  264.     #urlbar:not(.searchButton) > #urlbar-input-container >     #identity-box[pageproxystate="invalid"] {
  265.       margin-inline-start: -35px;
  266.       opacity: 0;
  267.     }
  268.   /* MOVE URL TEXT INPUT */
  269.   #urlbar-input {
  270.     margin-left: 20px !important;
  271.   }    
  272.  
  273.   /* REMOVE IDENTITY BOX SPACER */
  274.   #urlbar[pageproxystate="valid"] > #identity-box.extensionPage     {
  275.   border-image-slice: 0 !important;
  276.   }
  277.  
  278.   #identity-box {
  279.     border-image-slice: 0 !important;
  280.   }
  281.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement