Skip to content

Commit ab66d43

Browse files
authored
Update userChrome.css - fixed container - exxential zen bug
1 parent 6858396 commit ab66d43

File tree

1 file changed

+64
-56
lines changed

1 file changed

+64
-56
lines changed

userChrome.css

Lines changed: 64 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ body:not(
237237
}
238238
}
239239

240-
241240
/*******************************************************************************
242241
* EXTENSIONS STYLING
243242
******************************************************************************/
@@ -444,7 +443,7 @@ tab-group > .tab-group-label-container > label.tab-group-label[aria-expanded="tr
444443
width: 50px !important;
445444
background-color: red !important;
446445
}
447-
#context_zen-add-essential,
446+
/* #context_zen-add-essential, */
448447
#context_unpinTab,
449448
#context_pinTab,
450449
#context_bookmarkTab,
@@ -488,35 +487,38 @@ tab-group > .tab-group-label-container > label.tab-group-label[aria-expanded="tr
488487
#context-sendimage {
489488
display: none !important;
490489
}
491-
492-
--menuitem-padding: 3px !important
490+
491+
--menuitem-padding: 3px !important;
493492
}
494-
[hasbeenopened="true"]{
495-
menuitem, menu{
496-
.menu-text{
497-
font-size: 0.93em !important;
498-
padding: 2px 5px !important;
499-
opacity: 1 !important;
493+
494+
menuitem {
500495
transition: all 0.2s ease-in-out !important;
501-
502496
}
503-
504-
&:hover > .menu-text{
505-
padding-left: 8px !important;
506-
padding-right: 2px !important;
497+
498+
[hasbeenopened="true"] {
499+
menuitem,
500+
menu {
501+
.menu-text {
502+
font-size: 0.93em !important;
503+
padding: 2px 5px !important;
504+
opacity: 1 !important;
505+
transition: all 0.2s ease-in-out !important;
506+
}
507+
508+
&:hover > .menu-text {
509+
padding-left: 8px !important;
510+
padding-right: 2px !important;
511+
}
507512
}
508-
}
509-
510-
&:has(menu[open="true"]){
511-
& > menuitem .menu-text, menu:not([open="true"]) > .menu-text{
513+
514+
&:has(menu[open="true"]) {
515+
& > menuitem,
516+
menu:not([open="true"]) {
512517
opacity: 0.3 !important;
513518
}
514-
515519
}
516520
}
517521

518-
519-
520522
/*******************************************************************************
521523
* CTRL+TAB SWITCHER STYLING
522524
******************************************************************************/
@@ -721,66 +723,72 @@ body:has(
721723
}
722724
} */
723725

724-
725726
/* ============================================= */
726727
/* ======== personal pref only, keep off ======== */
727728
/* ============================================= */
728729

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

734735
/* auto hide toolbar buttons */
735-
#zen-sidebar-top-buttons{
736+
#zen-sidebar-top-buttons {
736737
transition: all 0.3s ease-in-out !important;
737738
margin-top: 0 !important;
738739
padding-top: 5px !important;
739740
}
740741

741-
#navigator-toolbox:not(:has(#nav-bar:hover)):not(:has(#urlbar[open=""])){
742-
#zen-sidebar-top-buttons:not(:hover):not(:has([open="true"])):has(toolbarbutton:not([hidden="true"]):not(#unified-extensions-button)){
743-
margin-top: -20px !important;
744-
margin-bottom: 0 !important;
745-
opacity: 0 !important;
746-
}
742+
#navigator-toolbox:not(:has(#nav-bar:hover)):not(:has(#urlbar[open=""])) {
743+
#zen-sidebar-top-buttons:not(:hover):not(:has([open="true"])):has(
744+
toolbarbutton:not([hidden="true"]):not(#unified-extensions-button)
745+
) {
746+
margin-top: -20px !important;
747+
margin-bottom: 0 !important;
748+
opacity: 0 !important;
749+
}
747750
}
748751

749-
750752
/* ======== containers ======= */
751-
tab{
752-
.tab-background{
753-
flex-direction: unset !important;
754-
755-
.tab-context-line{
756-
width: 22px !important;
757-
height: 22px !important;
758-
margin: auto 6px !important;
759-
border-radius: 0.7rem !important;
760-
background-color: transparent !important;
761-
762-
border: 1.5px var(--identity-tab-color) solid !important;
763-
transition: all 0.3s ease-in-out !important;
764-
}
765-
766-
}
767-
&:hover .tab-context-line{
768-
filter: blur(10px) !important;
769-
border: 12px var(--identity-tab-color) solid !important;
770-
753+
tab {
754+
.tab-background {
755+
flex-direction: unset !important;
756+
757+
.tab-context-line {
758+
display: flex !important;
759+
box-sizing: border-box !important;
760+
761+
width: 22px !important;
762+
height: 22px !important;
763+
margin: auto 6px !important;
764+
border-radius: 0.7rem !important;
765+
/* background-color: color-mix(in srgb, var(--identity-tab-color) 20%, white), !important; */
766+
background: color-mix(
767+
in srgb,
768+
var(--identity-tab-color) 30%,
769+
transparent
770+
) !important;
771+
772+
border: 1.5px var(--identity-tab-color) solid !important;
773+
transition: all 0.3s ease-in-out !important;
774+
}
775+
}
776+
&:hover .tab-context-line {
777+
filter: blur(10px) !important;
778+
border: 12px var(--identity-tab-color) solid !important;
771779
}
772780
}
773781

774-
[uidensity="compact"] tab .tab-background .tab-context-line{
782+
[uidensity="compact"] tab .tab-background .tab-context-line {
775783
margin: auto 5px !important;
776784
}
777785

778-
779-
tab[zen-essential="true"] .tab-background .tab-context-line{
786+
tab[zen-essential="true"] .tab-background .tab-context-line {
780787
margin: auto !important;
781788
z-index: 1000 !important;
782789
}
783790

784-
tab[discarded=""]:hover, tab[pending="true"]:hover{
791+
tab[discarded=""]:hover,
792+
tab[pending="true"]:hover {
785793
filter: grayscale(0) !important;
786794
}

0 commit comments

Comments
 (0)