Skip to content

Commit ea205d1

Browse files
authored
Update userChrome.css - transparent compact sidebar
1 parent ab66d43 commit ea205d1

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

userChrome.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ tab[busy] {
330330
margin-top: 0.5% !important;
331331
margin-bottom: 0.5% !important;
332332
height: 98% !important;
333+
border-radius: 1.5em !important;
333334
}
334335

335336
/*******************************************************************************
@@ -729,7 +730,7 @@ body:has(
729730

730731
/* Permanently transparent compact sidebar - fix for zen bug */
731732
#zen-main-app-wrapper[zen-compact-mode="true"] #navigator-toolbox {
732-
opacity: 0 !important;
733+
/* opacity: 0 !important; */
733734
}
734735

735736
/* auto hide toolbar buttons */
@@ -792,3 +793,28 @@ tab[discarded=""]:hover,
792793
tab[pending="true"]:hover {
793794
filter: grayscale(0) !important;
794795
}
796+
797+
798+
/* transparent sidebar WIP */
799+
#titlebar::before{
800+
width: 18 !important;
801+
z-index: 0 !important;
802+
background-color: #222a !important;
803+
/* backdrop-filter: blur(20px) !important; */
804+
}
805+
806+
#tabbrowser-tabbox{
807+
/* filter: blur(20px) !important; */
808+
}
809+
810+
#zen-main-app-wrapper[zen-compact-mode="true"]:has([zen-user-show=""]){
811+
#tabbrowser-tabbox {
812+
-webkit-mask-image: linear-gradient(to right, transparent 0, transparent 17em, black 17em, black 100%) !important;
813+
mask-image: linear-gradient(to right, transparent 0, transparent 15.5em, black 15.5em, black 100%) !important;
814+
-webkit-mask-repeat: no-repeat !important;
815+
mask-repeat: no-repeat !important;
816+
-webkit-mask-size: 100% 100% !important;
817+
mask-size: 100% 100% !important;
818+
}
819+
820+
}

0 commit comments

Comments
 (0)