Guest User

Untitled

a guest
Oct 2nd, 2023
1,418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.73 KB | None | 0 0
  1. /*   Dynamic sidebar   */
  2. [titlepreface*="."] #sidebar-header {
  3.   visibility: collapse !important;
  4. }
  5. [titlepreface*="."] #titlebar {
  6.   visibility: collapse;
  7. }
  8.  
  9. #sidebar-box{
  10.   --uc-sidebar-width: 33px;
  11.   --uc-sidebar-hover-width: 300px;
  12.   --uc-autohide-sidebar-delay: 90ms;
  13.   position: relative;
  14.   min-width: var(--uc-sidebar-width) !important;
  15.   width: var(--uc-sidebar-width) !important;
  16.   max-width: var(--uc-sidebar-width) !important;
  17.   z-index:1;
  18. }
  19.  
  20. #sidebar-box[positionend]{ direction: rtl }
  21. #sidebar-box[positionend] > *{ direction: ltr }
  22.  
  23. #sidebar-box[positionend]:-moz-locale-dir(rtl){ direction: ltr }
  24. #sidebar-box[positionend]:-moz-locale-dir(rtl) > *{ direction: rtl }
  25.  
  26. #main-window[sizemode="fullscreen"] #sidebar-box{ --uc-sidebar-width: 1px; }
  27.  
  28. #sidebar-splitter{ display: none }
  29.  
  30. #sidebar-header{
  31.   overflow: hidden;
  32.   color: var(--chrome-color, inherit) !important;
  33.   padding-inline: 0 !important;
  34. }
  35.  
  36. #sidebar-header::before,
  37. #sidebar-header::after{
  38.   content: "";
  39.   display: -moz-box;
  40.   padding-left: 8px;
  41. }
  42.  
  43. #sidebar-switcher-target{
  44.   -moz-box-pack: start !important;
  45. }
  46.  
  47. #sidebar-header,
  48. #sidebar{
  49.   transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
  50.   min-width: var(--uc-sidebar-width) !important;
  51.   will-change: min-width;
  52. }
  53. #sidebar-box:hover > #sidebar-header,
  54. #sidebar-box:hover > #sidebar{
  55.   min-width: var(--uc-sidebar-hover-width) !important;
  56.   transition-delay: 0ms !important;
  57. }
  58.  
  59. .sidebar-panel{
  60.   background-color: transparent !important;
  61.   color: var(--newtab-text-primary-color) !important;
  62. }
  63.  
  64. .sidebar-panel #search-box{
  65.   -moz-appearance: none !important;
  66.   background-color: rgba(249,249,250,0.1) !important;
  67.   color: inherit !important;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment