MozillaZine

Auto-hide sidebar failure after updating to v72.

User Help for Mozilla Firefox
Mipeli
 
Posts: 15
Joined: September 12th, 2019, 5:51 am

Post Posted January 9th, 2020, 2:36 am

Greetings, after updates to Firefox 72.0.1 me stopped functioning this script.

You can me someone consult what in him fix, to again without problem functioned?

Thank you Mipeli

Code: Select all
/*
 * Description: Auto-hide sidebar.
 *
 * Contributor(s): img2tab
 */

/* To right-align the sidebar, replace all occurrences of "left" with "right", and "margin-right" with "margin-left" */

:root {
  --sidebar-hover-width: 10px;
  --sidebar-visible-width: 200px;
}

#sidebar-box {
  position: relative !important;
  overflow-x: hidden !important;
  margin-right: calc(var(--sidebar-hover-width) * -1) !important;
  left: var(--sidebar-hover-width) !important;
  min-width: var(--sidebar-hover-width) !important;
  max-width: var(--sidebar-hover-width) !important;
  border-right: 1px solid var(--sidebar-border-color);
}

#sidebar-box:hover {
  margin-right: calc(var(--sidebar-visible-width) * -1) !important;
  left: var(--sidebar-visible-width) !important;
  min-width: var(--sidebar-visible-width) !important;
  max-width: var(--sidebar-visible-width) !important;
}

#sidebar {
  opacity: 0 !important;
}

#sidebar-box:hover #sidebar {
  opacity: 1 !important;
}

/* #sidebar-header is hidden by default, change "none" to "inherit" to restore it. */
#sidebar-header {
  display: none !important;
}

/* #sidebar-splitter styles the divider between the sidebar and the rest of the browser. */
#sidebar-splitter {
  display: none;
}

LIMPET235
Moderator

User avatar
 
Posts: 38951
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted January 9th, 2020, 4:34 am

Moving to Firefox Support...
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
(Always choose the "Custom" Install.)

dickvl

User avatar
 
Posts: 52941
Joined: July 18th, 2005, 3:25 am

Post Posted January 9th, 2020, 8:39 am

Try these changes for the namespace and for the z-index:
Code: Select all
*|*:root {
  --sidebar-hover-width: 10px;
  --sidebar-visible-width: 200px;
}

#sidebar-box {
  position: relative !important;
  overflow-x: hidden !important;
  margin-right: calc(var(--sidebar-hover-width) * -1) !important;
  left: var(--sidebar-hover-width) !important;
  min-width: var(--sidebar-hover-width) !important;
  max-width: var(--sidebar-hover-width) !important;
  border-right: 1px solid var(--sidebar-border-color);
  z-index:2147483647 !important;
}

Mipeli
 
Posts: 15
Joined: September 12th, 2019, 5:51 am

Post Posted January 9th, 2020, 9:45 am

Thanks does work it.

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 7 guests