Advertisement
Guest User

Untitled

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