2018-12-06 19:38:55 +00:00
|
|
|
/* Show sidebar only when the cursor is over it */
|
|
|
|
/* The border controlling sidebar width will be removed so you'll need to modify these values to change width */
|
|
|
|
|
|
|
|
#sidebar-box{
|
|
|
|
--uc-sidebar-width: 40px;
|
|
|
|
--uc-sidebar-hover-width: 210px;
|
|
|
|
position: relative;
|
|
|
|
min-width: var(--uc-sidebar-width) !important;
|
|
|
|
width: var(--uc-sidebar-width) !important;
|
2018-12-06 21:17:27 +00:00
|
|
|
max-width: var(--uc-sidebar-width) !important;
|
2018-12-06 19:38:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-splitter{ display: none }
|
|
|
|
|
2018-12-07 15:54:17 +00:00
|
|
|
#sidebar-header{ overflow: hidden; color: var(--chrome-color) }
|
2018-12-06 19:38:55 +00:00
|
|
|
|
|
|
|
#sidebar{
|
|
|
|
transition: min-width 115ms linear !important;
|
|
|
|
min-width: var(--uc-sidebar-width) !important;
|
|
|
|
will-change: min-width;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; }
|
|
|
|
|
2018-12-06 21:47:43 +00:00
|
|
|
.sidebar-panel{ color: var(--newtab-text-primary-color) !important;}
|
|
|
|
|
2018-12-06 21:17:27 +00:00
|
|
|
/* Add sidebar divider and give it background */
|
2018-12-06 19:38:55 +00:00
|
|
|
|
|
|
|
#sidebar,
|
|
|
|
#sidebar-header{
|
2018-12-06 21:17:27 +00:00
|
|
|
background-color: var(--toolbar-non-lwt-bgcolor) !important;
|
2018-12-06 19:38:55 +00:00
|
|
|
border-right: 1px solid rgb(80,80,80);
|
|
|
|
}
|