Guest User

userChrome

a guest
Oct 31st, 2023
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.70 KB | Source Code | 0 0
  1. /* Sidebery */
  2. #main-window[titlepreface*="🦊 "] .tabbrowser-tab {
  3.   visibility: collapse !important;
  4. }
  5.  
  6. #main-window[titlepreface*="🦊 "] #tabs-newtab-button {
  7.   display: none !important;
  8. }
  9.  
  10. #main-window[titlepreface*="🦊 "] #titlebar-spacer {
  11.   background-color: var(--chrome-secondary-background-color);
  12. }
  13.  
  14. #main-window[titlepreface*="🦊 "] #titlebar-buttonbox-container {
  15.   background-color: var(--chrome-secondary-background-color);
  16. }
  17.  
  18. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar-header {
  19.   visibility: collapse;
  20. }
  21.  
  22. /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0
  23. See the above repository for updates as well as full license text. */
  24.  
  25. /* Show sidebar only when the cursor is over it  */
  26. /* The border controlling sidebar width will be removed so you'll need to modify these values to change width */
  27. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
  28.   --uc-sidebar-width: 48px !important;
  29.   --uc-sidebar-hover-width: 250px;
  30.   --uc-autohide-sidebar-delay: 300ms;
  31.   /* Wait 0.3s before hiding sidebar */
  32.   position: relative;
  33.   min-width: var(--uc-sidebar-width) !important;
  34.   width: var(--uc-sidebar-width) !important;
  35.   max-width: var(--uc-sidebar-width) !important;
  36.   z-index: 1;
  37. }
  38.  
  39. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]>#sidebar-splitter {
  40.   display: none
  41. }
  42.  
  43. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]>#sidebar {
  44.   transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
  45.   min-width: var(--uc-sidebar-width) !important;
  46.   will-change: min-width;
  47. }
  48.  
  49. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover>#sidebar {
  50.   min-width: var(--uc-sidebar-hover-width) !important;
  51.   transition-delay: 0ms !important
  52. }
  53.  
  54. /* Add sidebar divider and give it background */
  55. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]>#sidebar,
  56. #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]>#sidebar-header {
  57.   background-color: var(--toolbar-bgcolor) !important;
  58.   /*  border-inline: 1px solid var(--sidebar-border-color) !important;*/
  59.   border-inline: 1px solid var(--chrome-content-separator-color) !important;
  60.   border-inline-width: 0px 1px;
  61. }
  62.  
  63. #sidebar-box[positionend] {
  64.   direction: rtl
  65. }
  66.  
  67. #sidebar-box[positionend]>* {
  68.   direction: ltr
  69. }
  70.  
  71. #sidebar-box[positionend]:-moz-locale-dir(rtl) {
  72.   direction: ltr
  73. }
  74.  
  75. #sidebar-box[positionend]:-moz-locale-dir(rtl)>* {
  76.   direction: rtl
  77. }
Add Comment
Please, Sign In to add comment