Christopher_01

Untitled

Nov 26th, 2024
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.32 KB | None | 0 0
  1. #urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
  2.     #urlbar-input {
  3.         font-size: 21px !important;
  4.     }
  5.     scrollbox:nth-child(5) {
  6.         scrollbar-width: none !important;
  7.       }
  8.     z-index: 2;
  9.     position: fixed !important;
  10.     bottom: auto !important;
  11.     top: 20vh !important;
  12.     padding-left: 6px !important;
  13.     padding-right: 8px !important;
  14.  
  15.     left: 18vw !important;
  16.     right: 18vw !important;
  17.     width: 64vw !important;
  18.  
  19.     &:after {
  20.         content: "";
  21.         position: fixed;
  22.         pointer-events: none;
  23.  
  24.         width: 100vw;
  25.         height: 100vh;
  26.  
  27.         top: 0px;
  28.         left: 0px;
  29.  
  30.         background-color: rgba(0, 0, 0, 0.3);
  31.         backdrop-filter: blur(12px);
  32.  
  33.         z-index: -1;
  34.     }
  35.  
  36.     #identity-box {
  37.         margin: auto 0;
  38.         height: 30px;
  39.         margin-right: 10px;
  40.     }
  41.  
  42.     .urlbar-go-button {
  43.         margin: auto 0;
  44.     }
  45.  
  46. }
  47. @-moz-document url(chrome://browser/content/browser.xhtml){
  48.  
  49.     :root:not([inFullscreen]){
  50.       --uc-bottom-toolbar-height: calc(39px + var(--toolbarbutton-outer-padding) )
  51.     }
  52.  
  53.     :root[uidensity="compact"]:not([inFullscreen]){
  54.       --uc-bottom-toolbar-height: calc(32px + var(--toolbarbutton-outer-padding) )
  55.     }
  56.  
  57.     #browser,
  58.     #customization-container{ margin-bottom: var(--uc-bottom-toolbar-height,0px) }
  59.  
  60.     #nav-bar{
  61.       position: fixed !important;
  62.       bottom: 0px;
  63.       /* For some reason -webkit-box behaves internally like -moz-box, but can be used with fixed position. display: flex would work too but it breaks extension menus. */
  64.       display: -webkit-box;
  65.       width: 100%;
  66.       z-index: 1;
  67.     }
  68.     #nav-bar-customization-target{ -webkit-box-flex: 1; }
  69.  
  70.     /* Fix panels sizing */
  71.     .panel-viewstack{ max-height: unset !important; }
  72.  
  73.     #urlbar[breakout][breakout-extend]{
  74.       display: flex !important;
  75.       flex-direction: column-reverse;
  76.       bottom: 0px !important; /* Change to 3-5 px if using compact_urlbar_megabar.css depending on toolbar density */
  77.       top: auto !important;
  78.     }
  79.  
  80.     .urlbarView-body-inner{ border-top-style: none !important; }
  81.  
  82.   }
  83. #zen-essentials-container .tab-icon-image {
  84.     transform: scale(2.0);
  85.     &:not([selected]) .tab-background{
  86.     background: red !important;
  87.    
  88.   }
  89. }
Add Comment
Please, Sign In to add comment