mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-15 04:33:54 +02:00
32 lines
832 B
CSS
32 lines
832 B
CSS
#zen-sidebar-web-panel:not([pinned="true"]) {
|
|
width: var(--uc-right_on_hover_sidebar-width) !important;
|
|
}
|
|
|
|
#zen-sidebar-web-panel-wrapper:not(
|
|
:has(#zen-sidebar-web-panel[pinned="true"])
|
|
) {
|
|
transition: all 0.2s ease-in-out !important;
|
|
height: 100%;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
width: var(--uc-right_on_hover_sidebar-width);
|
|
margin: 0px !important;
|
|
position: absolute !important;
|
|
right: calc(
|
|
0px - var(--uc-right_on_hover_sidebar-width) +
|
|
var(--uc-right_on_hover_sidebar-hover_width)
|
|
);
|
|
top: 0;
|
|
&:hover {
|
|
opacity: 1;
|
|
transform: translateX(var(--zen-element-separation));
|
|
right: 0;
|
|
}
|
|
@media (-moz-bool-pref: "uc.right_on_hover_sidebar.stay_on_focus") {
|
|
&:focus-within {
|
|
opacity: 1;
|
|
transform: translateX(var(--zen-element-separation));
|
|
right: 0;
|
|
}
|
|
}
|
|
}
|