Guest User

Untitled

a guest
Sep 9th, 2020 (edited)
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.82 KB | None | 0 0
  1. :root {
  2.  
  3.     --base_color1: #1c1b21;
  4.     --base_color2: #33313c;
  5.     --base_color3: #4b4757;
  6.  
  7.     --outer_color1: #9059ff;
  8.     --outer_color2: #adabb9;
  9.     --outer_color3: #e1e0e6;
  10.  
  11.   --orbit_color: #9795a3;
  12.   --bg: #2F3437;
  13.   --bgDark: #2F3437;
  14. }
  15.  
  16. /* Window transparency: */
  17.  window,
  18. /* #main-window, */
  19. #box,
  20. #toolbar-menubar,
  21. #TabsToolbar,
  22. #PersonalToolbar,
  23. #navigator-toolbox,
  24. #sidebar-box {
  25.   background-color: var(--bg) !important;
  26.   -moz-appearance: none !important;
  27.   background-image: none !important;
  28.   border: none !important;
  29. }
  30.  
  31. #main-window{
  32.   border: none !important;
  33.   background-color: white !important;
  34.   list-style-image: none !important;
  35.   transition: background-color linear 100ms !important;
  36.   /* --lwt-accent-color : var(--bg) !important; */
  37.  
  38. }
  39.  
  40.  
  41. #navigator-toolbox {
  42.   --tabs-border-color:rgba(100,100,100,0) !important;
  43. }
  44.  
  45. window,
  46. #nav-bar {
  47.   background-color: #f0f0f0 !important;
  48.  
  49.   -moz-appearance: none !important;
  50.  
  51.   background-image: none !important;
  52.  
  53.   box-shadow: none !important;
  54. }
  55.  
  56. ::selection {
  57.   background-color: #bebebe; /* highlight for searching in url bar */
  58.   color: #141414;
  59. }
  60.  
  61. /* Tabs transparency: */
  62.  :root {
  63.     --tabs-border: transparent !important;
  64.   }
  65.   .tab-background {
  66.     border: none !important;
  67.   }
  68.  
  69.   .tab-background[selected="true"] {
  70.  
  71.     -moz-appearance: none !important;
  72.  
  73.     background-image: none !important;
  74.   }
  75.   .tabbrowser-tabs {
  76.     border: none !important;
  77.   opacity: 0 !important;
  78.   max-height: 5px;
  79.   }
  80.  
  81.  
  82.   /* Hide separators between background tabs */
  83.   .tabbrowser-tab::before {
  84.     opacity: 0 !important;
  85.     border-left: none !important;
  86.   }
  87.  
  88.   /* Hide border from rightmost background tab */
  89.   .tabbrowser-tab::after {
  90.     opacity: 0 !important;
  91.     border: none !important;
  92.   }
  93.  
  94.   /* Remove placeholder right border */
  95.   .titlebar-placeholder {
  96.     border: none !important;
  97.   }
  98.  
  99.   /*================== TABS BAR ==================*/
  100. #titlebar #TabsToolbar {
  101.     padding: 0px 0px 0px 1.5px !important;
  102.     background: var(--bg) !important;
  103. }
  104. .titlebar-spacer[type="pre-tabs"] {
  105.     display: none;
  106. }
  107.  
  108. #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab[beforeselected-visible]::after, #tabbrowser-tabs[movingtab] > .tabbrowser-tab[visuallyselected]::before, .tabbrowser-tab[visuallyselected]::after {
  109.     opacity: 0 !important;
  110. }
  111. .tab-line {
  112.     height: 0px !important;
  113. }
  114.  
  115. .tabbrowser-tab {
  116.     margin-right: 2px !important;
  117. }
  118. .tabbrowser-tab:not([visuallyselected="true"]), .tabbrowser-tab:-moz-lwtheme {
  119.     color: white !important;
  120. }
  121.  
  122. .tabbrowser-tab > .tab-stack > .tab-background {
  123.     border-radius: 3px !important;
  124. }
  125. .tabbrowser-tab > .tab-stack > .tab-background:not([selected="true"]) {
  126.     background-color: none !important;
  127. }
  128. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]) {
  129.     background-color: var(--bgDark) !important;
  130. }
  131.  
  132. tab[selected="true"] .tab-content {
  133.     color: var(black) !important;
  134. }
  135. tab[selected="true"] .tab-background {
  136.     background: var(--base_color4) !important;
  137. }
  138.  
  139. .tabbrowser-tab::after, .tabbrowser-tab::before {
  140.     border-left: 0 !important;
  141.     opacity: 0 !important;
  142. }
  143.  
  144. .tab-close-button {
  145.     transition: all 0.3s ease !important;
  146.     border-radius: 3px !important;
  147. }
  148. .tab-close-button:hover {
  149.     fill-opacity: 0.2 !important;
  150. }
  151.  
  152.  
  153. /*================== NEW TAB BUTTON ==================*/
  154. toolbar #tabs-newtab-button:not([disabled="true"]):not([checked]):not([open]):not(:active) > .toolbarbutton-icon,
  155. toolbar #tabs-newtab-button:not([disabled="true"]):-moz-any([open], [checked], :hover:active) > .toolbarbutton-icon,
  156. toolbar #tabs-newtab-button:not([disabled="true"]):-moz-any([open], [checked], :active) > .toolbarbutton-icon {
  157.     transition: all 0.3s ease !important;
  158.     fill: var(--orbit_color) !important;
  159.     border-radius: 3px !important;
  160.   background-color: var(--base_color4) !important;
  161. }
  162. toolbar #tabs-newtab-button:not([disabled="true"]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon {
  163.   background-color: var(--base_color4) !important;
  164. }
  165.  
  166.   /* Buttons hide: */
  167. #forward-button {
  168.     /* display: none !important; */
  169.     color: aliceblue;
  170.   }
  171.   .titlebar-spacer {
  172.     display: none !important;
  173.   }
  174.  
  175.   /* NAVBAR */
  176.  
  177. /* Remove border under navbar */
  178. #navigator-toolbox::after {
  179.     border-bottom: 0px !important;
  180.   }
  181.  
  182. /* Remove border above navbar */
  183. #navigator-toolbox::after {
  184.     border-top: 0px !important;
  185.   }
  186.  
  187. #nav-bar {
  188. background: var(--bg) !important;
  189. border: none !important;
  190. box-shadow: none !important;
  191. margin-top: -1px !important;
  192. border-top-width: -1px !important;
  193. margin-bottom: -1px !important;
  194. border-bottom-width: -1px !important;
  195. }
  196.  
  197. /* Sidebar */
  198. #history-panel,
  199. #sidebar-search-container,
  200. #bookmarksPanel {
  201.     background: var(--bg) !important;
  202. }
  203.  
  204. #search-box {
  205.     -moz-appearance: none !important;
  206.     background: var(--bgDark)  !important;
  207.     border-radius: 6px !important;
  208. }
  209.  
  210. #sidebar-search-container {
  211.     background-color: var(--bgDark)  !important;
  212. }
  213.  
  214. /* #sidebar-icon {
  215.   display: none !important;
  216. } */
  217.  
  218. .sidebar-placesTree {
  219.     color: #bebebe  !important;
  220. }
  221.  
  222. #sidebar-switcher-target {
  223.     color: #bebebe  !important;
  224. }
  225.  
  226. #sidebar-header {
  227.     background: var(--bgDark)  !important;
  228. }
  229.  
  230. #sidebar-box {
  231.     --sidebar-background-color:var(--bg)  !important;
  232. }
  233.  
  234. #sidebar-splitter {
  235.     border: none !important;
  236.     opacity: 1 !important;
  237.     background-color: var(--bg)  !important;
  238. }
  239.  
  240.  
  241. /* URL BAR */
  242.  
  243. #urlbar[breakout] {
  244.     margin-inline-start: 0px !important;
  245.     width: 100% !important;
  246.     left: 0 !important;
  247.     top: calc(
  248.       (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  249.     ) !important;
  250.   }
  251.   #urlbar-background {
  252.     background: #2F3437 !important;
  253.     border: none !important;
  254.   }
  255.   #urlbar[breakout]:not([open]) {
  256.     bottom: calc(
  257.       (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  258.     ) !important;
  259.   }
  260.   #urlbar-background {
  261.     animation: none !important;
  262.   }
  263.   #urlbar-input-container {
  264.     padding: 0 !important;
  265.     height: 100% !important;
  266.   }
  267.   #identity-box {
  268.     display: none;
  269.   }
  270.  
  271.  
  272.  
  273.   /* Blank the placeholder text in the search bar */
  274.   #searchbar .textbox-input::placeholder {
  275.     opacity: 0 !important;
  276.   }
  277.  
  278.  
  279.   /*C U S T O M  - S E C T I O N
  280. You can choose between:
  281. (Comment wich one you don't want)*/
  282.  
  283. /*Don't have the urlbarview:*/
  284.  
  285.  
  286. /* #urlbar .urlbarView {
  287.     display: none !important;
  288.  } */
  289.  
  290.  /* Have the urblbarview: */
  291.  
  292.  
  293.  #urlbar-input:focus {
  294.    color: #fff !important;
  295.  }
  296.  .megabar[open="true"] > #urlbar-background {
  297.    background: #fff !important;
  298.  }
  299.  .urlbarView {
  300.    margin-inline: 0 !important;
  301.    width: auto !important;
  302.  }
  303.  .urlbarView-row {
  304.    padding: 0 2px !important;
  305.  }
  306.  .urlbarView-row-inner {
  307.    padding-inline-start: 4px !important;
  308.  }
  309.  #urlbar-background {
  310.    background: #2F3437 !important;
  311.    border: none !important;
  312.  }
  313.  
  314.  #searchbar {
  315.     background: var(--bg) !important;
  316.     border: none !important;
  317. }
  318.  
  319. .searchbar-textbox {
  320.     color: var(--bf-focus-fg) !important;
  321.     font-weight: 700 !important;
  322. }
  323.  
  324.  
  325.  #PlacesChevron{
  326.   display: none;
  327. }
  328.  
  329. #navigator-toolbox:hover{
  330.   background-color: #f0f0f0;
  331. }
  332.  
  333. /* bookmarks */
  334. /* #personal-bookmarks{
  335.  width: 0px;
  336.  transition: width 1s linear;
  337. }
  338.  
  339. #navigator-toolbox:hover #personal-bookmarks{
  340.   width: 380px;
  341. } */
  342.  
  343. /* ANIMATIONS */
  344.  
  345. /* Library, Sidebar, Navigations */
  346. #library-button .toolbarbutton-icon,
  347. #sidebar-button .toolbarbutton-icon,
  348. #back-button .toolbarbutton-icon,
  349. #forward-button .toolbarbutton-icon,
  350. #reload-button .toolbarbutton-icon{
  351.   width: 0px !important;
  352.   height: 28px !important;
  353.   transition: all 0.7s;
  354. }
  355.  
  356. #navigator-toolbox:hover #library-button .toolbarbutton-icon,
  357. #navigator-toolbox:hover #sidebar-button .toolbarbutton-icon,
  358. #navigator-toolbox:hover #back-button .toolbarbutton-icon,
  359. #navigator-toolbox:hover #forward-button .toolbarbutton-icon,
  360. #navigator-toolbox:hover #reload-button .toolbarbutton-icon{
  361.   transform: rotate(360deg);
  362.   width: 28px !important;
  363. }
  364.  
  365. /* URLbar icons */
  366. #pocket-button,
  367. #pageActionButton,
  368. #star-button{
  369.   width: 0px !important;
  370.   height: 24px !important;
  371.   transition: all 0.7s;
  372. }
  373.  
  374. #navigator-toolbox:hover #pocket-button,
  375. #navigator-toolbox:hover #pageActionButton,
  376. #navigator-toolbox:hover #star-button{
  377.   transform: rotate(360deg);
  378.   width: 24px !important;
  379. }
  380.  
  381. /* Bookmarks, shield, face, hamburger */
  382. #personal-bookmarks .toolbarbutton-icon,
  383. #tracking-protection-icon-box,
  384. #fxa-avatar-image,
  385. .toolbarbutton-badge-stack .toolbarbutton-icon{
  386.   width: 0px !important;
  387.   min-height: 0px !important;
  388.   min-width: 0px !important;
  389.   height: 16px !important;
  390.   transition: all 0.7s;
  391. }
  392.  
  393. #navigator-toolbox:hover #personal-bookmarks .toolbarbutton-icon,
  394. #navigator-toolbox:hover #tracking-protection-icon-box,
  395. #navigator-toolbox:hover #fxa-avatar-image,
  396. #navigator-toolbox:hover .toolbarbutton-badge-stack .toolbarbutton-icon{
  397.   transform: rotate(360deg);
  398.   width: 16px !important;
  399.   min-height: 0px !important;
  400.   min-width: 0px !important;
  401. }
  402.  
  403. /* shield icons animation */
  404. #tracking-protection-icon-animatable-image{
  405.   width: 0px !important;
  406.   transition: all 0.7s;
  407. }
  408.  
  409. #navigator-toolbox:hover #tracking-protection-icon-animatable-image{
  410.   transform: rotate(720deg);
  411.   width: 272px !important;
  412. }
  413.  
  414. /* Tabs */
  415.  
  416. .tab-icon-image{
  417.   -webkit-filter: grayscale(100%);
  418.   -webkit-transition: .5s ease-in-out;
  419.   -moz-filter: grayscale(100%);
  420.   -moz-transition: .5s ease-in-out;
  421.   -o-filter: grayscale(100%);
  422.   -o-transition: .5s ease-in-out;
  423.   filter: grayscale(100%);
  424. }
  425.  
  426. #navigator-toolbox:hover .tab-icon-image{
  427.   -webkit-filter: grayscale(0%);
  428.   -webkit-transition: .5s ease-in-out;
  429.   -moz-filter: grayscale(0%);
  430.   -moz-transition: .5s ease-in-out;
  431.   -o-filter: grayscale(0%);
  432.   -o-transition: .5s ease-in-out;
  433.   filter: grayscale(0%);
  434. }
  435.  
  436.  
  437. /* x on tab */
  438. .tab-close-button,
  439. #tabs-newtab-button .toolbarbutton-icon{
  440.   opacity: 0%;
  441.   transition: all 0.7s;
  442. }
  443.  
  444. #navigator-toolbox:hover .tab-close-button,
  445. #navigator-toolbox:hover #tabs-newtab-button .toolbarbutton-icon{
  446.   opacity: 50%;
  447. }
  448.  
  449. .tab-text:not([selected="true"]){
  450.   color: darkgray !important;
  451.   opacity: 50%;
  452.   transition: all 0.7s;
  453. }
  454.  
  455. #navigator-toolbox:hover tab-text{
  456.   opacity: 80%;
  457. }
  458.  
  459. .bookmark-item{
  460.   padding: 0px !important;
  461. }
  462.  
  463. #urlbar-zoom-button {
  464.   display:none!important
  465.  
  466. }
  467.  
  468. #tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
  469.   min-height: 0 !important;
  470. }
  471.  
  472. #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
  473.   visibility: collapse;
  474. }
  475.  
  476. /* I don't use tabs so I just hide the new tab button. You should be able to use a similar trick as the rule above with
  477. css siblings selectors if you want to keep it when the tab bar is visible. */
  478. #tabbrowser-tabs .tabs-newtab-button {
  479.   visibility: collapse !important;
  480. }
  481.  
  482. #tabbrowser-tabs tab {
  483.   min-height: var(--tab-min-height)
  484. }
  485.  
Advertisement
Add Comment
Please, Sign In to add comment