s3h

Untitled

s3h
Nov 2nd, 2020
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 15.63 KB | None | 0 0
  1. @namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
  2.  
  3. * {
  4.   /*--tab-corner-rounding: 5px;*/
  5.   --animation-speed: 0.4s;
  6.   --button-corner-rounding: 30px;
  7.   --urlbar-container-height: 34px !important;
  8.   --urlbar-height: 32px !important;
  9.   --urlbar-toolbar-height: 40px !important;
  10.   --moz-hidden-unscrollable: scroll !important;
  11.   --toolbarbutton-border-radius: 15px !important;
  12.   --tabs-border-color: transparent;
  13. }
  14.  
  15. #TabsToolbar .tabbrowser-tab,
  16. #TabsToolbar .tabbrowser-tab .tab-stack,
  17. #TabsToolbar .tabbrowser-tab .tab-background,
  18. #TabsToolbar .tabbrowser-tab .tab-content {
  19.   border-top-left-radius: 10px !important;
  20.   border-top-right-radius: 10px !important;
  21.   margin-top: 0px;
  22.   height: 36px;
  23.   text-align: center;
  24. }
  25.  
  26. #TabsToolbar:hover {
  27.   background: transparent;
  28. }
  29.  
  30. .tab-line {
  31.   display: none;
  32. }
  33.  
  34. #urlbar[breakout][breakout-extend],
  35. #urlbar[breakout][breakout-extend-disabled][open] {
  36.   /* The z-index needs to be big enough to trump other positioned UI pieces
  37.      that we want to overlay. 3 is used in the tab bar. */
  38.   z-index: 3;
  39.   height: var(--urlbar-height) !important;
  40. }
  41. #urlbar-search-button {
  42.   margin-left: 5px;
  43. }
  44.  
  45. tab:not(:active) .tab-background {
  46.   transition: background-color var(--animation-speed) !important;
  47. }
  48. :root:not([customizing]) :hover > .tabbrowser-tab:not(:hover) {
  49.   /*filter: blur(3px) brightness(50%);*/
  50.   transition: blur, ease 0.5s !important;
  51. }
  52.  
  53. :root:not([customizing]) :not(:hover) > .tabbrowser-tab {
  54.   /*filter: blur(0px) brightness(100%) !important;*/
  55.   transition: blur, ease 0.2s !important;
  56. }
  57.  
  58. #tabbrowser-tabs .tab-label-container[customizing] {
  59.   color: transparent;
  60.   transition: ease 0.5s;
  61.   transition-delay: 3s;
  62. }
  63.  
  64. :root:not([customizing]) :hover > #tabbrowser-tabs,
  65. :root:not([customizing]) #tabbrowser-tabs:focus-within,
  66. #urlbar[focused='true'],
  67. #identity-box[open='true'],
  68. #navigator-toolbox:hover > #tabbrowser-tabs:not([customizing]),
  69. #toolbar-menubar:not([inactive='true']) ~ #tabbrowser-tabs:not([customizing]) {
  70.   color: rgb(0, 0, 0) !important;
  71.   transition: linear 0s;
  72.   transition-delay: 3s;
  73. }
  74.  
  75. :root[uidensity='compact'] {
  76.   --tab-min-height: 38px !important;
  77. }
  78.  
  79. tab:not([selected]):hover .tab-background {
  80.   background-color: var(
  81.     --toolbarbutton-hover-background,
  82.     rgba(182, 182, 182, 0.11)
  83.   ) !important;
  84. }
  85.  
  86. .tab-close-button {
  87.   list-style-image: url('active_close.png');
  88.   border-radius: 15px;
  89.   transition: list-style-image var(--animation-speed) ease-out !important;
  90. }
  91. .tab-close-button:hover {
  92.   list-style-image: url('mouseover_close.png');
  93. }
  94.  
  95. #navigator-toolbox::after {
  96.   display: none !important;
  97. }
  98.  
  99. .titlebar-button > .toolbarbutton-icon {
  100.   height: 17px !important;
  101.   min-height: 17px !important;
  102.   width: 17px !important;
  103.   min-width: 17px !important;
  104. }
  105.  
  106. .titlebar-button {
  107.   padding-left: 10px !important;
  108.   padding-right: 15px !important;
  109.   padding-top: 10px !important;
  110. }
  111.  
  112. #urlbar {
  113.   /*border-radius: calc(1px + var(--button-corner-rounding)) !important;*/
  114.   height: 30px;
  115.   margin-left: 5px;
  116. }
  117.  
  118. #urlbar-container *:not(#identity-box) {
  119.   border-color: transparent !important;
  120.   box-shadow: none !important;
  121. }
  122.  
  123. #pageActionSeparator {
  124.   display: none !important;
  125. }
  126.  
  127. #urlbar:hover .urlbar-icon,
  128. #urlbar:active .urlbar-icon,
  129. #urlbar[focused] .urlbar-icon,
  130. #urlbar:hover .urlbar-icon:not([open]) image,
  131. #urlbar:active .urlbar-icon image,
  132. #urlbar[focused] .urlbar-icon image {
  133.   fill: var(--toolbar-color) !important;
  134. }
  135.  
  136. .urlbar-page-action[open] {
  137.   background-color: var(--toolbarbutton-active-background) !important;
  138.   fill: var(--toolbar-color) !important;
  139. }
  140.  
  141. .urlbar-page-action[open]:hover {
  142.   background-color: var(--toolbarbutton-active-background) !important;
  143.   fill: var(--toolbar-color) !important;
  144. }
  145. #urlbar[breakout] {
  146.   width: 100% !important;
  147.   padding: 0px !important;
  148.   z-index: 99 !important;
  149. }
  150.  
  151. #urlbar[breakout][breakout-extend] {
  152.   top: calc(
  153.     (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
  154.   ) !important;
  155.   left: 0 !important;
  156.   width: 100% !important;
  157. }
  158.  
  159. #urlbar[breakout][breakout-extend] > #urlbar-input-container {
  160.   height: 100% !important;
  161.   padding-block: 0 !important;
  162.   padding-inline: 0 !important;
  163. }
  164.  
  165. .urlbar-page-action[open] .urlbar-icon {
  166.   fill: var(--toolbar-color) !important;
  167. }
  168.  
  169. #library-button[animate] {
  170.   margin-bottom: 0px !important;
  171.   margin-top: 50px !important;
  172. }
  173.  
  174. #library-button[animate] image {
  175.   margin-bottom: -120px !important;
  176.   margin-top: 100px !important;
  177. }
  178.  
  179. .urlbar-scheme {
  180.   padding-bottom: 11px !important;
  181. }
  182.  
  183. #urlbar-container {
  184.   margin-left: -5px !important;
  185.   margin-right: 2px !important;
  186. }
  187.  
  188. #urlbar-container #urlbar[pageproxystate='invalid'] {
  189.   margin-left: 5px !important;
  190. }
  191.  
  192. .urlbar-input-box {
  193.   padding: 5px 5px !important;
  194. }
  195.  
  196. #urlbar {
  197.   background-color: transparent !important;
  198.   color: var(--lwt-toolbar-field-color, black) !important;
  199. }
  200.  
  201. .urlbarView {
  202.   background: var(--toolbar-bgcolor) !important;
  203.   color: var(--toolbar-color) !important;
  204.   border-bottom-left-radius: 15px !important;
  205.   border-bottom-right-radius: 15px !important;
  206. }
  207.  
  208. #pocket-button {
  209.   padding-bottom: 4px !important;
  210. }
  211.  
  212. .urlbar-icon-wrapper > .urlbar-icon:hover {
  213.   background-color: transparent !important;
  214. }
  215.  
  216. .urlbar-icon-wrapper {
  217.   background-color: transparent !important;
  218.   transition: background-color var(--animation-speed) !important;
  219. }
  220.  
  221. #urlbar:not([focused]) {
  222.   border-radius: 20px !important;
  223. }
  224. #identity-box:hover,
  225. .urlbar-icon:hover,
  226. .urlbar-icon-wrapper:hover,
  227. [anonid='urlbar-go-button']:hover {
  228.   border-radius: 10px !important;
  229. }
  230.  
  231. #identity-box:active,
  232. .urlbar-icon:active,
  233. .urlbar-icon-wrapper:active,
  234. [anonid='urlbar-go-button']:active {
  235.   background-color: var(--toolbarbutton-active-background) !important;
  236. }
  237.  
  238. .urlbar-input-box,
  239. #identity-box,
  240. [anonid='urlbar-go-button'],
  241. #urlbar {
  242.   font-size: 1.3rem;
  243.   font-family: 'Airbnb Cereal App Book', 'Arial', 'Helvetica';
  244.   transition: background-color var(--animation-speed) !important;
  245.   color: var(--toolbar-color) !important;
  246. }
  247.  
  248. [lwthemetextcolor='dark'] .urlbarView-body-outer {
  249.   background-color: #ff5340 !important;
  250.   color: var(--toolbar-color) !important;
  251. }
  252.  
  253. .urlbarView-body-inner {
  254.   background-color: var(--toolbar-bgcolor) !important;
  255. }
  256.  
  257. .downloadsPanelFooterButton:hover {
  258.   outline: none !important;
  259. }
  260.  
  261. #TabsToolbar > .titlebar-buttonbox-container {
  262.   margin-right: 20px;
  263. }
  264.  
  265. #urlbar,
  266. #searchbar {
  267.   border: none !important;
  268. }
  269.  
  270. #page-action-buttons > *:not(#star-button-box),
  271. .urlbar-history-dropmarker {
  272.   opacity: 0 !important;
  273. }
  274.  
  275. #urlbar:hover #page-action-buttons > *,
  276. #urlbar:hover .urlbar-history-dropmarker {
  277.   opacity: 1 !important;
  278. }
  279.  
  280. menu,
  281. menuitem,
  282. menucaption {
  283.   -moz-appearance: none !important;
  284.   height: 36px !important;
  285.   color: black;
  286. }
  287.  
  288. menu[disabled='true'][_moz-menuactive='false'],
  289. menuitem[disabled='true'][_moz-menuactive='false'],
  290. menucaption[disabled='true'][_moz-menuactive='false'] {
  291.   color: white !important;
  292. }
  293.  
  294. menu[disabled='true'],
  295. menuitem[disabled='true'],
  296. menucaption[disabled='true'] {
  297.   color: var(
  298.     --toolbarbutton-hover-background,
  299.     rgba(182, 182, 182, 0.11)
  300.   ) !important;
  301. }
  302.  
  303. menu[disabled='true'][_moz-menuactive='true'],
  304. menuitem[disabled='true'][_moz-menuactive='true'],
  305. menucaption[disabled='true'][_moz-menuactive='true'] {
  306.   color: var(
  307.     --toolbarbutton-hover-background,
  308.     rgba(182, 182, 182, 0.11)
  309.   ) !important;
  310.   background-color: transparent !important;
  311. }
  312.  
  313. menu,
  314. menuitem,
  315. menucaption {
  316.   padding-left: 5px !important;
  317.   padding-right: 5px !important;
  318. }
  319.  
  320. menu:not(.subviewbutton) > .menu-right {
  321.   margin-top: 2px !important;
  322.   margin-right: 0px !important;
  323.   width: 0px !important;
  324. }
  325.  
  326. menu:not(.subviewbutton) > .menu-right image {
  327.   margin-right: -5px !important;
  328.   margin-top: -2px !important;
  329.   /*border: 6px solid var(--toolbar-color) !important;*/
  330.   border-top-color: transparent !important;
  331.   border-right-color: transparent !important;
  332.   border-bottom-color: transparent !important;
  333. }
  334.  
  335. @media (-moz-os-version: windows-xp),
  336.   (-moz-os-version: windows-vista),
  337.   (-moz-os-version: windows-win7),
  338.   (-moz-os-version: windows-win8),
  339.   (-moz-os-version: windows-win10) {
  340.   menupopup .popup-internal-box {
  341.     margin: -2px !important;
  342.     padding-bottom: 3px !important;
  343.     padding-top: 3px !important;
  344.   }
  345.  
  346.   .bookmark-item .scrollbutton-up {
  347.     margin-top: -3px !important;
  348.   }
  349.  
  350.   .bookmark-item .scrollbutton-up > .toolbarbutton-icon {
  351.     margin-top: -2px !important;
  352.     border: 6px solid MenuText !important;
  353.     border-top-color: transparent !important;
  354.     border-right-color: transparent !important;
  355.     border-left-color: transparent !important;
  356.   }
  357.  
  358.   .bookmark-item .scrollbutton-down {
  359.     margin-bottom: -3px !important;
  360.   }
  361.  
  362.   .bookmark-item .scrollbutton-down > .toolbarbutton-icon {
  363.     margin-bottom: -2px !important;
  364.     border: 6px solid MenuText !important;
  365.     border-bottom-color: transparent !important;
  366.     border-right-color: transparent !important;
  367.     border-left-color: transparent !important;
  368.   }
  369.  
  370.   menupopup {
  371.     margin-left: 1px !important;
  372.   }
  373.  
  374.   menu,
  375.   menuitem,
  376.   menucaption {
  377.     padding-left: 5px !important;
  378.     padding-right: 5px !important;
  379.   }
  380.  
  381.   menu:not(.subviewbutton) > .menu-right {
  382.     margin-right: 0px !important;
  383.     padding-left: 0px !important;
  384.   }
  385. }
  386.  
  387. .titlebar-spacer[type='pre-tabs'],
  388. .titlebar-spacer[type='post-tabs'] {
  389.   display: none !important;
  390. }
  391.  
  392. :root:-moz-lwtheme-brighttext {
  393.   --autocomplete-popup-background: #2a2a2e !important;
  394.   --autocomplete-popup-highlight-background: #ff5340 !important;
  395. }
  396.  
  397. @-moz-document url(about:blank), url(about:newtab), url(about:home) {
  398.   html:not(#ublock0-epicker),
  399.   html:not(#ublock0-epicker) body,
  400.   #newtab-customize-overlay {
  401.     background: black !important;
  402.   }
  403. }
  404.  
  405. #tabs-newtab-button {
  406.   margin-left: 4px !important;
  407.   border-radius: 100% !important;
  408. }
  409. .tabbrowser-tab::before,
  410. .tabbrowser-tab::after {
  411.   display: none !important;
  412. }
  413.  
  414. .tab-background[selected='true'] {
  415.   color: #111111 !important;
  416. }
  417.  
  418. .tabbrowser-tab {
  419.   text-align: center !important;
  420.   justify-content: center;
  421.   align-items: center;
  422. }
  423. .tab-icon-image {
  424. }
  425. .tab-label {
  426.   font-family: 'Airbnb Cereal App Book', 'Arial', 'Helvetica';
  427. }
  428. .tabbrowser-tab[selected='true'],
  429. .tab-label-container[selected='true'] {
  430.   font-size: 1.1rem;
  431. }
  432. @keyframes fade {
  433.   from {
  434.     opacity: 0;
  435.   }
  436.   to {
  437.     opacity: 1;
  438.   }
  439. }
  440.  
  441. menubar,
  442. menubutton,
  443. menulist,
  444. menu,
  445. menuitem,
  446. textbox,
  447. toolbar,
  448. tab,
  449. tree,
  450. .tree-rows {
  451. }
  452.  
  453. #nav-bar:not([customizing]) {
  454.   visibility: visible;
  455.   margin-top: -40px;
  456.   transition-delay: 1s;
  457.   filter: alpha(opacity=0);
  458.   opacity: 0;
  459.   transition: visibility, ease 0.5s, margin-top, ease 0.5s, opacity, ease 0.5s,
  460.     rotate, ease 0.4s !important;
  461. }
  462.  
  463. :root:not([customizing]) :hover > #nav-bar,
  464. #nav-bar:focus-within,
  465. #urlbar[focused='true'],
  466. #identity-box[open='true'],
  467. #navigator-toolbox:hover > #nav-bar:not([customizing]),
  468. #toolbar-menubar:not([inactive='true']) ~ #nav-bar:not([customizing]) {
  469.   visibility: visible;
  470.  
  471.   margin-top: 0px;
  472.   filter: alpha(opacity=100);
  473.   opacity: 100;
  474.   margin-bottom: -0.2px;
  475. }
  476. #PersonalToolbar {
  477.   margin-top: 0px;
  478. }
  479. #nav-bar .toolbarbutton-1[open='true'] {
  480.   visibility: visible;
  481.   opacity: 100;
  482. }
  483. /*tooltip*/
  484. #tabbrowser-tab-tooltip {
  485.   -moz-appearance: none !important;
  486.   font-size: 1.4rem !important;
  487.   width: 170px !important;
  488.   height: auto;
  489.   font-family: 'Airbnb Cereal App Book', 'Arial', 'Helvetica';
  490.   font-weight: normal !important;
  491.   color: var(--lwt-tab-text) !important;
  492.   background-color: var(--toolbar-bgcolor) !important;
  493.   padding: 6px;
  494.   border-radius: 10px;
  495.   box-shadow: none !important;
  496. }
  497. menupopup {
  498.   -moz-appearance: none !important;
  499.   padding: 8px !important;
  500.   border-radius: 15px !important;
  501.   background-color: var(--toolbar-bgcolor) !important;
  502.   border: none !important;
  503.   min-width: 280px !important;
  504. }
  505. menuseparator {
  506.   -moz-appearance: none !important;
  507.   border: none !important;
  508.   background-color: none !important;
  509. }
  510. menuitem,
  511. menu {
  512.   -moz-appearance: none !important;
  513.   color: var(--lwt-tab-text) !important;
  514.   padding: 7.5px 6px !important;
  515. }
  516. menuitem[disabled='true'],
  517. menuitem[disabled='true'] > .menu-text {
  518.   color: gray !important;
  519. }
  520. menuitem:hover,
  521. menu:hover,
  522. menu[open='true'],
  523. menuitem[_moz-menuactive='true'] {
  524.   -moz-appearance: none !important;
  525.   background-color: var(--toolbar-bgcolor) !important;
  526.   filter: brightness(150%);
  527.   border-radius: 5px;
  528. }
  529. menugroup {
  530.   padding: 0px !important;
  531.   background-color: transparent !important;
  532. }
  533. menuitem > .menu-text,
  534. menuitem > .menu-iconic-text {
  535.   font-family: 'Airbnb Cereal App Book', 'Arial', 'Helvetica';
  536. }
  537. menuitem[type='checkbox'] {
  538.   padding-left: 8px !important;
  539.   padding-top: 6.5px !important;
  540.   padding-bottom: 6.5px !important;
  541. }
  542. menuitem[type='radio'] {
  543.   padding-left: 8px !important;
  544.   padding-top: 6.5px !important;
  545.   padding-bottom: 6.5px !important;
  546. }
  547. menuitem[type='checkbox'] > .menu-iconic-text,
  548. menuitem[type='radio'] > .menu-iconic-text {
  549.   padding-left: 5px !important;
  550. }
  551. menuitem[checked='true'][type='checkbox'] > .menu-iconic-left {
  552.   padding: 7px 0px 0px 0px !important;
  553.   border: solid white;
  554.   border-width: 0 0 2px 2px;
  555.   transform: rotate(-45deg) scale(0.75);
  556.   margin-bottom: 4px !important;
  557. }
  558. menuitem[checked='true'][type='radio'] > .menu-iconic-left {
  559.   padding: 1px !important;
  560.   border: solid white;
  561.   height: 17px !important;
  562.   border-radius: 100%;
  563.   background: white;
  564.   transform: scale(0.5);
  565. }
  566. menucaption {
  567.   background-color: transparent !important;
  568.   color: white !important;
  569. }
  570. #ContentSelectDropdown > menupopup {
  571.   background-image: none !important;
  572. }
  573. #ContentSelectDropdown {
  574.   padding: 0px !important;
  575. }
  576. menulist {
  577.   -moz-appearance: none !important;
  578.   padding: 4px 4px 4px 4px !important;
  579.   border: 2px solid #666666 !important;
  580.   background-color: transparent !important;
  581. }
  582. menulist:hover {
  583.   padding: 4px 4px 4px 4px !important;
  584.   border: 2px solid #999999 !important;
  585.   background-color: transparent !important;
  586. }
  587. menulist[open='true'] {
  588.   border: 2px solid #666666 !important;
  589.   background-color: #333333 !important;
  590. }
  591. #context-back > .menu-iconic-left,
  592. #context-forward > .menu-iconic-left,
  593. #context-reload > .menu-iconic-left,
  594. #context-stop > .menu-iconic-left,
  595. #context-bookmarkpage > .menu-iconic-left {
  596.   transform: scale(1.8);
  597. }
  598. .menu-iconic-left {
  599.   -moz-appearance: none !important;
  600.   padding: 0px 5px 0px 9px !important;
  601. }
  602. .menu-right {
  603.   -moz-appearance: none !important;
  604.   padding: 7.5px !important;
  605.   margin-right: 6px !important;
  606.   color: white !important;
  607.   border: solid white;
  608.   border-width: 0 2px 2px 0px;
  609.   transform: rotate(-45deg) scale(0.55);
  610. }
  611. /*** Hide Extension Name (Hover icon for a tooltip with its name) ***/
  612. #identity-box.extensionPage #identity-icon-label {
  613.   max-width: 0 !important;
  614.   width: 0 !important;
  615.   padding-left: 0 !important;
  616. }
  617. #identity-box.extensionPage {
  618.   padding-right: 4px !important;
  619. }
  620. .browserContainer {
  621.   background-color: #4b4b4b !important;
  622. }
  623.  
  624. .tabbrowser tabpanels {
  625.   background-color: #4b4b4b !important;
  626. }
  627. /*
  628.    Override hiding of Bookmarks Toolbar in F11 full screen
  629.    when you roll down the tabs/main toolbar
  630. */
  631. #navigator-toolbox[inFullscreen="true"] #PersonalToolbar {
  632.   visibility: unset !important;
  633. }
  634. #autohide-context { display:none!important; } /* hide context menuitem "Exit Full Screen Mode" */
  635. #window-controls  { display:none!important; } /* hide window controls in full screen mode */
Add Comment
Please, Sign In to add comment